114943 Commits

Author SHA1 Message Date
Deepanshu Gupta
a1fa08e8f9 am dd7a3706: (-s ours) am 0d1d0f4b: am 519e77bb: am 44cc867f: (-s ours) am 9a1f13a4: am afc623e3: am bd9e181b: Fix layout rendering for RTL locales [DO NOT MERGE]
* commit 'dd7a3706f56c33aea27ab148deaaf059b38591c8':
  Fix layout rendering for RTL locales [DO NOT MERGE]
2014-05-02 19:39:02 +00:00
Deepanshu Gupta
767df1225e am 8b95eb0b: (-s ours) am 1ae98755: am 64d1c57a: am 11976058: (-s ours) am b80247d3: am 811b331a: am d4875e19: Add orientation to configuration for layoutlib. [DO NOT MERGE]
* commit '8b95eb0b7a76c543ac69fe783ef8fc49bca9b06c':
  Add orientation to configuration for layoutlib. [DO NOT MERGE]
2014-05-02 19:38:59 +00:00
Deepanshu Gupta
ba09a3792d am 05fea8bf: (-s ours) am 779972f1: am 175a1e60: am e821d0cc: (-s ours) am b27d8814: am 21cf9843: am d1084cc0: Add missing native methods. [DO NOT MERGE]
* commit '05fea8bf42c1892f7953a20106605df6d5d1cdbf':
  Add missing native methods. [DO NOT MERGE]
2014-05-02 19:38:56 +00:00
Deepanshu Gupta
7b5a743458 am 288d32b9: (-s ours) am 17e0eebd: am 465cb53b: Use ApplicationInfo only when not in edit mode [DO NOT MERGE]
* commit '288d32b92b3b8bbf1f3f02781a8616618760ae66':
  Use ApplicationInfo only when not in edit mode [DO NOT MERGE]
2014-05-02 19:34:48 +00:00
Deepanshu Gupta
4c3e53406f am e4fe8556: (-s ours) am bb1d24d7: am b5cdfd97: Overflow menu popup for Action Bar in Layoutlib [DO NOT MERGE]
* commit 'e4fe85568b52b6a25b62be9b06e9d9e59425fae9':
  Overflow menu popup for Action Bar in Layoutlib [DO NOT MERGE]
2014-05-02 19:34:46 +00:00
Deepanshu Gupta
dd7a3706f5 am 0d1d0f4b: am 519e77bb: am 44cc867f: (-s ours) am 9a1f13a4: am afc623e3: am bd9e181b: Fix layout rendering for RTL locales [DO NOT MERGE]
* commit '0d1d0f4b9634f58b56fef5d267dd59410671478a':
  Fix layout rendering for RTL locales [DO NOT MERGE]
2014-05-02 19:34:45 +00:00
Deepanshu Gupta
78317c442f am 5a94ac62: (-s ours) am 63a6de79: am 20e0695b: Action bar rendering in layoutlib [DO NOT MERGE]
* commit '5a94ac62896bd7158b4264cabf3405634e2e8260':
  Action bar rendering in layoutlib [DO NOT MERGE]
2014-05-02 19:34:43 +00:00
Deepanshu Gupta
8b95eb0b7a am 1ae98755: am 64d1c57a: am 11976058: (-s ours) am b80247d3: am 811b331a: am d4875e19: Add orientation to configuration for layoutlib. [DO NOT MERGE]
* commit '1ae987554f5f20243031618ce9fd48c4d072e243':
  Add orientation to configuration for layoutlib. [DO NOT MERGE]
2014-05-02 19:34:42 +00:00
Deepanshu Gupta
214af0ad7e am cebf9605: (-s ours) am 9b1c46df: am 3c00b28b: Fix theme/style resolution in Layoutlib [DO NOT MERGE]
* commit 'cebf960525539efac009c0b418b0bebf803079c5':
  Fix theme/style resolution in Layoutlib [DO NOT MERGE]
