137580 Commits

Author SHA1 Message Date
Baligh Uddin
65caf07805 Merge "Import translations. DO NOT MERGE" into lmp-preview-dev 2014-06-27 16:52:20 +00:00
Baligh Uddin
850bf628a4 Merge "Import translations. DO NOT MERGE" into lmp-preview-dev 2014-06-27 15:56:14 +00:00
Baligh Uddin
312f305da2 Import translations. DO NOT MERGE
Change-Id: I6f1b0c684d15150f598538fcb34c0815586ba54a
Auto-generated-cl: translation import
2014-06-26 11:48:06 -07:00
Baligh Uddin
f7ec99c0b4 Import translations. DO NOT MERGE
Change-Id: I50530b52ca1c14368396a80aee19d527b9b0648e
Auto-generated-cl: translation import
2014-06-26 11:12:27 -07:00
Baligh Uddin
8517bf0225 Import translations. DO NOT MERGE
Change-Id: I3c34ec05468c932b02ac3ef79cb88bff26957252
Auto-generated-cl: translation import
2014-06-26 11:05:01 -07:00
Deepanshu Gupta
48d41ea0be Merge "Improve PorterDuff support." into lmp-preview-dev 2014-06-25 01:36:21 +00:00
Baligh Uddin
8c53c68b32 Merge "Import translations. DO NOT MERGE" into lmp-preview-dev 2014-06-25 01:41:07 +00:00
Baligh Uddin
db7c9cf439 Merge "Import translations. DO NOT MERGE" into lmp-preview-dev 2014-06-25 01:36:21 +00:00
Baligh Uddin
0f54dcd90d Merge "Import translations. DO NOT MERGE" into lmp-preview-dev 2014-06-25 01:36:21 +00:00
Deepanshu Gupta
7a139f3fc9 Improve PorterDuff support.
1. Don't cache the src image used for applying the filter. The filter
delegate is not always cleared. This probably results in slighly slower
rendering, but doesn't run Studio out of memory.
2. Support more PorterDuff modes.
3. Fix a bug where the alpha was applied twice and thus the filter had
less effect than it should have had.

Change-Id: I2a481a64ba7f1ff8e9683bbc46ae110433e82ebc
2014-06-24 17:42:34 -07:00
Deepanshu Gupta
a2c96d5406 Merge "Temporarily change PorterDuff mode MULTIPLY to SRC_IN" into lmp-preview-dev 2014-06-23 21:44:43 +00:00
Deepanshu Gupta
ead9ce3ff6 Temporarily change PorterDuff mode MULTIPLY to SRC_IN
Overflow pop up dialog for action bar uses PorterDuff color filters in
mode SRC_IN. The mode is not supported by AlphaComposite currently. So,
in order to render something, we swap it out with SRC_IN.

Change-Id: I987e101728ecb76b5e3d5cd91f831e6f63a4321f
2014-06-23 19:26:32 -07:00
Deepanshu Gupta
16af3691f5 Fix bug to render status bar icons
Change-Id: I653c765105dafb02e30322384ca8e4791ac185d2
2014-06-23 19:25:38 -07:00
Deepanshu Gupta
e1d04d5421 Fix NPE in Ninepatch creation.
Change-Id: Icead69cd8503e90aeb54ff42f9ec297e7af2b518
2014-06-23 18:40:47 -07:00
Deepanshu Gupta
8dcfd4abe8 Resource resolution bug fix.
Fix a bug where "?attr/foo" in framework resources wasn't resolved
properly.

Change-Id: I9a56974f526774fde79685f668f01021136d68f1
2014-06-23 16:48:56 -07:00
Deepanshu Gupta
42c7ce02f4 Add navigtaion bar icons to simulate older platforms.
LayoutLib can simulate older versions of the platform to a very limited
extent. This change adds the old navigtaion bar icons back and moves the
latest ones to directories suffixed with "-v21". The code handles this
resolution in a very crude way.

This also removes a bunch of unused code and fixes some style warnings.

