OSDN Git Service

android-x86/frameworks-base.git
10 years agoam dd7a3706: (-s ours) am 0d1d0f4b: am 519e77bb: am 44cc867f: (-s ours) am 9a1f13a4...
Deepanshu Gupta [Fri, 2 May 2014 19:39:02 +0000 (19:39 +0000)]
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]

10 years agoam 8b95eb0b: (-s ours) am 1ae98755: am 64d1c57a: am 11976058: (-s ours) am b80247d3...
Deepanshu Gupta [Fri, 2 May 2014 19:38:59 +0000 (19:38 +0000)]
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]

10 years agoam 05fea8bf: (-s ours) am 779972f1: am 175a1e60: am e821d0cc: (-s ours) am b27d8814...
Deepanshu Gupta [Fri, 2 May 2014 19:38:56 +0000 (19:38 +0000)]
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]

10 years agoam 288d32b9: (-s ours) am 17e0eebd: am 465cb53b: Use ApplicationInfo only when not...
Deepanshu Gupta [Fri, 2 May 2014 19:34:48 +0000 (19:34 +0000)]
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]

10 years agoam e4fe8556: (-s ours) am bb1d24d7: am b5cdfd97: Overflow menu popup for Action Bar...
Deepanshu Gupta [Fri, 2 May 2014 19:34:46 +0000 (19:34 +0000)]
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]

10 years agoam 0d1d0f4b: am 519e77bb: am 44cc867f: (-s ours) am 9a1f13a4: am afc623e3: am bd9e181...
Deepanshu Gupta [Fri, 2 May 2014 19:34:45 +0000 (19:34 +0000)]
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]

10 years agoam 5a94ac62: (-s ours) am 63a6de79: am 20e0695b: Action bar rendering in layoutlib...
Deepanshu Gupta [Fri, 2 May 2014 19:34:43 +0000 (19:34 +0000)]
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]

10 years agoam 1ae98755: am 64d1c57a: am 11976058: (-s ours) am b80247d3: am 811b331a: am d4875e1...
Deepanshu Gupta [Fri, 2 May 2014 19:34:42 +0000 (19:34 +0000)]
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]

10 years agoam cebf9605: (-s ours) am 9b1c46df: am 3c00b28b: Fix theme/style resolution in Layout...
Deepanshu Gupta [Fri, 2 May 2014 19:34:40 +0000 (19:34 +0000)]
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]

10 years agoam 779972f1: am 175a1e60: am e821d0cc: (-s ours) am b27d8814: am 21cf9843: am d1084cc...
Deepanshu Gupta [Fri, 2 May 2014 19:34:39 +0000 (19:34 +0000)]
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]

10 years agoam 3cb97ec7: (-s ours) am 7c3a40b6: am b85d30a2: Add missing dependency in layoutlib...
Deepanshu Gupta [Fri, 2 May 2014 19:34:37 +0000 (19:34 +0000)]
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]

10 years agoam 500a3139: (-s ours) am 7a0985ec: am f8144032: Fix visitFieldInsn in layoutlib_crea...
Deepanshu Gupta [Fri, 2 May 2014 19:34:34 +0000 (19:34 +0000)]
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]

10 years agoam efa617f9: (-s ours) am 15994863: am 89fdc0c5: Layoutlib tests now check methods...
Deepanshu Gupta [Fri, 2 May 2014 19:34:31 +0000 (19:34 +0000)]
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]

10 years agoam a9b296a5: (-s ours) am edd048fb: am d4f0073f: Remove references to java package...
Deepanshu Gupta [Fri, 2 May 2014 19:34:28 +0000 (19:34 +0000)]
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]

10 years agoam 17e0eebd: am 465cb53b: Use ApplicationInfo only when not in edit mode [DO NOT...
Deepanshu Gupta [Fri, 2 May 2014 19:30:43 +0000 (19:30 +0000)]
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]

10 years agoam bb1d24d7: am b5cdfd97: Overflow menu popup for Action Bar in Layoutlib [DO NOT...
Deepanshu Gupta [Fri, 2 May 2014 19:30:39 +0000 (19:30 +0000)]
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]

10 years agoam 63a6de79: am 20e0695b: Action bar rendering in layoutlib [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:30:33 +0000 (19:30 +0000)]
am 63a6de79: am 20e0695b: Action bar rendering in layoutlib [DO NOT MERGE]

* commit '63a6de79476e0d95a9bba2cc3599fc97a52bf6d5':
  Action bar rendering in layoutlib [DO NOT MERGE]