2014-05-02 19:34:40 +00:00
Deepanshu Gupta
05fea8bf42 am 779972f1: am 175a1e60: am e821d0cc: (-s ours) am b27d8814: am 21cf9843: am d1084cc0: Add missing native methods. [DO NOT MERGE]
* commit '779972f1a2cab89491945636b0d2b6626923f269':
  Add missing native methods. [DO NOT MERGE]
2014-05-02 19:34:39 +00:00
Deepanshu Gupta
c4f6a8decb am 3cb97ec7: (-s ours) am 7c3a40b6: am b85d30a2: Add missing dependency in layoutlib build file [DO NOT MERGE]
* commit '3cb97ec7dafb48bc0ac824ced3f6b51ef4d85864':
  Add missing dependency in layoutlib build file [DO NOT MERGE]
2014-05-02 19:34:37 +00:00
Deepanshu Gupta
e57487be9a am 500a3139: (-s ours) am 7a0985ec: am f8144032: Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]
* commit '500a3139def6ac57dbf48b0dc505a9876f5c9d63':
  Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]
2014-05-02 19:34:34 +00:00
Deepanshu Gupta
05d791c38b am efa617f9: (-s ours) am 15994863: am 89fdc0c5: Layoutlib tests now check methods return value [DO NOT MERGE]
* commit 'efa617f9fe4cbf5449d735118bf39fcfbc1dbf74':
  Layoutlib tests now check methods return value [DO NOT MERGE]
2014-05-02 19:34:31 +00:00
Deepanshu Gupta
2800200db2 am a9b296a5: (-s ours) am edd048fb: am d4f0073f: Remove references to java package class Objects. [DO NOT MERGE]
* commit 'a9b296a57e3f23870bf869727e18b3f055b86c06':
  Remove references to java package class Objects. [DO NOT MERGE]
2014-05-02 19:34:28 +00:00
Deepanshu Gupta
288d32b92b am 17e0eebd: am 465cb53b: Use ApplicationInfo only when not in edit mode [DO NOT MERGE]
* commit '17e0eebdc6223de1f94b5ee538919adda9f58a9a':
  Use ApplicationInfo only when not in edit mode [DO NOT MERGE]
2014-05-02 19:30:43 +00:00
Deepanshu Gupta
e4fe85568b am bb1d24d7: am b5cdfd97: Overflow menu popup for Action Bar in Layoutlib [DO NOT MERGE]
* commit 'bb1d24d7c7a0b56b44e6ff438d4b6a4965271e25':
  Overflow menu popup for Action Bar in Layoutlib [DO NOT MERGE]
2014-05-02 19:30:39 +00:00
Deepanshu Gupta
5a94ac6289 am 63a6de79: am 20e0695b: Action bar rendering in layoutlib [DO NOT MERGE]
* commit '63a6de79476e0d95a9bba2cc3599fc97a52bf6d5':
  Action bar rendering in layoutlib [DO NOT MERGE]
2014-05-02 19:30:33 +00:00
Deepanshu Gupta
cebf960525 am 9b1c46df: am 3c00b28b: Fix theme/style resolution in Layoutlib [DO NOT MERGE]
* commit '9b1c46df60dec6af81b9cbfcbf8a70192da66d64':
  Fix theme/style resolution in Layoutlib [DO NOT MERGE]
2014-05-02 19:30:30 +00:00
Deepanshu Gupta
3cb97ec7da am 7c3a40b6: am b85d30a2: Add missing dependency in layoutlib build file [DO NOT MERGE]
* commit '7c3a40b636caac4ac3d541e67bf2963838e811ae':
  Add missing dependency in layoutlib build file [DO NOT MERGE]
2014-05-02 19:30:28 +00:00
Deepanshu Gupta
500a3139de am 7a0985ec: am f8144032: Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]
* commit '7a0985ec245e3b587f4725f7ae6856c85bc41346':
  Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]
2014-05-02 19:30:24 +00:00
Deepanshu Gupta
efa617f9fe am 15994863: am 89fdc0c5: Layoutlib tests now check methods return value [DO NOT MERGE]
* commit '15994863df716d78ad384bddfb9b71f65a9b2ac9':
  Layoutlib tests now check methods return value [DO NOT MERGE]
