OSDN Git Service

android-x86/frameworks-base.git
10 years agoam 07f8da65: am 888461c8: resolved conflicts for merge of 1103ece2 to jb-mr1.1-dev
Deepanshu Gupta [Tue, 13 May 2014 16:36:38 +0000 (16:36 +0000)]
am 07f8da65: am 888461c8: resolved conflicts for merge of 1103ece2 to jb-mr1.1-dev

* commit '07f8da65e231142e6915d9aa7853dd4d772112a0':
  Fix layoutlib [DO NOT MERGE]

10 years agoam 888461c8: resolved conflicts for merge of 1103ece2 to jb-mr1.1-dev
Deepanshu Gupta [Tue, 13 May 2014 16:31:02 +0000 (16:31 +0000)]
am 888461c8: resolved conflicts for merge of 1103ece2 to jb-mr1.1-dev

* commit '888461c801b531f31b2ef34617d333d781d93010':
  Fix layoutlib [DO NOT MERGE]

10 years agoam 0e50f1c2: am 5e8b02db: am 42556c39: am 3990ec34: am cdb87d8d: am a59c27dd: Fix...
Deepanshu Gupta [Tue, 13 May 2014 02:16:50 +0000 (02:16 +0000)]
am 0e50f1c2: am 5e8b02db: am 42556c39: am 3990ec34: am cdb87d8d: am a59c27dd: Fix ClassCastException when rendering ListView [DO NOT MERGE]

* commit '0e50f1c2ca92c060e88a645d5607b47db9728ccc':
  Fix ClassCastException when rendering ListView [DO NOT MERGE]

10 years agoam 37f43311: am 9887703d: am 202800b1: am 4d69ca22: am edae4e69: am 8a39c3af: Add...
Deepanshu Gupta [Tue, 13 May 2014 02:16:48 +0000 (02:16 +0000)]
am 37f43311: am 9887703d: am 202800b1: am 4d69ca22: am edae4e69: am 8a39c3af: Add orientation to configuration for layoutlib. [DO NOT MERGE]

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

10 years agoresolved conflicts for merge of 1103ece2 to jb-mr1.1-dev
Deepanshu Gupta [Tue, 13 May 2014 02:16:26 +0000 (19:16 -0700)]
resolved conflicts for merge of 1103ece2 to jb-mr1.1-dev

Change-Id: I16a4ce0863576cca07b1753f0ad56d6e97015c78

10 years agoam 5e8b02db: am 42556c39: am 3990ec34: am cdb87d8d: am a59c27dd: Fix ClassCastExcepti...
Deepanshu Gupta [Tue, 13 May 2014 02:12:15 +0000 (02:12 +0000)]
am 5e8b02db: am 42556c39: am 3990ec34: am cdb87d8d: am a59c27dd: Fix ClassCastException when rendering ListView [DO NOT MERGE]

* commit '5e8b02dbafc3e097a43230f881bd289e207f7bfe':
  Fix ClassCastException when rendering ListView [DO NOT MERGE]

10 years agoam 9887703d: am 202800b1: am 4d69ca22: am edae4e69: am 8a39c3af: Add orientation...
Deepanshu Gupta [Tue, 13 May 2014 02:12:12 +0000 (02:12 +0000)]
am 9887703d: am 202800b1: am 4d69ca22: am edae4e69: am 8a39c3af: Add orientation to configuration for layoutlib. [DO NOT MERGE]

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

10 years agoam 42556c39: am 3990ec34: am cdb87d8d: am a59c27dd: Fix ClassCastException when rende...
Deepanshu Gupta [Tue, 13 May 2014 02:07:28 +0000 (02:07 +0000)]
am 42556c39: am 3990ec34: am cdb87d8d: am a59c27dd: Fix ClassCastException when rendering ListView [DO NOT MERGE]

* commit '42556c394b1f7bf53f59aa6905dc0d20fe495389':
  Fix ClassCastException when rendering ListView [DO NOT MERGE]

10 years agoam 202800b1: am 4d69ca22: am edae4e69: am 8a39c3af: Add orientation to configuration...
Deepanshu Gupta [Tue, 13 May 2014 02:07:25 +0000 (02:07 +0000)]
am 202800b1: am 4d69ca22: am edae4e69: am 8a39c3af: Add orientation to configuration for layoutlib. [DO NOT MERGE]

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

