Deepanshu Gupta
bcd50a7cf3
am 5712b5fc: Optimize layout rendering in layoutlib [DO NOT MERGE]
...
* commit '5712b5fc3fec0dc376e84f660f2fe0d1102c0cbb':
Optimize layout rendering in layoutlib [DO NOT MERGE]
2014-05-02 19:24:03 +00:00
Deepanshu Gupta
7c02c6e27f
am 02cde9ce: Add methods for Time_Delegate [DO NOT MERGE]
...
* commit '02cde9ceeb4c052ee273a5d809816dfd355ebb56':
Add methods for Time_Delegate [DO NOT MERGE]
2014-05-02 19:23:58 +00:00
Deepanshu Gupta
443372ddf3
am 9d7b5165: Add libphonenumber to layoutlib.jar. [DO NOT MERGE]
...
* commit '9d7b5165576e3cf491fe47cf335feb6d204140b3':
Add libphonenumber to layoutlib.jar. [DO NOT MERGE]
2014-05-02 19:23:56 +00:00
Deepanshu Gupta
62591cffc7
am 689c0dfe: Fix NPE in layoutlib. [DO NOT MERGE]
...
* commit '689c0dfe72a57c0555560012cbc6806375e7d4b7':
Fix NPE in layoutlib. [DO NOT MERGE]
2014-05-02 19:23:53 +00:00
Deepanshu Gupta
600539c7ff
am 083d1562: Fix text size in Fake Action Bar. [DO NOT MERGE]
...
* commit '083d1562e00631630b5594462ce4a867a3508d8d':
Fix text size in Fake Action Bar. [DO NOT MERGE]
2014-05-02 19:23:50 +00:00
Deepanshu Gupta
697c511d94
am 80c668f2: Remove references to non-std Java classes. [DO NOT MERGE]
...
* commit '80c668f2a076e91d887dbf77776cd503ff88b0b4':
Remove references to non-std Java classes. [DO NOT MERGE]
2014-05-02 19:23:47 +00:00
Deepanshu Gupta
e39de9ae58
am 6335590a: Fix DatePicker and Calendar widget in layoutlib. [DO NOT MERGE]
...
* commit '6335590aa8997944cc7fb358a315dbb9b789f87f':
Fix DatePicker and Calendar widget in layoutlib. [DO NOT MERGE]
2014-05-02 19:23:43 +00:00
Deepanshu Gupta
6f469e5438
am 11ee746d: Layoutlib: Update the wifi icon in the status bar. [DO NOT MERGE]
...
* commit '11ee746dc5e77f4f33aac45ac9e344444223012d':
Layoutlib: Update the wifi icon in the status bar. [DO NOT MERGE]
2014-05-02 19:23:40 +00:00
Deepanshu Gupta
fbb1561a48
am 44bcd64e: Fix CalendarView to show the right labels. [DO NOT MERGE]
...
* commit '44bcd64e5b9fd211dd56b0598693a0559f65dc1a':
Fix CalendarView to show the right labels. [DO NOT MERGE]
2014-05-02 19:12:34 +00:00
Deepanshu Gupta
ca2c630726
am 87be67f9: Fix layoutlib [DO NOT MERGE]
...
* commit '87be67f91719234cbd381ff0242b5efc8b6aa257':
Fix layoutlib [DO NOT MERGE]
2014-05-02 19:12:30 +00:00
Deepanshu Gupta
77d1eca7d2
am 7b5d54f0: Fix ClassCastException when rendering ListView [DO NOT MERGE]
...
* commit '7b5d54f05be61a7ab40021644a91c466e2897627':
Fix ClassCastException when rendering ListView [DO NOT MERGE]
2014-05-02 19:12:27 +00:00
Deepanshu Gupta
fe67544161
am ce22440d: Fix text rendering [DO NOT MERGE]
...
* commit 'ce22440d4ca94009a4fb22c3d4f924cfbf422a66':
Fix text rendering [DO NOT MERGE]
2014-05-02 19:12:23 +00:00
Deepanshu Gupta
afc623e34e
am bd9e181b: Fix layout rendering for RTL locales [DO NOT MERGE]
...
* commit 'bd9e181b291af34f9d70db42715136f3c16ddbde':
Fix layout rendering for RTL locales [DO NOT MERGE]
2014-05-02 19:12:18 +00:00
Deepanshu Gupta
811b331ae2
am d4875e19: Add orientation to configuration for layoutlib. [DO NOT MERGE]
...
* commit 'd4875e19f5b7c69226783b0a6590831466159f84':
Add orientation to configuration for layoutlib. [DO NOT MERGE]
2014-05-02 19:12:16 +00:00
Deepanshu Gupta
21cf98438b
am d1084cc0: Add missing native methods. [DO NOT MERGE]
...
* commit 'd1084cc02549dc9ee67c879f78ae929095ec19b6':
Add missing native methods. [DO NOT MERGE]
2014-05-02 19:12:12 +00:00
Deepanshu Gupta
5712b5fc3f
Optimize layout rendering in layoutlib [DO NOT MERGE]
...
The height of a layout should be zero if it is assigned a layout_weight.
This way, the layout is measured only once and prevents spurious errors.
Bug: https://code.google.com/p/android/issues/detail?id=58398
Change-Id: If49a7480e5eb82cb86780e00f2f5b65ee053fc2a
(cherry-picked from 9e5e993c7969ad60ff70cfdcf707247f38a705a1)
2014-05-02 11:46:41 -07:00
Deepanshu Gupta
02cde9ceeb
Add methods for Time_Delegate [DO NOT MERGE]
...
Bug: http://b.android.com/65359
Change-Id: I7c2d09286d6bcd9899444aaa5a4a5a342e39d923
(cherry-picked from ddb7f3273c3c00e6520794dcaabdaad20fd98e26)
2014-05-02 11:46:40 -07:00
Deepanshu Gupta
9d7b516557
Add libphonenumber to layoutlib.jar. [DO NOT MERGE]
...
Issue: http://b.android.com/59497
Change-Id: Ief11e602703b6041db66241f1699cc1de72e65a5
(cherry picked from commit 317f304893c58c5e50255bd712448ca233ae5cec)
2014-05-02 11:46:40 -07:00
Deepanshu Gupta
689c0dfe72
Fix NPE in layoutlib. [DO NOT MERGE]
...
Change-Id: I36623304d83b344ea078044001577b8005a63c02
(cherry picked from commit 80c55109b6351049498df294234dc0a75e75ec44)
2014-05-02 11:46:40 -07:00
Deepanshu Gupta
083d1562e0
Fix text size in Fake Action Bar. [DO NOT MERGE]
...
The density multiplier was being applied twice to the title text in
the fake action bar.
Bug: 11436018
Change-Id: Id74c11037cb43d01f6cd79126623c84edfc37aaf
(cherry-picked from 0b7d80765c21dbd9294a0245f92a655fdd61514e)
2014-05-02 11:46:39 -07:00
Deepanshu Gupta
80c668f2a0
Remove references to non-std Java classes. [DO NOT MERGE]
...
Do not add the non-standard Java classes. Updates the references to all
non-standard classes to new classes in
com.android.tools.layoulib.create package. This also treats
java.lang.AutoCloseable which is part of Java 7 similarly so that we can
still run on Java 6.
This also adapts the cherrypick for this branch by updating references
to the non-standard Java classes present in this branch.
Change-Id: Iac5b272652e2780c9bb72d19f415d150948ca589
(cherry picked from 0b7d80765c21dbd9294a0245f92a655fdd61514e)
2014-05-02 11:46:39 -07:00
Deepanshu Gupta
6335590aa8
Fix DatePicker and Calendar widget in layoutlib. [DO NOT MERGE]
...
Issue: https://code.google.com/p/android/issues/detail?id=59732
Change-Id: I281b3fdad88c591281a3645592c84f3e2cb61d09
(cherry picked from commit 81f74f4bc96ea4266cebe1b785d095558f540800)
2014-05-02 11:46:38 -07:00
Deepanshu Gupta
11ee746dc5
Layoutlib: Update the wifi icon in the status bar. [DO NOT MERGE]
...
Issue: https://code.google.com/p/android/issues/detail?id=60993
Change-Id: Ia43ed40b42c79f67dcd5809b827d4fecbc823c25
(cherry picked from commit 9cb5f5b5233f2331748d108d71f4b685762f32a7)
2014-05-02 11:46:38 -07:00
Deepanshu Gupta
44bcd64e5b
Fix CalendarView to show the right labels. [DO NOT MERGE]
...
Change-Id: I95431f1054678d4192bd1621c1f69b29268f55e9
(cherry picked from commit 083e3caf66c21f7cc9511db479726c38d90e2d2f)
2014-05-02 11:46:37 -07:00
Deepanshu Gupta
87be67f917
Fix layoutlib [DO NOT MERGE]
...
Fix a NPE.
The cherry-pick differs slightly from the original to remove changes not
relevant to the current branch.
Bug: 11140701
Change-Id: Id92fc5359acf6dde1bcdbc781aaf637fdb6eecbf
(cherry-picked from 28873c1f008f4fe24441923e14f30e55d6f0967a)
2014-05-02 11:46:37 -07:00
Deepanshu Gupta
7b5d54f05b
Fix ClassCastException when rendering ListView [DO NOT MERGE]
...
Bug: b.android.com/59300
Change-Id: Ia350adb3308daa8170bff755302760790163c811
(cherry picked from commit 54d88f7678387a6eb871ec2dccd36af4ff35b1fe)
2014-05-02 11:46:37 -07:00
Deepanshu Gupta
ce22440d4c
Fix text rendering [DO NOT MERGE]
...
There are still some errors
1. Little vertical clippping for extra tall glyphs.
2. Breaking into scripts isn't perfect which results in incorrect layout
of text.
Change-Id: I54de3c05eca5e8affb1135c120eea24c3afe8a47
(cherry picked from commit 92a169fa2e1bab7d93089196c33c2de12f9eae82)
2014-05-02 11:46:05 -07:00
Deepanshu Gupta
bd9e181b29
Fix layout rendering for RTL locales [DO NOT MERGE]
...
This changeset adds the framework resources for RTL locales and mirrors
the layout if the application is RTL aware.
Use ICU to check the character orientation of the locale - right to left
or left to right. Set the layout direction on the top level layout
accordingly. Also, load the RTL resources for Nav Bar when the locale is
RTL.
Change-Id: I1ed0d516ab64120a0abca413ba678036661508f8
(cherry picked from commit eee0ea7a0b85ea6345eb7b8da5dbf17306c7339c)
2014-05-02 11:45:37 -07:00
Deepanshu Gupta
d4875e19f5
Add orientation to configuration for layoutlib. [DO NOT MERGE]
...
Update the configuration with the device orientation before rendering.
Change-Id: Icd40901204fd13f90b18353e53a15e25e5b2176c
(cherry picked from commit d97d60c0fa4613a47d591d45736299702be1cc7a)
2014-05-02 11:45:00 -07:00
Deepanshu Gupta
d1084cc025
Add missing native methods. [DO NOT MERGE]
...
Also contains fixes for native methods specific to the branch.
Change-Id: I7b34e2ec0164520efc658053a80f307791a992b1
(cherry-picked from commit: 279c00e8e0abb20f7e10577c77937c058da080bf)
2014-04-28 15:18:05 -07:00
Kenny Root
47231936c0
am 02bc4b04: am 4a62a6dc: am 451ed5f0: am 3ecaa88d: am ecb013db: Merge "Use hidden API to validate APK chains" into jb-dev
...
* commit '02bc4b04239c437f88fdb82633b41cdc8a8eff6b':
Use hidden API to validate APK chains
2014-04-18 22:26:03 +00:00
Kenny Root
02bc4b0423
am 4a62a6dc: am 451ed5f0: am 3ecaa88d: am ecb013db: Merge "Use hidden API to validate APK chains" into jb-dev
...
* commit '4a62a6dce9a4b48f1c1c64e47a22d2319b852acd':
Use hidden API to validate APK chains
2014-04-18 22:21:37 +00:00
Kenny Root
4a62a6dce9
am 451ed5f0: am 3ecaa88d: am ecb013db: Merge "Use hidden API to validate APK chains" into jb-dev
...
* commit '451ed5f077b9f95deae809ae620bc210c253b922':
Use hidden API to validate APK chains
2014-04-18 22:14:14 +00:00
Kenny Root
451ed5f077
am 3ecaa88d: am ecb013db: Merge "Use hidden API to validate APK chains" into jb-dev
...
* commit '3ecaa88d83d04a0fd55b494829badbb41016f5a1':
Use hidden API to validate APK chains
2014-04-18 21:33:04 +00:00
Kenny Root
3ecaa88d83
am ecb013db: Merge "Use hidden API to validate APK chains" into jb-dev
...
* commit 'ecb013dbff5e33b95c49015fa375579e055911ae':
Use hidden API to validate APK chains
2014-04-18 18:14:32 +00:00
Kenny Root
ecb013dbff
Merge "Use hidden API to validate APK chains" into jb-dev
2014-04-18 17:12:40 +00:00
Kenny Root
16c6b177ee
Use hidden API to validate APK chains
...
Bug: 13678484
Change-Id: I28dedab74b0e24d47ab9f2190298156c909e9d54
2014-04-17 14:03:33 -07:00
Robert Greenwalt
339cfdbde3
am 72f9b308: am 4bc58bd2: am c0d94e7a: am f52d1a56: am fe38ff8d: DO NOT MERGE Sanitize WifiConfigs
...
* commit '72f9b3084cf8bf0ca01ba52a853faeeb74acdad4':
DO NOT MERGE Sanitize WifiConfigs
2014-04-07 19:57:32 +00:00
Robert Greenwalt
72f9b3084c
am 4bc58bd2: am c0d94e7a: am f52d1a56: am fe38ff8d: DO NOT MERGE Sanitize WifiConfigs
...
* commit '4bc58bd255f3a0cd9bb3a8f7a916a3cccb96ce6b':
DO NOT MERGE Sanitize WifiConfigs
2014-04-07 19:51:34 +00:00
Robert Greenwalt
e42ce676f5
am ebf23a8d: am 74acf23a: am 3c417fbf: Merge "DO NOT MERGE Sanitize WifiConfigs" into jb-mr1-dev
...
* commit 'ebf23a8d9ef7eb2d14ef19bff5525eb16604da7c':
DO NOT MERGE Sanitize WifiConfigs
2014-04-07 19:48:39 +00:00
Robert Greenwalt
4bc58bd255
am c0d94e7a: am f52d1a56: am fe38ff8d: DO NOT MERGE Sanitize WifiConfigs
...
* commit 'c0d94e7ac6353757b7fa4d7f6fce75c5719c7e6e':
DO NOT MERGE Sanitize WifiConfigs
2014-04-07 19:47:49 +00:00
Robert Greenwalt
c0d94e7ac6
am f52d1a56: am fe38ff8d: DO NOT MERGE Sanitize WifiConfigs
...
* commit 'f52d1a56af8cc769c1019fbb0d8b7a2254fcc01b':
DO NOT MERGE Sanitize WifiConfigs
2014-04-07 19:42:49 +00:00
Robert Greenwalt
ebf23a8d9e
am 74acf23a: am 3c417fbf: Merge "DO NOT MERGE Sanitize WifiConfigs" into jb-mr1-dev
...
* commit '74acf23a1eef75628c8fa9e2ff7ba08ed4258558':
DO NOT MERGE Sanitize WifiConfigs
2014-04-07 19:42:32 +00:00
Robert Greenwalt
f52d1a56af
am fe38ff8d: DO NOT MERGE Sanitize WifiConfigs
...
* commit 'fe38ff8d36c4fa2e18f4c786692eeea5ebd94e9f':
DO NOT MERGE Sanitize WifiConfigs
2014-04-07 19:36:54 +00:00
Robert Greenwalt
74acf23a1e
am 3c417fbf: Merge "DO NOT MERGE Sanitize WifiConfigs" into jb-mr1-dev
...
* commit '3c417fbf21133340cbbe3539d87c453f81ae3a9d':
DO NOT MERGE Sanitize WifiConfigs
2014-04-07 19:36:44 +00:00
Robert Greenwalt
3c417fbf21
Merge "DO NOT MERGE Sanitize WifiConfigs" into jb-mr1-dev
2014-04-07 19:30:10 +00:00
Craig Mautner
1cb3c1d381
am fc80fbe3: am 7bd0b652: am 4bdab6bb: Fix FLAG_DISMISS_KEYGUARD not working
...
* commit 'fc80fbe3d5b287c19e3dab89fc93ca4b8a812bb1':
Fix FLAG_DISMISS_KEYGUARD not working
2014-04-01 19:30:41 +00:00
Craig Mautner
fc80fbe3d5
am 7bd0b652: am 4bdab6bb: Fix FLAG_DISMISS_KEYGUARD not working
...
* commit '7bd0b65233d0ef34114ecb93d734dfe4351f470d':
Fix FLAG_DISMISS_KEYGUARD not working
2014-04-01 19:24:23 +00:00
Craig Mautner
7bd0b65233
am 4bdab6bb: Fix FLAG_DISMISS_KEYGUARD not working
...
* commit '4bdab6bb4c55661d4915518b1190e30c4633c6a5':
Fix FLAG_DISMISS_KEYGUARD not working
2014-04-01 19:18:36 +00:00
Craig Mautner
4bdab6bb4c
Fix FLAG_DISMISS_KEYGUARD not working
...
Fixes bug 13672528.
Change-Id: I0292aee51d5d8755bbae926e5f0e6af1e22107dc
2014-04-01 12:10:54 -07:00