10 years agoam 9b1c46df: am 3c00b28b: Fix theme/style resolution in Layoutlib [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:30:30 +0000 (19:30 +0000)]
am 9b1c46df: am 3c00b28b: Fix theme/style resolution in Layoutlib [DO NOT MERGE]

* commit '9b1c46df60dec6af81b9cbfcbf8a70192da66d64':
  Fix theme/style resolution in Layoutlib [DO NOT MERGE]

10 years agoam 7c3a40b6: am b85d30a2: Add missing dependency in layoutlib build file [DO NOT...
Deepanshu Gupta [Fri, 2 May 2014 19:30:28 +0000 (19:30 +0000)]
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]

10 years agoam 7a0985ec: am f8144032: Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:30:24 +0000 (19:30 +0000)]
am 7a0985ec: am f8144032: Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]

* commit '7a0985ec245e3b587f4725f7ae6856c85bc41346':
  Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]

10 years agoam 15994863: am 89fdc0c5: Layoutlib tests now check methods return value [DO NOT...
Deepanshu Gupta [Fri, 2 May 2014 19:30:21 +0000 (19:30 +0000)]
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]

10 years agoam edd048fb: am d4f0073f: Remove references to java package class Objects. [DO NOT...
Deepanshu Gupta [Fri, 2 May 2014 19:30:18 +0000 (19:30 +0000)]
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]

10 years agoam 519e77bb: am 44cc867f: (-s ours) am 9a1f13a4: am afc623e3: am bd9e181b: Fix layout...
Deepanshu Gupta [Fri, 2 May 2014 19:28:06 +0000 (19:28 +0000)]
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]

10 years agoam 64d1c57a: am 11976058: (-s ours) am b80247d3: am 811b331a: am d4875e19: Add orient...
Deepanshu Gupta [Fri, 2 May 2014 19:28:04 +0000 (19:28 +0000)]
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]

10 years agoam 175a1e60: am e821d0cc: (-s ours) am b27d8814: am 21cf9843: am d1084cc0: Add missin...
Deepanshu Gupta [Fri, 2 May 2014 19:27:54 +0000 (19:27 +0000)]
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]

10 years agoam 465cb53b: Use ApplicationInfo only when not in edit mode [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:24:00 +0000 (19:24 +0000)]
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]

10 years agoam b5cdfd97: Overflow menu popup for Action Bar in Layoutlib [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:23:57 +0000 (19:23 +0000)]
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]

10 years agoam 20e0695b: Action bar rendering in layoutlib [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:23:54 +0000 (19:23 +0000)]
am 20e0695b: Action bar rendering in layoutlib [DO NOT MERGE]

* commit '20e0695b554e883b095f5223be10b6e1097db49f':
  Action bar rendering in layoutlib [DO NOT MERGE]

10 years agoam 3c00b28b: Fix theme/style resolution in Layoutlib [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:23:50 +0000 (19:23 +0000)]
am 3c00b28b: Fix theme/style resolution in Layoutlib [DO NOT MERGE]

* commit '3c00b28bf60ab01b449e16df045238f4bae4d700':
  Fix theme/style resolution in Layoutlib [DO NOT MERGE]

10 years agoam b85d30a2: Add missing dependency in layoutlib build file [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:23:47 +0000 (19:23 +0000)]
am b85d30a2: Add missing dependency in layoutlib build file [DO NOT MERGE]

* commit 'b85d30a2c88b6a23e251347b14a75456c4daeca9':
  Add missing dependency in layoutlib build file [DO NOT MERGE]

10 years agoam f8144032: Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:23:44 +0000 (19:23 +0000)]
am f8144032: Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]

* commit 'f8144032d1fb7319bfd24914b12597505cfcc91f':
  Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]

10 years agoam 89fdc0c5: Layoutlib tests now check methods return value [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:23:42 +0000 (19:23 +0000)]
am 89fdc0c5: Layoutlib tests now check methods return value [DO NOT MERGE]

* commit '89fdc0c556cf0fe2562fb8f0476e03cd51045164':
  Layoutlib tests now check methods return value [DO NOT MERGE]

10 years agoam d4f0073f: Remove references to java package class Objects. [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:23:39 +0000 (19:23 +0000)]
am d4f0073f: Remove references to java package class Objects. [DO NOT MERGE]

* commit 'd4f0073f4805cd1036218f243d9b7c7c5bb90e41':
  Remove references to java package class Objects. [DO NOT MERGE]

10 years agoam 44cc867f: (-s ours) am 9a1f13a4: am afc623e3: am bd9e181b: Fix layout rendering...
Deepanshu Gupta [Fri, 2 May 2014 19:23:29 +0000 (19:23 +0000)]
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]