10 years agoam f20c9c66: am 06c4f23d: am 64dc0380: Fix layoutlib [DO NOT MERGE]
Deepanshu Gupta [Tue, 13 May 2014 02:02:56 +0000 (02:02 +0000)]
am f20c9c66: am 06c4f23d: am 64dc0380: Fix layoutlib [DO NOT MERGE]

* commit 'f20c9c660edcce0fe90ba5f8464f726dcd51229e':
  Fix layoutlib [DO NOT MERGE]

10 years agoam 3990ec34: am cdb87d8d: am a59c27dd: Fix ClassCastException when rendering ListView...
Deepanshu Gupta [Tue, 13 May 2014 02:02:54 +0000 (02:02 +0000)]
am 3990ec34: am cdb87d8d: am a59c27dd: Fix ClassCastException when rendering ListView [DO NOT MERGE]

* commit '3990ec3490cc43a2690163f2a973b5ac6c4bdc46':
  Fix ClassCastException when rendering ListView [DO NOT MERGE]

10 years agoam 4d69ca22: am edae4e69: am 8a39c3af: Add orientation to configuration for layoutlib...
Deepanshu Gupta [Tue, 13 May 2014 02:02:50 +0000 (02:02 +0000)]
am 4d69ca22: am edae4e69: am 8a39c3af: Add orientation to configuration for layoutlib. [DO NOT MERGE]

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

10 years agoam 06c4f23d: am 64dc0380: Fix layoutlib [DO NOT MERGE]
Deepanshu Gupta [Tue, 13 May 2014 01:57:25 +0000 (01:57 +0000)]
am 06c4f23d: am 64dc0380: Fix layoutlib [DO NOT MERGE]

* commit '06c4f23d737082717f37f5f3583d9c12f4b64bf2':
  Fix layoutlib [DO NOT MERGE]

