Amith Yamasani
da8738fabd
Add missing abstract method override in BridgePowerManager.
...
Change-Id: I28a24f33f8a598e487ec21861e918a39a8875d43
2014-06-06 12:28:27 -07:00
Dianne Hackborn
d8883df650
am 87bc3c25: Merge "Improvements to low power mode." into lmp-preview-dev
...
* commit '87bc3c258d8be516bc0fcedeb6eec34088582061':
Improvements to low power mode.
2014-06-06 18:26:17 +00:00
Dianne Hackborn
421e2fd044
Merge "Improvements to low power mode." into lmp-preview-dev
2014-06-06 17:46:11 +00:00
Dianne Hackborn
eb94fa7975
Improvements to low power mode.
...
Add new public API for monitoring low power mode.
BatteryService now puts device in to low power mode when
battery level is low.
Window manager now watches low power mode to turn off
animations.
Modifying the animator scale now gets propagated to all
processes.
Change-Id: I8fa566994764ddd4e1977631e28381ab9409f8ee
2014-06-06 10:25:36 -07:00
Deepanshu Gupta
b78cc30920
Add missing dependency in layoutlib build file [DO NOT MERGE]
...
Add missing dependency on built_ext_data
Change-Id: I4e7cca7f6cbc7f5b7416ac9b85a9aec01e61ecd4
(cherry picked from commit e345507ca4b7b83c6e0446788f4404eb697f945b)
2014-06-05 18:32:14 -07:00
Deepanshu Gupta
eaa55cdc87
am ee001119: Merge "LayoutLib: Add assertions for typeface." into lmp-preview-dev
...
* commit 'ee0011198ff150f972c8afbc5dff695bce2af1f1':
LayoutLib: Add assertions for typeface.
2014-06-05 22:43:22 +00:00
Deepanshu Gupta
6d14163a1e
am 242dded6: Merge "LayoutLib: Font variants" into lmp-preview-dev
...
* commit '242dded6e8b7e5851ad7b80a0c05e4883d2a9f42':
LayoutLib: Font variants
2014-06-05 22:43:16 +00:00
Deepanshu Gupta
6c1f78f5d6
am 9a9d96bf: Merge "LayoutLib: Add capability to simulate old versions" into lmp-preview-dev
...
* commit '9a9d96bf044bd75e0d75e16a6002dc20e5399866':
LayoutLib: Add capability to simulate old versions
2014-06-05 22:43:11 +00:00
Deepanshu Gupta
a19b8c111b
LayoutLib: Add assertions for typeface.
...
Framework passes typeface along with the paint object at many places.
Paint_Delegate is supposed to have the typeface object with it. Add
assertions to ensure that the two typefaces are indeed the same.
Change-Id: I68193513c2d99f269c0458d6493f23025bbda385
2014-06-05 14:42:14 -07:00
Deepanshu Gupta
ad69aee5ed
LayoutLib: Font variants
...
Update to support font variants properly.
Change-Id: Iabe37babd9ddce80a9ba9eca7e0e5a0ffb090646
2014-06-05 10:34:12 -07:00
Yohei Yukawa
0297051162
Trivial method renaming for notifyTextCommitted
...
This CL does not change existing behavior but only renames
notifyTextCommitted with notifyUserAction so that we can use
not only text commit but also other actions such as just typing
a character will be used as a trigger to update the IME
rotation order for better IME switching experience.
BUG: 7043015
Change-Id: I7f3e13a7226ef0dceee82b67e8a0d8536f7e9807
2014-06-05 23:07:05 +09:00
Deepanshu Gupta
d0ca7b623b
am dfc3bc9b: Fix build.
...
* commit 'dfc3bc9b3cf27a72dfd133ce62f5e791ef74659d':
Fix build.
2014-06-05 01:10:44 +00:00
Deepanshu Gupta
c8e2d0a4f8
LayoutLib: Add capability to simulate old versions
...
Let the IDE know that we can simulate older versions of platform.
Change-Id: Idec6d24296dd0ae04a2d808c14604629e265d458
2014-06-04 17:08:48 -07:00
Deepanshu Gupta
33dff284df
am 4c0d33f2: Merge "Add basic support for simulating older versions." into lmp-preview-dev
...
* commit '4c0d33f29f295e5ae27ba057fc8cb2270295865a':
Add basic support for simulating older versions.
2014-06-05 00:02:55 +00:00
Deepanshu Gupta
58ff7de971
Fix build.
...
Change-Id: I877532b5056a035dbd4b0c6c55b5969d6292846a
2014-06-04 16:50:07 -07:00
Deepanshu Gupta
648a309d9b
Merge "Add basic support for simulating older versions." into lmp-preview-dev
2014-06-04 23:37:37 +00:00
Deepanshu Gupta
e43dcc1d64
Merge "Distinguish between menus in ActionBar and popup." into lmp-preview-dev
2014-06-04 22:11:37 +00:00
Deepanshu Gupta
9288548527
am e478c562: am 905e113f: am 03df93bc: am 5cde33a6: am dcfba78f: am ed5ab0f0: am 022d8a9f: am bad112f2: am c8235b8e: am ffcad247: am 904b89c5: am 295184bc: am 8782a120: resolved conflicts for merge of 61fb5784 to jb-mr1-dev
...
* commit 'e478c5624d5eeca5adc088d9328582bd5b487963':
Distinguish between menus in ActionBar and popup. [DO NOT MERGE]
2014-06-04 20:56:26 +00:00
Deepanshu Gupta
e478c5624d
am 905e113f: am 03df93bc: am 5cde33a6: am dcfba78f: am ed5ab0f0: am 022d8a9f: am bad112f2: am c8235b8e: am ffcad247: am 904b89c5: am 295184bc: am 8782a120: resolved conflicts for merge of 61fb5784 to jb-mr1-dev
...
* commit '905e113f97560dbcf71cab517ab4c1ee4faaa4d3':
Distinguish between menus in ActionBar and popup. [DO NOT MERGE]
2014-06-04 20:52:36 +00:00
Deepanshu Gupta
905e113f97
am 03df93bc: am 5cde33a6: am dcfba78f: am ed5ab0f0: am 022d8a9f: am bad112f2: am c8235b8e: am ffcad247: am 904b89c5: am 295184bc: am 8782a120: resolved conflicts for merge of 61fb5784 to jb-mr1-dev
...
* commit '03df93bcb854eedc600ef0120fd238ec974c44a1':
Distinguish between menus in ActionBar and popup. [DO NOT MERGE]
2014-06-04 20:48:19 +00:00
Deepanshu Gupta
5cde33a6ff
am dcfba78f: am ed5ab0f0: am 022d8a9f: am bad112f2: am c8235b8e: am ffcad247: am 904b89c5: am 295184bc: am 8782a120: resolved conflicts for merge of 61fb5784 to jb-mr1-dev
...
* commit 'dcfba78fbb4dad6792113383b2d32eff7f2c1f88':
Distinguish between menus in ActionBar and popup. [DO NOT MERGE]
2014-06-04 20:41:47 +00:00
Deepanshu Gupta
3c15d8d688
am 14104896: am e4aa3138: am a9e82914: Merge branch \'klp-dev\' of https://googleplex-android.googlesource.com/_direct/platform/frameworks/base into klp-dev
...
* commit '14104896770dd26195cd9ccfac8c1604cb95dbc6':
Distinguish between menus in ActionBar and popup. [DO NOT MERGE]
2014-06-04 20:32:46 +00:00
Deepanshu Gupta
022d8a9f44
am bad112f2: am c8235b8e: am ffcad247: am 904b89c5: am 295184bc: am 8782a120: resolved conflicts for merge of 61fb5784 to jb-mr1-dev
...
* commit 'bad112f23f09f8839b4b7294439b0fe725cc2034':
Distinguish between menus in ActionBar and popup. [DO NOT MERGE]
2014-06-04 20:30:05 +00:00
Deepanshu Gupta
1410489677
am e4aa3138: am a9e82914: Merge branch \'klp-dev\' of https://googleplex-android.googlesource.com/_direct/platform/frameworks/base into klp-dev
...
* commit 'e4aa31382139ee2e319110fbfff402e0c6315952':
Distinguish between menus in ActionBar and popup. [DO NOT MERGE]
2014-06-04 20:29:06 +00:00
Deepanshu Gupta
bad112f23f
am c8235b8e: am ffcad247: am 904b89c5: am 295184bc: am 8782a120: resolved conflicts for merge of 61fb5784 to jb-mr1-dev
...
* commit 'c8235b8e7446c849df10ff2f897d2a3743b4934d':
Distinguish between menus in ActionBar and popup. [DO NOT MERGE]
2014-06-04 20:27:49 +00:00
Deepanshu Gupta
bac0d9ae79
Distinguish between menus in ActionBar and popup.
...
Mark the menus in the ActionBar and the ones in the Overflow popup
separately. This enables the IDE to differentiate between the two and
enable gestures such as double-click to open the menu xml for menus in
the ActionBar and single click for the menus in the Overflow popup.
Change-Id: I7a23f87d34d618a134ffbe3a665be695915d4bae
(cherry picked from commit f542f28a31b38a4e454535a1fea63968811b418c)
2014-06-04 20:16:09 +00:00
Deepanshu Gupta
904b89c584
am 295184bc: am 8782a120: resolved conflicts for merge of 61fb5784 to jb-mr1-dev
...
* commit '295184bc71a32a4e9418d34b2adeb0cef4b39781':
Distinguish between menus in ActionBar and popup. [DO NOT MERGE]
2014-06-04 20:14:52 +00:00
Deepanshu Gupta
295184bc71
am 8782a120: resolved conflicts for merge of 61fb5784 to jb-mr1-dev
...
* commit '8782a12005e90bbd49be579fb8ede3a42a007380':
Distinguish between menus in ActionBar and popup. [DO NOT MERGE]
2014-06-04 20:10:55 +00:00
Deepanshu Gupta
e87c63e0e4
am d2dff39b: am b1ca2a0c: am f52fcc70: Merge "Distinguish between menus in ActionBar and popup. [DO NOT MERGE]" into jb-mr1.1-dev
...
* commit 'd2dff39b587bd073fcf5c97753c8a29e16f4ef57':
Distinguish between menus in ActionBar and popup. [DO NOT MERGE]
2014-06-04 19:43:09 +00:00
Deepanshu Gupta
8782a12005
resolved conflicts for merge of 61fb5784 to jb-mr1-dev
...
Change-Id: I079d5db0d69fd1972e6754cdd1829dfd1645202d
2014-06-04 12:43:01 -07:00
Deepanshu Gupta
61fb578432
am 3ff08eb6: Distinguish between menus in ActionBar and popup. [DO NOT MERGE]
...
* commit '3ff08eb6bf68868d4f4e872fbbf1ecaf521934a9':
Distinguish between menus in ActionBar and popup. [DO NOT MERGE]
2014-06-04 19:32:05 +00:00
Craig Mautner
f3f8a73a57
am 05cd6c39: Merge "Force all windows to redraw before unblanking screen" into lmp-preview-dev
...
* commit '05cd6c39824653e0f7e8641444a7134e8cac72f4':
Force all windows to redraw before unblanking screen
2014-06-04 18:44:16 +00:00
Craig Mautner
8a0da0184f
Force all windows to redraw before unblanking screen
...
The screen turning on would show windows as they were when the screen
turned off. This fix forces all showing windows to redraw first and
only then allow the screen to turn on.
Fixes bug 15092354.
Change-Id: I52c3f47438176a5ac00ba9a4d5205b56a5aa48f9
2014-06-03 17:08:02 -07:00
Craig Mautner
22af5b8428
am 81dfc082: Merge "Force all windows to redraw before unblanking screen" into klp-modular-dev
...
* commit '81dfc082d2add8463469e3eac9db94d6d93005ce':
Force all windows to redraw before unblanking screen
2014-06-03 22:44:52 +00:00
Craig Mautner
81dfc082d2
Merge "Force all windows to redraw before unblanking screen" into klp-modular-dev
2014-06-03 22:41:38 +00:00
Deepanshu Gupta
4f69d5b8e9
am 8af310c0: am 8f6a9a65: am 8974a5e6: LayoutLib: Correctly resolve ?attr/foo [DO NOT MERGE]
...
* commit '8af310c0c6a0922d2a84600f9abf7877009d12ba':
LayoutLib: Correctly resolve ?attr/foo [DO NOT MERGE]
2014-06-03 20:32:57 +00:00
Deepanshu Gupta
0ab0d875d4
am 28f550f0: am 03a83266: am 08d2007b: LayoutLib: Correctly resolve ?attr/foo [DO NOT MERGE]
...
* commit '28f550f010045d5df9e7762a567fb0351499b846':
LayoutLib: Correctly resolve ?attr/foo [DO NOT MERGE]
2014-06-03 20:30:53 +00:00
Deepanshu Gupta
ffbf24476c
am 083af20d: am 531bdb5b: am fe6f3049: Remove @NonNull attribute [DO NOT MERGE]
...
* commit '083af20d9dc0d14eadd2ba03951579f88cd1f671':
Remove @NonNull attribute [DO NOT MERGE]
2014-06-03 20:30:50 +00:00
Deepanshu Gupta
8af310c0c6
am 8f6a9a65: am 8974a5e6: LayoutLib: Correctly resolve ?attr/foo [DO NOT MERGE]
...
* commit '8f6a9a658a8a06eb4f11cfff5dca7edf3c7462ad':
LayoutLib: Correctly resolve ?attr/foo [DO NOT MERGE]
2014-06-03 20:29:01 +00:00
Deepanshu Gupta
704954c96a
am 5f56ea8d: am f48ab8fe: am 3b7c09b4: LayoutLib: Correctly resolve ?attr/foo [DO NOT MERGE]
...
* commit '5f56ea8d802b3a7ce5ba8992a84dd3b462676e0e':
LayoutLib: Correctly resolve ?attr/foo [DO NOT MERGE]
2014-06-03 20:28:48 +00:00
Deepanshu Gupta
5f56ea8d80
am f48ab8fe: am 3b7c09b4: LayoutLib: Correctly resolve ?attr/foo [DO NOT MERGE]
...
* commit 'f48ab8feec71419e574a2d2f08a29be87743ef07':
LayoutLib: Correctly resolve ?attr/foo [DO NOT MERGE]
2014-06-03 20:24:25 +00:00
Deepanshu Gupta
f48ab8feec
am 3b7c09b4: LayoutLib: Correctly resolve ?attr/foo [DO NOT MERGE]
...
* commit '3b7c09b4336f421c489523c10278ecfbfb0708a7':
LayoutLib: Correctly resolve ?attr/foo [DO NOT MERGE]
2014-06-03 20:21:10 +00:00
Craig Mautner
228742d278
Force all windows to redraw before unblanking screen
...
The screen turning on would show windows as they were when the screen
turned off. This fix forces all showing windows to redraw first and
only then allow the screen to turn on.
Fixes bug 15092354.
Change-Id: I349995bf6446d6c462dccdc2b599bab9ab0ab2c8
2014-06-02 20:29:38 -07:00
Florin Malita
9ec2eabe5a
Merge "Add a native Canvas wrapper."
2014-06-02 13:37:11 +00:00
Jeff Sharkey
2ee3c1e189
Per-app media directories on external storage.
...
This change defines per-app directories on external storage that
will be scanned and included in MediaStore. This gives apps a way
to write content to secondary shared storage in a way that can
easily be surfaced to other apps.
Bug: 14382377
Change-Id: I4cb367c870509e76f0c2c598f01e2f699780030a
2014-05-30 16:26:45 -07:00
Deepanshu Gupta
3ff08eb6bf
Distinguish between menus in ActionBar and popup. [DO NOT MERGE]
...
Mark the menus in the ActionBar and the ones in the Overflow popup
separately. This enables the IDE to differentiate between the two and
enable gestures such as double-click to open the menu xml for menus in
the ActionBar and single click for the menus in the Overflow popup.
Change-Id: I7a23f87d34d618a134ffbe3a665be695915d4bae
(cherry picked from commit 03c0735017a34bac9ea69600b8cf980775331f0e)
2014-05-30 14:50:55 -07:00
Deepanshu Gupta
3b7c09b433
LayoutLib: Correctly resolve ?attr/foo [DO NOT MERGE]
...
?attr/foo in platform files wasn't resolved properly. The IDE checked
the app namespace for the attribute even though it is being referenced
from a platform file.
Change-Id: I7db6dfef5b540d99804c298120578da9d060b886
(cherry picked from commit 08d2007b33838570a96c8df890f0757fa920904c)
2014-05-30 14:50:39 -07:00
Deepanshu Gupta
03c0735017
Distinguish between menus in ActionBar and popup. [DO NOT MERGE]
...
Mark the menus in the ActionBar and the ones in the Overflow popup
separately. This enables the IDE to differentiate between the two and
enable gestures such as double-click to open the menu xml for menus in
the ActionBar and single click for the menus in the Overflow popup.
Change-Id: I7a23f87d34d618a134ffbe3a665be695915d4bae
(cherry picked from commit 866d40fc39f7364d95085650244db59f52d4c002)
2014-05-30 14:49:59 -07:00
Deepanshu Gupta
08d2007b33
LayoutLib: Correctly resolve ?attr/foo [DO NOT MERGE]
...
?attr/foo in platform files wasn't resolved properly. The IDE checked
the app namespace for the attribute even though it is being referenced
from a platform file.
Change-Id: I7db6dfef5b540d99804c298120578da9d060b886
(cherry picked from commit a0fc1f46264e316449402525fbeb033138ec5f49)
2014-05-30 14:49:59 -07:00
Deepanshu Gupta
fe6f30491f
Remove @NonNull attribute [DO NOT MERGE]
...
The tools prebuilt in this branch doesn't have the annotation.
Change-Id: I852f91c5202ed5f4c393d1226a4fa0b6fa4d63c1
2014-05-30 14:49:51 -07:00