104794 Commits

Author SHA1 Message Date
Deepanshu Gupta
2f7d5d7c34 am c88d4c57: (-s ours) am b172b780: am f3264738: am cc5340bc: Add missing dependency in layoutlib build file [DO NOT MERGE]
* commit 'c88d4c572f95a6b2397cd2c2931b1a51c673a3c8':
  Add missing dependency in layoutlib build file [DO NOT MERGE]
2014-05-13 02:04:35 +00:00
Deepanshu Gupta
bdb583df04 am 57c0cf45: (-s ours) am 71acfa6c: am 49d47a02: am 76dccb7f: Fix theme/style resolution in Layoutlib [DO NOT MERGE]
* commit '57c0cf454ab8d8d321f2a10c4914eb4414722392':
  Fix theme/style resolution in Layoutlib [DO NOT MERGE]
2014-05-13 02:04:31 +00:00
Deepanshu Gupta
ef15cd6190 am 3195ff0a: (-s ours) am b90db3e6: am de3b2c06: am 1ed75bde: Remove references to non-std Java classes. [DO NOT MERGE]
* commit '3195ff0afad61fbb0787b80023bdb22ece4ecb6f':
  Remove references to non-std Java classes. [DO NOT MERGE]
2014-05-13 02:04:29 +00:00
Deepanshu Gupta
4d23ae4306 am 4654bfc1: (-s ours) am c2a6f3b1: am 2f94c1db: am 6136af32: Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]
* commit '4654bfc14ce664e6a6247ffa0fdace17f3eeb964':
  Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]
2014-05-13 02:04:25 +00:00
Deepanshu Gupta
e20ebd5ae1 am 863b49cc: (-s ours) am 9b89fcc0: am ef9596a1: am 2bd65db1: Layoutlib tests now check methods return value [DO NOT MERGE]
* commit '863b49ccaa77c7b0960220fca158099f3a79cb6a':
  Layoutlib tests now check methods return value [DO NOT MERGE]
2014-05-13 02:04:22 +00:00
Deepanshu Gupta
c88d4c572f am b172b780: am f3264738: am cc5340bc: Add missing dependency in layoutlib build file [DO NOT MERGE]
* commit 'b172b7805160d4a6875d694cb218fe05b117beb3':
  Add missing dependency in layoutlib build file [DO NOT MERGE]
2014-05-13 02:00:08 +00:00
Deepanshu Gupta
57c0cf454a am 71acfa6c: am 49d47a02: am 76dccb7f: Fix theme/style resolution in Layoutlib [DO NOT MERGE]
* commit '71acfa6c1933806a080fc6efb820833f8de68d54':
  Fix theme/style resolution in Layoutlib [DO NOT MERGE]
2014-05-13 02:00:06 +00:00
Deepanshu Gupta
3195ff0afa am b90db3e6: am de3b2c06: am 1ed75bde: Remove references to non-std Java classes. [DO NOT MERGE]
* commit 'b90db3e6ab1bc89752ce8d7bd286268c41843693':
  Remove references to non-std Java classes. [DO NOT MERGE]
2014-05-13 02:00:03 +00:00
Deepanshu Gupta
4654bfc14c am c2a6f3b1: am 2f94c1db: am 6136af32: Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]
* commit 'c2a6f3b1eda89365eec2508aec4a3a5024c140e5':
  Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]
2014-05-13 01:59:58 +00:00
Deepanshu Gupta
863b49ccaa am 9b89fcc0: am ef9596a1: am 2bd65db1: Layoutlib tests now check methods return value [DO NOT MERGE]
* commit '9b89fcc09d0e5da7b81f1910d6ed29b152f730f9':
  Layoutlib tests now check methods return value [DO NOT MERGE]
2014-05-13 01:59:55 +00:00
Deepanshu Gupta
b172b78051 am f3264738: am cc5340bc: Add missing dependency in layoutlib build file [DO NOT MERGE]
* commit 'f326473865d0860badcc39979b8965a6a2f28ae7':
  Add missing dependency in layoutlib build file [DO NOT MERGE]