Change-Id: Ib6e7bfd8dfb34b2ccd87f660ca979eb5ef14bae7
2014-06-23 14:49:01 -07:00
Deepanshu Gupta
b0419c8c4f Merge "Fix bug to render status bar icons" into lmp-preview-dev 2014-06-23 21:44:43 +00:00
Deepanshu Gupta
a0e37aebca Merge "Fix NPE in Ninepatch creation." into lmp-preview-dev 2014-06-24 00:22:15 +00:00
Deepanshu Gupta
d6bb082055 Merge "Resource resolution bug fix." into lmp-preview-dev 2014-06-23 21:50:10 +00:00
Deepanshu Gupta
425998a586 Merge "Add navigtaion bar icons to simulate older platforms." into lmp-preview-dev 2014-06-24 00:22:15 +00:00
Deepanshu Gupta
54c1c0db93 Merge "LayoutLib: Support PorterDuffColorFilter" into lmp-preview-dev 2014-06-24 00:22:15 +00:00
Deepanshu Gupta
083f271429 Merge "Fix SurfaceView in LayoutLib." into lmp-preview-dev 2014-06-24 00:22:15 +00:00
Chris Wren
47c20a163a Update javadocs for heads up behavior.
The heads up notification is influences by full screen, sound,
vibration and priority. Update the documentation on those APIs to
explain this.

Also add some draft documentation for hidden API surfaces.

Bug: 15509793
Change-Id: Ie7dc99d9c1acf873782bdd010cdf28d11da256d7
2014-06-23 16:48:41 -04:00
Baligh Uddin
ea0a68c8fd Import translations. DO NOT MERGE
Change-Id: I5838e3d2a666385101210aa9028268f211c2112c
Auto-generated-cl: translation import
2014-06-23 10:09:42 -07:00
Baligh Uddin
63c488eb34 Import translations. DO NOT MERGE
Change-Id: I7dba3731b7a68d03db38e1c216968d9928f98434
Auto-generated-cl: translation import
2014-06-23 09:33:51 -07:00
Baligh Uddin
fb6aaafd9b Import translations. DO NOT MERGE
Change-Id: I93ec91fb5f39c20823c305588cd189aabf32423e
Auto-generated-cl: translation import
2014-06-23 09:27:49 -07:00
Deepanshu Gupta
f2af1f5d8a LayoutLib: Support PorterDuffColorFilter
Add support for select modes for PorterDuffColorFilter.

Change-Id: Ia7b4a6a92c326be977dd87a70f54c1f8954b546d
2014-06-22 13:02:54 -07:00
Deepanshu Gupta
367a0ce902 Fix SurfaceView in LayoutLib.
Added missing constructor.

Change-Id: I3dc8eb510bf4210568d4bb71ad551446d6835ae2
2014-06-21 19:47:25 -07:00
Deepanshu Gupta
b337295654 Merge "LayoutLib: Better support for compact/elegant fonts." into lmp-preview-dev 2014-06-20 21:00:34 +00:00
Deepanshu Gupta
0a1335d770 Merge "Material navigation bar for layoutlib." into lmp-preview-dev 2014-06-20 20:43:34 +00:00
Ji-Hwan Lee
8865275ebc DO NOT MERGE: Use main looper for PackageMonitor
This is to work-around the issue that TvInputManagerService does not
receive package change callbacks from PackageMonitor.

In ATV emulator build, the background thread is blocked at
android_location_GpsLocationProvider_init(), and PackageMonitor that uses
background thread fails to handle broadcast intent.