10 years agoam 11976058: (-s ours) am b80247d3: am 811b331a: am d4875e19: Add orientation to...
Deepanshu Gupta [Fri, 2 May 2014 19:23:26 +0000 (19:23 +0000)]
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]

10 years agoam e821d0cc: (-s ours) am b27d8814: am 21cf9843: am d1084cc0: Add missing native...
Deepanshu Gupta [Fri, 2 May 2014 19:23:23 +0000 (19:23 +0000)]
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]

10 years agoam 9a1f13a4: am afc623e3: am bd9e181b: Fix layout rendering for RTL locales [DO NOT...
Deepanshu Gupta [Fri, 2 May 2014 19:19:42 +0000 (19:19 +0000)]
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]

10 years agoam b80247d3: am 811b331a: am d4875e19: Add orientation to configuration for layoutlib...
Deepanshu Gupta [Fri, 2 May 2014 19:19:39 +0000 (19:19 +0000)]
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]

10 years agoam b27d8814: am 21cf9843: am d1084cc0: Add missing native methods. [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:19:36 +0000 (19:19 +0000)]
am b27d8814: am 21cf9843: am d1084cc0: Add missing native methods. [DO NOT MERGE]

* commit 'b27d881467869539a5c8ec2510e8415912abb617':
  Add missing native methods. [DO NOT MERGE]

10 years agoam afc623e3: am bd9e181b: Fix layout rendering for RTL locales [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:15:46 +0000 (19:15 +0000)]
am afc623e3: am bd9e181b: Fix layout rendering for RTL locales [DO NOT MERGE]

* commit 'afc623e34e5a2bd375da00a52c3c393d5049a1d1':
  Fix layout rendering for RTL locales [DO NOT MERGE]

10 years agoam 811b331a: am d4875e19: Add orientation to configuration for layoutlib. [DO NOT...
Deepanshu Gupta [Fri, 2 May 2014 19:15:43 +0000 (19:15 +0000)]
am 811b331a: am d4875e19: Add orientation to configuration for layoutlib. [DO NOT MERGE]

* commit '811b331ae2334161c6082f666d7b3bab788f69a3':
  Add orientation to configuration for layoutlib. [DO NOT MERGE]

10 years agoam 21cf9843: am d1084cc0: Add missing native methods. [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:15:40 +0000 (19:15 +0000)]
am 21cf9843: am d1084cc0: Add missing native methods. [DO NOT MERGE]

* commit '21cf98438b77ab58d6c781e09aecb8ad0f682042':
  Add missing native methods. [DO NOT MERGE]

10 years agoam bd9e181b: Fix layout rendering for RTL locales [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:12:18 +0000 (19:12 +0000)]
am bd9e181b: Fix layout rendering for RTL locales [DO NOT MERGE]

* commit 'bd9e181b291af34f9d70db42715136f3c16ddbde':
  Fix layout rendering for RTL locales [DO NOT MERGE]

10 years agoam d4875e19: Add orientation to configuration for layoutlib. [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:12:16 +0000 (19:12 +0000)]
am d4875e19: Add orientation to configuration for layoutlib. [DO NOT MERGE]

* commit 'd4875e19f5b7c69226783b0a6590831466159f84':
  Add orientation to configuration for layoutlib. [DO NOT MERGE]

10 years agoam d1084cc0: Add missing native methods. [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:12:12 +0000 (19:12 +0000)]
am d1084cc0: Add missing native methods. [DO NOT MERGE]

* commit 'd1084cc02549dc9ee67c879f78ae929095ec19b6':
  Add missing native methods. [DO NOT MERGE]

10 years agoFix layout rendering for RTL locales [DO NOT MERGE]
Deepanshu Gupta [Thu, 20 Jun 2013 00:29:12 +0000 (17:29 -0700)]
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)

10 years agoAdd orientation to configuration for layoutlib. [DO NOT MERGE]
Deepanshu Gupta [Fri, 12 Jul 2013 22:24:51 +0000 (15:24 -0700)]
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)

10 years agoFix class name for OverflowMenuButton [DO NOT MERGE]
Deepanshu Gupta [Wed, 30 Apr 2014 02:37:01 +0000 (19:37 -0700)]
Fix class name for OverflowMenuButton [DO NOT MERGE]

Change-Id: Ie3e709e7aadb2193397df8befef0c55624d7e4e3

10 years agoAdd special system view cookie to OverflowButton. [DO NOT MERGE]
Deepanshu Gupta [Fri, 25 Apr 2014 18:07:19 +0000 (11:07 -0700)]
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)