10 years agoam cdb87d8d: am a59c27dd: Fix ClassCastException when rendering ListView [DO NOT...
Deepanshu Gupta [Tue, 13 May 2014 01:57:22 +0000 (01:57 +0000)]
am cdb87d8d: am a59c27dd: Fix ClassCastException when rendering ListView [DO NOT MERGE]

* commit 'cdb87d8d83e8a76a4cf78d24d5c49ee8548eba1f':
  Fix ClassCastException when rendering ListView [DO NOT MERGE]

10 years agoam edae4e69: am 8a39c3af: Add orientation to configuration for layoutlib. [DO NOT...
Deepanshu Gupta [Tue, 13 May 2014 01:57:18 +0000 (01:57 +0000)]
am edae4e69: am 8a39c3af: Add orientation to configuration for layoutlib. [DO NOT MERGE]

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

10 years agoam efa5ffc8: am 90ce58ec: Use ApplicationInfo only when not in edit mode [DO NOT...
Deepanshu Gupta [Tue, 13 May 2014 01:55:09 +0000 (01:55 +0000)]
am efa5ffc8: am 90ce58ec: Use ApplicationInfo only when not in edit mode [DO NOT MERGE]

* commit 'efa5ffc883bb4078494110b17f8dee4b940720c4':
  Use ApplicationInfo only when not in edit mode [DO NOT MERGE]

10 years agoam b7bafba7: am 099f40a9: Support actionProviderClass attribute for menus [DO NOT...
Deepanshu Gupta [Tue, 13 May 2014 01:55:07 +0000 (01:55 +0000)]
am b7bafba7: am 099f40a9: Support actionProviderClass attribute for menus [DO NOT MERGE]

* commit 'b7bafba7c602150da9c0f06335e3c853e919501c':
  Support actionProviderClass attribute for menus [DO NOT MERGE]

10 years agoam 51dd8878: am 60b52ee9: Fix class name for OverflowMenuButton [DO NOT MERGE]
Deepanshu Gupta [Tue, 13 May 2014 01:55:04 +0000 (01:55 +0000)]
am 51dd8878: am 60b52ee9: Fix class name for OverflowMenuButton [DO NOT MERGE]

* commit '51dd8878cb401128d730aecf9fe18c1e06221ac4':
  Fix class name for OverflowMenuButton [DO NOT MERGE]

10 years agoam 503aaa48: am 7c6f6481: Add special system view cookie to OverflowButton. [DO NOT...
Deepanshu Gupta [Tue, 13 May 2014 01:55:02 +0000 (01:55 +0000)]
am 503aaa48: am 7c6f6481: Add special system view cookie to OverflowButton. [DO NOT MERGE]

* commit '503aaa48e47538b69dc477372bc8c4ad2e955227':
  Add special system view cookie to OverflowButton. [DO NOT MERGE]

10 years agoam 30db282f: am 22de7c4c: Fix style warnings in RenderSessionImpl [DO NOT MERGE]
Deepanshu Gupta [Tue, 13 May 2014 01:54:59 +0000 (01:54 +0000)]
am 30db282f: am 22de7c4c: Fix style warnings in RenderSessionImpl [DO NOT MERGE]

* commit '30db282f2a3692f8c98cb3bdbb0534ad348d1bd7':
  Fix style warnings in RenderSessionImpl [DO NOT MERGE]

10 years agoam b67b1b45: am 094fd8ec: Add view cookies for action bar menus. [DO NOT MERGE]
Deepanshu Gupta [Tue, 13 May 2014 01:54:56 +0000 (01:54 +0000)]
am b67b1b45: am 094fd8ec: Add view cookies for action bar menus. [DO NOT MERGE]

* commit 'b67b1b450c1f35bd60882b7beec1dbfb47cd84f1':
  Add view cookies for action bar menus. [DO NOT MERGE]

10 years agoam 2c8fea2a: am 56759be8: Overflow menu popup for Action Bar in Layoutlib [DO NOT...
Deepanshu Gupta [Tue, 13 May 2014 01:54:53 +0000 (01:54 +0000)]
am 2c8fea2a: am 56759be8: Overflow menu popup for Action Bar in Layoutlib [DO NOT MERGE]

* commit '2c8fea2ad425c4ba371bcb678949613dc8db72d0':
  Overflow menu popup for Action Bar in Layoutlib [DO NOT MERGE]

10 years agoam 0bb06b91: am fe38489f: Action bar rendering in layoutlib [DO NOT MERGE]
Deepanshu Gupta [Tue, 13 May 2014 01:54:50 +0000 (01:54 +0000)]
am 0bb06b91: am fe38489f: Action bar rendering in layoutlib [DO NOT MERGE]

* commit '0bb06b91e7be5b7f8c397295094aeaf1df8dbb09':
  Action bar rendering in layoutlib [DO NOT MERGE]

10 years agoam f3264738: am cc5340bc: Add missing dependency in layoutlib build file [DO NOT...
Deepanshu Gupta [Tue, 13 May 2014 01:54:48 +0000 (01:54 +0000)]
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]

10 years agoam 49d47a02: am 76dccb7f: Fix theme/style resolution in Layoutlib [DO NOT MERGE]
Deepanshu Gupta [Tue, 13 May 2014 01:54:44 +0000 (01:54 +0000)]
am 49d47a02: am 76dccb7f: Fix theme/style resolution in Layoutlib [DO NOT MERGE]

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

10 years agoam de3b2c06: am 1ed75bde: Remove references to non-std Java classes. [DO NOT MERGE]
Deepanshu Gupta [Tue, 13 May 2014 01:54:42 +0000 (01:54 +0000)]
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]

10 years agoam 2f94c1db: am 6136af32: Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]
Deepanshu Gupta [Tue, 13 May 2014 01:54:39 +0000 (01:54 +0000)]
am 2f94c1db: am 6136af32: Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]

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

10 years agoam ef9596a1: am 2bd65db1: Layoutlib tests now check methods return value [DO NOT...
Deepanshu Gupta [Tue, 13 May 2014 01:54:36 +0000 (01:54 +0000)]
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]

10 years agoam 64dc0380: Fix layoutlib [DO NOT MERGE]
Deepanshu Gupta [Tue, 13 May 2014 01:52:21 +0000 (01:52 +0000)]
am 64dc0380: Fix layoutlib [DO NOT MERGE]

* commit '64dc0380127047ffcf135b6848c9150aa8dbed85':
  Fix layoutlib [DO NOT MERGE]

10 years agoam a59c27dd: Fix ClassCastException when rendering ListView [DO NOT MERGE]
Deepanshu Gupta [Tue, 13 May 2014 01:52:18 +0000 (01:52 +0000)]
am a59c27dd: Fix ClassCastException when rendering ListView [DO NOT MERGE]

* commit 'a59c27dd6674a31c875b0baa86519caec628ca2d':
  Fix ClassCastException when rendering ListView [DO NOT MERGE]

10 years agoam 8a39c3af: Add orientation to configuration for layoutlib. [DO NOT MERGE]
Deepanshu Gupta [Tue, 13 May 2014 01:52:15 +0000 (01:52 +0000)]
am 8a39c3af: Add orientation to configuration for layoutlib. [DO NOT MERGE]

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

10 years agoam 90ce58ec: Use ApplicationInfo only when not in edit mode [DO NOT MERGE]
Deepanshu Gupta [Tue, 13 May 2014 01:50:00 +0000 (01:50 +0000)]
am 90ce58ec: Use ApplicationInfo only when not in edit mode [DO NOT MERGE]

* commit '90ce58ecfdf7231611d70c849f14e5e71d1c8220':
  Use ApplicationInfo only when not in edit mode [DO NOT MERGE]

10 years agoam 099f40a9: Support actionProviderClass attribute for menus [DO NOT MERGE]
Deepanshu Gupta [Tue, 13 May 2014 01:49:57 +0000 (01:49 +0000)]
am 099f40a9: Support actionProviderClass attribute for menus [DO NOT MERGE]

* commit '099f40a950a14b66005b17657d967ef080569a15':
  Support actionProviderClass attribute for menus [DO NOT MERGE]

10 years agoam 60b52ee9: Fix class name for OverflowMenuButton [DO NOT MERGE]
Deepanshu Gupta [Tue, 13 May 2014 01:49:55 +0000 (01:49 +0000)]
am 60b52ee9: Fix class name for OverflowMenuButton [DO NOT MERGE]

* commit '60b52ee929c8765c2d99f1b1e35d326e03895ba0':
  Fix class name for OverflowMenuButton [DO NOT MERGE]

10 years agoam 7c6f6481: Add special system view cookie to OverflowButton. [DO NOT MERGE]
Deepanshu Gupta [Tue, 13 May 2014 01:49:52 +0000 (01:49 +0000)]
am 7c6f6481: Add special system view cookie to OverflowButton. [DO NOT MERGE]

* commit '7c6f6481f46b8244406790604c5f8b3f712c369f':
  Add special system view cookie to OverflowButton. [DO NOT MERGE]

10 years agoam 22de7c4c: Fix style warnings in RenderSessionImpl [DO NOT MERGE]
Deepanshu Gupta [Tue, 13 May 2014 01:49:50 +0000 (01:49 +0000)]
am 22de7c4c: Fix style warnings in RenderSessionImpl [DO NOT MERGE]

* commit '22de7c4c3d44e51aef6937e1b39540703ad01f5c':
  Fix style warnings in RenderSessionImpl [DO NOT MERGE]

10 years agoam 094fd8ec: Add view cookies for action bar menus. [DO NOT MERGE]
Deepanshu Gupta [Tue, 13 May 2014 01:49:42 +0000 (01:49 +0000)]
am 094fd8ec: Add view cookies for action bar menus. [DO NOT MERGE]

* commit '094fd8ecb6f4b666be6c9e7332679bce28fdc3ca':
  Add view cookies for action bar menus. [DO NOT MERGE]

10 years agoam 56759be8: Overflow menu popup for Action Bar in Layoutlib [DO NOT MERGE]
Deepanshu Gupta [Tue, 13 May 2014 01:49:39 +0000 (01:49 +0000)]
am 56759be8: Overflow menu popup for Action Bar in Layoutlib [DO NOT MERGE]

* commit '56759be8960ea1b5dc8b6de1810a84e2f10e2058':
  Overflow menu popup for Action Bar in Layoutlib [DO NOT MERGE]

10 years agoam fe38489f: Action bar rendering in layoutlib [DO NOT MERGE]
Deepanshu Gupta [Tue, 13 May 2014 01:49:37 +0000 (01:49 +0000)]
am fe38489f: Action bar rendering in layoutlib [DO NOT MERGE]

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

10 years agoam cc5340bc: Add missing dependency in layoutlib build file [DO NOT MERGE]
Deepanshu Gupta [Tue, 13 May 2014 01:49:34 +0000 (01:49 +0000)]
am cc5340bc: Add missing dependency in layoutlib build file [DO NOT MERGE]

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

10 years agoam 76dccb7f: Fix theme/style resolution in Layoutlib [DO NOT MERGE]
Deepanshu Gupta [Tue, 13 May 2014 01:49:31 +0000 (01:49 +0000)]
am 76dccb7f: Fix theme/style resolution in Layoutlib [DO NOT MERGE]

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

10 years agoam 1ed75bde: Remove references to non-std Java classes. [DO NOT MERGE]
Deepanshu Gupta [Tue, 13 May 2014 01:49:28 +0000 (01:49 +0000)]
am 1ed75bde: Remove references to non-std Java classes. [DO NOT MERGE]

* commit '1ed75bde09275c9f2bd1f81830e381ea864ac7f5':
  Remove references to non-std Java classes. [DO NOT MERGE]

10 years agoam 6136af32: Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]
Deepanshu Gupta [Tue, 13 May 2014 01:49:25 +0000 (01:49 +0000)]
am 6136af32: Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]

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

10 years agoam 2bd65db1: Layoutlib tests now check methods return value [DO NOT MERGE]
Deepanshu Gupta [Tue, 13 May 2014 01:49:21 +0000 (01:49 +0000)]
am 2bd65db1: Layoutlib tests now check methods return value [DO NOT MERGE]

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

10 years agoFix layoutlib [DO NOT MERGE]
Deepanshu Gupta [Thu, 17 Oct 2013 03:27:51 +0000 (20:27 -0700)]
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 87be67f91719234cbd381ff0242b5efc8b6aa257)