2014-05-13 01:54:48 +00:00
Deepanshu Gupta
71acfa6c19 am 49d47a02: am 76dccb7f: Fix theme/style resolution in Layoutlib [DO NOT MERGE]
* commit '49d47a02e8c767d81815827a8170d015db6ea2d4':
  Fix theme/style resolution in Layoutlib [DO NOT MERGE]
2014-05-13 01:54:44 +00:00
Deepanshu Gupta
b90db3e6ab am de3b2c06: am 1ed75bde: Remove references to non-std Java classes. [DO NOT MERGE]
* commit 'de3b2c06ab05d1fbbf643b7ec3377d25997697d9':
  Remove references to non-std Java classes. [DO NOT MERGE]
2014-05-13 01:54:42 +00:00
Deepanshu Gupta
c2a6f3b1ed am 2f94c1db: am 6136af32: Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]
* commit '2f94c1db0d2c7e68891c3d96732fe39b199fac5d':
  Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]
2014-05-13 01:54:39 +00:00
Deepanshu Gupta
9b89fcc09d am ef9596a1: am 2bd65db1: Layoutlib tests now check methods return value [DO NOT MERGE]
* commit 'ef9596a1ea7c39cd07b81e87dca7f8f1941056b7':
  Layoutlib tests now check methods return value [DO NOT MERGE]
2014-05-13 01:54:36 +00:00
Deepanshu Gupta
f326473865 am cc5340bc: Add missing dependency in layoutlib build file [DO NOT MERGE]
* commit 'cc5340bc6301f8d9bf2cdb6ad2036964a3d179f5':
  Add missing dependency in layoutlib build file [DO NOT MERGE]
2014-05-13 01:49:34 +00:00
Deepanshu Gupta
49d47a02e8 am 76dccb7f: Fix theme/style resolution in Layoutlib [DO NOT MERGE]
* commit '76dccb7f436565136ff5e15b1ca57530940f5642':
  Fix theme/style resolution in Layoutlib [DO NOT MERGE]
2014-05-13 01:49:31 +00:00
Deepanshu Gupta
de3b2c06ab am 1ed75bde: Remove references to non-std Java classes. [DO NOT MERGE]
* commit '1ed75bde09275c9f2bd1f81830e381ea864ac7f5':
  Remove references to non-std Java classes. [DO NOT MERGE]
2014-05-13 01:49:28 +00:00
Deepanshu Gupta
2f94c1db0d am 6136af32: Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]
* commit '6136af326e64037184a7a2a3ae60c399f04d631f':
  Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]
2014-05-13 01:49:25 +00:00
Deepanshu Gupta
ef9596a1ea am 2bd65db1: Layoutlib tests now check methods return value [DO NOT MERGE]
* commit '2bd65db15fa6a265ccc4023161611088bc791b4e':
  Layoutlib tests now check methods return value [DO NOT MERGE]
2014-05-13 01:49:21 +00:00
Deepanshu Gupta
7f56beb840 Support actionProviderClass attribute for menus [DO NOT MERGE]
The change adds support for view cookies for actionProviderClasses (for
example, ShareActionProvider) in the action bar menus.

This also provides a more robust search for the overflowMenuButton.

Change-Id: I316c8b9a69e2e337b41ba0fe4e61af9fe850f750
(cherry picked from commit 28fa661f79e18fc9fc46bf112edded9c0d07696f)
2014-05-02 18:01:11 -07:00
Deepanshu Gupta
f61bd00206 Fix class name for OverflowMenuButton [DO NOT MERGE]
Change-Id: Ie3e709e7aadb2193397df8befef0c55624d7e4e3
(cherry picked from commit 4b5fa4d318e7efaffdc678e0cb8953ffc78c2b1e)
2014-05-02 17:52:04 -07:00
Deepanshu Gupta
d558ebdb43 Add special system view cookie to OverflowButton. [DO NOT MERGE]
Add a special view cookie to enable the IDE to identify the overflow
menu button in the Action Bar.