10 years agoAdd missing native methods. [DO NOT MERGE]
Deepanshu Gupta [Thu, 23 May 2013 22:20:04 +0000 (15:20 -0700)]
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)

10 years agoUse ApplicationInfo only when not in edit mode [DO NOT MERGE]
Deepanshu Gupta [Sat, 26 Apr 2014 03:47:16 +0000 (20:47 -0700)]
Use ApplicationInfo only when not in edit mode [DO NOT MERGE]

When running in edit mode, do not use the application info to get the
icon, since it will be null.

Change-Id: I174e6126ddca341d06c5f04939470ef52f0e771c

10 years agoOverflow menu popup for Action Bar in Layoutlib [DO NOT MERGE]
Deepanshu Gupta [Thu, 13 Feb 2014 01:37:46 +0000 (17:37 -0800)]
Overflow menu popup for Action Bar in Layoutlib [DO NOT MERGE]

In addition to the cherrypicked changes, appropriate changes due to
changes to com.android.internal.widget.ActionBarView are made.

The icon used in the Action Bar may not always be the right one due to
the above resolution.

Change-Id: Ib7cc314079099c010f7d53849e204db36c410357
(cherry-picked from commit 1b87390c9426c4bc9119829e9375d712dfde11c3)

10 years agoAction bar rendering in layoutlib [DO NOT MERGE]
Deepanshu Gupta [Thu, 12 Dec 2013 20:16:24 +0000 (12:16 -0800)]
Action bar rendering in layoutlib [DO NOT MERGE]

This also makes a couple of changes to the framework:
1. ShareActionProvider - Use edit mode to execute activity chooser code.
2. ActionBarImpl - add a new constructor for use by layoutlib.

This also relies on some changes to the plugin to pass the correct params.

Change-Id: Ia30fef816afd91ec1e439734d56b59b1323bfee2
(cherry-picked from 4ccc4bd54f85d86818f61d728c6361d2003ddd8e)

10 years agoFix theme/style resolution in Layoutlib [DO NOT MERGE]
Deepanshu Gupta [Wed, 12 Mar 2014 01:02:44 +0000 (18:02 -0700)]
Fix theme/style resolution in Layoutlib [DO NOT MERGE]

Cherry picked from klp-dev from
Change-Id: If1e7187645f0b0388f7b97d742395efd228b347a which was
cherrypicked from master with the following

Change-Id: Icfb91e566666408802dadc0e2070991151b16b9d
(cherry picked from commit f1e7187645f0b0388f7b97d742395efd228b347a)

10 years agoAdd missing dependency in layoutlib build file [DO NOT MERGE]
Deepanshu Gupta [Mon, 31 Mar 2014 23:11:13 +0000 (16:11 -0700)]
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)

10 years agoFix visitFieldInsn in layoutlib_create. [DO NOT MERGE]
Deepanshu Gupta [Tue, 1 Apr 2014 01:59:45 +0000 (18:59 -0700)]
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)

10 years agoLayoutlib tests now check methods return value [DO NOT MERGE]
Deepanshu Gupta [Wed, 16 Apr 2014 02:30:35 +0000 (19:30 -0700)]
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 bdd0ad79b9b027280bd371c7b6795b04ed89ac8f)

10 years agoRemove references to java package class Objects. [DO NOT MERGE]
Deepanshu Gupta [Fri, 18 Oct 2013 03:06:44 +0000 (20:06 -0700)]
Remove references to java package class Objects. [DO NOT MERGE]

Remove references to Java 7 class java.util.Objects and replace it with
a new class that can be loaded on Java 6.

Change-Id: Ibbd9b20b8bc89e247f1d0c48d743d06d1a4f0704
(cherry-picked from commit 45f5cd49fa898a59484edfd8e291dbe10df82db2)

10 years agoMerge "Fix style warnings in RenderSessionImpl [DO NOT MERGE]" into klp-dev
Deepanshu Gupta [Thu, 24 Apr 2014 01:21:54 +0000 (01:21 +0000)]
Merge "Fix style warnings in RenderSessionImpl [DO NOT MERGE]" into klp-dev

10 years agoMerge "Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]" into klp-dev
Deepanshu Gupta [Thu, 24 Apr 2014 01:21:45 +0000 (01:21 +0000)]
Merge "Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]" into klp-dev

10 years agoFix style warnings in RenderSessionImpl [DO NOT MERGE]
Deepanshu Gupta [Wed, 23 Apr 2014 00:22:32 +0000 (17:22 -0700)]
Fix style warnings in RenderSessionImpl [DO NOT MERGE]

Change-Id: I9d3cb23e4ea692f737a3e3d6c18cc8de18b66a3c
(cherry-picked from commit fbfeb1a90b6f8f3966c60a69d50ce8f608d9d861)