10 years agoFix ClassCastException when rendering ListView [DO NOT MERGE]
Deepanshu Gupta [Tue, 10 Sep 2013 22:39:41 +0000 (15:39 -0700)]
Fix ClassCastException when rendering ListView [DO NOT MERGE]

Bug: b.android.com/59300
Change-Id: Ia350adb3308daa8170bff755302760790163c811
(cherry picked from commit 7b5d54f05be61a7ab40021644a91c466e2897627)

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 d4875e19f5b7c69226783b0a6590831466159f84)

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
(cherry picked from commit 465cb53ba4b4a5edff9e9a63eb97d396b94d6568)

10 years agoSupport actionProviderClass attribute for menus [DO NOT MERGE]
Deepanshu Gupta [Thu, 1 May 2014 23:18:34 +0000 (16:18 -0700)]
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 7f56beb8403b597a676faf12643fef585a31007e)

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
(cherry picked from commit f61bd0020642cf0868486d307f2e68c8c02d6102)

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 d558ebdb433af498a87e25673f7dd828a0e7439a)

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 a98121ef5251b5ebdb8c1b0b6780d570844284b2)

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 7704837947455909f295b088a3d15a20e107dbd7)

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 20e0695b554e883b095f5223be10b6e1097db49f)

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 b85d30a2c88b6a23e251347b14a75456c4daeca9)

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]