2014-05-02 19:30:21 +00:00
Deepanshu Gupta
a9b296a57e am edd048fb: am d4f0073f: Remove references to java package class Objects. [DO NOT MERGE]
* commit 'edd048fb546ff62c0e285455adf94280237f56c4':
  Remove references to java package class Objects. [DO NOT MERGE]
2014-05-02 19:30:18 +00:00
Deepanshu Gupta
0d1d0f4b96 am 519e77bb: am 44cc867f: (-s ours) am 9a1f13a4: am afc623e3: am bd9e181b: Fix layout rendering for RTL locales [DO NOT MERGE]
* commit '519e77bbf26e0a6ea10f6e94c5b86c4c2d57c633':
  Fix layout rendering for RTL locales [DO NOT MERGE]
2014-05-02 19:28:06 +00:00
Deepanshu Gupta
1ae987554f am 64d1c57a: am 11976058: (-s ours) am b80247d3: am 811b331a: am d4875e19: Add orientation to configuration for layoutlib. [DO NOT MERGE]
* commit '64d1c57a269002af44143dbe4619d30d96d434ca':
  Add orientation to configuration for layoutlib. [DO NOT MERGE]
2014-05-02 19:28:04 +00:00
Deepanshu Gupta
779972f1a2 am 175a1e60: am e821d0cc: (-s ours) am b27d8814: am 21cf9843: am d1084cc0: Add missing native methods. [DO NOT MERGE]
* commit '175a1e60366df522b3146d8ade9cb2b895a29cf9':
  Add missing native methods. [DO NOT MERGE]
2014-05-02 19:27:54 +00:00
Deepanshu Gupta
17e0eebdc6 am 465cb53b: Use ApplicationInfo only when not in edit mode [DO NOT MERGE]
* commit '465cb53ba4b4a5edff9e9a63eb97d396b94d6568':
  Use ApplicationInfo only when not in edit mode [DO NOT MERGE]
2014-05-02 19:24:00 +00:00
Deepanshu Gupta
bb1d24d7c7 am b5cdfd97: Overflow menu popup for Action Bar in Layoutlib [DO NOT MERGE]
* commit 'b5cdfd97a5bbc2c52dec907467362550aff8afc4':
  Overflow menu popup for Action Bar in Layoutlib [DO NOT MERGE]
2014-05-02 19:23:57 +00:00
Deepanshu Gupta
63a6de7947 am 20e0695b: Action bar rendering in layoutlib [DO NOT MERGE]
* commit '20e0695b554e883b095f5223be10b6e1097db49f':
  Action bar rendering in layoutlib [DO NOT MERGE]
2014-05-02 19:23:54 +00:00
Deepanshu Gupta
9b1c46df60 am 3c00b28b: Fix theme/style resolution in Layoutlib [DO NOT MERGE]
* commit '3c00b28bf60ab01b449e16df045238f4bae4d700':
  Fix theme/style resolution in Layoutlib [DO NOT MERGE]
2014-05-02 19:23:50 +00:00
Deepanshu Gupta
7c3a40b636 am b85d30a2: Add missing dependency in layoutlib build file [DO NOT MERGE]
* commit 'b85d30a2c88b6a23e251347b14a75456c4daeca9':
  Add missing dependency in layoutlib build file [DO NOT MERGE]
2014-05-02 19:23:47 +00:00
Deepanshu Gupta
7a0985ec24 am f8144032: Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]
* commit 'f8144032d1fb7319bfd24914b12597505cfcc91f':
  Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]
2014-05-02 19:23:44 +00:00
Deepanshu Gupta
15994863df am 89fdc0c5: Layoutlib tests now check methods return value [DO NOT MERGE]
* commit '89fdc0c556cf0fe2562fb8f0476e03cd51045164':
  Layoutlib tests now check methods return value [DO NOT MERGE]
