2109 Commits

Author SHA1 Message Date
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
Alan Viverette
eff1b7175d Merge "Add popup theme to AutoCompleteTextView, clean up constructor" 2015-08-13 13:29:19 +00:00
Dianne Hackborn
d38e7c9387 am 1dd2f5a3: am 40bc2066: am a54d4583: am 9512a857: am ff9912d5: Merge "Fix issue #23116383: Include security patch level in Settings" into mnc-dev
* commit '1dd2f5a3ebd4768ebc8bf4c08c7f62c8c1300c7f':
  Fix issue #23116383: Include security patch level in Settings
2015-08-13 02:10:15 +00:00
Dianne Hackborn
a54d4583ec am 9512a857: am ff9912d5: Merge "Fix issue #23116383: Include security patch level in Settings" into mnc-dev
* commit '9512a857454d761b53f46958733ba23216c41e64':
  Fix issue #23116383: Include security patch level in Settings
2015-08-13 01:02:26 +00:00
Dianne Hackborn
ff9912d594 Merge "Fix issue #23116383: Include security patch level in Settings" into mnc-dev 2015-08-13 00:46:59 +00:00
Dianne Hackborn
c3f7449517 Fix issue #23116383: Include security patch level in Settings
Change-Id: I4934c7d26bf69b5c599962cd74ac1e4ea4ad4b51
2015-08-12 16:10:58 -07:00
Jason Monk
3111d4e17a Merge "Add Preference#onDetachedFromActivity" 2015-08-12 20:41:41 +00:00
Jason Monk
e18dc50c63 Add Preference#onDetachedFromActivity
Change-Id: I7c78f96d41b33b902e54fe1c0b7246d555aab0ed
2015-08-12 15:27:51 -04:00
Alan Viverette
81590a48a4 Remove framework-private HSV APIs, replace with luminance
Luminance is the measure used by W3C to compute contrast ratios, so
we should be preferring that for "brightness" comparisons.

Bug: 22815971
Change-Id: I84a971d3cc6b12acebe8e455c0c0440c1c8bce06
2015-08-12 14:01:17 -04:00
Alan Viverette
da6b2f6ccb Add popup theme to AutoCompleteTextView, clean up constructor
Bug: 22912507
Change-Id: I48d8b1ccae980847c743020d3f2a0d2eb6017e40
2015-08-12 11:26:15 -04:00
Dianne Hackborn
e337bd50e7 am 997a3688: am 4ce98e4e: am e92b1374: am ea5ce408: am 15f704e7: Merge "Fix issue #23122445: Add 420 density" into mnc-dev
* commit '997a368855117f4f3b80160bd0cc2dcc3f6841a5':
  Fix issue #23122445: Add 420 density
2015-08-12 01:08:27 +00:00
Dianne Hackborn
e92b137407 am ea5ce408: am 15f704e7: Merge "Fix issue #23122445: Add 420 density" into mnc-dev
* commit 'ea5ce4080be58a8092df38a49d828e4281497dc4':
  Fix issue #23122445: Add 420 density
2015-08-12 00:44:12 +00:00
Dianne Hackborn
1e9c51a00a Fix issue #23122445: Add 420 density
Change-Id: I15c113eb7e22f1d882db071c007224746f9d408f
2015-08-11 17:18:53 -07:00
Bryce Lee
3826753674 am a4f9ecf8: am 2c230a0a: am 5d1c34f5: Merge "Add actions and extras for custom voicemail notification handling." into cw-e-dev
* commit 'a4f9ecf8728480babb61e9ffcb02dca310ef0218':
  Add actions and extras for custom voicemail notification handling.
2015-08-11 23:23:55 +00:00
Bryce Lee
5d1c34f58b Merge "Add actions and extras for custom voicemail notification handling." into cw-e-dev 2015-08-11 22:19:14 +00:00
Roozbeh Pournader
69c2ccd894 Mark TextUtils.isGraphic(char) depreacted in *current.txt.
Change-Id: Ief470b8de7675f09025e8ee2ad16d5fa3deba1a4
2015-08-11 11:30:03 -07:00
Tomasz Mikolajewski
7fa4e0537a Merge "Add API for streamed reading on MTP devices." 2015-08-11 00:57:08 +00:00
Dianne Hackborn
60d18aba1d am b44cdfdd: am afacdbe1: am 09e77852: am 5cf89a01: am b2b02092: Merge "Fix issue #23037899: Support for Battery Optimization permission + Dialog" into mnc-dev
* commit 'b44cdfdd10ffa861492d044a058cfbaa167d71db':
  Fix issue #23037899: Support for Battery Optimization permission + Dialog
2015-08-11 00:50:06 +00:00
Dianne Hackborn
09e77852d8 am 5cf89a01: am b2b02092: Merge "Fix issue #23037899: Support for Battery Optimization permission + Dialog" into mnc-dev
* commit '5cf89a011932f1af9361e7b713e33ff5c5af3e61':
  Fix issue #23037899: Support for Battery Optimization permission + Dialog
2015-08-11 00:28:20 +00:00
Bryce Lee
2a532f2f72 Add actions and extras for custom voicemail notification handling.
Change-Id: I83c51a79cc9ac2e1772351ad078fc0af1cd0ae65
2015-08-10 15:25:21 -07:00
Dianne Hackborn
c7b57b1e65 Fix issue #23037899: Support for Battery Optimization permission + Dialog
New permission, new Intent action.

Change-Id: I1d9ba55be8f72074e29d33ad7a0a12a820bbac39
2015-08-10 14:52:52 -07:00
Zheng Fu
e373961130 Merge "Add constants for metadata_sync_state table." 2015-08-10 18:02:49 +00:00
Bryce Lee
2757bda498 am c64deee8: am 761ec600: am 8cb92371: Merge "add call back intents for clearing missed calls and calling back." into cw-e-dev
* commit 'c64deee8ac0338f60a6f57632a6877cf3f1b27f7':
  add call back intents for clearing missed calls and calling back.
2015-08-10 15:22:35 +00:00
Bryce Lee
8d41d1d4fd add call back intents for clearing missed calls and calling back.
Change-Id: Ib81fecc21c5491f975fa7c44f4e5984a4b3f8e7f
2015-08-10 15:06:59 +00:00