10 years agoAdd view cookies for action bar menus. [DO NOT MERGE]
Deepanshu Gupta [Fri, 18 Apr 2014 19:32:38 +0000 (12:32 -0700)]
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 1001961f904bac5294aaf73a47c2497aa764bf7f)

10 years agoFix visitFieldInsn in layoutlib_create. [DO NOT MERGE]
Deepanshu Gupta [Tue, 1 Apr 2014 01:59:45 +0000 (18:59 -0700)]
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 4a0f93bd32b8dd9b3c351680ad82e461d5111f38)

10 years agoMTP: Fix getThumbnail
Mike Lockwood [Mon, 21 Apr 2014 15:49:30 +0000 (08:49 -0700)]
MTP: Fix getThumbnail

The thumbnail size was not being passed to the MTP stack so getThumbnail
was returning zero length data.

Bug: 13747419

Change-Id: I309d35b5c46ab5f631c0dcb5981f7896bb5a2ed5

10 years agoam e00c9185: am 41ec218e: am 6888bee5: am 5a0cc789: am 2ed5f771: am 47231936: am...
Kenny Root [Fri, 18 Apr 2014 23:00:37 +0000 (23:00 +0000)]
am e00c9185: am 41ec218e: am 6888bee5: am 5a0cc789: am 2ed5f771: am 47231936: am 02bc4b04: am 4a62a6dc: am 451ed5f0: am 3ecaa88d: am ecb013db: Merge "Use hidden API to validate APK chains" into jb-dev

* commit 'e00c9185262c675f1680920c258413299995042a':
  Use hidden API to validate APK chains

10 years agoam 41ec218e: am 6888bee5: am 5a0cc789: am 2ed5f771: am 47231936: am 02bc4b04: am...
Kenny Root [Fri, 18 Apr 2014 22:56:26 +0000 (22:56 +0000)]
am 41ec218e: am 6888bee5: am 5a0cc789: am 2ed5f771: am 47231936: am 02bc4b04: am 4a62a6dc: am 451ed5f0: am 3ecaa88d: am ecb013db: Merge "Use hidden API to validate APK chains" into jb-dev

* commit '41ec218e5f92904fe99c74bc35b9f5e4003c777a':
  Use hidden API to validate APK chains

10 years agoam 6888bee5: am 5a0cc789: am 2ed5f771: am 47231936: am 02bc4b04: am 4a62a6dc: am...
Kenny Root [Fri, 18 Apr 2014 22:50:12 +0000 (22:50 +0000)]
am 6888bee5: am 5a0cc789: am 2ed5f771: am 47231936: am 02bc4b04: am 4a62a6dc: am 451ed5f0: am 3ecaa88d: am ecb013db: Merge "Use hidden API to validate APK chains" into jb-dev

* commit '6888bee598b8c88f7a93ef2da06dd5659cc92dc6':
  Use hidden API to validate APK chains

10 years agoam 5a0cc789: am 2ed5f771: am 47231936: am 02bc4b04: am 4a62a6dc: am 451ed5f0: am...
Kenny Root [Fri, 18 Apr 2014 22:43:08 +0000 (22:43 +0000)]
am 5a0cc789: am 2ed5f771: am 47231936: am 02bc4b04: am 4a62a6dc: am 451ed5f0: am 3ecaa88d: am ecb013db: Merge "Use hidden API to validate APK chains" into jb-dev

* commit '5a0cc78929bf56c153696ffa16b602acfcc40089':
  Use hidden API to validate APK chains

10 years agoam 2ed5f771: am 47231936: am 02bc4b04: am 4a62a6dc: am 451ed5f0: am 3ecaa88d: am...
Kenny Root [Fri, 18 Apr 2014 22:37:38 +0000 (22:37 +0000)]
am 2ed5f771: am 47231936: am 02bc4b04: am 4a62a6dc: am 451ed5f0: am 3ecaa88d: am ecb013db: Merge "Use hidden API to validate APK chains" into jb-dev

* commit '2ed5f771c47c16e9c2be1f2025ef0a826f0290c3':
  Use hidden API to validate APK chains

10 years agoam 47231936: am 02bc4b04: am 4a62a6dc: am 451ed5f0: am 3ecaa88d: am ecb013db: Merge...
Kenny Root [Fri, 18 Apr 2014 22:31:08 +0000 (22:31 +0000)]
am 47231936: am 02bc4b04: am 4a62a6dc: am 451ed5f0: am 3ecaa88d: am ecb013db: Merge "Use hidden API to validate APK chains" into jb-dev

