11618 Commits

Author SHA1 Message Date
Sean Young
d75247cf7f am da2f549f: am 2d39bfd5: Merge "Properly expose methods that override a non-hidden method in a hidden superclass in the API files." into mnc-ub-dev
* commit 'da2f549f3b77ee5f04a6f726facb1a091d796054':
  Properly expose methods that override a non-hidden method in a hidden superclass in the API files.
2015-09-24 19:10:26 +00:00
Jan Nordqvist
ca30939346 Merge "Hotspot 2.0 relase 2 first cut." 2015-09-23 19:05:53 +00:00
Alan Viverette
f64b00bc1e Merge "Add attribute for specifying initial ScaleDrawable level" 2015-09-23 17:39:08 +00:00
Alan Viverette
e72a703a95 Add attribute for specifying initial ScaleDrawable level
Bug: 19182305
Change-Id: Ic1f183db6183017352babc6dc190fdb9124c285a
2015-09-23 10:20:59 -04:00
Alan Viverette
9477229fe8 Merge "Smooth progress bar animations" 2015-09-23 14:07:11 +00:00
Alan Viverette
a64ed3bf8c Smooth progress bar animations
Removes smooth progress bar hack from volume dialog.

Bug: 23566299
Change-Id: Iafa32538b4f92705c4c1ca2a02145c078add2532
2015-09-23 10:01:45 -04:00
Jan Nordqvist
52eb29f082 Hotspot 2.0 relase 2 first cut.
CP mods to take a URL as a parameter, and new ScanInfo object.

Change-Id: Idbb2d4751c575ba07a56942771e2b2955b624635
2015-09-22 17:24:22 -07:00
C. Sean Young
8de564a0f6 Properly expose methods that override a non-hidden method in a hidden superclass in the API files.
Updates the api files to reflect a doclava change.

Change-Id: I416773be3aa3a8536684549011fa63b34f0d5251
2015-09-18 10:35:42 -05:00
Vladislav Kaznacheev
03b56c228a Merge "Handle content URI permissions on drop" 2015-09-17 20:41:44 +00:00
Vladislav Kaznacheev
ede5f5480e Handle content URI permissions on drop
Change-Id: I846071f01ecd1eff8e3a54a1806e68e1a4b335d2
2015-09-16 17:35:10 -07:00
Alan Viverette
4db9d1b48b Add accessor methods for Toolbar title margins
Also adds missing attrs to public.xml so they can be documented, adds
attr refs to Toolbar class docs. Many accessor methods still missing,
but those can be added in subsequent CLs.

Bug: 23719889
Change-Id: I09eeef65141d4af77c8813e8fac5f89bead47597
2015-09-15 16:21:16 -04:00
Alan Viverette
6fe1ea778c Merge "Revert "Use floating-point value for Drawable level"" 2015-09-14 17:04:09 +00:00
Alan Viverette
0b6cfe22fd Revert "Use floating-point value for Drawable level"
This reverts commit 3da32b768899e7dabe3a16333edf5eca2b9ebe93.

Change-Id: Ie75ce0c285e0f59a7a086f64c0cfe088edb5df04
2015-09-14 16:59:49 +00:00
Nick Armstrong-Crews
3a5a8c741b Remove @hide for KEYCODE_SOFT_SLEEP.
Change-Id: I56a6da9faeafb26145e1d9ad82a16df46320c24e
2015-09-09 10:10:58 -07:00
Nick Armstrong-Crews
dc6aa5fc53 am d70377b5: am 36afc2b7: am 9b8f82a3: Merge "Revert "Handle KEYCODE_SOFT_SLEEP from Ungaze."" into cw-e-dev
* commit 'd70377b537450d03d5cdc2efb15977d48e5cfebd':
  Revert "Handle KEYCODE_SOFT_SLEEP from Ungaze."
2015-09-08 04:48:30 +00:00
Nick Armstrong-Crews
b331bf9514 Revert "Handle KEYCODE_SOFT_SLEEP from Ungaze."
This reverts commit 677adf1e66ba83b8fb2c849c181303b35bd489bc.

Hiding new keycode to prevent change to public API before resubmitting.