Change-Id: Ida3ed776afb8c9fa8af23b73d4cf6d47eef0ab87
(cherry picked from commit c967d8dc62c429ecf3e27bf3714a953636e75cbf)
2014-05-02 17:43:25 -07:00
Deepanshu Gupta
a98121ef52 Fix style warnings in RenderSessionImpl [DO NOT MERGE]
Change-Id: I9d3cb23e4ea692f737a3e3d6c18cc8de18b66a3c
(cherry-picked from commit fbfeb1a90b6f8f3966c60a69d50ce8f608d9d861)
2014-05-02 17:34:00 -07:00
Deepanshu Gupta
7704837947 Add view cookies for action bar menus. [DO NOT MERGE]
The change adds the view cookies for the menus rendered in the action
bar. This enables the IDE to map the menu to the relevant XML Tag in the
menu xml and show the highlighting accordingly.

The change also contains a bugfix where a method wasn't renamed
properly.

Change-Id: Idcfc263a8ebe0a4f25afa3a1eb085fa628fd03ca
(cherry-picked from commit 5ba2f230faa355eb9bc1e90f6c48eeeb437f390c)
2014-05-02 17:33:05 -07:00
Deepanshu Gupta
cc5340bc63 Add missing dependency in layoutlib build file [DO NOT MERGE]
Add missing dependency on built_ext_data

Change-Id: I4e7cca7f6cbc7f5b7416ac9b85a9aec01e61ecd4
(cherry-picked from commit b85d30a2c88b6a23e251347b14a75456c4daeca9)
2014-05-02 16:23:14 -07:00
Deepanshu Gupta
76dccb7f43 Fix theme/style resolution in Layoutlib [DO NOT MERGE]
Change-Id: Icfb91e566666408802dadc0e2070991151b16b9d
(cherry picked from commit 3c00b28bf60ab01b449e16df045238f4bae4d700)
2014-05-02 16:23:13 -07:00
Deepanshu Gupta
1ed75bde09 Remove references to non-std Java classes. [DO NOT MERGE]
This change adds a substitute for the Charsets class in java namespace.
The original cherry pick of the change had dropped this substitute. But
the substitute is required for bug b.android.com/59732

The original cherry-pick is 6335590aa8997944cc7fb358a315dbb9b789f87f and
the original change is 81f74f4bc96ea4266cebe1b785d095558f540800
The original Change-Id is Iac5b272652e2780c9bb72d19f415d150948ca589

Change-Id: I76c87c74ee088778b37d1a7a7d531e0fde5c758f
2014-05-02 16:22:14 -07:00
Deepanshu Gupta
6136af326e Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]
The bug caused some classes to be missed when computing the dependencies
of the existing classes.

Change-Id: I7285ff67e016ce5d73a8550501f49acc73cfadfa
(cherry-picked from 6f9baea47757fef4745de434e09bd552fddc1f03)
2014-05-02 15:38:42 -07:00
Deepanshu Gupta
2bd65db15f Layoutlib tests now check methods return value [DO NOT MERGE]
The change is a cherry-pick from klp-dev.

The change also fixes the errors found by fixing the tests.

Change-Id: I87cef323c4eaee4e9f60475f01156b276593fa50
(cherry-picked from commit 89fdc0c556cf0fe2562fb8f0476e03cd51045164)
2014-05-02 14:19:47 -07:00
Deepanshu Gupta
75f435b0f4 am 495c14d8: (-s ours) am 47ad22ed: am 961e3281: am 6df2860b: Add missing files to fix libphonenumber for layoutlib. [DO NOT MERGE]
* commit '495c14d8b8e8a52554cfc0776c48d328657cda95':
  Add missing files to fix libphonenumber for layoutlib. [DO NOT MERGE]