* commit '47231936c0593b87c3c9898767327f1516a7ec22':
  Use hidden API to validate APK chains

10 years agoam 02bc4b04: am 4a62a6dc: am 451ed5f0: am 3ecaa88d: am ecb013db: Merge "Use hidden...
Kenny Root [Fri, 18 Apr 2014 22:26:03 +0000 (22:26 +0000)]
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

10 years agoam 4a62a6dc: am 451ed5f0: am 3ecaa88d: am ecb013db: Merge "Use hidden API to validate...
Kenny Root [Fri, 18 Apr 2014 22:21:37 +0000 (22:21 +0000)]
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

10 years agoam 451ed5f0: am 3ecaa88d: am ecb013db: Merge "Use hidden API to validate APK chains...
Kenny Root [Fri, 18 Apr 2014 22:14:14 +0000 (22:14 +0000)]
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

10 years agoam 3ecaa88d: am ecb013db: Merge "Use hidden API to validate APK chains" into jb-dev
Kenny Root [Fri, 18 Apr 2014 21:33:04 +0000 (21:33 +0000)]
am 3ecaa88d: am ecb013db: Merge "Use hidden API to validate APK chains" into jb-dev

* commit '3ecaa88d83d04a0fd55b494829badbb41016f5a1':
  Use hidden API to validate APK chains

10 years agoam ecb013db: Merge "Use hidden API to validate APK chains" into jb-dev
Kenny Root [Fri, 18 Apr 2014 18:14:32 +0000 (18:14 +0000)]
am ecb013db: Merge "Use hidden API to validate APK chains" into jb-dev

* commit 'ecb013dbff5e33b95c49015fa375579e055911ae':
  Use hidden API to validate APK chains

10 years agoMerge "Use hidden API to validate APK chains" into jb-dev
Kenny Root [Fri, 18 Apr 2014 17:12:40 +0000 (17:12 +0000)]
Merge "Use hidden API to validate APK chains" into jb-dev

10 years agoUse hidden API to validate APK chains
Kenny Root [Thu, 17 Apr 2014 21:03:31 +0000 (14:03 -0700)]
Use hidden API to validate APK chains

Bug: 13678484
Change-Id: I28dedab74b0e24d47ab9f2190298156c909e9d54

10 years agoMerge "Don't reset country code once it is persisted" into klp-dev
Vinit Deshapnde [Thu, 17 Apr 2014 18:54:58 +0000 (18:54 +0000)]
Merge "Don't reset country code once it is persisted" into klp-dev

10 years agoDon't reset country code once it is persisted
Vinit Deshapnde [Thu, 17 Apr 2014 18:05:21 +0000 (11:05 -0700)]
Don't reset country code once it is persisted

This change simply ignores resetting of country code by cellular
networks to avoid disconnecting existing wifi connections. It also
defers setting newly found country code until after existing Wifi
connection is torn down.

Also removes some dead code related to resetting of country codes.

Bug: 13894807
Change-Id: Ie2fcfdd4b3be8ba94542772c132fb1acb6a2c683

10 years agoam 0aea4684: am 91f2a7cb: am 5a125053: Merge changes I66792c4d,I203b6783 into jb...
Deepanshu Gupta [Wed, 16 Apr 2014 18:43:50 +0000 (18:43 +0000)]
am 0aea4684: am 91f2a7cb: am 5a125053: Merge changes I66792c4d,I203b6783 into jb-mr2-dev

* commit '0aea46840f5a520e511fdbd8561046ac9c665fcb':
  Improve text rendering and measurement. [DO NOT MERGE]
  Fix the measurement of text bounds. [DO NOT MERGE]

10 years agoam 00312846: (-s ours) am 0fe63473: am 04b4f8d1: Merge "Set default text style in...
Deepanshu Gupta [Wed, 16 Apr 2014 18:43:47 +0000 (18:43 +0000)]
am 00312846: (-s ours) am 0fe63473: am 04b4f8d1: Merge "Set default text style in layoutlib as NORMAL [DO NOT MERGE]" into jb-mr2-dev

* commit '00312846e1e5513b3b32aa4fab399e51daf0c1b3':
  Set default text style in layoutlib as NORMAL [DO NOT MERGE]

10 years agoam 4eeaa61f: (-s ours) am 87e14187: am fb120acd: Merge "Add methods for Time_Delegate...
Deepanshu Gupta [Wed, 16 Apr 2014 18:43:44 +0000 (18:43 +0000)]
am 4eeaa61f: (-s ours) am 87e14187: am fb120acd: Merge "Add methods for Time_Delegate [DO NOT MERGE]" into jb-mr2-dev

