This adds a new theme for having a wallpaper, and fixes up the window manager
to do the right thing when transitioning between a windows with and without
wallpapers (between two windows with wallpapers is not yet addressed).
The wallpaper API now has callbacks to tell you when to start/stop animating.
Also fiddle the image wallpaper to be a little more interesting.
This is all of the basic pieces:
- The WallpaperService now creates a surface with the window manager for its
contents.
- There is a simple service that displays a bitmap.
- The wallpaper manager takes care of starting and stopping the service.
- The window manager knows about wallpaper windows and how to layer them with
the windows that want to be shown on top of wallpaper.
Lots and lots of issues remain, but at this point you can actually write a
wallpaper service, select it in the UI, and see it behind an activity.
Added constants so that apps triggering SHOW_OR_CREATE can
request a desired size through EXTRA_MODE. Also added hooks
to internal ContactHeaderWidget to launch SHOW_OR_CREATE
when user taps on photo.
Merge commit 'b0508476e3f936f145574142f4e7cb2f45dcbd47'
* commit 'b0508476e3f936f145574142f4e7cb2f45dcbd47':
Merge abbreviated Russian month name fix over from cupcake.
Merge commit '88c692ca2ce4f0680340cb66f5fe82bfdd532581'
* commit '88c692ca2ce4f0680340cb66f5fe82bfdd532581':
Merge Korean abbreviated date format fix from cupcake.
The ContactHeaderWidget is a new widget that is used as a header banner
in various system applications, including contacts, mms, and gtalk.
Convenience methods are supplied for bind the widget to a specific
contact, which can be specified by contact id, email, or phone number.
Triangle will now only show up for preferences that have dialogs popup
when selected - like lists, sliders, EditTexts and Yes/No dialogs.
This is a change for the base preferences. If any subclasses override
and specify a different layout or normal preferences display a
dialog when pressed, they may not follow the new style.
Merge commit 'c134c281ca83a28deb96c7b338c48c0b0327f26f'
* commit 'c134c281ca83a28deb96c7b338c48c0b0327f26f':
Highlight IMEI-reading as part of READ_PHONE_STATE description
The Intent.EXTRA_KEY_CONFIRM extra can be set to require user confirmation before shutting down.
The ACTION_REQUEST_SHUTDOWN Intent is protected by android.permission.SHUTDOWN.
Signed-off-by: Mike Lockwood <lockwood@android.com>
* changes:
Support for selection of silent ringtone from the ringtone picker. This doesn't actually enable that, but adds the necessary code to make it work when enabled, and cleans up some ringtone related code.
RL was applying a horizontal offset to its children even when the gravity was only
specified for the vertical axis (and vice-versa.)
Also fix the ExpandableListView icons.
* AccessibilityService -- document onBind() to not be implemented.
* GestureLibrary.getLearner() -- needs to be hidden.
* IntentSender -- remove protected constructors, document that it is retrieved from a PendingIntent.
* Hide permissions: SHUTDOWN, STOP_APP_SWITCHES.
* Context -- hide BACKUP_SERVICE.
* ContextWrapper -- hide getSharedPrefs bla h blah
* Intent.parseUri() -- fix docs.
* ApplicationInfo.FLAG_TEST_ONLY?!?
* Hide MockContext.getSharedPrefs blah blah
Merge commit '95fa929ebe55b3745eb59a1c4b8f21cb9f8e6b1d'
* commit '95fa929ebe55b3745eb59a1c4b8f21cb9f8e6b1d':
New small rating stars from the UI designers.
Merge commit 'ba989ad0ed91beda010d44945fa015d75d99cf67'
* commit 'ba989ad0ed91beda010d44945fa015d75d99cf67':
Use the old string for bookmarks permissions.
When we made the bookmark permissions public, we also changed their
names, which might break existing apps. Change them back. Depends
on a change in packages/apps/Browser
Merge commit '3b99e64e5899030b5d6f8201cb56cd149c80b24d'
* commit '3b99e64e5899030b5d6f8201cb56cd149c80b24d':
Per conversation, remove the toast while saving the Certificates to CertTools.
Merge commit '62c6c357060dca8597986783b67ec9ae06ccef66'
* commit '62c6c357060dca8597986783b67ec9ae06ccef66':
Make the date formats as close as possible to what the translators wanted.
Merge commit '11b822d2a91ea17c34c0cb1c11e80a9a30d72864'
* commit '11b822d2a91ea17c34c0cb1c11e80a9a30d72864':
Simplify density compatibility to a boolean.
Instead of a list, we now just have a single boolean indicating whether an
application is density aware, and this set set to true by default as of
Donut.
This changes the names of the directories in aapt, to what you see
in the list of DpiTest resources. Also adds a new "long" configuration
for wide screens, which the platform sets appropriate, and introduces
a new kind of resizeability for not large but significantly larger
than normal screens which may have compatibility issues.
Merge commit '2493097cb077b772af779bf14251e3ac0fff95f8'
* commit '2493097cb077b772af779bf14251e3ac0fff95f8':
Fix the style of preferences headers in the light theme.