2014-05-02 19:36:42 +00:00
Deepanshu Gupta
c529b70031 am 8ad4b8b1: (-s ours) am 9932e589: am 9e2dadae: am bcbeaf83: Set default text style in layoutlib as NORMAL [DO NOT MERGE]
* commit '8ad4b8b1fedc9a200b49f322e73d406d43e32327':
  Set default text style in layoutlib as NORMAL [DO NOT MERGE]
2014-05-02 19:36:40 +00:00
Deepanshu Gupta
b7431172a4 am 826a215c: (-s ours) am 320f1126: am cf3f108e: am 5be65fda: Fix sans-serif-thin and sans-serif-light fonts in layoutlib. [DO NOT MERGE]
* commit '826a215c8b27babd041a77a8cdd2f42a29b240bd':
  Fix sans-serif-thin and sans-serif-light fonts in layoutlib. [DO NOT MERGE]
2014-05-02 19:36:36 +00:00
Deepanshu Gupta
28ec8b4f0a am 0a37981c: (-s ours) am 1b28d8d4: am d642de58: am ec4623d0: Improve text rendering and measurement. [DO NOT MERGE]
* commit '0a37981cad7b00991c3b759b3ab1918c1ebf4bc0':
  Improve text rendering and measurement. [DO NOT MERGE]
2014-05-02 19:36:33 +00:00
Deepanshu Gupta
d9076a95bc am f4b35c6a: (-s ours) am ef822b3f: am 62a4a1f9: am 2a82a48f: Fix the measurement of text bounds. [DO NOT MERGE]
* commit 'f4b35c6a832d3db694b2487fc30d1d1975114944':
  Fix the measurement of text bounds. [DO NOT MERGE]
2014-05-02 19:36:30 +00:00
Deepanshu Gupta
38f954c864 am e0537c1d: (-s ours) am c7f8e64c: am 1830a58f: am 5bb3414d: Fix a bug in Nine Patch library. [DO NOT MERGE]
* commit 'e0537c1d498a2baab23e2afdcd9d88d1a1065d87':
  Fix a bug in Nine Patch library. [DO NOT MERGE]
2014-05-02 19:36:27 +00:00
Deepanshu Gupta
35f9f31017 am 5e6a2990: (-s ours) am 4d887ec3: am bcd50a7c: am 5712b5fc: Optimize layout rendering in layoutlib [DO NOT MERGE]
* commit '5e6a2990805ec630fb97197910ecfbf7645bf8a6':
  Optimize layout rendering in layoutlib [DO NOT MERGE]
2014-05-02 19:36:24 +00:00
Deepanshu Gupta
956729296a am 73f9e467: (-s ours) am edd67cb1: am 7c02c6e2: am 02cde9ce: Add methods for Time_Delegate [DO NOT MERGE]
* commit '73f9e4675c0ebc23dd977a51f248dd6e603f7e33':
  Add methods for Time_Delegate [DO NOT MERGE]
2014-05-02 19:36:21 +00:00
Deepanshu Gupta
ea18b2d654 am 95fd97aa: (-s ours) am 84e7a6b8: am 443372dd: am 9d7b5165: Add libphonenumber to layoutlib.jar. [DO NOT MERGE]
* commit '95fd97aa820dae4ba5040b6c040408b66887fe73':
  Add libphonenumber to layoutlib.jar. [DO NOT MERGE]
2014-05-02 19:36:18 +00:00
Deepanshu Gupta
fd58105912 am 88a12f57: (-s ours) am 43034b54: am 62591cff: am 689c0dfe: Fix NPE in layoutlib. [DO NOT MERGE]
* commit '88a12f5744846511e1861cf0f2e311f642109012':
  Fix NPE in layoutlib. [DO NOT MERGE]