Change-Id: Ic43273dd0c7ade1d51a36b77f363543f1df466e8
2015-09-08 04:25:01 +00:00
Alan Viverette
9ed62e47c9 Merge "Deprecate FEATURE_PROGRESS and related methods" 2015-09-04 19:16:33 +00:00
Nick Armstrong-Crews
e097d341a4 am 7f37402d: am 43c4459d: am 6f0ba402: Merge "Handle KEYCODE_SOFT_SLEEP from Ungaze." into cw-e-dev
* commit '7f37402d8c5667f72c1ef02a20112d49d7a149b8':
  Handle KEYCODE_SOFT_SLEEP from Ungaze.
2015-09-04 18:35:23 +00:00
Alan Viverette
4aef7c8594 Deprecate FEATURE_PROGRESS and related methods
Bug: 23763003
Change-Id: I4ef97e089db592e438a27657faffa1c8290f2b0e
2015-09-04 14:14:50 -04:00
Nick Armstrong-Crews
677adf1e66 Handle KEYCODE_SOFT_SLEEP from Ungaze.
Needed for Ungaze to trigger "soft sleep" (respecting wake locks); operates by
sending new KEYCODE_SOFT_SLEEP to PhoneWindowManager, which calls
PowerManagerService's new method setUserInactiveOverride (thereby
causing immediate sleep, modulo wakelocks, upon next iteration of
PowerManagerService's main loop).

BUG: b/23589870
Change-Id: I24a96bd6db8ff28674c907f2898e49c4f6140209
2015-09-04 10:20:22 -07:00
Alan Viverette
660383cfa7 Merge "Use floating-point value for Drawable level" 2015-09-04 14:21:26 +00:00
Filip Gruszczynski
7d3350dd50 Unhide resizeableActivity attribute.
Change-Id: I9fd5e02d890abc3cc08885a3c1540a321220f234
2015-09-02 12:04:03 -07:00
Alan Viverette
3da32b7688 Use floating-point value for Drawable level
This allows us to run fine-grained level animations.

Backwards compatibility:
Another CL will add DrawableCompat.setLevel(float) to forward calls to
the existing integer-based method. For callbacks, developers can override
onLevelChanged(int) and use DrawableCompat.getLevelFloat() to obtain the
floating-point level. Overriding onLevelChanged(float) will only work on
current API.

Bug: 23566299
Change-Id: I431fe6f3679c8f23f9cf3c2bb1f92a4059ee68e3
2015-09-02 13:33:58 -04:00
Oren Blasberg
ddc453a342 Add a new submenu arrow for popup menu items.
This arrow is shown when the item corresponds to a submenu.

Bug: 20127825
Change-Id: Ida70d7707e00e1cda84ed6135333f09a511cd6c5
2015-09-01 16:38:06 -07:00
Roozbeh Pournader
a23748a9ff Add LocaleList support to Paint and TextView.
This keeps the existing single-locale APIs working (and adds
parameter annotations to them), while adding an API for setting and
getting the whole locale list.  At the moment, the implementation
ignores the actual data in the locale list except for its primary
locale.

Also add a method to LocaleList to return the system's default locale
list. (Currently a one-member list just containing the system
default locale.)

Change-Id: Icea9d164ddae51f50dd71e18b5d91c96f233b8b8
2015-09-01 14:12:40 -07:00
Roozbeh Pournader
cdc5673633 Merge "Make res.Configuration support locale lists." 2015-09-01 17:55:49 +00:00
Tomasz Mikolajewski
bb430fa930 Remove MtpDocument.
Change-Id: Ie4b0e55f6ff2c7b323cf767a5ed3d3c61c12734d
2015-09-01 09:25:30 +09:00
Tomasz Mikolajewski
b80a3cfd05 Add support for uploading files via MTP.
Change-Id: Id1811ab70cb28be471e0a99999e9ad5380deac49
2015-08-28 10:50:23 +09:00
Roozbeh Pournader
b46fdd427c Make res.Configuration support locale lists.
We also deprecate the locale attribute, but works around the cases in
which people would call it.

Also add various methods to LocaleList to support the features
Configuration requires.

Change-Id: Iacc537e5fc1a3d4c1ea7e5517347876ca4e07e0a
2015-08-27 17:54:01 -07:00
Julia Reynolds
8ef94501f0 Merge "Allow third party condition providers." 2015-08-26 18:46:26 +00:00
Etan Cohen
831e9f982d Merge "Convert useImsAlwaysForEmergencyCall to carrier configuration." 2015-08-25 21:58:12 +00:00
Julia Reynolds
b0a773f6b3 Allow third party condition providers.
Bug: 22977552
Change-Id: I3d8689f52daa9376496e14997a6dd7862fb3ade6
2015-08-25 15:01:22 -04:00
Filip Gruszczynski
9b1ce52f25 Using initial activity layout to position the launching activity.
The activity can be positioned in the center or in one of the corners.
From there it shifts its position and tries to find a spot where it
doesn't collide with other activities.