Bug: 15767453
Change-Id: Ieef00cedf1357d57e4217ec202d50655ba3aa35a
2014-06-21 06:31:12 +09:00
Ji-Hwan Lee
0ceb7e4755 Register PackageMonitor when system services are ready
Bug: 15767453
Change-Id: I191b20dfa31eee0e37ba7df67cbf906ccbfc0f4e
2014-06-21 06:30:49 +09:00
Deepanshu Gupta
17f6f35f90 Material navigation bar for layoutlib.
Change-Id: Id65600e5f4ffb3cd0f90c3c710f88d9b668f754f
2014-06-18 15:27:02 -07:00
Baligh Uddin
6ef41d58c9 Merge "Import translations. DO NOT MERGE" into lmp-preview-dev 2014-06-18 18:28:24 +00:00
Baligh Uddin
041a6e315c Merge "Import translations. DO NOT MERGE" into lmp-preview-dev 2014-06-19 00:17:11 +00:00
Baligh Uddin
187f3efe6e Import translations. DO NOT MERGE
Change-Id: Id0dea37ff97571e1bd293705c9b63fd839ed1c70
Auto-generated-cl: translation import
2014-06-18 10:23:21 -07:00
Baligh Uddin
f413ccbbab Import translations. DO NOT MERGE
Change-Id: If9bee5ebdc80d406105b43be2c90de77cd4dab76
Auto-generated-cl: translation import
2014-06-18 09:46:21 -07:00
Baligh Uddin
d132bb3f28 Import translations. DO NOT MERGE
Change-Id: Id7dc159049bac4f968f722d3f029616c80f4552e
Auto-generated-cl: translation import
2014-06-18 09:39:46 -07:00
Christoph Studer
c08cd7cc65 SysUI: Hide grouped notifications
Drop grouped notification received from NoMan.

Bug: 15188947
Change-Id: I8bdb99abd216d771d435d18b2018c843e7750d18
2014-06-17 23:14:12 +00:00
Griff Hazen
0d0c177518 [Doc fix] Document best practices for display intent activities.
Bug: 15412926

Change-Id: I1c3082dfde85cd03ffc97be6383a0608f925edcf
(cherry picked from commit 831ca9d3bc73e37f555f6c07babde270f83044fe)
2014-06-17 16:26:28 +00:00
Baligh Uddin
281b14eea0 Merge "Import translations. DO NOT MERGE" into lmp-preview-dev 2014-06-17 04:56:28 +00:00
Baligh Uddin
22669d0024 Merge "Import translations. DO NOT MERGE" into lmp-preview-dev 2014-06-17 05:00:50 +00:00
RoboErik
6b1bea0903 b/15676582 Fix ordering of sessions returned by MediaSessionManager
This was causing the wrong rcc to be shown. Simple fix
just fixes the ordering so it's not reversed.

Change-Id: I56f2d9d6895d6ba3b0eca8f77a3b0b63e0193ad1
2014-06-16 16:59:37 -07:00
Selim Cinek
b688bf7ceb Fixed a bug where the device could not be unlocked.
When the Notifications could be scrolled, the shade could not
be closed.

Bug: 15643474
Change-Id: I59b9f55c0290da7683ce7fd40effc4b5413e4267
2014-06-16 16:36:51 -07:00
Chris Craik
56a78265bf Merge "Adjust tessellation abort depth DO NOT MERGE" into lmp-preview-dev 2014-06-16 20:54:41 +00:00
Chris Craik
2743e0caad Adjust tessellation abort depth DO NOT MERGE
bug:15615144
Change-Id: Iee91f241067de9d088220c34c19db52a37ac258d
2014-06-16 14:00:40 -07:00
Elliott Hughes
7285b38e0b Merge "@hide." into lmp-preview-dev 2014-06-16 19:03:13 +00:00
Elliott Hughes
f9fd6a7dfc @hide.
Change-Id: Ieacf34a7b850910e70ae54f738608509e2c39e2e
2014-06-16 20:15:44 +00:00
Baligh Uddin
35c18d9fc9 Import translations. DO NOT MERGE
Change-Id: Ic6b3eb6f14875072b5fbce1db22aacbf3027044e
Auto-generated-cl: translation import
2014-06-16 10:10:26 -07:00
Baligh Uddin
994599f97c Import translations. DO NOT MERGE
Change-Id: Ib6cf3952a1b349f06e1be32c5ab9524de0836b83
Auto-generated-cl: translation import
2014-06-16 09:36:54 -07:00