2014-05-02 19:36:16 +00:00
Deepanshu Gupta
f41ce15772 am 43ed35da: (-s ours) am ce205d0a: am 600539c7: am 083d1562: Fix text size in Fake Action Bar. [DO NOT MERGE]
* commit '43ed35da99e500182b176ea74f0cd051a3325f39':
  Fix text size in Fake Action Bar. [DO NOT MERGE]
2014-05-02 19:36:13 +00:00
Deepanshu Gupta
071206b4b5 am aab9d9a7: (-s ours) am 1a434aa8: am 697c511d: am 80c668f2: Remove references to non-std Java classes. [DO NOT MERGE]
* commit 'aab9d9a75cac9f1ed8291a5820d676c2eadc8b4d':
  Remove references to non-std Java classes. [DO NOT MERGE]
2014-05-02 19:36:10 +00:00
Deepanshu Gupta
c37f7c84fa am d15bbac6: (-s ours) am a2b530fb: am e39de9ae: am 6335590a: Fix DatePicker and Calendar widget in layoutlib. [DO NOT MERGE]
* commit 'd15bbac6316bb7d3838489f7eaab58147479dc92':
  Fix DatePicker and Calendar widget in layoutlib. [DO NOT MERGE]
2014-05-02 19:36:07 +00:00
Deepanshu Gupta
8cc1d9891c am 3e9bc262: (-s ours) am 9d209905: am 6f469e54: am 11ee746d: Layoutlib: Update the wifi icon in the status bar. [DO NOT MERGE]
* commit '3e9bc262105b9fe0d3f538a4ec0143606a7de0d1':
  Layoutlib: Update the wifi icon in the status bar. [DO NOT MERGE]
2014-05-02 19:36:04 +00:00
Deepanshu Gupta
495c14d8b8 am 47ad22ed: am 961e3281: am 6df2860b: Add missing files to fix libphonenumber for layoutlib. [DO NOT MERGE]
* commit '47ad22edb7df502356598d417adbce0b0ce35616':
  Add missing files to fix libphonenumber for layoutlib. [DO NOT MERGE]
2014-05-02 19:31:59 +00:00
Deepanshu Gupta
8ad4b8b1fe am 9932e589: am 9e2dadae: am bcbeaf83: Set default text style in layoutlib as NORMAL [DO NOT MERGE]
* commit '9932e589b0f604b1c553e043cd6a60adbc1b7055':
  Set default text style in layoutlib as NORMAL [DO NOT MERGE]
2014-05-02 19:31:56 +00:00
Deepanshu Gupta
826a215c8b am 320f1126: am cf3f108e: am 5be65fda: Fix sans-serif-thin and sans-serif-light fonts in layoutlib. [DO NOT MERGE]
* commit '320f1126a35fae6e5c2f72f75db5b38bdb207a76':
  Fix sans-serif-thin and sans-serif-light fonts in layoutlib. [DO NOT MERGE]
2014-05-02 19:31:53 +00:00
Deepanshu Gupta
0a37981cad am 1b28d8d4: am d642de58: am ec4623d0: Improve text rendering and measurement. [DO NOT MERGE]
* commit '1b28d8d4a0b4193b23ed4647a18c4242beb74038':
  Improve text rendering and measurement. [DO NOT MERGE]
2014-05-02 19:31:50 +00:00
Deepanshu Gupta
f4b35c6a83 am ef822b3f: am 62a4a1f9: am 2a82a48f: Fix the measurement of text bounds. [DO NOT MERGE]
* commit 'ef822b3f13204d084196c1124d22a153868b017f':
  Fix the measurement of text bounds. [DO NOT MERGE]
2014-05-02 19:31:48 +00:00
Deepanshu Gupta
e0537c1d49 am c7f8e64c: am 1830a58f: am 5bb3414d: Fix a bug in Nine Patch library. [DO NOT MERGE]
* commit 'c7f8e64cb9b6ff81b2188a31c3d804b763c63fe8':
  Fix a bug in Nine Patch library. [DO NOT MERGE]
2014-05-02 19:31:44 +00:00