The CL also includes a few fixes necessary to pipe the information about
the initial layout through the system.

Change-Id: I2aaf5b6d20044aafec713b7bd4193b05cfbd16f3
2015-08-24 07:35:38 -07:00
Roozbeh Pournader
4bae2038cd Merge "Cleanup android.text.TextUtils a little." 2015-08-21 19:04:29 +00:00
Tomasz Mikolajewski
7f2aba0fb9 Merge "Wire uploading to MtpDocumentsProvider." 2015-08-21 01:08:12 +00:00
Filip Gruszczynski
848fe6bef2 API for specifying size/gravity of launching activity.
Change-Id: I4d75b3fa56ff9c35be9beeba81e3ec9ab28a9996
2015-08-20 15:27:36 -07:00
Tomasz Mikolajewski
87763e6a91 Wire uploading to MtpDocumentsProvider.
This patch does not yet allow to upload files, but uploading (creating)
directories already works.

Bug: 22545670
Change-Id: If4d5a53aa26f791475bb1a783e0ac9540d6760c1
2015-08-20 11:34:44 +09:00
Roozbeh Pournader
0ba0d6bb18 Add first implementation of LocaleList.
This is a first implementation, just to get the basics in, so we can
experiement with how the system would interact with locale lists.

Change-Id: I75d386f24f693c6c1bdefc9386a7142aec2de37c
2015-08-19 15:31:08 -07:00
Roozbeh Pournader
3efda95072 Cleanup android.text.TextUtils a little.
- Clarify that getTrimmedLength() only considers ASCII control
  characters as control characters.

- Deprecate getReverse() instead of trying to fix it, as it's really
  not meaningful for internationalized text.

- Support non-BMP characters in isDigitsOnly().

Change-Id: I947c449b48c252ecc7f7299145f6f8fbad86004f
2015-08-18 14:04:43 -07:00
Etan Cohen
cd811f0cf0 Convert useImsAlwaysForEmergencyCall to carrier configuration.
Change-Id: Id29ab106f01722ecd1f48590c32f899becd06d5f
2015-08-18 11:11:29 -07:00
Bryce Lee
9600b7fb40 am de243eb2: am 55d39ecb: am d74a66bd: Merge "Introduce permission for updating the cell broadcast content provider." into cw-e-dev
* commit 'de243eb290c194b2204a27c0276bae5cd024797d':
  Introduce permission for updating the cell broadcast content provider.
2015-08-17 20:16:27 +00:00
Bryce Lee
d74a66bd97 Merge "Introduce permission for updating the cell broadcast content provider." into cw-e-dev 2015-08-17 19:54:19 +00:00
Tomasz Mikolajewski
4a86977e3c Merge "Add API for uploading files to MTP devices." 2015-08-17 14:33:00 +00:00
Alan Viverette
96b3da6603 Merge "Add missing accessors on GradientDrawable, NinePatchDrawable" 2015-08-14 20:24:17 +00:00
Alan Viverette
41551849e6 Add missing accessors on GradientDrawable, NinePatchDrawable
Bug: 13248977
Bug: 13249029
Change-Id: Ia8817a264b7063926e75b2f2a238d5ba36e14ab5
2015-08-14 20:23:43 +00:00
Alan Viverette
dc12e1531f Merge "Remove framework-private HSV APIs, replace with luminance" 2015-08-14 20:21:50 +00:00
Alan Viverette
d78036bbec Add accessors for TabWidget strip drawables
Change-Id: Ia6aef6a2221096c2653ae39fcec60289fa0ee2fb
2015-08-14 13:53:56 -04:00
Tomasz Mikolajewski
b04990599a Add API for uploading files to MTP devices.
Bug: 22545670
Change-Id: I038c54db06b7cf780bd027d76693e98c685d57a7
2015-08-14 13:09:52 +09:00
Michael Wright
df10f498b9 Merge "Add new media navigation keys." 2015-08-13 15:55:41 +00:00
Michael Wright
962c9532a1 Add new media navigation keys.
Bug: 22059484
Change-Id: Idfe7fc5dd12acafc9f05c815d8aa7911cfcc7e4b
2015-08-13 16:44:27 +01:00