* commit '4eeaa61f6b4b7b37712e1c385a75aa8a4b89e381':
  Add methods for Time_Delegate [DO NOT MERGE]

10 years agoam b03e1176: (-s ours) am 533a52fe: am b7fd6315: Merge "Fix sans-serif-thin and sans...
Deepanshu Gupta [Wed, 16 Apr 2014 18:43:40 +0000 (18:43 +0000)]
am b03e1176: (-s ours) am 533a52fe: am b7fd6315: Merge "Fix sans-serif-thin and sans-serif-light fonts in layoutlib. [DO NOT MERGE]" into jb-mr2-dev

* commit 'b03e1176df1e66a49a5649faf6994fa9ec1a9bea':
  Fix sans-serif-thin and sans-serif-light fonts in layoutlib. [DO NOT MERGE]

10 years agoam 90b0b69c: (-s ours) am 014ac85f: am f14cbb26: Merge "Optimize layout rendering...
Deepanshu Gupta [Wed, 16 Apr 2014 18:43:38 +0000 (18:43 +0000)]
am 90b0b69c: (-s ours) am 014ac85f: am f14cbb26: Merge "Optimize layout rendering in layoutlib [DO NOT MERGE]" into jb-mr2-dev

* commit '90b0b69cd48067b92a90ea248ef91e473b7f1c10':
  Optimize layout rendering in layoutlib [DO NOT MERGE]

10 years agoam 91f2a7cb: am 5a125053: Merge changes I66792c4d,I203b6783 into jb-mr2-dev
Deepanshu Gupta [Wed, 16 Apr 2014 18:40:41 +0000 (18:40 +0000)]
am 91f2a7cb: am 5a125053: Merge changes I66792c4d,I203b6783 into jb-mr2-dev

* commit '91f2a7cb303a3225f68f571ea101078eed1c1f94':
  Improve text rendering and measurement. [DO NOT MERGE]
  Fix the measurement of text bounds. [DO NOT MERGE]

10 years agoam 0fe63473: am 04b4f8d1: Merge "Set default text style in layoutlib as NORMAL [DO...
Deepanshu Gupta [Wed, 16 Apr 2014 18:40:37 +0000 (18:40 +0000)]
am 0fe63473: am 04b4f8d1: Merge "Set default text style in layoutlib as NORMAL [DO NOT MERGE]" into jb-mr2-dev

* commit '0fe634737b24fd8f4dc8d0f49eb15ea176242428':
  Set default text style in layoutlib as NORMAL [DO NOT MERGE]

10 years agoam 87e14187: am fb120acd: Merge "Add methods for Time_Delegate [DO NOT MERGE]" into...
Deepanshu Gupta [Wed, 16 Apr 2014 18:40:34 +0000 (18:40 +0000)]
am 87e14187: am fb120acd: Merge "Add methods for Time_Delegate [DO NOT MERGE]" into jb-mr2-dev

* commit '87e14187111254b8842193f4f3514c0dea50967d':
  Add methods for Time_Delegate [DO NOT MERGE]

10 years agoam 533a52fe: am b7fd6315: Merge "Fix sans-serif-thin and sans-serif-light fonts in...
Deepanshu Gupta [Wed, 16 Apr 2014 18:40:30 +0000 (18:40 +0000)]
am 533a52fe: am b7fd6315: Merge "Fix sans-serif-thin and sans-serif-light fonts in layoutlib. [DO NOT MERGE]" into jb-mr2-dev

* commit '533a52fe3bedc88483a968400cd61110bd29c704':
  Fix sans-serif-thin and sans-serif-light fonts in layoutlib. [DO NOT MERGE]

10 years agoam 014ac85f: am f14cbb26: Merge "Optimize layout rendering in layoutlib [DO NOT MERGE...
Deepanshu Gupta [Wed, 16 Apr 2014 18:40:25 +0000 (18:40 +0000)]
am 014ac85f: am f14cbb26: Merge "Optimize layout rendering in layoutlib [DO NOT MERGE]" into jb-mr2-dev

* commit '014ac85fecc969c205a11d1f20afe00cab713629':
  Optimize layout rendering in layoutlib [DO NOT MERGE]

10 years agoam 5a125053: Merge changes I66792c4d,I203b6783 into jb-mr2-dev
Deepanshu Gupta [Wed, 16 Apr 2014 18:37:02 +0000 (18:37 +0000)]
am 5a125053: Merge changes I66792c4d,I203b6783 into jb-mr2-dev

* commit '5a1250532f159842c364accf02bcfd111a6b900b':
  Improve text rendering and measurement. [DO NOT MERGE]
  Fix the measurement of text bounds. [DO NOT MERGE]