Change-Id: Icfb91e566666408802dadc0e2070991151b16b9d
(cherry picked from commit 3c00b28bf60ab01b449e16df045238f4bae4d700)

10 years agoRemove references to non-std Java classes. [DO NOT MERGE]
Deepanshu Gupta [Tue, 10 Sep 2013 22:41:21 +0000 (15:41 -0700)]
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

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 89fdc0c556cf0fe2562fb8f0476e03cd51045164)

10 years agoam 961e3281: am 6df2860b: Add missing files to fix libphonenumber for layoutlib....
Deepanshu Gupta [Fri, 2 May 2014 19:27:20 +0000 (19:27 +0000)]
am 961e3281: am 6df2860b: Add missing files to fix libphonenumber for layoutlib. [DO NOT MERGE]

* commit '961e328176b4a5f522effcfb52ff80458af03a81':
  Add missing files to fix libphonenumber for layoutlib. [DO NOT MERGE]

10 years agoam 9e2dadae: am bcbeaf83: Set default text style in layoutlib as NORMAL [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:27:17 +0000 (19:27 +0000)]
am 9e2dadae: am bcbeaf83: Set default text style in layoutlib as NORMAL [DO NOT MERGE]

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

10 years agoam cf3f108e: am 5be65fda: Fix sans-serif-thin and sans-serif-light fonts in layoutlib...
Deepanshu Gupta [Fri, 2 May 2014 19:27:14 +0000 (19:27 +0000)]
am cf3f108e: am 5be65fda: Fix sans-serif-thin and sans-serif-light fonts in layoutlib. [DO NOT MERGE]

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