2014-05-02 19:23:42 +00:00
Deepanshu Gupta
edd048fb54 am d4f0073f: Remove references to java package class Objects. [DO NOT MERGE]
* commit 'd4f0073f4805cd1036218f243d9b7c7c5bb90e41':
  Remove references to java package class Objects. [DO NOT MERGE]
2014-05-02 19:23:39 +00:00
Deepanshu Gupta
519e77bbf2 am 44cc867f: (-s ours) am 9a1f13a4: am afc623e3: am bd9e181b: Fix layout rendering for RTL locales [DO NOT MERGE]
* commit '44cc867f7d4ca212b7003057148b8cdabb8f85fb':
  Fix layout rendering for RTL locales [DO NOT MERGE]
2014-05-02 19:23:29 +00:00
Deepanshu Gupta
64d1c57a26 am 11976058: (-s ours) am b80247d3: am 811b331a: am d4875e19: Add orientation to configuration for layoutlib. [DO NOT MERGE]
* commit '1197605876d8c3029238ca9b93a95f9c41ed3266':
  Add orientation to configuration for layoutlib. [DO NOT MERGE]
2014-05-02 19:23:26 +00:00
Deepanshu Gupta
175a1e6036 am e821d0cc: (-s ours) am b27d8814: am 21cf9843: am d1084cc0: Add missing native methods. [DO NOT MERGE]
* commit 'e821d0cc549923d0e3d2535acfa5b70fc89a1ebe':
  Add missing native methods. [DO NOT MERGE]
2014-05-02 19:23:23 +00:00
Deepanshu Gupta
44cc867f7d am 9a1f13a4: am afc623e3: am bd9e181b: Fix layout rendering for RTL locales [DO NOT MERGE]
* commit '9a1f13a47bfe29e344efc05f0ecabbfcb5671e06':
  Fix layout rendering for RTL locales [DO NOT MERGE]
2014-05-02 19:19:42 +00:00
Deepanshu Gupta
1197605876 am b80247d3: am 811b331a: am d4875e19: Add orientation to configuration for layoutlib. [DO NOT MERGE]
* commit 'b80247d351b88f69192260a661dbf3d4d71e9527':
  Add orientation to configuration for layoutlib. [DO NOT MERGE]
2014-05-02 19:19:39 +00:00
Deepanshu Gupta
e821d0cc54 am b27d8814: am 21cf9843: am d1084cc0: Add missing native methods. [DO NOT MERGE]
* commit 'b27d881467869539a5c8ec2510e8415912abb617':
  Add missing native methods. [DO NOT MERGE]
2014-05-02 19:19:36 +00:00
Deepanshu Gupta
9a1f13a47b am afc623e3: am bd9e181b: Fix layout rendering for RTL locales [DO NOT MERGE]
* commit 'afc623e34e5a2bd375da00a52c3c393d5049a1d1':
  Fix layout rendering for RTL locales [DO NOT MERGE]
2014-05-02 19:15:46 +00:00
Deepanshu Gupta
b80247d351 am 811b331a: am d4875e19: Add orientation to configuration for layoutlib. [DO NOT MERGE]
* commit '811b331ae2334161c6082f666d7b3bab788f69a3':
  Add orientation to configuration for layoutlib. [DO NOT MERGE]
2014-05-02 19:15:43 +00:00
Deepanshu Gupta
b27d881467 am 21cf9843: am d1084cc0: Add missing native methods. [DO NOT MERGE]
* commit '21cf98438b77ab58d6c781e09aecb8ad0f682042':
  Add missing native methods. [DO NOT MERGE]
2014-05-02 19:15:40 +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
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
4b5fa4d318 Fix class name for OverflowMenuButton [DO NOT MERGE]
Change-Id: Ie3e709e7aadb2193397df8befef0c55624d7e4e3
2014-04-29 19:37:09 -07:00
Deepanshu Gupta
c967d8dc62 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 674af92fd3a618695448ff88568b03390e90bc66)
2014-04-29 16:49:21 -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