10 years agoam 04b4f8d1: Merge "Set default text style in layoutlib as NORMAL [DO NOT MERGE]...
Deepanshu Gupta [Wed, 16 Apr 2014 18:36:58 +0000 (18:36 +0000)]
am 04b4f8d1: Merge "Set default text style in layoutlib as NORMAL [DO NOT MERGE]" into jb-mr2-dev

* commit '04b4f8d11406c64b94797af67dd7530435187129':
  Set default text style in layoutlib as NORMAL [DO NOT MERGE]

10 years agoam fb120acd: Merge "Add methods for Time_Delegate [DO NOT MERGE]" into jb-mr2-dev
Deepanshu Gupta [Wed, 16 Apr 2014 18:36:55 +0000 (18:36 +0000)]
am fb120acd: Merge "Add methods for Time_Delegate [DO NOT MERGE]" into jb-mr2-dev

* commit 'fb120acd841f7d8d0e1845f5bdd98abf35cb25b4':
  Add methods for Time_Delegate [DO NOT MERGE]

10 years agoam b7fd6315: Merge "Fix sans-serif-thin and sans-serif-light fonts in layoutlib....
Deepanshu Gupta [Wed, 16 Apr 2014 18:36:52 +0000 (18:36 +0000)]
am b7fd6315: Merge "Fix sans-serif-thin and sans-serif-light fonts in layoutlib. [DO NOT MERGE]" into jb-mr2-dev

* commit 'b7fd6315328c3a38fd7928f3dbb43f44227eb78b':
  Fix sans-serif-thin and sans-serif-light fonts in layoutlib. [DO NOT MERGE]

10 years agoam f14cbb26: Merge "Optimize layout rendering in layoutlib [DO NOT MERGE]" into jb...
Deepanshu Gupta [Wed, 16 Apr 2014 18:36:48 +0000 (18:36 +0000)]
am f14cbb26: Merge "Optimize layout rendering in layoutlib [DO NOT MERGE]" into jb-mr2-dev

* commit 'f14cbb26edcf0838cee333bf0d6ee686bf6de333':
  Optimize layout rendering in layoutlib [DO NOT MERGE]

10 years agoMerge changes I66792c4d,I203b6783 into jb-mr2-dev
Deepanshu Gupta [Wed, 16 Apr 2014 18:34:11 +0000 (18:34 +0000)]
Merge changes I66792c4d,I203b6783 into jb-mr2-dev

* changes:
  Improve text rendering and measurement. [DO NOT MERGE]
  Fix the measurement of text bounds. [DO NOT MERGE]

10 years agoMerge "Set default text style in layoutlib as NORMAL [DO NOT MERGE]" into jb-mr2-dev
Deepanshu Gupta [Wed, 16 Apr 2014 18:34:04 +0000 (18:34 +0000)]
Merge "Set default text style in layoutlib as NORMAL [DO NOT MERGE]" into jb-mr2-dev

10 years agoMerge "Add methods for Time_Delegate [DO NOT MERGE]" into jb-mr2-dev
Deepanshu Gupta [Wed, 16 Apr 2014 18:33:47 +0000 (18:33 +0000)]
Merge "Add methods for Time_Delegate [DO NOT MERGE]" into jb-mr2-dev

10 years agoMerge "Fix sans-serif-thin and sans-serif-light fonts in layoutlib. [DO NOT MERGE...
Deepanshu Gupta [Wed, 16 Apr 2014 18:33:31 +0000 (18:33 +0000)]
Merge "Fix sans-serif-thin and sans-serif-light fonts in layoutlib. [DO NOT MERGE]" into jb-mr2-dev

10 years agoMerge "Optimize layout rendering in layoutlib [DO NOT MERGE]" into jb-mr2-dev
Deepanshu Gupta [Wed, 16 Apr 2014 18:33:10 +0000 (18:33 +0000)]
Merge "Optimize layout rendering in layoutlib [DO NOT MERGE]" into jb-mr2-dev

10 years agoLayoutlib tests now check methods return value [DO NOT MERGE]
Deepanshu Gupta [Wed, 16 Apr 2014 02:30:35 +0000 (19:30 -0700)]
Layoutlib tests now check methods return value [DO NOT MERGE]

The change is a cherry-pick of relevant fixes from the following
commits on master branch:
the followning commits:
9be03c4e980d3058aeb3fd730da5f7d4a4a4f8a8 and
e05bb956ce429618fd4f971a9dc708b9313c59ea

Change-Id: I87cef323c4eaee4e9f60475f01156b276593fa50