10 years agoam d642de58: am ec4623d0: Improve text rendering and measurement. [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:27:11 +0000 (19:27 +0000)]
am d642de58: am ec4623d0: Improve text rendering and measurement. [DO NOT MERGE]

* commit 'd642de58275b84d9c8b6c5998f532eacb824ccb3':
  Improve text rendering and measurement. [DO NOT MERGE]

10 years agoam 62a4a1f9: am 2a82a48f: Fix the measurement of text bounds. [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:27:08 +0000 (19:27 +0000)]
am 62a4a1f9: am 2a82a48f: Fix the measurement of text bounds. [DO NOT MERGE]

* commit '62a4a1f9e06bcef3a6ac7cc6d297f5bb52e0e850':
  Fix the measurement of text bounds. [DO NOT MERGE]

10 years agoam 1830a58f: am 5bb3414d: Fix a bug in Nine Patch library. [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:27:06 +0000 (19:27 +0000)]
am 1830a58f: am 5bb3414d: Fix a bug in Nine Patch library. [DO NOT MERGE]

* commit '1830a58f54d43b9f9da967581df66cc0b4a21839':
  Fix a bug in Nine Patch library. [DO NOT MERGE]

10 years agoam bcd50a7c: am 5712b5fc: Optimize layout rendering in layoutlib [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:27:03 +0000 (19:27 +0000)]
am bcd50a7c: am 5712b5fc: Optimize layout rendering in layoutlib [DO NOT MERGE]

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

10 years agoam 7c02c6e2: am 02cde9ce: Add methods for Time_Delegate [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:27:00 +0000 (19:27 +0000)]
am 7c02c6e2: am 02cde9ce: Add methods for Time_Delegate [DO NOT MERGE]

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

10 years agoam 443372dd: am 9d7b5165: Add libphonenumber to layoutlib.jar. [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:26:57 +0000 (19:26 +0000)]
am 443372dd: am 9d7b5165: Add libphonenumber to layoutlib.jar. [DO NOT MERGE]

* commit '443372ddf378b00621a284a9614b869fd9484ab4':
  Add libphonenumber to layoutlib.jar. [DO NOT MERGE]

10 years agoam 62591cff: am 689c0dfe: Fix NPE in layoutlib. [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:26:54 +0000 (19:26 +0000)]
am 62591cff: am 689c0dfe: Fix NPE in layoutlib. [DO NOT MERGE]

* commit '62591cffc758b2c77028e4b80d61086c135ef54b':
  Fix NPE in layoutlib. [DO NOT MERGE]

10 years agoam 600539c7: am 083d1562: Fix text size in Fake Action Bar. [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:26:51 +0000 (19:26 +0000)]
am 600539c7: am 083d1562: Fix text size in Fake Action Bar. [DO NOT MERGE]

* commit '600539c7fff799f3c55c1d8f97ccfeec61f80a55':
  Fix text size in Fake Action Bar. [DO NOT MERGE]

10 years agoam 697c511d: am 80c668f2: Remove references to non-std Java classes. [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:26:49 +0000 (19:26 +0000)]
am 697c511d: am 80c668f2: Remove references to non-std Java classes. [DO NOT MERGE]

* commit '697c511d948cdc23682c82155b23eee56f91743f':
  Remove references to non-std Java classes. [DO NOT MERGE]

10 years agoam e39de9ae: am 6335590a: Fix DatePicker and Calendar widget in layoutlib. [DO NOT...
Deepanshu Gupta [Fri, 2 May 2014 19:26:46 +0000 (19:26 +0000)]
am e39de9ae: am 6335590a: Fix DatePicker and Calendar widget in layoutlib. [DO NOT MERGE]

* commit 'e39de9ae58ea80f27cd58853926b5b153c33ce0d':
  Fix DatePicker and Calendar widget in layoutlib. [DO NOT MERGE]

10 years agoam 6f469e54: am 11ee746d: Layoutlib: Update the wifi icon in the status bar. [DO...
Deepanshu Gupta [Fri, 2 May 2014 19:26:43 +0000 (19:26 +0000)]
am 6f469e54: am 11ee746d: Layoutlib: Update the wifi icon in the status bar. [DO NOT MERGE]

* commit '6f469e5438dbb2213d26c41a5d410df3bed4d4ca':
  Layoutlib: Update the wifi icon in the status bar. [DO NOT MERGE]

10 years agoam 6df2860b: Add missing files to fix libphonenumber for layoutlib. [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:24:20 +0000 (19:24 +0000)]
am 6df2860b: Add missing files to fix libphonenumber for layoutlib. [DO NOT MERGE]

* commit '6df2860b2316fb42e8686c3154b2156619c7777f':
  Add missing files to fix libphonenumber for layoutlib. [DO NOT MERGE]

10 years agoam bcbeaf83: Set default text style in layoutlib as NORMAL [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:24:17 +0000 (19:24 +0000)]
am bcbeaf83: Set default text style in layoutlib as NORMAL [DO NOT MERGE]

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

10 years agoam 5be65fda: Fix sans-serif-thin and sans-serif-light fonts in layoutlib. [DO NOT...
Deepanshu Gupta [Fri, 2 May 2014 19:24:15 +0000 (19:24 +0000)]
am 5be65fda: Fix sans-serif-thin and sans-serif-light fonts in layoutlib. [DO NOT MERGE]

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

10 years agoam ec4623d0: Improve text rendering and measurement. [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:24:12 +0000 (19:24 +0000)]
am ec4623d0: Improve text rendering and measurement. [DO NOT MERGE]

* commit 'ec4623d0d47734c21ee915ea6ec58e60f668bd2f':
  Improve text rendering and measurement. [DO NOT MERGE]

10 years agoam 2a82a48f: Fix the measurement of text bounds. [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:24:09 +0000 (19:24 +0000)]
am 2a82a48f: Fix the measurement of text bounds. [DO NOT MERGE]

* commit '2a82a48fefb7877f8162133db81788c12eae7582':
  Fix the measurement of text bounds. [DO NOT MERGE]

10 years agoam 5bb3414d: Fix a bug in Nine Patch library. [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:24:06 +0000 (19:24 +0000)]
am 5bb3414d: Fix a bug in Nine Patch library. [DO NOT MERGE]

* commit '5bb3414d148f1309dade9333fe9b89c8d1c2f308':
  Fix a bug in Nine Patch library. [DO NOT MERGE]

10 years agoam 5712b5fc: Optimize layout rendering in layoutlib [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:24:03 +0000 (19:24 +0000)]
am 5712b5fc: Optimize layout rendering in layoutlib [DO NOT MERGE]

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

10 years agoam 02cde9ce: Add methods for Time_Delegate [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:23:58 +0000 (19:23 +0000)]
am 02cde9ce: Add methods for Time_Delegate [DO NOT MERGE]

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

10 years agoam 9d7b5165: Add libphonenumber to layoutlib.jar. [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:23:56 +0000 (19:23 +0000)]
am 9d7b5165: Add libphonenumber to layoutlib.jar. [DO NOT MERGE]

* commit '9d7b5165576e3cf491fe47cf335feb6d204140b3':
  Add libphonenumber to layoutlib.jar. [DO NOT MERGE]

10 years agoam 689c0dfe: Fix NPE in layoutlib. [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:23:53 +0000 (19:23 +0000)]
am 689c0dfe: Fix NPE in layoutlib. [DO NOT MERGE]

* commit '689c0dfe72a57c0555560012cbc6806375e7d4b7':
  Fix NPE in layoutlib. [DO NOT MERGE]

10 years agoam 083d1562: Fix text size in Fake Action Bar. [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:23:50 +0000 (19:23 +0000)]
am 083d1562: Fix text size in Fake Action Bar. [DO NOT MERGE]

* commit '083d1562e00631630b5594462ce4a867a3508d8d':
  Fix text size in Fake Action Bar. [DO NOT MERGE]

10 years agoam 80c668f2: Remove references to non-std Java classes. [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:23:47 +0000 (19:23 +0000)]
am 80c668f2: Remove references to non-std Java classes. [DO NOT MERGE]

* commit '80c668f2a076e91d887dbf77776cd503ff88b0b4':
  Remove references to non-std Java classes. [DO NOT MERGE]

10 years agoam 6335590a: Fix DatePicker and Calendar widget in layoutlib. [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:23:43 +0000 (19:23 +0000)]
am 6335590a: Fix DatePicker and Calendar widget in layoutlib. [DO NOT MERGE]

* commit '6335590aa8997944cc7fb358a315dbb9b789f87f':
  Fix DatePicker and Calendar widget in layoutlib. [DO NOT MERGE]

10 years agoam 11ee746d: Layoutlib: Update the wifi icon in the status bar. [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:23:40 +0000 (19:23 +0000)]
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]

10 years agoam fbb1561a: am 44bcd64e: Fix CalendarView to show the right labels. [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:15:59 +0000 (19:15 +0000)]
am fbb1561a: am 44bcd64e: Fix CalendarView to show the right labels. [DO NOT MERGE]

* commit 'fbb1561a483b455aa840c69c391c3bbd1a529981':
  Fix CalendarView to show the right labels. [DO NOT MERGE]

10 years agoam ca2c6307: am 87be67f9: Fix layoutlib [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:15:56 +0000 (19:15 +0000)]
am ca2c6307: am 87be67f9: Fix layoutlib [DO NOT MERGE]

* commit 'ca2c6307263b3857ba688c80277fef402215db18':
  Fix layoutlib [DO NOT MERGE]

10 years agoam 77d1eca7: am 7b5d54f0: Fix ClassCastException when rendering ListView [DO NOT...
Deepanshu Gupta [Fri, 2 May 2014 19:15:52 +0000 (19:15 +0000)]
am 77d1eca7: am 7b5d54f0: Fix ClassCastException when rendering ListView [DO NOT MERGE]

* commit '77d1eca7d2acf68f246970e59a50e8a6e1c03e20':
  Fix ClassCastException when rendering ListView [DO NOT MERGE]

10 years agoam fe675441: am ce22440d: Fix text rendering [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:15:50 +0000 (19:15 +0000)]
am fe675441: am ce22440d: Fix text rendering [DO NOT MERGE]

* commit 'fe67544161d44d54c8462c44c78fe290f2195f2e':
  Fix text rendering [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 44bcd64e: Fix CalendarView to show the right labels. [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:12:34 +0000 (19:12 +0000)]
am 44bcd64e: Fix CalendarView to show the right labels. [DO NOT MERGE]

* commit '44bcd64e5b9fd211dd56b0598693a0559f65dc1a':
  Fix CalendarView to show the right labels. [DO NOT MERGE]

10 years agoam 87be67f9: Fix layoutlib [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:12:30 +0000 (19:12 +0000)]
am 87be67f9: Fix layoutlib [DO NOT MERGE]

* commit '87be67f91719234cbd381ff0242b5efc8b6aa257':
  Fix layoutlib [DO NOT MERGE]

10 years agoam 7b5d54f0: Fix ClassCastException when rendering ListView [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:12:27 +0000 (19:12 +0000)]
am 7b5d54f0: Fix ClassCastException when rendering ListView [DO NOT MERGE]

* commit '7b5d54f05be61a7ab40021644a91c466e2897627':
  Fix ClassCastException when rendering ListView [DO NOT MERGE]

10 years agoam ce22440d: Fix text rendering [DO NOT MERGE]
Deepanshu Gupta [Fri, 2 May 2014 19:12:23 +0000 (19:12 +0000)]
am ce22440d: Fix text rendering [DO NOT MERGE]

* commit 'ce22440d4ca94009a4fb22c3d4f924cfbf422a66':
  Fix text rendering [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]