History log of /frameworks/base/tools/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
aff7c2447df1ddfe094628317b6d22121cd657f8 20-Oct-2014 Adam Lesinski <adamlesinski@google.com> AAPT: Fix path for final generated resources on Windows

Change-Id: Id11ac79b281b51747c73f90406ebd60023c54f92
apt/ResourceTable.cpp
9306a474e1b7509f4cdf252359dc301ce933ca1d 17-Oct-2014 Adam Lesinski <adamlesinski@google.com> AAPT: Fix an issue where a resource name was incorrectly derived on Windows

Calling String8::getLeaf() will assume the system's file path separator,
however the source string was already converted to a unix path.
getLeaf() would therefore not find any occurence of '\' and would
return the full path.

Bug:18036805
Change-Id: Ic2bfac0cc553406740204a296327e266b05c0eff
apt/Images.cpp
f47f8855175213b4bf1014593f97bc81c042dfd1 10-Oct-2014 Jerome Dochez <jedo@google.com> Merge "Added a daemon mode to aapt to receive streams of commands from gradle." into lmp-dev
908a4f9a4372a9627e821b5800936095b0f0b5b0 08-Oct-2014 Deepanshu Gupta <deepanshu@google.com> am 4f133894: Exclude KXmlParser from LayoutLib.

* commit '4f133894a6e98d8d30557ea42cec92cfb21fa5c9':
Exclude KXmlParser from LayoutLib.
4f133894a6e98d8d30557ea42cec92cfb21fa5c9 08-Oct-2014 Deepanshu Gupta <deepanshu@google.com> Exclude KXmlParser from LayoutLib.

The class was incorrectly being included in the LayoutLib.

Change-Id: I3c86662efa068019fe9165f2fc49a00d0a1b7f2d
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
ayoutlib/create/src/com/android/tools/layoutlib/create/ICreateInfo.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
11b14e3996d3602155d6a61afb286e5bc0941a1f 02-Aug-2014 Deepanshu Gupta <deepanshu@google.com> LayoutLib: Use ICU's line break algo. [DO NOT MERGE]

Change-Id: I7e5b0ab7423a72f5a4b0e1163d0a537f0b03ba07
(cherry picked from commit 760f6394d0f65fbb5365186e8e068d53c506b653)
ayoutlib/bridge/src/android/text/StaticLayout_Delegate.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
a80aba70728c2843df94474dbd7829dadb77855f 04-Oct-2014 Adam Lesinski <adamlesinski@google.com> Merge "AAPT: Gate v21 resource synthesizing logging behind -v flag" into lmp-dev
f15de2e2151ae48338afd27f3ebd33fce5009103 03-Oct-2014 Adam Lesinski <adamlesinski@google.com> AAPT: Gate v21 resource synthesizing logging behind -v flag

This is verbose information and should be hidden behind the -v flag.

Bug:17822471
Change-Id: I36e2c6beb54669a31cde73416427477a80ded8a6
apt/ResourceTable.cpp
c74a2b343507546dd5b0a6be5afce42eb8b16a0d 03-Oct-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Minor style changes." into lmp-dev
6f1280cf170b358a57ff70341a9f2ad224e5a662 26-Sep-2014 Jerome Dochez <jedo@google.com> Added a daemon mode to aapt to receive streams of commands from gradle.

When crunching png, we used to spawn a separate aapt process from java
which is slow and resource intensive.
Introduced a daemon mode to appt which when invoked with -m parameter
will listen from commands on stdin and give report of command execution
on stdout.

One one command is supported so far :
s f1 f2

This command perform a single png crunch, f1 pointing to the input
png file to crunch, and f2 pointing to the path for the resulting
crunced file.

Expected output from the command is "Done" or "Error".

Change-Id: Iaf1d865e8d5ee5d36abe39dea6443715865a98d3
apt/Bundle.h
apt/Command.cpp
apt/Main.cpp
apt/Main.h
3c8140ab4b39922f92682910ce24de77fd512db4 02-Oct-2014 Deepanshu Gupta <deepanshu@google.com> Minor style changes.

Addressing code review comments on previous change: 171804201dd

Change-Id: I2c9e0ce35e755c23d8292749828d15a87109d6dc
ayoutlib/bridge/src/android/content/res/BridgeTypedArray.java
7b13c4d8ecc517ae64cc5bd14c40eaef29e8281c 02-Oct-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Always resolve enum when resolving resources." into lmp-dev
409bd3d77491359195b2c247d2863c26ca5a3c98 19-Sep-2014 Deepanshu Gupta <deepanshu@google.com> Resource resolution bug fix. [DO NOT MERGE]

Fix a bug where "?attr/foo" in framework resources wasn't resolved
properly.

Change-Id: I9a56974f526774fde79685f668f01021136d68f1
(cherry picked from commit 19c7842082d831ad432abe906f4c37c6ed08e414)
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
fea51feb5c1639398c9d3949f8086e322b6d5f44 19-Sep-2014 Deepanshu Gupta <deepanshu@google.com> Fix Tests after cherry picks. [DO NOT MERGE]

1. Updated the intelliJ run configuration for the layoutlib_create tool.
2. Updated the code to search for the platform.dir.
3. Update tests to use AppTheme and Target SDK 19

Change-Id: I6f1cc6ff2a53e4474c746537029c7f89c6dd6dc1
(cherry picked from commit 8592eeafd01370d1a17e34602290becf7f611c75)
ayoutlib/.idea/runConfigurations/Create.xml
ayoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/Main.java
98a03e771e405b434131a91f4efc040149dee40d 13-Aug-2014 Deepanshu Gupta <deepanshu@google.com> Update intelliJ copyright profile [DO NOT MERGE]

Change-Id: Ib9386b686cb24e1f187d0b636b59b4b13d59bbcd
(cherry picked from commit 91fa62ac67a5e294124b5bfb70b35addc7687c34)
ayoutlib/.idea/copyright/profiles_settings.xml
039d5849ea3acd011e0c3dc75e1cfa24e0162b49 09-Sep-2014 Deepanshu Gupta <deepanshu@google.com> Build layoutlib create tests as part of sdk build. [DO NOT MERGE]

LayoutLib Create tests are now built whenever LayoutLib create is built.

Change-Id: Id215e8690e435019579dba1734090a0d585f37e1
(cherry picked from commit 4efe6264f1251fa200427f54ea6f5dd4c4d03665)
ayoutlib/create/Android.mk
6fb5fdc23364f922cb2c554f52b6927925d1fb15 05-Sep-2014 Deepanshu Gupta <deepanshu@google.com> Add layoutlib tests to DIST_DIR [DO NOT MERGE]

Add the layoutlib and layoutlib-create tests to DIST_DIR for sdk
targets. These can be used for continuous testing on the build server.

Change-Id: I747dddcddfd8009937668bec4d75cb99bf63235f
(cherry picked from commit f9c749c9901c459f77ffc6f4fbbc15f4142c6e0a)
ayoutlib/bridge/tests/Android.mk
ayoutlib/create/tests/Android.mk
bd4133133a55d0cf6a36bb39e89cfd09078d01e9 03-Sep-2014 Deepanshu Gupta <deepanshu@google.com> Build layoutlib_create tests. [DO NOT MERGE]

Change-Id: Ia13a090f8ec29b2b2a107825b6a13d7db77e6d61
(cherry picked from commit 2294f939bc79ce902a40db37def64cc28394d56b)
ayoutlib/create/tests/Android.mk
3f0e467a0627b435493e5f45d672421bfb931c22 25-Aug-2014 Deepanshu Gupta <deepanshu@google.com> Remove ANDROID_BUILD_TOP from intelliJ path variables. [DO NOT MERGE]

The variable is not actually needed and it makes working with different
API levels a lot easier since everything now depends on $PROJECT_DIR$.

This change also makes the tests more robust by improving the way it
tries to find the SDK.

Change-Id: I3502ad4a0ba85fd88b497e47964fddb2a89e520c
(cherry picked from commit 5377695d4ecf3cc6dc1abe59bbfca63f6137b722)
ayoutlib/.idea/libraries/asm_4_0.xml
ayoutlib/.idea/libraries/framework_jar.xml
ayoutlib/.idea/libraries/guava.xml
ayoutlib/.idea/libraries/icu4j.xml
ayoutlib/.idea/libraries/kxml2_2_3_0.xml
ayoutlib/.idea/libraries/layoutlib_api_prebuilt.xml
ayoutlib/.idea/libraries/ninepatch_prebuilt.xml
ayoutlib/.idea/libraries/tools_common_prebuilt.xml
ayoutlib/.idea/runConfigurations/All_in_bridge.xml
ayoutlib/.idea/runConfigurations/Create.xml
ayoutlib/.idea/vcs.xml
ayoutlib/bridge/bridge.iml
ayoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/Main.java
2f3715aaaa79d1a1aa329860d28ae9f5628a132b 04-Aug-2014 Deepanshu Gupta <deepanshu@google.com> Get filename from File faster [DO NOT MERGE]

Use the direct call from a File object to get the filename instead of
going through Path which depends on Java 7 making the LayoutLib tests
incompatible with Java 6.

Change-Id: I815895eedbc10245ee09bdb53b11e5548b076aad
(cherry picked from commit 7dbf91fee96790fbeb9858740be1bb375f29ecb5)
ayoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/Main.java
b6a37d897aca9d09a09d5c4fa9e60f6f43d6a166 31-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Add testing framework to LayoutLib. [DO NOT MERGE]

This change adds an end to end test which loads the framework resources
and a test app and ensures that no exceptions or warnings are thrown.

The change also adds project configuration for intelliJ.

Change-Id: I7b67c0f1a2af2dac95df7f3231cab537b9826d7d
(cherry picked from commit a8e9517470869fa29946ae1fa1ceeb24c7970391)
ayoutlib/.gitignore
ayoutlib/.idea/.name
ayoutlib/.idea/codeStyleSettings.xml
ayoutlib/.idea/compiler.xml
ayoutlib/.idea/copyright/Android.xml
ayoutlib/.idea/copyright/profiles_settings.xml
ayoutlib/.idea/encodings.xml
ayoutlib/.idea/inspectionProfiles/Project_Default.xml
ayoutlib/.idea/inspectionProfiles/profiles_settings.xml
ayoutlib/.idea/libraries/asm_4_0.xml
ayoutlib/.idea/libraries/framework_jar.xml
ayoutlib/.idea/libraries/guava.xml
ayoutlib/.idea/libraries/icu4j.xml
ayoutlib/.idea/libraries/kxml2_2_3_0.xml
ayoutlib/.idea/libraries/layoutlib_api_prebuilt.xml
ayoutlib/.idea/libraries/ninepatch_prebuilt.xml
ayoutlib/.idea/libraries/tools_common_prebuilt.xml
ayoutlib/.idea/misc.xml
ayoutlib/.idea/modules.xml
ayoutlib/.idea/runConfigurations/All_in_bridge.xml
ayoutlib/.idea/runConfigurations/All_in_create.xml
ayoutlib/.idea/runConfigurations/Create.xml
ayoutlib/.idea/scopes/scope_settings.xml
ayoutlib/.idea/uiDesigner.xml
ayoutlib/.idea/vcs.xml
ayoutlib/bridge/.classpath
ayoutlib/bridge/bridge.iml
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/tests/Android.mk
ayoutlib/bridge/tests/res/testApp/MyApplication/.gitignore
ayoutlib/bridge/tests/res/testApp/MyApplication/build.gradle
ayoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/BuildConfig.class
ayoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/MyActivity.class
ayoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/R$attr.class
ayoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/R$dimen.class
ayoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/R$drawable.class
ayoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/R$id.class
ayoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/R$layout.class
ayoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/R$menu.class
ayoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/R$string.class
ayoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/R$style.class
ayoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/R.class
ayoutlib/bridge/tests/res/testApp/MyApplication/gradle.properties
ayoutlib/bridge/tests/res/testApp/MyApplication/gradle/wrapper/gradle-wrapper.jar
ayoutlib/bridge/tests/res/testApp/MyApplication/gradle/wrapper/gradle-wrapper.properties
ayoutlib/bridge/tests/res/testApp/MyApplication/gradlew
ayoutlib/bridge/tests/res/testApp/MyApplication/gradlew.bat
ayoutlib/bridge/tests/res/testApp/MyApplication/proguard-rules.pro
ayoutlib/bridge/tests/res/testApp/MyApplication/src/androidTest/java/com/android/layoulib/test/myapplication/ApplicationTest.java
ayoutlib/bridge/tests/res/testApp/MyApplication/src/main/AndroidManifest.xml
ayoutlib/bridge/tests/res/testApp/MyApplication/src/main/java/com/android/layoutlib/test/myapplication/MyActivity.java
ayoutlib/bridge/tests/res/testApp/MyApplication/src/main/res/drawable/ic_launcher.xml
ayoutlib/bridge/tests/res/testApp/MyApplication/src/main/res/layout/activity.xml
ayoutlib/bridge/tests/res/testApp/MyApplication/src/main/res/layout/layout.xml
ayoutlib/bridge/tests/res/testApp/MyApplication/src/main/res/menu/my.xml
ayoutlib/bridge/tests/res/testApp/MyApplication/src/main/res/values/dimens.xml
ayoutlib/bridge/tests/res/testApp/MyApplication/src/main/res/values/strings.xml
ayoutlib/bridge/tests/res/testApp/MyApplication/src/main/res/values/styles.xml
ayoutlib/bridge/tests/src/android/graphics/Matrix_DelegateTest.java
ayoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParserTest.java
ayoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/Main.java
ayoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/ConfigGenerator.java
ayoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/LayoutLibTestCallback.java
ayoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/LayoutPullParser.java
ayoutlib/create/create.iml
23f09423cb2cb59333d2f410e89534f0a08ac424 27-Feb-2014 Deepanshu Gupta <deepanshu@google.com> Add tests to the layoutlib eclipse project. [DO NOT MERGE]

Specify the test folder in the layoutlib/bridge eclipse project.

Also add the sourcepath for layoutlib-api-prebuilt.jar

Change-Id: I194ed182618e564388d6df645e2de7f59897fa1e
(cherry picked from commit 36acf8baebc9ab72b3b5fe75d865399ddf7b0132)
ayoutlib/bridge/.classpath
c9d32390e59d99c76b79edd247a1127088ce81ec 07-May-2014 Andrew Hsieh <andrewhsieh@google.com> include direct.h for _mkdir

Bug: 14416410

The new mingw-w64 toolchain x86_64-w64-mingw32-4.8 no longer
declares _mkdir in io.h.

Change-Id: I624b52d2f35db54a7f28df09f997fc883b0f0557
apt/CacheUpdater.h
idl/aidl.cpp
171804201dd556f8ce7ee7618661a5c8ee71507a 29-Sep-2014 Deepanshu Gupta <deepanshu@google.com> Always resolve enum when resolving resources.

Enums were resolved only for integers and dimensions. This change
resolves enums for all resource types. Well, almost all. For color and
colorStateList, enums are still not referenced.

Bug: http://b.android.com/76091
Change-Id: Ie43bd1b54fb9877655d31773bdf71d9a6a65c473
ayoutlib/bridge/src/android/content/res/BridgeTypedArray.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
8d5a15b69160aed1c6239283508b6c113df233fe 27-Sep-2014 Deepanshu Gupta <deepanshu@google.com> Update time in layout preview

Change-Id: Ic32a9cb1f20b472c6898a5f370d8578c011a09bf
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/Config.java
803a59cae71f8b5a76a48c73579ee6d3d34a78f7 26-Sep-2014 Deepanshu Gupta <deepanshu@google.com> Fix error when using list as actionBarNavMode. [DO NOT MERGE]

A bug in the framework leads to the wrong argument being passed to
defStyleRes when obtaining styled attributes. The framework however just
ignores the attribute in such a case. LayoutLib logs an error to help
developers find bugs in their code.

The bug was seen when using list as the actionBarNavMode.

This change ignores the attribute if it detects that it's the framework
bug. Also, we change the error to a warning.

Change-Id: I58e1fe4469de0329a27b577d75c0a59c48d0381b
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
978ab9d92934b79409638cf220de3002fea8d505 25-Sep-2014 Adam Lesinski <adamlesinski@google.com> AAPT: Fix issue with synthesized resource not actually showing up

AAPT keeps around a few pieces of state that are disjoint, so
simply adding to a collection won't add the resource to the final
flattened output. Instead, we create the resource from the top
and then copy over the values into the newly created resource.

Bug:17647890
Change-Id: I214263e84c18f9370c6e6a5aa53aa2d833fc842d
apt/ResourceTable.cpp
apt/ResourceTable.h
2b7ee9a18e98640634167e18c6d3be1249da1577 22-Sep-2014 Adam Lesinski <adamlesinski@google.com> Merge "AAPT: Continuation of public/private attribute fix" into lmp-dev
e572c011feabf6319ba836cf5bc4c3baa0ba6a85 20-Sep-2014 Adam Lesinski <adamlesinski@google.com> AAPT: Continuation of public/private attribute fix

XML files like layouts are now scanned and checked
for v21 attributes. If those kinds of attributes
are found, then we remove them in the original
version and synthesize a new xml file under the
v21 configuration.

Bug:17520380
Change-Id: Icf984cb96134180a2e35349c1dbf2cef9a8f0bda
apt/AaptAssets.h
apt/Images.cpp
apt/Images.h
apt/Main.h
apt/Resource.cpp
apt/ResourceTable.cpp
apt/ResourceTable.h
apt/XMLNode.cpp
apt/XMLNode.h
b6812b64c42ee15a1afa295fe341103fe02006ae 19-Sep-2014 Adam Lesinski <adamlesinski@google.com> Merge "Fix backwards compat problem with AAPT public attrs" into lmp-dev
82a2dd8efe48d3a4e04655f01329da857ace4b7d 18-Sep-2014 Adam Lesinski <adamlesinski@google.com> Fix backwards compat problem with AAPT public attrs

AAPT has traditionally assigned resource IDs to public attributes,
and then followed those public definitions with private attributes.

--- PUBLIC ---
| 0x01010234 | attr/color
| 0x01010235 | attr/background

--- PRIVATE ---
| 0x01010236 | attr/secret
| 0x01010237 | attr/shhh

Each release, when attributes are added, they take the place of the private
attributes and the private attributes are shifted down again.

--- PUBLIC ---
| 0x01010234 | attr/color
| 0x01010235 | attr/background
| 0x01010236 | attr/shinyNewAttr
| 0x01010237 | attr/highlyValuedFeature

--- PRIVATE ---
| 0x01010238 | attr/secret
| 0x01010239 | attr/shhh

Platform code may look for private attributes set in a theme. If an app
compiled against a newer version of the platform uses a new public
attribute that happens to have the same ID as the private attribute
the older platform is expecting, then the behavior is undefined.

We get around this by detecting any newly defined attributes (in L),
copy the resource into a -v21 qualified resource, and delete the
attribute from the original resource. This ensures that older platforms
don't see the new attribute, but when running on L+ platforms, the
attribute will be respected.

We still need to address this problem in the platform moving forward,
as this will only help us in the transition from pre L to L.

Bug:17520380
Change-Id: Ia2a985798b50006c21c7c3431d30d9598f27cd91
apt/Resource.cpp
apt/ResourceTable.cpp
apt/ResourceTable.h
bc1944560ca6fe96ad7d2170c13b823f90cd48fd 16-Sep-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Build LayoutLib tests with Java 6" into lmp-dev
0f6e5d2ab775d23961a460b289030cf4db841a03 16-Sep-2014 Deepanshu Gupta <deepanshu@google.com> Build LayoutLib tests with Java 6

Build the layoutlib tests with Java 6, so that we can test LayoutLib on
Java 6 also.

Change-Id: I8ab344af29c880dafdc195d8b061a1d08e724e26
ayoutlib/bridge/tests/Android.mk
8d4e6cb06005a2ce994360340a6191f0690db8f4 14-Sep-2014 John Spurlock <jspurlock@google.com> Saver: PowerManager call to set low power mode.

- Add an explicit power manager call to set the low power mode state,
instead of trying manage everything around a single setting.
- When low-power mode is triggered by falling below the configured
threshold, it does not update the setting.
- The "is-enabled" api returns setting || below configured trigger.
- Move the snooze management into the new api call.
- Callers (sysui + settings) updated to use the api instead of the
setting.
- Handles the case where the level does an unpowered leap out of the
low battery level. (Possible if powered in-between while the device
is off)

Bug:17460535
Change-Id: Ic030504c9cad9868a7137abbe837b170da37852b
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java
a0a946647611ea0477c9a25b3d9621fab4cfaaf3 11-Sep-2014 Marcin Kosiba <mkosiba@google.com> Merge "Don't use reflection when generating the onResourcesLoaded callback." into lmp-dev
0f3a5a6559a955ea20f1ae2d3e0995f3fa821c90 11-Sep-2014 Marcin Kosiba <mkosiba@google.com> Don't use reflection when generating the onResourcesLoaded callback.

BUG: 17466240
Change-Id: I74608f3d8b3617281639a9d387face97e15fb616
apt/Command.cpp
apt/Resource.cpp
820ce63cea8b458bf96b002accab99acb2f49c0a 11-Sep-2014 Deepanshu Gupta <deepanshu@google.com> Merge "LayoutLib: support font weights." into lmp-dev
145bc2d067faa3fb49b71e9e8c8c70b40564061a 28-Aug-2014 Deepanshu Gupta <deepanshu@google.com> LayoutLib: support font weights.

Also fixes a shader delegate method.

Change-Id: I86be80ab55d04760084d5bf39235f2ee4de7be23
ayoutlib/bridge/src/android/graphics/FontFamily_Delegate.java
ayoutlib/bridge/src/android/graphics/Shader_Delegate.java
ayoutlib/bridge/src/android/graphics/Typeface_Delegate.java
d5adbec5271dca42d0f937b1c869601786cc2ad3 10-Sep-2014 Dianne Hackborn <hackbod@google.com> Merge "Fix build." into lmp-dev
f5cc3644f6d246138d22f35d00f1ce562cd715d5 10-Sep-2014 Dianne Hackborn <hackbod@google.com> Fix build.

Change-Id: I92eabc35168acfe58641917179be0d90a14f2f11
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowSession.java
e7ad74f070559336e9ad67897553e34a9c584242 10-Sep-2014 Adam Lesinski <adamlesinski@google.com> Merge "AAPT: Don't crash on illegal symbol name" into lmp-dev
3fb8c9b50ef1873454acf3a4e7fd33ad182c03d7 10-Sep-2014 Adam Lesinski <adamlesinski@google.com> AAPT: Don't crash on illegal symbol name

We never checked the return value when adding a nested
symbol, which would be NULL if the symbol name was invalid.

External bug: https://code.google.com/p/android/issues/detail?id=75876

Change-Id: I5211f4d4b87897d52f2b6e5907113d31930bb92d
apt/ResourceTable.cpp
8f92d92a0992456b56f3d552531129c787db7a08 09-Sep-2014 Deepanshu Gupta <deepanshu@google.com> Build layoutlib create tests as part of sdk build.

LayoutLib Create tests are now built whenever LayoutLib create is built.

Change-Id: Id215e8690e435019579dba1734090a0d585f37e1
ayoutlib/create/Android.mk
8d29a06ad770d52ba4e62d0991efd8325c0eadfd 09-Sep-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Update IntelliJ project file for IntelliJ 14" into lmp-dev
93b828de58f02ab85371cb1eaa7f1a23a03a609e 09-Sep-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Add layoutlib tests to DIST_DIR" into lmp-dev
fa4e214814b795350366225b76e1ae6e3224b91d 09-Sep-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Remove warning for null entries in resource array." into lmp-dev
8c766fea936121e311745099adea1efc03d0d199 08-Sep-2014 Deepanshu Gupta <deepanshu@google.com> Update IntelliJ project file for IntelliJ 14

IntelliJ keeps reordering the options this way each time the project is
opened.

Change-Id: I0e19b5b0a858b3fa9a1134b883ed5180c4ef146e
ayoutlib/.idea/codeStyleSettings.xml
2e7f3bdcc9ec0b3e95b565b943ecee2210f4b937 05-Sep-2014 Winson Chung <winsonc@google.com> Removing unnecessary delays, ensuring transition thumbnail is the size of the header. (Bug. 16987565)

Change-Id: Ic104876c5fe16997eca00e0a2b3d8644c927120c
ayoutlib/bridge/src/android/view/IWindowManagerImpl.java
a0904bf7aa0ec7a954b5740c67bd922171c72ca1 05-Sep-2014 Deepanshu Gupta <deepanshu@google.com> Add layoutlib tests to DIST_DIR

Add the layoutlib and layoutlib-create tests to DIST_DIR for sdk
targets. These can be used for continuous testing on the build server.

Change-Id: I747dddcddfd8009937668bec4d75cb99bf63235f
ayoutlib/bridge/tests/Android.mk
ayoutlib/create/tests/Android.mk
8b9c97a4e27364750d4ca72ec724596c5bc93d32 05-Sep-2014 Jeff Sharkey <jsharkey@android.com> Merge changes I10ab0b4a,Id32dcbd5 into lmp-dev

* changes:
Catch incompatible API regressions.
Add blame to API lint, some exemptions.
037458a5bac2968eb0415c408d68c013d177ea3e 05-Sep-2014 Jeff Sharkey <jsharkey@android.com> Catch incompatible API regressions.

Ignore deprecation, synchronized, and throws definitions. Look
through full inheritance hierarchy to catch refactored classes like
BaseBundle.

Change-Id: I10ab0b4a0ef64e7508f38d0c223f08711293d643
pilint/apilint.py
cd0bb17d30e360c44e03b33bae3d42114b8cc2fb 04-Sep-2014 Deepanshu Gupta <deepanshu@google.com> Remove warning for null entries in resource array.

Change-Id: I32e0b8129e29f3e1e5a472b26e16f3fd06d4b91b
ayoutlib/bridge/src/android/content/res/BridgeTypedArray.java
1498f9c615395de17e11204b962d7d925e5f222d 04-Sep-2014 Jeff Sharkey <jsharkey@android.com> Add blame to API lint, some exemptions.

Now offers to parse the output of git blame, and includes the last
person to modify that API for each reported failure.

Add more exemptions, and check for boolean setFoo() method inside a
separate Builder inner class.

Change-Id: Id32dcbd5edf17d2360e4f782110bc1c445f7936e
pilint/apilint.py
a780eee46244062d699f76875fd05775c2ee92de 04-Sep-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Resolve color xml attributes properly. [DO NOT MERGE]" into klp-modular-dev
708df7bc45bc29bac3f2a7ed448249a9417df6c0 04-Sep-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Remove ANDROID_BUILD_TOP from intelliJ path variables." into lmp-dev
db0b8a1997ef64536d27744e261e6bf094019f76 04-Sep-2014 Deepanshu Gupta <deepanshu@google.com> Merge "enums in dimension attributes." into lmp-dev
351ed32961365c735713ee68c71fc007f532f752 04-Sep-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Null out "@null" attributes." into lmp-dev
bcbe8fcdb1a285d2d26ae29496f2ea604836bb4e 04-Sep-2014 Deepanshu Gupta <deepanshu@google.com> Merge "LayoutLib: Fix warnings in ResourceHelper." into lmp-dev
a7c2419ec9ea8f5bdc45e67cbd8866be1d4c7e41 04-Sep-2014 Deepanshu Gupta <deepanshu@google.com> Merge "LayoutLib: Allow '+' in float attributes." into lmp-dev
d75edc41a608e2f60ceffa590089d08faaa12e51 04-Sep-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Fix invalid conditional check." into lmp-dev
8a2ff1ecd990d8d3a99359088393e9efe0bace21 04-Sep-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Build layoutlib_create tests." into lmp-dev
b988c8fa66f35a3f046ee9066ed0dc0f2b4c495b 03-Sep-2014 Deepanshu Gupta <deepanshu@google.com> Build layoutlib_create tests.

Change-Id: Ia13a090f8ec29b2b2a107825b6a13d7db77e6d61
ayoutlib/create/tests/Android.mk
1a12b805698c7cba9c2daa78c76c055afbdfa9fc 27-Aug-2014 Deepanshu Gupta <deepanshu@google.com> LayoutLib: Fix warnings in ResourceHelper.

Fix intelliJ warnings in ResourceHelper. Most of them just change
boolean checks "x == false" with "!x".

Change-Id: I278645e2807affd8b3183a4a6f5e4fa2ab7b3d21
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
458f2a7bbbcc45d12b575fe9f3b2f8e1a20f9b1c 27-Aug-2014 Deepanshu Gupta <deepanshu@google.com> LayoutLib: Allow '+' in float attributes.

Earlier change to fix the invalid conditional check inadvertedly
disallowed '+'.

Change-Id: I75a37926681fe3a496482d6fb75161ac75326109
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
294f0de15b510afc06a436bf7cd45d99512c71d3 30-Aug-2014 Jeff Sharkey <jsharkey@android.com> More API lint checks.

When offering a helper Service, etc, all platform provided methods
should be marked final. Otherwise, if available for developer to
override, they should follow onFoo() style naming.

Catch anyone returning concrete collections types, and look for
overlapping flags.

Change-Id: I29d95f3dff78a4da968a46f10be89eada509648c
pilint/apilint.py
5283faba4a75a4d1fd9990637d22768e423895e3 29-Aug-2014 Adam Lesinski <adamlesinski@google.com> Change platformBuildVersionCode to name in aapt dump badging

Change-Id: Ie3972105b3f6a727682f91851f7a99b05bb28e1a
apt/Command.cpp
b32063822bfd60a00e20318f641e26fd0007dc1b 29-Aug-2014 Adam Lesinski <adamlesinski@google.com> Merge "Stamp platform version code into app Apks" into lmp-dev
932a07cefea64e858fc999da4be577b10b59fd9f 29-Aug-2014 Jeff Sharkey <jsharkey@android.com> Teach API lint about package layering!

Now it can identify layering violations, like when something deep in
android.os depends on android.app.

Change-Id: I94606c642195b3ed7558ff6979ed4a181cd85fa2
pilint/apilint.py
8190f4885b3eb34231877003a583116a0e82826e 28-Aug-2014 Jeff Sharkey <jsharkey@android.com> Lint tool for current.txt.

Detects common public API mistakes, making it easy to quickly scan
across all changes in a new API level.

Builds in-memory representation of the current API, then runs various
detectors over the classes. It collects failures, and can ignore
known failures from a previous API level.

Example usage:

$ python frameworks/base/tools/apilint/apilint.py \
frameworks/base/api/current.txt \
prebuilts/sdk/api/21.txt

Change-Id: Ie1f88894baf9f79e4b11e78c47f848ea5e25fc25
pilint/apilint.py
ad2d07d2d98a46babb2a9472413fe9ce5080ca76 28-Aug-2014 Adam Lesinski <adamlesinski@google.com> Stamp platform version code into app Apks

The versionCode of theframework resources that an app is built against
gets stamped inside an app's AndroidManifest.xml in the <manifest>
tag as "platformBuildVersionCode" and "platformBuildVersionName"
attributes.

Bug:17207635
Change-Id: Id573c3dffcbca38eec9c0eb3e89f4a547e3361d3
apt/AaptAssets.cpp
apt/AaptAssets.h
apt/AaptXml.cpp
apt/AaptXml.h
apt/Android.mk
apt/Bundle.h
apt/Command.cpp
apt/Main.h
apt/Resource.cpp
ca22ba9eafe4193d213c5897f9303d02062effb4 27-Aug-2014 Deepanshu Gupta <deepanshu@google.com> Fix invalid conditional check.

The check was always false. This wasn't really a problem since the regex
check later took care of it. But it's just wrong to leave such mistakes
in the code once they are noticed.

Change-Id: I84270a96141428bf15949ce8c881d2e4a2aa95f6
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
bc34eb11f67c46b0808d2a65628077faed0eefb0 26-Aug-2014 Deepanshu Gupta <deepanshu@google.com> enums in dimension attributes.

enums in resources were only read for integer attributes. This change
parses the enums for dimension resources also. This also means that we
don't have to hardcode the resolution for match_parent and wrap_content.

TODO: Fix this for all resource types.

Bug: http://b.android.com/75285
Change-Id: I86752b2322ea017499942a87568ba5c54b8654e4
ayoutlib/bridge/src/android/content/res/BridgeTypedArray.java
3aa6076083f09a3c6c25726a14efb1ea5af8c044 26-Aug-2014 Adam Lesinski <adamlesinski@google.com> Merge "Have R classes generate their own reference rewrite logic" into lmp-dev
5c1b42e4f5d7307ad09d0d7ad094adf34650fb62 26-Aug-2014 Winson Chung <winsonc@google.com> Merge "Multiple performance changes to speed recents invocation/app launching time. (Bug 16987565)" into lmp-dev
d4cf391c618e5f370f2cfd9f344baa895d5d3242 26-Aug-2014 Deepanshu Gupta <deepanshu@google.com> Null out "@null" attributes.

Remove references to the resourceValue for "@null". This saves needless
checking for "@null" every time an attribute is requested.

Change-Id: I816e78619fa0b1ddcacd1ef5ac90765e30a9a44c
ayoutlib/bridge/src/android/content/res/BridgeTypedArray.java
1e466385d4a4f1acee080fa0fdf16cc8fd8ce7ca 15-Aug-2014 Adam Lesinski <adamlesinski@google.com> Have R classes generate their own reference rewrite logic

Change-Id: I0e5b8311fc3479d966a49f9acf0d4c32a6a024d3
apt/Command.cpp
apt/IndentPrinter.h
apt/Main.h
apt/Resource.cpp
a4ccb86ddc8f9f486aee25fb836f4aff97bf7679 23-Aug-2014 Winson Chung <winsonc@google.com> Multiple performance changes to speed recents invocation/app launching time. (Bug 16987565)

- Reverting changes to the existing thumbnail transition to prevent breaking applications
that currently depend on that transition. As a result, we need to create a new, hidden,
aspect-scaled thumbnail transition, and instead use that thumbnail to animate the
recents header so that we don't have to wait to do that inside the Recents activity.

In order for this to work, we also have to ensure that the thumbnail surface destruction
is synchronized with the application that is currently closing (when going down to
recents) or opening (when coming back up). The current thumbnail is destroyed when the
animation ends, but that can be at least 1 frame before the surface for the animating
window is destroyed. We change this by deferring destruction of this thumbnail window
to the animation that is being closed.

Especially on the way up, not having to wait for us to hide the header before doing the
transition up can save us the duration of that first animation (> 100ms).

- Other optimizations:
* No longer creating a new stack view on each transition to calculate the target rect
* Removing unnecessary call to get the thumbnail when transitioning up/down (the actual
window does its own animation.
* We reduced numerous system calls per task by adding a flag to ignore home-stack tasks
and caching the activity label and icon (and task description icon). These caches
follow the same eviction schemes as the thumbnail and icon cache.

- Also tweaked the touch slop for the nav bar swiping gesture to prevent conflicting with
tapping on home (Bug 17109581)

Change-Id: Ica697aad788051a9203edd9351c583e1cb038a71
ayoutlib/bridge/src/android/view/IWindowManagerImpl.java
ffee9b2740986560a507fc9726c2e4e2eba5db7f 20-Aug-2014 Deepanshu Gupta <deepanshu@google.com> Fix "@null" resource values in LayoutLib. [DO NOT MERGE]

Bug: http://b.android.com/74072
Change-Id: Ib84906d86772ac3df2407e71ad2167797bec4542
(cherry picked from commit c9cd725f1013bed27e6f6594b176c10a6a4c0f16)
ayoutlib/bridge/src/android/content/res/BridgeTypedArray.java
31245b4f06003f1c8cd44c31b387c96ab4e282f9 23-Aug-2014 Adam Lesinski <adamlesinski@google.com> Introduce anydpi density resource qualifier

This is meant to be used with scaleable vector
drawables, and are chosen as the best match unless
there is a configuration that matches the density
requested exactly.

Bug:17007265
Change-Id: Ic3288d0236fe0bff20bb1599aba2582c25b0db32
apt/AaptConfig.cpp
apt/Bundle.h
cc7ccc3fc1ea8e287a532b34d4d54ec97bf5aaa8 09-Aug-2014 Deepanshu Gupta <deepanshu@google.com> Resolve color xml attributes properly. [DO NOT MERGE]

Color attributes were not being converted to int properly. The
conversion to int was a simple string to int using base 16. This change
resolves the colors as per #RGB, #ARGB, #RRGGBB or #AARRGGBB format
depending on the length of the attribute. All values that begin with '#'
are treated as colors.

Bug: http://b.android.com/73845
Change-Id: I8ad089b821af1e290b9b95771b50213fe2fdd784
(cherry picked from commit 81564dfe60020fa977d39d168f682e9d61825660)
ayoutlib/bridge/src/android/util/BridgeXmlPullAttributes.java
0774bc4605fdd47178cc38258d1b4c40ae113b2f 25-Aug-2014 Deepanshu Gupta <deepanshu@google.com> Remove ANDROID_BUILD_TOP from intelliJ path variables.

The variable is not actually needed and it makes working with different
API levels a lot easier since everything now depends on $PROJECT_DIR$.

This change also makes the tests more robust by improving the way it
tries to find the SDK.

Change-Id: I3502ad4a0ba85fd88b497e47964fddb2a89e520c
ayoutlib/.idea/libraries/asm_4_0.xml
ayoutlib/.idea/libraries/framework_jar.xml
ayoutlib/.idea/libraries/guava.xml
ayoutlib/.idea/libraries/icu4j.xml
ayoutlib/.idea/libraries/kxml2_2_3_0.xml
ayoutlib/.idea/libraries/layoutlib_api_prebuilt.xml
ayoutlib/.idea/libraries/ninepatch_prebuilt.xml
ayoutlib/.idea/libraries/tools_common_prebuilt.xml
ayoutlib/.idea/runConfigurations/All_in_bridge.xml
ayoutlib/.idea/runConfigurations/Create.xml
ayoutlib/.idea/vcs.xml
ayoutlib/bridge/bridge.iml
ayoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/Main.java
a5cc002bfe7ca8a6536549189b44e7143c8611dc 22-Aug-2014 Adam Lesinski <adamlesinski@google.com> AAPT: Filtering resource fix

Previously, when filtering resources from an APK using
-c option, if one qualifier matched, we would keep the resource.
However, in the case of something like

-c fr-FR,sw360dp

and with a resource in the APK like so

drawable-fr-FR-sw600dp-v13

we would want this resource to be excluded, as it does not
match the sw360dp qualifier (must be less than or equal to it).

This CL fixed the behavior of the filter to require that all
defined qualifier axis be matched.

Bug:17142358
Change-Id: Ie48f3d516a0e610abc7ba8a7ced4eb3ab52534d4
apt/ResourceFilter.cpp
apt/ResourceFilter.h
apt/tests/ResourceFilter_test.cpp
caf797c84a6a2829662872e0df93fcd61da78d51 22-Aug-2014 Adam Lesinski <adamlesinski@google.com> AAPT: Dump installLocation in badging

Bug:17033144
Change-Id: I87dea9af47eef8bcba1465df9b49e355ac6346ec
apt/Command.cpp
d255aba09337bf81c3cc277e978f6664699a54b7 22-Aug-2014 Adam Lesinski <adamlesinski@google.com> Merge "Add better error message for AAPT file conflicts" into lmp-dev
27f69f4e06961fdecd1078b2292d764a157e5e1c 21-Aug-2014 Adam Lesinski <adamlesinski@google.com> AAPT: mipmaps should not end up in Splits

Mipmaps are never filtered, and so they will always
end up in the base APK. Make sure they get omitted from
any split.

Change-Id: Id24b082bc9bd2d3f031a58bd0de4d30b4f0de7e0
apt/Resource.cpp
apt/ResourceTable.cpp
apt/ResourceTable.h
apt/tests/ResourceFilter_test.cpp
48f05d29f398576c76b2c3b47a22f4e44e8919fc 13-May-2014 Adam Lesinski <adamlesinski@google.com> Add better error message for AAPT file conflicts

Some resource directories may be the same even though
their names are different. For instance, the
"smallest width" qualifier was added in API 13,
so the resource directory "values-sw600dp" and
"values-sw600dp-v13" are the same and cause
a conflict. The error reports that this might be the
case.

Change-Id: Ia35f1d670edd48265b3a7fe3d55656128421f612
apt/AaptAssets.cpp
6a7d2757a936ee79b8dba2055139c8b71130c58e 08-Aug-2014 Adam Lesinski <adamlesinski@google.com> Use the correct versionCode for Split APKs

Insert the correct versionCode into the generated
Split AndroidManifest.xml.

Change-Id: I0aec797b5a4ff8bd70f9394b18aee5ad292b37c8
apt/Resource.cpp
6022debdbcc4498736580640c6287b57872617a2 20-Aug-2014 Adam Lesinski <adamlesinski@google.com> AAPT: Fix regression generating dynamic ref table for shared libraries

AAPT stopped generating dynamic reference tables for shared libraries.

Change-Id: Ib0025811bdca1a4756eb21080dd6b6bb3fc1ca3d
apt/ResourceTable.cpp
486ed3da0a86e697ab018d25188fc5ccd60b4d35 20-Aug-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Fix "@null" resource values in LayoutLib." into lmp-dev
151b68ddc222d66b60b5447a60ab6e246a4d2ac0 20-Aug-2014 Deepanshu Gupta <deepanshu@google.com> Fix "@null" resource values in LayoutLib.

Bug: http://b.android.com/74072
Change-Id: Ib84906d86772ac3df2407e71ad2167797bec4542
ayoutlib/bridge/src/android/content/res/BridgeTypedArray.java
92973b8f37769c231c02e9a66fb96b555bd3e3d5 20-Aug-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Add time to status bar and fix wifi icon." into lmp-dev
553a4e91385111f20ddf426f81b3193b9e951762 15-Aug-2014 Deepanshu Gupta <deepanshu@google.com> Add time to status bar and fix wifi icon.

Add vector drawable for wifi icon. Also add time to the status bar.

Change-Id: I01da833087a607e9bb6ff085929e3844990179f8
ayoutlib/bridge/resources/bars/status_bar.xml
ayoutlib/bridge/resources/bars/v21/hdpi/stat_sys_wifi_signal_4_fully.png
ayoutlib/bridge/resources/bars/v21/mdpi/stat_sys_wifi_signal_4_fully.png
ayoutlib/bridge/resources/bars/v21/xhdpi/stat_sys_wifi_signal_4_fully.png
ayoutlib/bridge/resources/bars/v21/xhdpi/stat_sys_wifi_signal_4_fully.xml
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/Config.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/StatusBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/TitleBar.java
43a0df04b0826ffb9e4589aac73b07b0c98abe8c 19-Aug-2014 Adam Lesinski <adamlesinski@google.com> Allow enum generated IDs to reuse existing IDs

Change-Id: Ida5dbbce1c4ecb0a4e57511555cec6448737be25
apt/ResourceTable.cpp
ad751224401564dcc8338df3d5c4c5de7722be8f 18-Aug-2014 Adam Lesinski <adamlesinski@google.com> Include build number in aapt version

Teams are constantly confused over which version of aapt
they are running. Include the build number from the
Android build system in the binary. Can be retrieved by executing
'aapt version'.

Change-Id: I9165c7d01f977344e143c2cb4dd963310ab28b72
apt/Android.mk
apt/Command.cpp
9a9a17eb07e748542dc8eff15daef1eccfa5717d 19-Aug-2014 Adam Lesinski <adamlesinski@google.com> Revert "Include build number in aapt version"

This reverts commit a7ce555ee82ed91345a54ee171dc9a415b65e134.

Change-Id: I1018747766963e75bec11ddb01ba6d138f133959
apt/Android.mk
apt/Command.cpp
71809ee7f63229d0ea4f6169922ddfbfee330fd2 18-Aug-2014 Adam Lesinski <adamlesinski@google.com> Include build number in aapt version

Teams are constantly confused over which version of aapt
they are running. Include the build number from the
Android build system in the binary. Can be retrieved by executing
'aapt version'.

Change-Id: Ie4692fb160c7cbe720a8e76b73e435170214fe0e
apt/Android.mk
apt/Command.cpp
6e8a98c8b75b0a9cc4910285747eb858a3c4a520 18-Aug-2014 Deepanshu Gupta <deepanshu@google.com> am a4ceb9e6: am 32faabbe: Layoutlib: Update wifi and battery icon for KK

* commit 'a4ceb9e64cd1ee6302e41c7799ebb6610af96d0e':
Layoutlib: Update wifi and battery icon for KK
e47fd129057b19862e94b89f9ba413b5ceaca498 16-Aug-2014 Adam Lesinski <adamlesinski@google.com> AAPT: Output only 64-bit arch when multiArch is true

When android:multiArch="true" in the <application> tag,
aapt dump badging should only output the 64-bit architecture
under the 'native-code' entry.

Other architectures will be emitted under the 'alt-native-code'
entry.

Bug:17061929
Change-Id: I8310b2388b06a2ed571e5e121e4989403082ba68
apt/Command.cpp
a4ceb9e64cd1ee6302e41c7799ebb6610af96d0e 16-Aug-2014 Deepanshu Gupta <deepanshu@google.com> am 32faabbe: Layoutlib: Update wifi and battery icon for KK

* commit '32faabbe14252397b35516caa9c0d0245bfcc719':
Layoutlib: Update wifi and battery icon for KK
32faabbe14252397b35516caa9c0d0245bfcc719 16-Aug-2014 Deepanshu Gupta <deepanshu@google.com> Layoutlib: Update wifi and battery icon for KK

Change-Id: Ic5c80e83366bb7672049a6bf726d11cf6717f400
(cherry picked from commit 59eedf528ca29a32b6d7f358f5076929f8fbb164)
ayoutlib/bridge/resources/bars/hdpi/stat_sys_battery_100.png
ayoutlib/bridge/resources/bars/hdpi/stat_sys_battery_charge_anim100.png
ayoutlib/bridge/resources/bars/hdpi/stat_sys_wifi_signal_4_fully.png
ayoutlib/bridge/resources/bars/hdpi/status_bar_background.9.png
ayoutlib/bridge/resources/bars/mdpi/stat_sys_battery_100.png
ayoutlib/bridge/resources/bars/mdpi/stat_sys_battery_charge_anim100.png
ayoutlib/bridge/resources/bars/mdpi/stat_sys_wifi_signal_4_fully.png
ayoutlib/bridge/resources/bars/mdpi/status_bar_background.9.png
ayoutlib/bridge/resources/bars/xhdpi/stat_sys_battery_100.png
ayoutlib/bridge/resources/bars/xhdpi/stat_sys_battery_charge_anim100.png
ayoutlib/bridge/resources/bars/xhdpi/stat_sys_wifi_signal_4_fully.png
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/StatusBar.java
91306bccf16715f0867a10f3537122179527f7c3 16-Aug-2014 Adam Lesinski <adamlesinski@google.com> Merge "Add FeatureGroup to PackageInfo" into lmp-dev
d3edfde51bd069a63e820282421d1a534fcf00ce 09-Aug-2014 Adam Lesinski <adamlesinski@google.com> Add FeatureGroup to PackageInfo

FeatureGroups replace top-level FeatureInfo objects.
FeatureGroups inherit top-level FeatureInfos but override
them if the feature names are the same.

Bug:16822121

Change-Id: I80b2cb778a0fbcb4521efce986fba641e0914290
apt/Command.cpp
apt/Resource.cpp
2cb761e3ddb9d68ab430013e9cd15ecaab9fbc62 15-Aug-2014 Adam Lesinski <adamlesinski@google.com> Fix assumption about DynamicRefTable in aapt

Packages without any resources should not expect to have
a DynamicRefTable.

Bug:16895517
Bug:17056720
Change-Id: Id006f6bdbf08f30505f6ba5982bc9d1b09db0f0a
apt/Command.cpp
47d86230823de5d372688dff2b6e363a607009a8 15-Aug-2014 Chris Craik <ccraik@google.com> Fix nine patch outline radius computation

bug:16852714
Change-Id: I475154c0f324fd2e2c8991415e0d8240c75663d8
apt/Images.cpp
6240840387335632fdc92d5d168f924e2f414dda 08-Aug-2014 Adam Lesinski <adamlesinski@google.com> Ensure that split names are valid

Generate valid split names for resource splits.
Validate split names for features.

Change-Id: I3040438af0156778c2bd66ddeffdf62fe9dcc9fc
apt/ApkBuilder.cpp
apt/ApkBuilder.h
apt/Resource.cpp
84a3e7aacf6dbeccf4afb36a29f2f069dca7d486 13-Aug-2014 Jorim Jaggi <jjaggi@google.com> Use different unlock animation when going to full shade

Also fixes a bug that the notify flag was not reset, and fix the
transition for the phone/camera affordance (in these cases, no
animation is needed).

Bug: 15991916
Change-Id: Idbb4fa40f86bda597cd66cc38da838ef4f75514d
ayoutlib/bridge/src/android/view/IWindowManagerImpl.java
a3a3775599d45a0246d70f3f65b06c36289baff7 14-Aug-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Update intelliJ copyright profile" into lmp-dev
aabf346d44933a5d3136160b8a02902f7eab93cd 14-Aug-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Add KitKat wifi and battery icons." into lmp-dev
84cc05cacd2786261b01d3be2364944c90765801 13-Aug-2014 Deepanshu Gupta <deepanshu@google.com> Add KitKat wifi and battery icons.

This adds wifi and battery icons for Gingerbread and KitKat. This also
improves the icon resolution code by extracting it out in its own class.
The resources are now organized such that each API level resource
directory is used as a backup for all API levels lower than itself.

Change-Id: I937c83638adcc9fa8cd407e0a3023c3abe95530d
ayoutlib/bridge/resources/bars/README
ayoutlib/bridge/resources/bars/status_bar.xml
ayoutlib/bridge/resources/bars/v11/README
ayoutlib/bridge/resources/bars/v11/hdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/v11/hdpi/ic_sysbar_home.png
ayoutlib/bridge/resources/bars/v11/hdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/v11/ldrtl-hdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/v11/ldrtl-hdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/v11/ldrtl-mdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/v11/ldrtl-mdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/v11/ldrtl-xhdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/v11/ldrtl-xhdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/v11/mdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/v11/mdpi/ic_sysbar_home.png
ayoutlib/bridge/resources/bars/v11/mdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/v11/xhdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/v11/xhdpi/ic_sysbar_home.png
ayoutlib/bridge/resources/bars/v11/xhdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/v18/hdpi/stat_sys_battery_100.png
ayoutlib/bridge/resources/bars/v18/hdpi/stat_sys_wifi_signal_4_fully.png
ayoutlib/bridge/resources/bars/v18/mdpi/stat_sys_battery_100.png
ayoutlib/bridge/resources/bars/v18/mdpi/stat_sys_wifi_signal_4_fully.png
ayoutlib/bridge/resources/bars/v18/xhdpi/stat_sys_battery_100.png
ayoutlib/bridge/resources/bars/v18/xhdpi/stat_sys_wifi_signal_4_fully.png
ayoutlib/bridge/resources/bars/v19/hdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/v19/hdpi/ic_sysbar_home.png
ayoutlib/bridge/resources/bars/v19/hdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/v19/hdpi/stat_sys_wifi_signal_4_fully.png
ayoutlib/bridge/resources/bars/v19/ldrtl-hdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/v19/ldrtl-hdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/v19/ldrtl-mdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/v19/ldrtl-mdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/v19/ldrtl-xhdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/v19/ldrtl-xhdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/v19/mdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/v19/mdpi/ic_sysbar_home.png
ayoutlib/bridge/resources/bars/v19/mdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/v19/mdpi/stat_sys_wifi_signal_4_fully.png
ayoutlib/bridge/resources/bars/v19/xhdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/v19/xhdpi/ic_sysbar_home.png
ayoutlib/bridge/resources/bars/v19/xhdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/v19/xhdpi/stat_sys_wifi_signal_4_fully.png
ayoutlib/bridge/resources/bars/v19/xxhdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/v19/xxhdpi/ic_sysbar_home.png
ayoutlib/bridge/resources/bars/v19/xxhdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/v19/xxhdpi/stat_sys_wifi_signal_4_fully.png
ayoutlib/bridge/resources/bars/v21/hdpi/stat_sys_battery_100.png
ayoutlib/bridge/resources/bars/v21/hdpi/stat_sys_battery_charge_anim100.png
ayoutlib/bridge/resources/bars/v21/hdpi/status_bar_background.9.png
ayoutlib/bridge/resources/bars/v21/mdpi/stat_sys_battery_100.png
ayoutlib/bridge/resources/bars/v21/mdpi/stat_sys_battery_charge_anim100.png
ayoutlib/bridge/resources/bars/v21/mdpi/status_bar_background.9.png
ayoutlib/bridge/resources/bars/v21/xhdpi/stat_sys_battery_100.png
ayoutlib/bridge/resources/bars/v21/xhdpi/stat_sys_battery_charge_anim100.png
ayoutlib/bridge/resources/bars/v21/xxhdpi/stat_sys_battery_100.png
ayoutlib/bridge/resources/bars/v9/hdpi/stat_sys_battery_100.png
ayoutlib/bridge/resources/bars/v9/hdpi/stat_sys_wifi_signal_4_fully.png
ayoutlib/bridge/resources/bars/v9/ldpi/stat_sys_battery_100.png
ayoutlib/bridge/resources/bars/v9/mdpi/stat_sys_battery_100.png
ayoutlib/bridge/resources/bars/v9/mdpi/stat_sys_wifi_signal_4_fully.png
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/Config.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/IconLoader.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/StatusBar.java
2e7a0355b4ba912241cc1feda049c714118e82a5 13-Aug-2014 Deepanshu Gupta <deepanshu@google.com> Update intelliJ copyright profile

Change-Id: Ib9386b686cb24e1f187d0b636b59b4b13d59bbcd
ayoutlib/.idea/copyright/profiles_settings.xml
497f6a1c98b26b4d7655b5ea628702cb22d7d09d 14-Aug-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Whitelist fonts instead of blacklist." into lmp-dev
0e4be2540984235a0a7b84ea0466ef3c92d27b07 12-Aug-2014 Deepanshu Gupta <deepanshu@google.com> Whitelist fonts instead of blacklist.

A list of all fonts bundled with the SDK is generated. Load this file to
know which fonts are missing from the SDK.

Change-Id: I1554f1baec842ccdde3b21a93008437e9bac9353
ayoutlib/bridge/src/android/graphics/FontFamily_Delegate.java
25d35a9d68fed6304352d0bfc2e0d581ed47f8b5 11-Aug-2014 Adam Lesinski <adamlesinski@google.com> AAPT: Dump an APK's split name attribute

Bug:16919497

Change-Id: I109e21bff9e4a64a10f48dce7f2d41102b32ee1d
apt/Command.cpp
14690b0aa380697179eb0432939a8ce96e6561f0 12-Aug-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Improve error reporting when renaming fonts." into lmp-dev
556f941f55a51d85ca49cf1d78b0e042435df1a1 12-Aug-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Don't show warnings for fonts not bundled." into lmp-dev
93b1483e57df2ca5d3a2127e2049c484c5d6f060 12-Aug-2014 Deepanshu Gupta <deepanshu@google.com> Improve error reporting when renaming fonts.

Log a better error in case of invalid input.

Change-Id: Ifb122c1cc624111769e650439aa24290155dbbc4
ayoutlib/rename_font/build_font_single.py
e644ff8d92ba040d11636be0fb6c433b52bcc6c2 09-Aug-2014 Deepanshu Gupta <deepanshu@google.com> Don't show warnings for fonts not bundled.

The extended font set, used on Nexus 5, new Nexus 7 etc., uses OpenType
CFF fonts which don't work well with Java. These fonts are deliberately
excluded from the SDK build.

This change skips the warnings for the missing fonts. However, we still
show warnings for other fonts that failed to load. If the set of fonts
bundled with the SDK changes, we will need to update the list of missing
fonts in FontFamily_Delegate.java.

Change-Id: I3197b5350d048daa09512e8024188909179b1799
ayoutlib/bridge/src/android/graphics/BidiRenderer.java
ayoutlib/bridge/src/android/graphics/FontFamily_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
ayoutlib/bridge/src/android/graphics/Typeface_Delegate.java
99d90a621084ec0f799dc7840cc05565a0589031 09-Aug-2014 Deepanshu Gupta <deepanshu@google.com> Resolve color xml attributes properly.

Color attributes were not being converted to int properly. The
conversion to int was a simple string to int using base 16. This change
resolves the colors as per #RGB, #ARGB, #RRGGBB or #AARRGGBB format
depending on the length of the attribute. All values that begin with '#'
are treated as colors.

Bug: http://b.android.com/73845
Change-Id: I8ad089b821af1e290b9b95771b50213fe2fdd784
ayoutlib/bridge/src/android/util/BridgeXmlPullAttributes.java
ec64709ce042bcf456f9749e079e5f6981cfbbb9 09-Aug-2014 Adam Lesinski <adamlesinski@google.com> Merge "AAPT support for feature splits" into lmp-dev
e8e91925074479fc06310418b58b54f49d051801 07-Aug-2014 Adam Lesinski <adamlesinski@google.com> Have styleable indices be non-final for library projects

Invoking aapt after merging resources from a library project
may yield a different ordering to styleable arrays, so have
the indices be non-final too.

Bug:16842410

Change-Id: I0432bea03dc4312d5908a770fc70a11f0a1596ae
apt/Resource.cpp
c8f2d5e6dc55f284c0d7e97d007437157858ade7 31-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Add font rename script to rename one font only.

This change adds a script that renames only font at a time. This helps
in writing better Makefile rules and passes the job for parallelization
to the make rather than doing it in python which doesn't support ctrl-c
properly.

Change-Id: Icd380e3cc5d744260d6a9f497aa65a1a6c829c2e
ayoutlib/rename_font/build_font_single.py
7ec9d001a96701d530b50bfee23a2ef03482a005 07-Aug-2014 Deepanshu Gupta <deepanshu@google.com> Create a copy of the build_font.py

The copy will be modified to support renaming only one font at a time.
This is done in two steps to improve the diffs.

Change-Id: I47283745c25882283f0464c17e603396a8c9141e
ayoutlib/rename_font/build_font_single.py
4e01c59e6c0d953c40153afc080c01d844f76aef 07-Aug-2014 Deepanshu Gupta <deepanshu@google.com> am 6ebeefa0: am 904d7711: am 7b561be3: am 09c3c2ed: am ba31d628: am db94ea9e: am f970d2c2: am 79c3f678: am 206c691b: am 72cf03a2: am 3a544a81: resolved conflicts for merge of a232a68d to jb-mr1.1-docs

* commit '6ebeefa04cb3c360d8028eb77e60bacf8a800cb1':
Fix SystemProperties in LayoutLib.
6ebeefa04cb3c360d8028eb77e60bacf8a800cb1 07-Aug-2014 Deepanshu Gupta <deepanshu@google.com> am 904d7711: am 7b561be3: am 09c3c2ed: am ba31d628: am db94ea9e: am f970d2c2: am 79c3f678: am 206c691b: am 72cf03a2: am 3a544a81: resolved conflicts for merge of a232a68d to jb-mr1.1-docs

* commit '904d77118bab63139174470ef728ca9a53e75a15':
Fix SystemProperties in LayoutLib.
904d77118bab63139174470ef728ca9a53e75a15 07-Aug-2014 Deepanshu Gupta <deepanshu@google.com> am 7b561be3: am 09c3c2ed: am ba31d628: am db94ea9e: am f970d2c2: am 79c3f678: am 206c691b: am 72cf03a2: am 3a544a81: resolved conflicts for merge of a232a68d to jb-mr1.1-docs

* commit '7b561be3a6fedebfce412cecd8c36d6686f6576c':
Fix SystemProperties in LayoutLib.
7b561be3a6fedebfce412cecd8c36d6686f6576c 07-Aug-2014 Deepanshu Gupta <deepanshu@google.com> am 09c3c2ed: am ba31d628: am db94ea9e: am f970d2c2: am 79c3f678: am 206c691b: am 72cf03a2: am 3a544a81: resolved conflicts for merge of a232a68d to jb-mr1.1-docs

* commit '09c3c2edb2391d3ffed9a07ec360b9f75b9f7637':
Fix SystemProperties in LayoutLib.
09c3c2edb2391d3ffed9a07ec360b9f75b9f7637 07-Aug-2014 Deepanshu Gupta <deepanshu@google.com> am ba31d628: am db94ea9e: am f970d2c2: am 79c3f678: am 206c691b: am 72cf03a2: am 3a544a81: resolved conflicts for merge of a232a68d to jb-mr1.1-docs

* commit 'ba31d628621f3d49195d141dabff30a7665f3b50':
Fix SystemProperties in LayoutLib.
db94ea9ed03dbaa0ca075a433a986d7e414e8f8d 07-Aug-2014 Deepanshu Gupta <deepanshu@google.com> am f970d2c2: am 79c3f678: am 206c691b: am 72cf03a2: am 3a544a81: resolved conflicts for merge of a232a68d to jb-mr1.1-docs

* commit 'f970d2c201649843b8d51d094b865f16b15bc0bc':
Fix SystemProperties in LayoutLib.
f970d2c201649843b8d51d094b865f16b15bc0bc 07-Aug-2014 Deepanshu Gupta <deepanshu@google.com> am 79c3f678: am 206c691b: am 72cf03a2: am 3a544a81: resolved conflicts for merge of a232a68d to jb-mr1.1-docs

* commit '79c3f678d21f6b3c058623217cbe5dd57a553fe8':
Fix SystemProperties in LayoutLib.
79c3f678d21f6b3c058623217cbe5dd57a553fe8 07-Aug-2014 Deepanshu Gupta <deepanshu@google.com> am 206c691b: am 72cf03a2: am 3a544a81: resolved conflicts for merge of a232a68d to jb-mr1.1-docs

* commit '206c691bfdb3a6b78d35c7481365980dd387b8c9':
Fix SystemProperties in LayoutLib.
72cf03a27a73e91d4a3eabf74e0384b310f4a5b2 07-Aug-2014 Deepanshu Gupta <deepanshu@google.com> am 3a544a81: resolved conflicts for merge of a232a68d to jb-mr1.1-docs

* commit '3a544a81b3d2d529b2995f4b5db2077760d440b5':
Fix SystemProperties in LayoutLib.
3a544a81b3d2d529b2995f4b5db2077760d440b5 07-Aug-2014 Deepanshu Gupta <deepanshu@google.com> resolved conflicts for merge of a232a68d to jb-mr1.1-docs

Change-Id: I1ea220e3e0a81880db68abab87beab56dc4a336c
a232a68d4ccf2960350adff6af99a52bde2b021d 06-Aug-2014 Deepanshu Gupta <deepanshu@google.com> resolved conflicts for merge of 5476cfee to jb-mr1-dev

Change-Id: I5197271e6fdd36fed9ca9f9b7221d9a99141a4b4
5476cfee6b8b5e17a7fa72bb141ca95ef913a4f5 06-Aug-2014 Deepanshu Gupta <deepanshu@google.com> am 505c675c: Fix SystemProperties in LayoutLib.

* commit '505c675c3a536ac7c6ad264eb62542537532119c':
Fix SystemProperties in LayoutLib.
505c675c3a536ac7c6ad264eb62542537532119c 06-Aug-2014 Deepanshu Gupta <deepanshu@google.com> Fix SystemProperties in LayoutLib.

Not all System Properties were used via Build class. Also, properties
like SDK_INT which called SystemProperties directly were not initialized
properly.

This change is essentially cherry picking of the relevant parts from the
following commits:
984749bf75c9ce9d3401b8410ea7d6276544b6ee
167bc25bceea9280bbe4858db4cb8233f86ce325

Bug: http://b.android.com/73046
Change-Id: Ia0fb467ee6d5fdedda500d57d02be20006f115df
ayoutlib/bridge/src/android/os/Build_Delegate.java
ayoutlib/bridge/src/android/os/SystemProperties_Delegate.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
833f3ccbc8f4dd1ec8abb9121988b99ff34ec4c1 19-Jun-2014 Adam Lesinski <adamlesinski@google.com> AAPT support for feature splits

This change allows the developer to add a base package for
which to build a feature split. The generated resource types
will begin after the base APK's defined types so as not
to collide or override resources.

Multiple features can be generated by first choosing an
arbitrary order for the features. Then for each feature,
the base APK and any preceding features are specified
with the --feature-of flags.

So with a base APK 'A' and features, 'B', and 'C',
'B' would be built with

aapt package [...] --feature-of A [...]

and 'C' would be built with

aapt package [...] --feature-of A --feature-of B [...]

Change-Id: I1be66e3f8df9a737b21c71f8a93685376c7e6780
apt/AaptAssets.cpp
apt/Bundle.h
apt/Main.cpp
apt/Resource.cpp
apt/ResourceTable.cpp
apt/ResourceTable.h
14e15fe4abf083ac1bb83163946bd1e679e19108 07-Aug-2014 Adam Lesinski <adamlesinski@google.com> Merge "Modify base Configuration used for aapt dump badging" into lmp-dev
4f6a6c48a4e6b9f6e4ced3d10bb51db5d2c22ead 06-Aug-2014 Svetoslav <svetoslavganov@google.com> Fix build

Change-Id: I96eec52472bec122074b0ec2ee051c1b55eaa8f4
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
eb8ac25fe5cbaf33f71532c2920a1faaca8e130f 05-Aug-2014 Hui Shu <hush@google.com> DO NOT MERGE: Revert "Update makefile for clang host build."

This CL is somehow merged to lmp-dev and breaking Mac builds.

This reverts commit 132ed0f2b45acf982bbd06616f14164b612661d1.

Change-Id: I5a3472c0e2924db5c605340d7abdd407b956dcc2
bbtool/Android.mk
70d1574db986610232d59ee1406d7532f71812f5 04-Aug-2014 Deepanshu Gupta <deepanshu@google.com> Get filename from File faster

Use the direct call from a File object to get the filename instead of
going through Path which depends on Java 7 making the LayoutLib tests
incompatible with Java 6.

Change-Id: I815895eedbc10245ee09bdb53b11e5548b076aad
ayoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/Main.java
b0d767dcf17dd393646b8fc3e8c9f46dfe12e230 04-Aug-2014 Deepanshu Gupta <deepanshu@google.com> Skip loading otf fonts on Java 6

Change-Id: I9668b84812e9be333d10603657dd911024fc292d
ayoutlib/bridge/src/android/graphics/BidiRenderer.java
ayoutlib/bridge/src/android/graphics/FontFamily_Delegate.java
0c5cd96522bae516a43d79d9014e93bca4727785 02-Aug-2014 Deepanshu Gupta <deepanshu@google.com> Add SystemProperties native method implementations.

Bug: http://b.android.com/73046
Change-Id: Ia695e7beb81f426509b646cfd929201f7e0a4ade
ayoutlib/bridge/src/android/os/SystemProperties_Delegate.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
45aab0eb8f479b9967e7c3c43d0342412fb49b57 02-Aug-2014 Deepanshu Gupta <deepanshu@google.com> LayoutLib: Use ICU's line break algo.

Change-Id: I7e5b0ab7423a72f5a4b0e1163d0a537f0b03ba07
ayoutlib/bridge/src/android/text/StaticLayout_Delegate.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
c2dea8daea2ae0001d56689d96ce1066012b7b40 05-Aug-2014 Adam Lesinski <adamlesinski@google.com> Modify base Configuration used for aapt dump badging

Some apps don't provide defaults when providing icons
for different screen sizes, so use a configuration
that has a screen size set to NORMAL.

Change-Id: If4b9eebd37e5d2e2991301d09ff5c39dd41c1565
apt/Command.cpp
b80e42f93ff26984c410da0235dd10f463e5722a 31-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Replace more Locale methods.

This change replaces some methods of java.util.Locale. Some of them were
added in 1.7 and some are not present in the Desktop VM.

Change-Id: Ifdf8451bb2acf55e01dce8b5e15c40c8160107cc
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/AndroidLocale.java
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
ayoutlib/create/src/com/android/tools/layoutlib/create/ReplaceMethodCallsAdapter.java
1840e8f2c73570e7b51c66c03d3a50bd00f3f742 31-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Fix Delegates

Change-Id: I2b6a6b679b7a5b2532b76b723155bc2763b70768
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/NinePatch_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
ayoutlib/bridge/src/android/graphics/Shader_Delegate.java
ayoutlib/bridge/src/android/text/format/Time_Delegate.java
ayoutlib/bridge/src/android/view/accessibility/AccessibilityManager.java
ayoutlib/bridge/src/libcore/icu/ICU_Delegate.java
d2a411840c58eaee05499bab0190e3f3656e2e84 31-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Fix LayoutLib Create tests.

Change-Id: Ica3efe417d54da7dc74b21d28215199d37600744
ayoutlib/create/src/com/android/tools/layoutlib/create/AbstractClassAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/create/DependencyFinder.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
ayoutlib/create/src/com/android/tools/layoutlib/create/OverrideMethod.java
ayoutlib/create/src/com/android/tools/layoutlib/create/RenameClassAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/create/StubMethodAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/create/TransformClassAdapter.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/DelegateClassAdapterTest.java
86eb8b4e29b1ad889fc814bae723d4d6e491f53f 31-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Add testing framework to LayoutLib.

This change adds an end to end test which loads the framework resources
and a test app and ensures that no exceptions or warnings are thrown.

The change also adds project configuration for intelliJ.

Change-Id: I7b67c0f1a2af2dac95df7f3231cab537b9826d7d
ayoutlib/.gitignore
ayoutlib/.idea/.name
ayoutlib/.idea/codeStyleSettings.xml
ayoutlib/.idea/compiler.xml
ayoutlib/.idea/copyright/Android.xml
ayoutlib/.idea/copyright/profiles_settings.xml
ayoutlib/.idea/encodings.xml
ayoutlib/.idea/inspectionProfiles/Project_Default.xml
ayoutlib/.idea/inspectionProfiles/profiles_settings.xml
ayoutlib/.idea/libraries/asm_4_0.xml
ayoutlib/.idea/libraries/framework_jar.xml
ayoutlib/.idea/libraries/guava.xml
ayoutlib/.idea/libraries/icu4j.xml
ayoutlib/.idea/libraries/kxml2_2_3_0.xml
ayoutlib/.idea/libraries/layoutlib_api_prebuilt.xml
ayoutlib/.idea/libraries/ninepatch_prebuilt.xml
ayoutlib/.idea/libraries/tools_common_prebuilt.xml
ayoutlib/.idea/misc.xml
ayoutlib/.idea/modules.xml
ayoutlib/.idea/runConfigurations/All_in_bridge.xml
ayoutlib/.idea/runConfigurations/All_in_create.xml
ayoutlib/.idea/runConfigurations/Create.xml
ayoutlib/.idea/scopes/scope_settings.xml
ayoutlib/.idea/uiDesigner.xml
ayoutlib/.idea/vcs.xml
ayoutlib/bridge/.classpath
ayoutlib/bridge/bridge.iml
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/tests/Android.mk
ayoutlib/bridge/tests/res/testApp/MyApplication/.gitignore
ayoutlib/bridge/tests/res/testApp/MyApplication/build.gradle
ayoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/BuildConfig.class
ayoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/MyActivity.class
ayoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/R$attr.class
ayoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/R$dimen.class
ayoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/R$drawable.class
ayoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/R$id.class
ayoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/R$layout.class
ayoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/R$menu.class
ayoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/R$string.class
ayoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/R$style.class
ayoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/R.class
ayoutlib/bridge/tests/res/testApp/MyApplication/gradle.properties
ayoutlib/bridge/tests/res/testApp/MyApplication/gradle/wrapper/gradle-wrapper.jar
ayoutlib/bridge/tests/res/testApp/MyApplication/gradle/wrapper/gradle-wrapper.properties
ayoutlib/bridge/tests/res/testApp/MyApplication/gradlew
ayoutlib/bridge/tests/res/testApp/MyApplication/gradlew.bat
ayoutlib/bridge/tests/res/testApp/MyApplication/proguard-rules.pro
ayoutlib/bridge/tests/res/testApp/MyApplication/src/androidTest/java/com/android/layoulib/test/myapplication/ApplicationTest.java
ayoutlib/bridge/tests/res/testApp/MyApplication/src/main/AndroidManifest.xml
ayoutlib/bridge/tests/res/testApp/MyApplication/src/main/java/com/android/layoutlib/test/myapplication/MyActivity.java
ayoutlib/bridge/tests/res/testApp/MyApplication/src/main/res/drawable/ic_launcher.xml
ayoutlib/bridge/tests/res/testApp/MyApplication/src/main/res/layout/activity.xml
ayoutlib/bridge/tests/res/testApp/MyApplication/src/main/res/layout/layout.xml
ayoutlib/bridge/tests/res/testApp/MyApplication/src/main/res/menu/my.xml
ayoutlib/bridge/tests/res/testApp/MyApplication/src/main/res/values/dimens.xml
ayoutlib/bridge/tests/res/testApp/MyApplication/src/main/res/values/strings.xml
ayoutlib/bridge/tests/res/testApp/MyApplication/src/main/res/values/styles.xml
ayoutlib/bridge/tests/src/android/graphics/Matrix_DelegateTest.java
ayoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParserTest.java
ayoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/Main.java
ayoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/ConfigGenerator.java
ayoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/LayoutLibTestCallback.java
ayoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/LayoutPullParser.java
ayoutlib/create/create.iml
8e554924c527183962fc908c5f916f390f806c74 01-Aug-2014 Chris Craik <ccraik@google.com> Merge "Add outline alpha" into lmp-dev
77b5cad3efedd20f2b7cc14d87ccce1b0261960a 31-Jul-2014 Chris Craik <ccraik@google.com> Add outline alpha

bug:16140822
bug:16566746

This allows background drawables to alter the opacity of a shadow
being cast with their own alpha values.

Change-Id: I49698cc7c1bf4b2b55ffe2f82899543ca62bc61c
apt/Images.cpp
a87863a8bddb033ca9ace11e7d78932d70d08ce3 29-Jul-2014 Sander Alewijnse <salewijnse@google.com> Fix deadlock window manager and device policy manager.

Removed all communication from wm to device policy manager.
Added initialization of cache in wm by dpms.

Change-Id: Ifa0b8bfcd625464b156d5cc0fb66d342deda1c27
ayoutlib/bridge/src/android/view/IWindowManagerImpl.java
72c60ab7d487c487806f0f20564693c2264fc99d 31-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Fix classpath for AndroidLocale

Change-Id: I9af9ac05ec26f12529d51e566bf38789a2579390
ayoutlib/create/src/com/android/tools/layoutlib/create/ReplaceMethodCallsAdapter.java
63e646eed5a8d7f5d04544ac8628f65b0173cf3a 30-Jul-2014 Adam Lesinski <adamlesinski@google.com> Add shared library support to aapt dump

AAPT dump should be able to handle dynamic references
that often come with shared library resources.

Bug:16678251
Change-Id: I6c8cd943145aab20ca9db9694c8c433b3c64279b
apt/Command.cpp
57079519f4610715e4c0668c641575d10f3d4461 29-Jul-2014 Adam Lesinski <adamlesinski@google.com> Fix large memory corruption in AAPT

When assigning a new string pool to a package, don't release the
reference to the old memory immediately, as the cleanup code that
is called after references the old memory.

Bug: 16155257
Change-Id: I3eaeb81191b71a282a0ef82856023f09707f1b17
apt/ResourceTable.cpp
ae9e68a3494bfa1bcc02864737f1df0c4c6fa719 29-Jul-2014 Adam Lesinski <adamlesinski@google.com> Merge "Have AEP GL feature depend on GLES 3.1 in badging" into lmp-dev
d7a94da476e9b783acf0673ed938cc3fc2cc6ba5 25-Jul-2014 Adam Lesinski <adamlesinski@google.com> Have AEP GL feature depend on GLES 3.1 in badging

AAPT dump badging should output the uses-gl-es tag with
a version of 3.1 when android.hardware.opengles.aep is
declared as a feature.

Change-Id: I8affc6dad574c8303c6ba9810ad8e6e205ea9506
apt/Command.cpp
d4bd75be4fda41f88a9478a9ec3f4019ba7ddf85 24-Jul-2014 Adam Lesinski <adamlesinski@google.com> Merge "Add <feature-group> tag and change aapt badging" into lmp-dev
ec1fb4184ecd2176587d1bda9093d0cea7ef627b 25-Jul-2014 Adam Lesinski <adamlesinski@google.com> am eebc0d09: am 1038bf1d: am 94499248: Merge "Add <feature-group> tag and change aapt badging" into lmp-dev

* commit 'eebc0d090d36f8d00b841faea1bb75444963272a':
Add <feature-group> tag and change aapt badging
3d4be18bfb9db1fbaa574c568680919808b035d4 25-Jul-2014 Adam Lesinski <adamlesinski@google.com> am 1038bf1d: am 94499248: Merge "Add <feature-group> tag and change aapt badging" into lmp-dev

* commit '1038bf1d7a592c74bcc48d729ccea1f56d8fce1d':
Add <feature-group> tag and change aapt badging
4ebfe4c127ecd3b880c4b071807ffda05893175a 24-Jul-2014 Tim Murray <timmurray@google.com> am 884f5e14: am 638a2b2d: am 8224edb9: Merge "Update makefile for clang host build."

* commit '884f5e1411655f096f6d1f4c16399d15c6ce24ab':
Update makefile for clang host build.
7d8be89420e6315caa1b7de56dd60fa402508392 24-Jul-2014 Tim Murray <timmurray@google.com> am 638a2b2d: am 8224edb9: Merge "Update makefile for clang host build."

* commit '638a2b2dac2e5a020693836d910789aee3c14795':
Update makefile for clang host build.
638a2b2dac2e5a020693836d910789aee3c14795 24-Jul-2014 Tim Murray <timmurray@google.com> am 8224edb9: Merge "Update makefile for clang host build."

* commit '8224edb94f6421a2d910362c56940dcf991847e6':
Update makefile for clang host build.
2c72b6822debb08fe997926eedc110f62d287d34 24-Jun-2014 Adam Lesinski <adamlesinski@google.com> Add <feature-group> tag and change aapt badging

A <feature-group> represents a set of features required
for an app to be compatible with a device. Multiple
<feature-group> elements represent a logical 'or'
of required features.

Features defined in the old way with <uses-feature> tags
under the <manifest> tag are automatically added to each
feature-group defined.

Defining a <feature-group> means that any default
features are not included (such as android.hardware.touchscreen)
and declared permissions do not imply any features.

Change-Id: I45626f0fdc546e47bcf2aead7ef05ebcca12b023
apt/Command.cpp
549d39e5496633852467d3245386151cae88fce9 23-Jul-2014 Sander Alewijnse <salewijnse@google.com> am f3c523e0: am ce1088a6: am fcb490a2: Merge "Add Device Policy API to disable screen capture." into lmp-dev

* commit 'f3c523e06217b19ae8389f9ca8be71ed2cd9fe7b':
Add Device Policy API to disable screen capture.
d2a1eec400128f39e1b223a720a88dbd395f3e6e 09-Jul-2014 Sander Alewijnse <salewijnse@google.com> Add Device Policy API to disable screen capture.

WindowManager will set secure flag on SurfaceControl for
all windows of a flagged user to prevent screen capture.
API is consistent with the camera disable API.

Change-Id: Ib180f67f1ad827b6f4aca2af615274256cce58f4
ayoutlib/bridge/src/android/view/IWindowManagerImpl.java
aa474ff0f3bf68110dc60f9472c062ff1a4a44ae 22-Jul-2014 Deepanshu Gupta <deepanshu@google.com> am 9a61270d: Merge "LayoutLib: Fix EditText rendering [DO NOT MERGE]" into klp-modular-dev

* commit '9a61270d67f654f3558b29f6b3e78c0b2fbe0178':
LayoutLib: Fix EditText rendering [DO NOT MERGE]
b51750fda671c8ec7a7ed9037aad1a65e49539ec 22-Jul-2014 Deepanshu Gupta <deepanshu@google.com> am 0ca0853c: Merge "Update layoutlib create README [DO NOT MERGE]" into klp-modular-dev

* commit '0ca0853c52a81b317996b2997373f5882b369c80':
Update layoutlib create README [DO NOT MERGE]
c54100d449e30919db4879d52ee2cc25942b44d5 09-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Update layoutlib create README [DO NOT MERGE]

Update the doc to reflect the current state of the tool and use a
consistent 100 char column limit.

Change-Id: I64fb58cc46abbc2f3759cb1f99d42b5090c1409f
(cherry picked from commit 88585f404cb493129847e4487b628062674a4ede)
ayoutlib/create/README.txt
f5fbff9b1aeb3abb94b7ee45f989b965424ee43f 10-Jun-2014 Deepanshu Gupta <deepanshu@google.com> LayoutLib: Fix EditText rendering [DO NOT MERGE]

Framework has overloaded java.lang.System.arraycopy() for char[]. The
method is not present on the Desktop VMs. This change replaces the calls
to this method by its more general alternative - the one using Objects.

TODO: Make it more configurable and flexible to allow rewrite of any
such methods in the future.

Change-Id: I6823b13e52b1c555eb257d02b79707d84e73236f
(cherry picked from commit fc3e93300733b4a161adb9cceebea6cda353d085)
ayoutlib/create/README.txt
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmGenerator.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
ayoutlib/create/src/com/android/tools/layoutlib/create/ReplaceMethodCallsAdapter.java
0804e0aded17c1aee8cbd2c34247b390051123c3 18-Jul-2014 Deepanshu Gupta <deepanshu@google.com> am a9e488a6: am d8d3e87c: am 4627c98d: Merge "Fix style resolution for styles with \'.\' [DO NOT MERGE]" into klp-dev

* commit 'a9e488a6d2b20ecc91412072a5f39022d7fe6926':
Fix style resolution for styles with '.' [DO NOT MERGE]
87234e8544370d86b305fc55d6a5021c38b65495 18-Jul-2014 Deepanshu Gupta <deepanshu@google.com> am 9c48ab82: am ccf7b2aa: am 5af7324a: Fix style resolution for styles with \'.\' [DO NOT MERGE]

* commit '9c48ab82084828087c47086f2379b4927ec057e2':
Fix style resolution for styles with '.' [DO NOT MERGE]
a9e488a6d2b20ecc91412072a5f39022d7fe6926 18-Jul-2014 Deepanshu Gupta <deepanshu@google.com> am d8d3e87c: am 4627c98d: Merge "Fix style resolution for styles with \'.\' [DO NOT MERGE]" into klp-dev

* commit 'd8d3e87cf339deaf890e4b083d09b074065cd35f':
Fix style resolution for styles with '.' [DO NOT MERGE]
d7f2bf067fce644ed902122fffb9e22b6596a0ff 18-Jul-2014 Deepanshu Gupta <deepanshu@google.com> am f75489f2: am c425c438: am 710a55b4: Fix default level flags for bidi. [DO NOT MERGE]

* commit 'f75489f2f1f2dc4f75205f4b242800777bf7d5ec':
Fix default level flags for bidi. [DO NOT MERGE]
9c48ab82084828087c47086f2379b4927ec057e2 18-Jul-2014 Deepanshu Gupta <deepanshu@google.com> am ccf7b2aa: am 5af7324a: Fix style resolution for styles with \'.\' [DO NOT MERGE]

* commit 'ccf7b2aac600b6069f03f7f420872b64cc5e6726':
Fix style resolution for styles with '.' [DO NOT MERGE]
a3d2c7e72b1580ebeffe7b4deaa46103d3d66fa7 18-Jul-2014 Deepanshu Gupta <deepanshu@google.com> am 85c7b209: am 5efee91e: Merge "Fix style resolution for styles with \'.\' [DO NOT MERGE]" into jb-mr2-dev

* commit '85c7b209c3babea164f5bec13352e7f5f262ea58':
Fix style resolution for styles with '.' [DO NOT MERGE]
610341b3eb99ef2f070c96d60ca30c28283f1dea 18-Jul-2014 Deepanshu Gupta <deepanshu@google.com> am 95bbeb96: am b8e4e8e1: am d3ac01ff: Merge "Fix style resolution for styles with \'.\' [DO NOT MERGE]" into jb-mr1.1-dev

* commit '95bbeb967243d453bf793cd06dd2dd914667fee9':
Fix style resolution for styles with '.' [DO NOT MERGE]
d8d3e87cf339deaf890e4b083d09b074065cd35f 18-Jul-2014 Deepanshu Gupta <deepanshu@google.com> am 4627c98d: Merge "Fix style resolution for styles with \'.\' [DO NOT MERGE]" into klp-dev

* commit '4627c98da4ecb66e32a3273ea3713df528cda6b2':
Fix style resolution for styles with '.' [DO NOT MERGE]
95bbeb967243d453bf793cd06dd2dd914667fee9 18-Jul-2014 Deepanshu Gupta <deepanshu@google.com> am b8e4e8e1: am d3ac01ff: Merge "Fix style resolution for styles with \'.\' [DO NOT MERGE]" into jb-mr1.1-dev

* commit 'b8e4e8e1f4fb1139368dc3f36e2d7bcf59dc32e9':
Fix style resolution for styles with '.' [DO NOT MERGE]
f75489f2f1f2dc4f75205f4b242800777bf7d5ec 18-Jul-2014 Deepanshu Gupta <deepanshu@google.com> am c425c438: am 710a55b4: Fix default level flags for bidi. [DO NOT MERGE]

* commit 'c425c438a38f9065c4fbae76602bce66563950c0':
Fix default level flags for bidi. [DO NOT MERGE]
ccf7b2aac600b6069f03f7f420872b64cc5e6726 18-Jul-2014 Deepanshu Gupta <deepanshu@google.com> am 5af7324a: Fix style resolution for styles with \'.\' [DO NOT MERGE]

* commit '5af7324ace4f318d7395b680beabec7a0f0e39b3':
Fix style resolution for styles with '.' [DO NOT MERGE]
696eb4da44097693a18e99e1f38d062ac1f0e147 18-Jul-2014 Deepanshu Gupta <deepanshu@google.com> am c39916f7: am 37f54f4c: am 357ebfc5: Fix default level flags for bidi. [DO NOT MERGE]

* commit 'c39916f7dadb2f8be2e7523c5ceade9f04a94e1e':
Fix default level flags for bidi. [DO NOT MERGE]
c3a7763b84a6a20f07ed2b42e58ac0911fac984c 18-Jul-2014 Deepanshu Gupta <deepanshu@google.com> am 918ca12f: am 10395cbb: Fix default level flags for bidi. [DO NOT MERGE]

* commit '918ca12ffc09a96194112edf3540d94c32918a07':
Fix default level flags for bidi. [DO NOT MERGE]
c39916f7dadb2f8be2e7523c5ceade9f04a94e1e 18-Jul-2014 Deepanshu Gupta <deepanshu@google.com> am 37f54f4c: am 357ebfc5: Fix default level flags for bidi. [DO NOT MERGE]

* commit '37f54f4c1e2d97b33bdd8abe5f196debecc5437d':
Fix default level flags for bidi. [DO NOT MERGE]
c425c438a38f9065c4fbae76602bce66563950c0 18-Jul-2014 Deepanshu Gupta <deepanshu@google.com> am 710a55b4: Fix default level flags for bidi. [DO NOT MERGE]

* commit '710a55b419908068529a8e95c4eba88297f67e3f':
Fix default level flags for bidi. [DO NOT MERGE]
132ed0f2b45acf982bbd06616f14164b612661d1 18-Jul-2014 Tim Murray <timmurray@google.com> Update makefile for clang host build.

bug 16172793

Change-Id: If7484c5dbcccce7d925bec97bff0a3e4c30e9434
bbtool/Android.mk
4627c98da4ecb66e32a3273ea3713df528cda6b2 18-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Fix style resolution for styles with '.' [DO NOT MERGE]" into klp-dev
5efee91e12420e59214946c526f80961738a9c1d 18-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Fix style resolution for styles with '.' [DO NOT MERGE]" into jb-mr2-dev
d3ac01ff7616f7135b8b5044816690c93fba8548 18-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Fix style resolution for styles with '.' [DO NOT MERGE]" into jb-mr1.1-dev
871296d9766662f25e8e49d904627cbb48bf8499 22-Jul-2014 Ying Wang <wangying@google.com> am 044a4fc9: am 7c5fe1db: am 1e976fd5: Build framework.jar with multidex support.

* commit '044a4fc9d4b4e13c509be5a0929fd785dd98e178':
Build framework.jar with multidex support.
88e199045bbe10296124203837b24dea116bf108 21-Jul-2014 Ying Wang <wangying@google.com> Build framework.jar with multidex support.

We don't need the framework/framework2 split now with the multidex
support.

Change-Id: I30ee5c7e24df87b2c54e854f17fbf0b5adef4c60
ayoutlib/Android.mk
e32bac5ef056cd3d7eeda5f0aba8128dad3fd75a 21-Jul-2014 Deepanshu Gupta <deepanshu@google.com> am 37423bbb: am db2a5ff1: am 78d85419: Fix missing initial moveto in path definition.

* commit '37423bbbeab2822b39d859412aa80117a4b85282':
Fix missing initial moveto in path definition.
3b3795601051f9ae7008e2b3e29e683f5d4a2e53 17-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Fix missing initial moveto in path definition.

The Path_Delegate was missing a moveTo call which resulted in
IllegalPathStateException when rendering the ProgressBar.

Change-Id: Ibdae5f90ffd0a71a3de4ba945238239faa0b18b2
ayoutlib/bridge/src/android/graphics/Path_Delegate.java
43aab0f419bdc99fa3a6c8e5c5fe4ff3c63ffd01 18-Jul-2014 Deepanshu Gupta <deepanshu@google.com> am cdcebcef: Merge "Fix style resolution for styles with \'.\'" into lmp-preview-dev

* commit 'cdcebcefed9a9bbf6835025d722ae31da1a93c85':
Fix style resolution for styles with '.'
4f8500594f110e9ab36f5daefcec62324abb770a 18-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Fix style resolution for styles with '.'" into lmp-preview-dev
4b8aa28ef2a3c2d0ef602a39262e82eb4134a82d 17-Jul-2014 Ying Wang <wangying@google.com> Fix sdk build.

Change-Id: I9073747f7a12f826fabf99c34dce813edf6462c1
ayoutlib/bridge/src/android/content/res/BridgeAssetManager.java
6c57fc30198e8f3a2756aab6bc832450391eec94 16-Jul-2014 Deepanshu Gupta <deepanshu@google.com> DO NOT MERGE - Fix LayoutLib.

This fixes a bad merge and contains partial cherrypicks of the following
commits to make LayoutLib working again:
103d40960daa0420995aa12881bef33892a0a2ab
803d77d8904a8fd66f0370cca6ed7f8b7cf68907
6a08225cee197e5baf80dd06dae46988db284122

Bug: 15987446
Change-Id: I41563305206d30ecdbc7f609c4b90d53edb42689
ayoutlib/bridge/src/libcore/icu/ICU_Delegate.java
ayoutlib/create/src/com/android/tools/layoutlib/create/AbstractClassAdapter.java
76dd54b64f0f8a9e321cee157c7778e22adc982f 16-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Use BlendComposite for advanced PorterDuff Modes." into lmp-preview-dev
85d43f01ed0f252df7b5374593792174d50779b7 16-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Use BlendComposite for advanced PorterDuff Modes.

Not all PorterDuff modes are supported by Java's AlphaComposite. Use
BlendComposite for such modes.

Change-Id: I51486a40f09186cf8a87ce1e6a3d1cfcf39fb2d3
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/PorterDuffColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/PorterDuffXfermode_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/PorterDuffUtility.java
303b908d6176ddec7b9defb683a34dc21208a007 07-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Optimize Blend composites.

Removed redundant array allocations to improve performance for various
blending modes.

Change-Id: Iaba1d6ff3ad03eebdc859c599b610cc593370438
(cherry picked from commit 9ce074610413ce3a5dd0cef9295f0ae9061402b7)
ayoutlib/bridge/src/android/graphics/BlendComposite.java
e6bf903db90b491e4dd654ea26da981200d39875 07-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Add BlendComposite.java

The class is adapted from a demo tool for Blending Modes written by
Romain Guy (romainguy@android.com). The tool is available at
http://www.curious-creature.org/2006/09/20/new-blendings-modes-for-java2d/

Change-Id: I8f7c7ca08d3078106056764a4e2f1ce95d990137
(cherry picked from commit 882e08759137a77090c3c7dff8cba425a3393474)
ayoutlib/bridge/src/android/graphics/BlendComposite.java
f94ecba4034f84da6fb32fa67a7c9f643bb23aa8 16-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Optimize Blend composites." into lmp-preview-dev
8ee6bcf8096803fe5c4fbc3838a296a692173e49 16-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Use BlendComposite for advanced PorterDuff Modes. [DO NOT MERGE]

Not all PorterDuff modes are supported by Java's AlphaComposite. Use
BlendComposite for such modes.

Change-Id: I51486a40f09186cf8a87ce1e6a3d1cfcf39fb2d3
(cherry picked from commit b15709cd36d28c47660b0ae30918642bfd3d85f7)
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/PorterDuffColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/PorterDuffXfermode_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/PorterDuffUtility.java
47fa5c920d6eb93e435794544b96a0e4ede4403a 07-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Optimize Blend composites. [DO NOT MERGE]

Removed redundant array allocations to improve performance for various
blending modes.

Change-Id: Iaba1d6ff3ad03eebdc859c599b610cc593370438
(cherry picked from commit 9ce074610413ce3a5dd0cef9295f0ae9061402b7)
ayoutlib/bridge/src/android/graphics/BlendComposite.java
3dfc1c21d58a7a6764a436cbf5c3c8ba09db45e5 07-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Add BlendComposite.java [DO NOT MERGE]

The class is adapted from a demo tool for Blending Modes written by
Romain Guy (romainguy@android.com). The tool is available at
http://www.curious-creature.org/2006/09/20/new-blendings-modes-for-java2d/

Change-Id: I8f7c7ca08d3078106056764a4e2f1ce95d990137
(cherry picked from commit 882e08759137a77090c3c7dff8cba425a3393474)
ayoutlib/bridge/src/android/graphics/BlendComposite.java
a17674319d3423453507728cb2658e3d8a7922ce 16-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Add BlendComposite.java" into lmp-preview-dev
4ed745d359ada6986ac15d8718452e5c55f40170 16-Jul-2014 Jeff Sharkey <jsharkey@android.com> Add code cache directory for apps.

This provides a directory where apps can cache compiled or optimized
code generated at runtime. The platform will delete all files in
this location on both app and platform upgrade.

Bug: 16187224
Change-Id: I641b21d841c436247f35ff235317e3a4ba520441
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
78a130144bdd047665f00782c481d31edb3e5fb7 16-Jul-2014 Jeff Sharkey <jsharkey@android.com> Mark resource-only splits as hasCode=false.

PackageManagerService now skips dexopt for split APKs that don't
declare they have code. Also surface more detailed error messages
in logs.

Bug: 14975160
Change-Id: Ie6078dba724815020cee59b7fc52317e88ca097a
apt/Resource.cpp
39488dc3d4c48fe398c4e5dcbac6a7511e815fce 15-Jul-2014 Deepanshu Gupta <deepanshu@google.com> am 7b97e426: Merge "Optimize Blend composites."

* commit '7b97e426bd77b22a64b49112ce2455a51bac0b5b':
Optimize Blend composites.
aaef3efa227e13739085a4e4418f2b004f55faf1 15-Jul-2014 Deepanshu Gupta <deepanshu@google.com> am e147445a: Merge "Add BlendComposite.java"

* commit 'e147445a5e10b3e0fd01c7792e560ad677cd77ab':
Add BlendComposite.java
d8176941eb6466ebe26816d79b37a808103fd81d 15-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Enable assertions in LayoutLib create" into lmp-dev
197d488d5824b2ea2f9e9ee6207a458a6e928e23 15-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Enable assertions in LayoutLib create

Change-Id: Ia74285ae50f5caf118aab9eca4123f8aa71f27b4
ayoutlib/Android.mk
5cd9dde5a2a77c5095f985186d8f03147fd22870 15-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Support Locale.toLanguageTag on Java 6

Change-Id: I255e79e2c288cd24b350b7c26128bbbb0b2cb9a3
ayoutlib/bridge/src/android/content/res/Resources_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/AndroidLocale.java
ayoutlib/create/README.txt
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
ayoutlib/create/src/com/android/tools/layoutlib/create/ReplaceMethodCallsAdapter.java
c97b4d399699766c13fc26f3a87f909cdfa157e9 15-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Support Locale.toLanguageTag on Java 6" into lmp-dev
bb742462781a73bb25516067c8fe6311c1c8a93e 08-Jul-2014 Craig Mautner <cmautner@google.com> Launch activity behind launching task.

Use ActivityOptions.makeLaunchTaskBehindAnimation() to launch tasks
behind the current task. Includes animations for launching and
launched tasks.

Fixes bug 16157517.

Change-Id: I0a94af70b4748592e94673b958ee824cfb3d7ec0
ayoutlib/bridge/src/android/view/IWindowManagerImpl.java
757f0f36b9088def734575482cd128a0e78fac24 15-Jul-2014 Chris Craik <ccraik@google.com> Merge "Implement outline support for nine patches" into lmp-dev
65665aac6387d644f0f40c6bdddf558f096b6e6e 15-Jul-2014 Christopher Tate <ctate@google.com> Fix build

BridgeContext didn't show up in the working tree as a build participant.
Tsk tsk.

Change-Id: I2b52d99f319b43c2906a7fb9b25139a3df5b3676
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
47cd8e921db73e894f94ec4729ade90da50996f5 09-Jul-2014 Chris Craik <ccraik@google.com> Implement outline support for nine patches

b/15856895

Nine patches now have outline round rect metadata stored as optional
png tags. aapt generates these automatically by inspecting the bitmap
pixels to estimate outline bounds and round rect radius, based on
opacity.

Change-Id: I226e328a97873010d9e1adb797ac48f93a31183c
apt/Images.cpp
357ebfc5e43ecb35da9207d78a9a8a6c117a1002 10-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Fix default level flags for bidi. [DO NOT MERGE]

Bug: b.android.com/69432
Change-Id: I26ff34a6d1f85c928a9a1cb3dfd739fc7d3a8fb6
(cherry picked from commit 95e636130dfc2c0203f16f5315a7fe14b03eb689)
ayoutlib/bridge/src/android/text/AndroidBidi_Delegate.java
10395cbb5cdec35a0ebee1d0b18b58c4803092a1 10-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Fix default level flags for bidi. [DO NOT MERGE]

Bug: b.android.com/69432
Change-Id: I26ff34a6d1f85c928a9a1cb3dfd739fc7d3a8fb6
(cherry picked from commit 95e636130dfc2c0203f16f5315a7fe14b03eb689)
ayoutlib/bridge/src/android/text/AndroidBidi_Delegate.java
710a55b419908068529a8e95c4eba88297f67e3f 10-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Fix default level flags for bidi. [DO NOT MERGE]

Bug: b.android.com/69432
Change-Id: I26ff34a6d1f85c928a9a1cb3dfd739fc7d3a8fb6
(cherry picked from commit 95e636130dfc2c0203f16f5315a7fe14b03eb689)
ayoutlib/bridge/src/android/text/AndroidBidi_Delegate.java
c5a58437e62698f34abde93ec785c4cbe36aec2d 11-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Style improvements to LayoutLib create.

This change doesn't change the functionality but removes dead code and
simplifies various places to remove warnings.

Change-Id: I371e06bfbd587dbf0eeafc69787b9805f7008f62
ayoutlib/create/README.txt
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmGenerator.java
ayoutlib/create/src/com/android/tools/layoutlib/create/DelegateClassAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/create/DelegateMethodAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/create/DelegateMethodAdapter2.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
ayoutlib/create/src/com/android/tools/layoutlib/create/TransformClassAdapter.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/DelegateClassAdapterTest.java
26e32ea559da98dcdebaefb74d4f3c1a5ce705c3 10-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Update delegates

Change-Id: Icd93c31b4e8c8ee5ea242fb8295578937f48ff2a
ayoutlib/bridge/src/android/content/res/BridgeTypedArray.java
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
ayoutlib/bridge/src/android/graphics/Typeface_Delegate.java
e1960cc0b541cda93db94de5bef42dff922b9ec3 10-Jul-2014 Deepanshu Gupta <deepanshu@google.com> LayoutLib: Fix System.arraycopy()

Framework has specialized versions of java.lang.System.arraycopy() for
all primitive data types. These versions are not present on the Desktop
VM. This change replaces calls to any of the specialized versions with
the more general alternative - the one using Objects.

Note that this was already being done for char.

Change-Id: If1584125fea8ecc080fb39a5ee6cdb4d922d0c98
ayoutlib/create/README.txt
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
ayoutlib/create/src/com/android/tools/layoutlib/create/ReplaceMethodCallsAdapter.java
69684533cded9923e98789694dea4dd36ace9fab 11-Jul-2014 Yohei Yukawa <yukawa@google.com> Fix SDK build breakage

This should have been included in I3c6b69bd9d79b199afe68d838f25effa6

BUG: 15812658
BUG: 16118603
Change-Id: I298206008fc28faa4f6576a77d56251f873f233c
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeIInputMethodManager.java
3a6cedfe7266163e436f659d9d36d95bea8dcda0 10-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Fix default level flags for bidi. [DO NOT MERGE]

Bug: b.android.com/69432
Change-Id: I26ff34a6d1f85c928a9a1cb3dfd739fc7d3a8fb6
ayoutlib/bridge/src/android/text/AndroidBidi_Delegate.java
5af7324ace4f318d7395b680beabec7a0f0e39b3 10-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Fix style resolution for styles with '.' [DO NOT MERGE]

Bug: b.android.com/72698
Change-Id: I96fb549cf5787d9e8cde2245524a8173471a60ca
(cherry picked from commit f2fa79e9b56b71f8aa30e6675255df69f88a173d)
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
da28101757e62602a743b95488f4670f9759bb26 10-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Fix style resolution for styles with '.' [DO NOT MERGE]

Bug: b.android.com/72698
Change-Id: I96fb549cf5787d9e8cde2245524a8173471a60ca
(cherry picked from commit f2fa79e9b56b71f8aa30e6675255df69f88a173d)
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
0f49025998e1d70e3b71a4157c5bab7ae7f6167d 10-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Fix style resolution for styles with '.' [DO NOT MERGE]

Bug: b.android.com/72698
Change-Id: I96fb549cf5787d9e8cde2245524a8173471a60ca
(cherry picked from commit f2fa79e9b56b71f8aa30e6675255df69f88a173d)
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
f2fa79e9b56b71f8aa30e6675255df69f88a173d 10-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Fix style resolution for styles with '.' [DO NOT MERGE]

Bug: b.android.com/72698
Change-Id: I96fb549cf5787d9e8cde2245524a8173471a60ca
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
4f8ce228195be123eeb9b5f066a6abc92b8d923a 10-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Fix style resolution for styles with '.'

Bug: b.android.com/72698
Change-Id: I96fb549cf5787d9e8cde2245524a8173471a60ca
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
2cfc8482267707a671cbe4275ea8927c1aef991a 10-Jul-2014 Jeff Sharkey <jsharkey@android.com> Add versionCode to split manifest; compile.

To verify consistency at install time, all APK manifests must declare
the same package name and version code. Also start compiling the
manifest, since versionCode is an attribute.

Bug: 14975160
Change-Id: I2a1a769bd3dfde05b19563af5ca9b6c15a9c95ff
apt/Resource.cpp
4c0f9664de6a69580ea480344e61dc5e7695fd86 09-Jul-2014 Deepanshu Gupta <deepanshu@google.com> am 61d3dea6: am 8c8bb83e: am 8e11659a: Change font family name. [DO NOT MERGE]

* commit '61d3dea672ed8f2f4f90860580c37766b0197a58':
Change font family name. [DO NOT MERGE]
0b4876043be6eb9c2eaccb8270370b9275d4d899 09-Jul-2014 Deepanshu Gupta <deepanshu@google.com> am d53a9fcb: am 979f9c68: am e30d3fdd: Change font family name. [DO NOT MERGE]

* commit 'd53a9fcb7c56d6495e88cc3e39e2892e449a9171':
Change font family name. [DO NOT MERGE]
61d3dea672ed8f2f4f90860580c37766b0197a58 09-Jul-2014 Deepanshu Gupta <deepanshu@google.com> am 8c8bb83e: am 8e11659a: Change font family name. [DO NOT MERGE]

* commit '8c8bb83e623e1932853230cb25a3330fcedb73ff':
Change font family name. [DO NOT MERGE]
5414f83d38455fcd8c788ea1b5cf61aaef3d0a5d 09-Jul-2014 Deepanshu Gupta <deepanshu@google.com> am d2829b49: am 432d16f9: Change font family name. [DO NOT MERGE]

* commit 'd2829b490989b595118c7bd17c1dbff6789cacaa':
Change font family name. [DO NOT MERGE]
10e540733416a94206a656ce749fa046ab3e7655 09-Jul-2014 Deepanshu Gupta <deepanshu@google.com> am ca82da92: am 5d0db7f2: am 5455ddc4: Merge "Add a script to rename fonts for SDK. [DO NOT MERGE]" into jb-mr1.1-dev

* commit 'ca82da92db2949f134af01f577167639cbfc79bc':
Add a script to rename fonts for SDK. [DO NOT MERGE]
d53a9fcb7c56d6495e88cc3e39e2892e449a9171 09-Jul-2014 Deepanshu Gupta <deepanshu@google.com> am 979f9c68: am e30d3fdd: Change font family name. [DO NOT MERGE]

* commit '979f9c685e31a07e9bd1d89c0947b863dd456940':
Change font family name. [DO NOT MERGE]
8c8bb83e623e1932853230cb25a3330fcedb73ff 09-Jul-2014 Deepanshu Gupta <deepanshu@google.com> am 8e11659a: Change font family name. [DO NOT MERGE]

* commit '8e11659a43b34d465deb631575425b1706547dcc':
Change font family name. [DO NOT MERGE]
ca82da92db2949f134af01f577167639cbfc79bc 09-Jul-2014 Deepanshu Gupta <deepanshu@google.com> am 5d0db7f2: am 5455ddc4: Merge "Add a script to rename fonts for SDK. [DO NOT MERGE]" into jb-mr1.1-dev

* commit '5d0db7f2ff4a16a40bbdba9b1ae9b4434554bced':
Add a script to rename fonts for SDK. [DO NOT MERGE]
5acf782c6822bf6c1b24d3582f52d65a949912f6 09-Jul-2014 Deepanshu Gupta <deepanshu@google.com> am d751eed4: am b49e21e1: Add a script to rename fonts for SDK. [DO NOT MERGE]

* commit 'd751eed44bcb28461dc853df08b89e5bc8ab6f60':
Add a script to rename fonts for SDK. [DO NOT MERGE]
e30d3fdd04840bfd90a172492edcacffeeea81da 28-Jun-2014 Deepanshu Gupta <deepanshu@google.com> Change font family name. [DO NOT MERGE]

During the SDK build, rename the Font's Family name and not just the
PS Name. Updating the PS name doesn't work.

Change-Id: I997b5eec9f493ce97b95c33101ee426e773890c1
(cherry picked from commit 24f58dbce27f8fa56de992d0c03168a88ae80bad)
ayoutlib/rename_font/build_font.py
ayoutlib/rename_font/test.py
432d16f97adab9d845904e25b50671cf35cfb628 28-Jun-2014 Deepanshu Gupta <deepanshu@google.com> Change font family name. [DO NOT MERGE]

During the SDK build, rename the Font's Family name and not just the
PS Name. Updating the PS name doesn't work.

Change-Id: I997b5eec9f493ce97b95c33101ee426e773890c1
(cherry picked from commit 24f58dbce27f8fa56de992d0c03168a88ae80bad)
ayoutlib/rename_font/build_font.py
ayoutlib/rename_font/test.py
5455ddc48fc31faea739a21cb46bda04bf36bb92 09-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Add a script to rename fonts for SDK. [DO NOT MERGE]" into jb-mr1.1-dev
8e11659a43b34d465deb631575425b1706547dcc 28-Jun-2014 Deepanshu Gupta <deepanshu@google.com> Change font family name. [DO NOT MERGE]

During the SDK build, rename the Font's Family name and not just the
PS Name. Updating the PS name doesn't work.

Change-Id: I997b5eec9f493ce97b95c33101ee426e773890c1
(cherry picked from commit 24f58dbce27f8fa56de992d0c03168a88ae80bad)
ayoutlib/rename_font/build_font.py
ayoutlib/rename_font/test.py
9ce074610413ce3a5dd0cef9295f0ae9061402b7 07-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Optimize Blend composites.

Removed redundant array allocations to improve performance for various
blending modes.

Change-Id: Iaba1d6ff3ad03eebdc859c599b610cc593370438
ayoutlib/bridge/src/android/graphics/BlendComposite.java
882e08759137a77090c3c7dff8cba425a3393474 07-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Add BlendComposite.java

The class is adapted from a demo tool for Blending Modes written by
Romain Guy (romainguy@android.com). The tool is available at
http://www.curious-creature.org/2006/09/20/new-blendings-modes-for-java2d/

Change-Id: I8f7c7ca08d3078106056764a4e2f1ce95d990137
ayoutlib/bridge/src/android/graphics/BlendComposite.java
1f1a71bed1f868d2bd65ce1e8d9ac62f0786d593 02-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Support Typeface.createFromFile()" into lmp-preview-dev
3c937cf5c730519e750cdee4d5fa61e2a593e33a 01-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Support Typeface.createFromFile()

Add support for Typeface.createFromFile() for platform fonts. The
feature existed in the KitKat LayoutLib but was dropped for the L
preview. This change adds it back.

Change-Id: Ib1abe67a32c28a1fb0e2a4f3061c358b55129434
ayoutlib/bridge/src/android/graphics/FontFamily_Delegate.java
ayoutlib/bridge/src/android/graphics/Typeface_Delegate.java
7ea293bc6a31c5b1bf3b2663376a39dc3a79b671 28-Jun-2014 Deepanshu Gupta <deepanshu@google.com> Change font family name.

During the SDK build, rename the Font's Family name and not just the
PS Name. Updating the PS name doesn't work.

Change-Id: I997b5eec9f493ce97b95c33101ee426e773890c1
ayoutlib/rename_font/build_font.py
ayoutlib/rename_font/test.py
19c5349b73c6333a442a975c7a227a0ca99f6829 02-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Change font family name." into lmp-preview-dev
cbc13f057f8cf6d2fda86d661117d8df3e03c40e 02-Jul-2014 Deepanshu Gupta <deepanshu@google.com> am bdf7f8b0: Merge "Support Typeface.createFromFile()" into lmp-preview-dev

* commit 'bdf7f8b009ca9f276b5368a1cea037c1605f7261':
Support Typeface.createFromFile()
9fe0718492cb1b31596e9bf4bbfefd371f0d2c19 02-Jul-2014 Deepanshu Gupta <deepanshu@google.com> am 1ae18e43: Merge "Change font family name." into lmp-preview-dev

* commit '1ae18e43e9b3727ce855a2a8a799e703484bc5bf':
Change font family name.
3a57d506e9a3ca621f43482eeff98b44e8dea97d 02-Jul-2014 Deepanshu Gupta <deepanshu@google.com> am 036557b6: Merge "Update system icon resolution in LayoutLib." into lmp-preview-dev

* commit '036557b60df5e5425b3563e99ffb21685160e4ab':
Update system icon resolution in LayoutLib.
9657804afb9eb628fa5485750c43e78458b2d002 02-Jul-2014 Adrian Roos <roosa@google.com> Fix layoutlib breakage due to I681b711f6f40a94c25b7acd3a44eb3539486afab

Change-Id: I141f49718c4d538875a68c00101c098fdd7e967b
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindow.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowSession.java
84d1d431cfe3e66029380fa038f8816b06da120a 26-Jun-2014 Deepanshu Gupta <deepanshu@google.com> Update text rendering delegates.

The flags for RTL and LTR are simplified in commit
0a1d91862a3822dcbbb412bcd6d69b0f5f079f8b. This change follows up the
same in LayoutLib.

This also fixes the following bug which incorrectly computed runs with
'en-dash' (\u20132) as RTL.

Bug: http://b.android.com/69432
Change-Id: Iaed62d13ce31f107773576ed2ef412be6037cd04
ayoutlib/bridge/src/android/graphics/BidiRenderer.java
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
ayoutlib/bridge/src/android/text/AndroidBidi_Delegate.java
509d860907691a8eb7ff4c8b949fbee36db70fea 26-Jun-2014 Deepanshu Gupta <deepanshu@google.com> Sort delegates in Canvas_Delegate

The order of the methods match the order of the declaration in the
Canvas file. This makes searching for the methods easier.

Change-Id: I230621d3999024cb2ff42a1aacd60908c7f0b161
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
bb5d0cc4369590ce892cca2f717f5d5568c5f655 26-Jun-2014 Deepanshu Gupta <deepanshu@google.com> Update LayoutLib delegates.

Change-Id: I64828bfb963048effbc49a622f5f2aa0203665e6
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/Path_Delegate.java
ayoutlib/bridge/src/libcore/icu/ICU_Delegate.java
3c989eaa0af6e3c4427af4119cf4949b1f05dba2 25-Jun-2014 Deepanshu Gupta <deepanshu@google.com> Add VMRuntime_Delegate

Framework now uses libart which moved the implementation of
newUnpaddedArray() to native. This copies over the implementation of the
method from libdvm to restore the old behaviour.

Change-Id: Ic062aeb01f9ea52b6ed35517f742058d0ba8c804
ayoutlib/bridge/src/dalvik/system/VMRuntime_Delegate.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
fe2a71bb13d65a2e8d6bcc60e6bda181029c78a0 25-Jun-2014 Deepanshu Gupta <deepanshu@google.com> Report all TestDelegate failures in a single run.

Change-Id: I37fa0a6f300ea89c8d0a60380b77b7d61db01cb7
ayoutlib/bridge/tests/src/com/android/layoutlib/bridge/TestDelegates.java
1076be31f1c14f39295cc2ce7a747ee9ad96ee73 27-Jun-2014 Deepanshu Gupta <deepanshu@google.com> Update system icon resolution in LayoutLib.

This fixes some bugs with the resolution of icons for Status Bar and
Navigation Bar by separating the icons into v21 and v11 directories. An
icon is searched in v21 directory by default. For simulating older
platforms, v11 directory is searched first and then v21 is used as a
fallback.

This also adds xxhdpi versions of home, back and recent icons.

Change-Id: Ia6eafc83856eacafc4fb0b13d87793d4aa24f106
ayoutlib/bridge/resources/bars/hdpi-v21/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/hdpi-v21/ic_sysbar_home.png
ayoutlib/bridge/resources/bars/hdpi-v21/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/hdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/hdpi/ic_sysbar_home.png
ayoutlib/bridge/resources/bars/hdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/hdpi/stat_sys_battery_charge_anim100.png
ayoutlib/bridge/resources/bars/hdpi/stat_sys_wifi_signal_4_fully.png
ayoutlib/bridge/resources/bars/hdpi/status_bar_background.9.png
ayoutlib/bridge/resources/bars/ldrtl-hdpi-v21/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/ldrtl-hdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/ldrtl-hdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/ldrtl-mdpi-v21/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/ldrtl-mdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/ldrtl-mdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/ldrtl-xhdpi-v21/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/ldrtl-xhdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/ldrtl-xhdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/mdpi-v21/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/mdpi-v21/ic_sysbar_home.png
ayoutlib/bridge/resources/bars/mdpi-v21/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/mdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/mdpi/ic_sysbar_home.png
ayoutlib/bridge/resources/bars/mdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/mdpi/stat_sys_battery_charge_anim100.png
ayoutlib/bridge/resources/bars/mdpi/stat_sys_wifi_signal_4_fully.png
ayoutlib/bridge/resources/bars/mdpi/status_bar_background.9.png
ayoutlib/bridge/resources/bars/v11/README
ayoutlib/bridge/resources/bars/v11/hdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/v11/hdpi/ic_sysbar_home.png
ayoutlib/bridge/resources/bars/v11/hdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/v11/ldrtl-hdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/v11/ldrtl-hdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/v11/ldrtl-mdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/v11/ldrtl-mdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/v11/ldrtl-xhdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/v11/ldrtl-xhdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/v11/mdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/v11/mdpi/ic_sysbar_home.png
ayoutlib/bridge/resources/bars/v11/mdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/v11/xhdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/v11/xhdpi/ic_sysbar_home.png
ayoutlib/bridge/resources/bars/v11/xhdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/v21/hdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/v21/hdpi/ic_sysbar_home.png
ayoutlib/bridge/resources/bars/v21/hdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/v21/hdpi/stat_sys_battery_charge_anim100.png
ayoutlib/bridge/resources/bars/v21/hdpi/stat_sys_wifi_signal_4_fully.png
ayoutlib/bridge/resources/bars/v21/hdpi/status_bar_background.9.png
ayoutlib/bridge/resources/bars/v21/ldrtl-hdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/v21/ldrtl-mdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/v21/ldrtl-xhdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/v21/ldrtl-xxhdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/v21/mdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/v21/mdpi/ic_sysbar_home.png
ayoutlib/bridge/resources/bars/v21/mdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/v21/mdpi/stat_sys_battery_charge_anim100.png
ayoutlib/bridge/resources/bars/v21/mdpi/stat_sys_wifi_signal_4_fully.png
ayoutlib/bridge/resources/bars/v21/mdpi/status_bar_background.9.png
ayoutlib/bridge/resources/bars/v21/xhdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/v21/xhdpi/ic_sysbar_home.png
ayoutlib/bridge/resources/bars/v21/xhdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/v21/xhdpi/stat_sys_battery_charge_anim100.png
ayoutlib/bridge/resources/bars/v21/xhdpi/stat_sys_wifi_signal_4_fully.png
ayoutlib/bridge/resources/bars/v21/xxhdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/v21/xxhdpi/ic_sysbar_home.png
ayoutlib/bridge/resources/bars/v21/xxhdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/xhdpi-v21/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/xhdpi-v21/ic_sysbar_home.png
ayoutlib/bridge/resources/bars/xhdpi-v21/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/xhdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/xhdpi/ic_sysbar_home.png
ayoutlib/bridge/resources/bars/xhdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/xhdpi/stat_sys_battery_charge_anim100.png
ayoutlib/bridge/resources/bars/xhdpi/stat_sys_wifi_signal_4_fully.png
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/Config.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/StatusBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/Config.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
eb8d1be6acad180eabde84f19196b9ecaba81353 25-Jun-2014 John Spurlock <jspurlock@google.com> Add a BIND_DREAM_SERVICE signature-level permission.

Starting in api 21, will be required to bind to a
declared dream or doze service.

Also added to aapt dump badging output.

Bug:15862654
Change-Id: Ifa0a594eeecf21e6146176c7810a847e1d08fe3b
apt/Command.cpp
7a139f3fc9b8c90e4580bb3f4f8f4c90a2b8d088 25-Jun-2014 Deepanshu Gupta <deepanshu@google.com> Improve PorterDuff support.

1. Don't cache the src image used for applying the filter. The filter
delegate is not always cleared. This probably results in slighly slower
rendering, but doesn't run Studio out of memory.
2. Support more PorterDuff modes.
3. Fix a bug where the alpha was applied twice and thus the filter had
less effect than it should have had.

Change-Id: I2a481a64ba7f1ff8e9683bbc46ae110433e82ebc
ayoutlib/bridge/src/android/graphics/PorterDuffColorFilter_Delegate.java
baffd0f85b76382b346c18b0eedb0bc9d2766c49 25-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am ac626a67: Merge "Improve PorterDuff support." into lmp-preview-dev

* commit 'ac626a6724bc239fcf3d5b2e207de02c59595c5a':
Improve PorterDuff support.
9d5b08ea8c1eef6658418b33090a6a8142d75208 25-Apr-2014 Adam Lesinski <adamlesinski@google.com> Dump more info about behaviors an APK offers

Behaviors include things like print services,
custom launchers, camera apps, etc.

Bug:13748429

Change-Id: I9fb83bac95b1be61fc630c1e74daf0f4a8b9b27f
apt/Command.cpp
ead9ce3ff6c7dd9c0607b3eb6496317f8e58e871 24-Jun-2014 Deepanshu Gupta <deepanshu@google.com> Temporarily change PorterDuff mode MULTIPLY to SRC_IN

Overflow pop up dialog for action bar uses PorterDuff color filters in
mode SRC_IN. The mode is not supported by AlphaComposite currently. So,
in order to render something, we swap it out with SRC_IN.

Change-Id: I987e101728ecb76b5e3d5cd91f831e6f63a4321f
ayoutlib/bridge/src/android/graphics/PorterDuffColorFilter_Delegate.java
16af3691f5c99089457a6dd16a90e828c3482f0f 24-Jun-2014 Deepanshu Gupta <deepanshu@google.com> Fix bug to render status bar icons

Change-Id: I653c765105dafb02e30322384ca8e4791ac185d2
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
e1d04d5421c3aa3c4cea5da56b3201a942392a85 24-Jun-2014 Deepanshu Gupta <deepanshu@google.com> Fix NPE in Ninepatch creation.

Change-Id: Icead69cd8503e90aeb54ff42f9ec297e7af2b518
ayoutlib/bridge/src/android/graphics/BitmapFactory_Delegate.java
8dcfd4abe898bb2cd7a13edf77d41e4063180652 24-Jun-2014 Deepanshu Gupta <deepanshu@google.com> Resource resolution bug fix.

Fix a bug where "?attr/foo" in framework resources wasn't resolved
properly.

Change-Id: I9a56974f526774fde79685f668f01021136d68f1
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
42c7ce02f4023c94b315253754a20c20800be731 23-Jun-2014 Deepanshu Gupta <deepanshu@google.com> Add navigtaion bar icons to simulate older platforms.

LayoutLib can simulate older versions of the platform to a very limited
extent. This change adds the old navigtaion bar icons back and moves the
latest ones to directories suffixed with "-v21". The code handles this
resolution in a very crude way.

This also removes a bunch of unused code and fixes some style warnings.

Change-Id: Ib6e7bfd8dfb34b2ccd87f660ca979eb5ef14bae7
ayoutlib/bridge/resources/bars/hdpi-v21/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/hdpi-v21/ic_sysbar_home.png
ayoutlib/bridge/resources/bars/hdpi-v21/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/hdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/hdpi/ic_sysbar_home.png
ayoutlib/bridge/resources/bars/hdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/ldrtl-hdpi-v21/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/ldrtl-hdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/ldrtl-hdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/ldrtl-mdpi-v21/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/ldrtl-mdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/ldrtl-mdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/ldrtl-xhdpi-v21/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/ldrtl-xhdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/ldrtl-xhdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/mdpi-v21/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/mdpi-v21/ic_sysbar_home.png
ayoutlib/bridge/resources/bars/mdpi-v21/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/mdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/mdpi/ic_sysbar_home.png
ayoutlib/bridge/resources/bars/mdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/xhdpi-v21/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/xhdpi-v21/ic_sysbar_home.png
ayoutlib/bridge/resources/bars/xhdpi-v21/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/xhdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/xhdpi/ic_sysbar_home.png
ayoutlib/bridge/resources/bars/xhdpi/ic_sysbar_recent.png
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/NavigationBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/StatusBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/TitleBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
091208709ab2dffa2ab7b22ee17dbb42e1d725e6 24-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am 699f7221: Merge "Temporarily change PorterDuff mode MULTIPLY to SRC_IN" into lmp-preview-dev

* commit '699f7221dc0719b1ceb03a03183dc742a5bcdf3c':
Temporarily change PorterDuff mode MULTIPLY to SRC_IN
d8ef316f1f42ea8e5417ea82bd4e432442cc8c97 24-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am 91977396: Merge "Fix bug to render status bar icons" into lmp-preview-dev

* commit '9197739603eb34df6cbc85c6a7fa0ea359e4776b':
Fix bug to render status bar icons
09348a10be57e4dfaaac582d3a18d37afcd9d53b 24-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am 3a812f47: Merge "Fix NPE in Ninepatch creation." into lmp-preview-dev

* commit '3a812f4755015a7384a8d28bbdeca445c87598b3':
Fix NPE in Ninepatch creation.
2b46b7eed71231b6def62c4d30810a6ad56c25e6 24-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am cd4b38ea: Merge "Resource resolution bug fix." into lmp-preview-dev

* commit 'cd4b38ea1d3605e0e62e5ddc70c052e221fef73c':
Resource resolution bug fix.
08b59fcb217d06d10fc67f376ebfa183d8d759db 24-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am 04703acd: Merge "Add navigtaion bar icons to simulate older platforms." into lmp-preview-dev

* commit '04703acdd214cd17aaf5757da75a862fb1797d1e':
Add navigtaion bar icons to simulate older platforms.
3510c58ad6db0ab06f0e63507fbc34205e3b04a6 24-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am e558d180: Merge "LayoutLib: Support PorterDuffColorFilter" into lmp-preview-dev

* commit 'e558d1806b29385aa14ba60f18e103e2c9aeef1b':
LayoutLib: Support PorterDuffColorFilter
e2f83fac78257241be303747be806368264ecf49 24-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am 52abbced: Merge "Fix SurfaceView in LayoutLib." into lmp-preview-dev

* commit '52abbced58ace68f8a91c4d092061d115af3b268':
Fix SurfaceView in LayoutLib.
f2af1f5d8aaff684f8cc6d8e31454c945e190976 22-Jun-2014 Deepanshu Gupta <deepanshu@google.com> LayoutLib: Support PorterDuffColorFilter

Add support for select modes for PorterDuffColorFilter.

Change-Id: Ia7b4a6a92c326be977dd87a70f54c1f8954b546d
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/ColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/ColorMatrixColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/LightingColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
ayoutlib/bridge/src/android/graphics/PorterDuffColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/PorterDuffXfermode_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/GcSnapshot.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/PorterDuffUtility.java
367a0ce902edbdbea7d63aedd9c98820c00909ae 21-Jun-2014 Deepanshu Gupta <deepanshu@google.com> Fix SurfaceView in LayoutLib.

Added missing constructor.

Change-Id: I3dc8eb510bf4210568d4bb71ad551446d6835ae2
ayoutlib/bridge/src/android/view/SurfaceView.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/MockView.java
b33729565421c892f2da95f548abdd50b6fad0f6 22-Jun-2014 Deepanshu Gupta <deepanshu@google.com> Merge "LayoutLib: Better support for compact/elegant fonts." into lmp-preview-dev
a88738ff52cfc98bfab71df8d26462032903e2e2 22-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am 3daec197: Merge "LayoutLib: Better support for compact/elegant fonts." into lmp-preview-dev

* commit '3daec1972493c1e867c6cac7f4a2a43a157d52b9':
LayoutLib: Better support for compact/elegant fonts.
4a2ff7a4d8197309d209ff01417b408cb435768a 22-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am f791b120: Merge "Material navigation bar for layoutlib." into lmp-preview-dev

* commit 'f791b1205192e525590f72c465e7e4c185112eb0':
Material navigation bar for layoutlib.
80f1fe5f7cc80b6f1da142c782ccbbad45d878a8 19-Jun-2014 Brian Carlstrom <bdc@google.com> am f8077cf2: am 8e21e215: Merge "Switch from core to core-libart"

* commit 'f8077cf2d7ee55dbf02ec0c65a05db7e5c2fabfc':
Switch from core to core-libart
f8077cf2d7ee55dbf02ec0c65a05db7e5c2fabfc 19-Jun-2014 Brian Carlstrom <bdc@google.com> am 8e21e215: Merge "Switch from core to core-libart"

* commit '8e21e21550eddce01ad06fdf05b342993bf44c6a':
Switch from core to core-libart
dbcae5ceb766b0bc65fa819841f9bfab9ae11c2f 19-Jun-2014 Brian Carlstrom <bdc@google.com> Switch from core to core-libart

Bug: 14298175
Change-Id: I89db18bf3d88f9511cb2ad943c64ecdbaf09d96f
ayoutlib/Android.mk
17f6f35f90e589becebc9dd2f43f324bd501fd18 19-Jun-2014 Deepanshu Gupta <deepanshu@google.com> Material navigation bar for layoutlib.

Change-Id: Id65600e5f4ffb3cd0f90c3c710f88d9b668f754f
ayoutlib/bridge/resources/bars/hdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/hdpi/ic_sysbar_home.png
ayoutlib/bridge/resources/bars/hdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/ldrtl-hdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/ldrtl-hdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/ldrtl-mdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/ldrtl-mdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/ldrtl-xhdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/ldrtl-xhdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/mdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/mdpi/ic_sysbar_home.png
ayoutlib/bridge/resources/bars/mdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/xhdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/xhdpi/ic_sysbar_home.png
ayoutlib/bridge/resources/bars/xhdpi/ic_sysbar_recent.png
5ba5ab3111d3738ac33efbeb7c4e87f46d923b37 18-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am 1595c61d: am 5a49fc33: am c57b410c: Add a script to rename fonts for SDK. [DO NOT MERGE]

* commit '1595c61d2f1f081111958b4a22e8fec25402f3cd':
Add a script to rename fonts for SDK. [DO NOT MERGE]
1595c61d2f1f081111958b4a22e8fec25402f3cd 18-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am 5a49fc33: am c57b410c: Add a script to rename fonts for SDK. [DO NOT MERGE]

* commit '5a49fc331ec7d5aa2532d650c32ea68733cbd5c0':
Add a script to rename fonts for SDK. [DO NOT MERGE]
5a49fc331ec7d5aa2532d650c32ea68733cbd5c0 18-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am c57b410c: Add a script to rename fonts for SDK. [DO NOT MERGE]

* commit 'c57b410c8ef41e269f82f3b42a8d22a15c08755b':
Add a script to rename fonts for SDK. [DO NOT MERGE]
7f047f02ad713305acf1de5db7d07792318d69c2 19-Jun-2014 Brian Carlstrom <bdc@google.com> am 80f1fe5f: am f8077cf2: am 8e21e215: Merge "Switch from core to core-libart"

* commit '80f1fe5f7cc80b6f1da142c782ccbbad45d878a8':
Switch from core to core-libart
f90f2f8dc36e7243b85e0b6a7fd5a590893c827e 06-Jun-2014 Adam Lesinski <adamlesinski@google.com> Support multiple resource tables with same package

In order to support APK split features, the resource
table needs to support loading multiple resource
tables with the same package but potentially new set
of type IDs.

This adds some complexity as the type ID space changes
from dense and ordered to potentially sparse.

A ByteBucketArray is used to store the type IDs in
a memory efficient way that allows for fast retrieval.

In addition, the IDMAP format has changed. We no longer
need random access to the type data, since we store the
types differently. However, random access to entries of
a given type is still required.

Change-Id: If6f5be680b405b368941d9c1f2b5d2ddca964160
apt/Resource.cpp
apt/ResourceTable.cpp
21b0aab838a1e665e440c4e2d0f4aa4f3769c4a7 16-May-2014 Deepanshu Gupta <deepanshu@google.com> Add a script to rename fonts for SDK. [DO NOT MERGE]

Create a script that will rename the PS name encoded in the font that is
to be shipped with the SDK.

Change-Id: I675a98db39fea4525e3673656af1764eb7e5bb96
(cherry picked from commit b49e21e153c59b31503a376d62257e4fc6e7ce4f)
ayoutlib/rename_font/README
ayoutlib/rename_font/Roboto-Regular.ttf
ayoutlib/rename_font/build_font.py
ayoutlib/rename_font/test.py
b49e21e153c59b31503a376d62257e4fc6e7ce4f 16-May-2014 Deepanshu Gupta <deepanshu@google.com> Add a script to rename fonts for SDK. [DO NOT MERGE]

Create a script that will rename the PS name encoded in the font that is
to be shipped with the SDK.

Change-Id: I675a98db39fea4525e3673656af1764eb7e5bb96
(cherry picked from commit c57b410c8ef41e269f82f3b42a8d22a15c08755b)
ayoutlib/rename_font/README
ayoutlib/rename_font/Roboto-Regular.ttf
ayoutlib/rename_font/build_font.py
ayoutlib/rename_font/test.py
c57b410c8ef41e269f82f3b42a8d22a15c08755b 16-May-2014 Deepanshu Gupta <deepanshu@google.com> Add a script to rename fonts for SDK. [DO NOT MERGE]

Create a script that will rename the PS name encoded in the font that is
to be shipped with the SDK.

This commit is a combination of 5 commits:
e0660d31c256e02e5f5e2967508a7205d1f62f86
7e149f02c4e4403101e7e0e88af36cd4ab6f3554
66d3314301a8983c7070a15ea68daacc7300b7f2
c6364fd90de1600526d3431ce0740b6b856e48f0
2d8c52dc4502b8407705d5b6efe628cb657b20b4

Change-Id: I675a98db39fea4525e3673656af1764eb7e5bb96
ayoutlib/rename_font/README
ayoutlib/rename_font/Roboto-Regular.ttf
ayoutlib/rename_font/build_font.py
ayoutlib/rename_font/test.py
1434ea749f669b09aff3f7a98859d2593da32f61 12-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am 92b7c67e: Merge "LayoutLib fixes for API 20 [DO NOT MERGE]" into klp-modular-dev

* commit '92b7c67e719fa125a5af368eb9e00f724c88601d':
LayoutLib fixes for API 20 [DO NOT MERGE]
86837dc24a64af7fb007e5f2ff6b3e1cfe98f844 12-Jun-2014 Deepanshu Gupta <deepanshu@google.com> LayoutLib: Better support for compact/elegant fonts.

Change-Id: I67439924bc6323490ea0c7d7864985b400906f8c
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
ayoutlib/bridge/src/android/graphics/Typeface_Delegate.java
9c80488e117d01bfe3f9e8ecf18658cbea9259cf 12-Jun-2014 Deepanshu Gupta <deepanshu@google.com> LayoutLib fixes for API 20 [DO NOT MERGE]

Fixes a bunch of issues with delegate method signatures.

Also cherrypicked commit 664d6f1fe4d6dfa742b3e98051f924dbc190f8ca
which is needed in this branch also.

Bug: 15492736
Change-Id: If99ff279b0d0cabe22942da27388ecb4b800c330
ayoutlib/bridge/src/android/graphics/BitmapFactory_Delegate.java
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/LightingColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/Matrix_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
ayoutlib/bridge/src/android/graphics/Path_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/libcore/icu/ICU_Delegate.java
a3874f0ac649a865d6ad7a8a032f57539bd0d0c3 13-Jun-2014 Ji-Hwan Lee <jihwan@google.com> LayoutLib: Fix broken sdk builds

Change-Id: I301b312195eb3e57cb581d015e7c0b0492084b3e
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowSession.java
9ad11ca07fb0c91997cb911015a9f86119b9f387 11-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am e3e1591c: Merge "Remove lxml dependency." into lmp-preview-dev

* commit 'e3e1591cd8d748ba5da228fe857dd785ec7965a9':
Remove lxml dependency.
6370c7f554f140c8fc77fe29c43b075ac3757287 11-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am fe01ace8: Merge "LayoutLib: Support more ContextThemeWrappers" into lmp-preview-dev

* commit 'fe01ace8ac5da2c9716a0eb0cb53fdda823b3910':
LayoutLib: Support more ContextThemeWrappers
3e950680c4aa6492eb20d7a6e2c69af52e36563f 11-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am 0a89c1b0: Merge "LayoutLib: Fix EditText rendering" into lmp-preview-dev

* commit '0a89c1b00762b404966e32beef1ea9a53e4a8b08':
LayoutLib: Fix EditText rendering
1160e6d2f7018117b0c29a7e2adba9ece36faec1 10-Jun-2014 Deepanshu Gupta <deepanshu@google.com> LayoutLib: Fix EditText rendering

Framework has overloaded java.lang.System.arraycopy() for char[]. The
method is not present on the Desktop VMs. This change replaces the calls
to this method by its more general alternative - the one using Objects.

TODO: Make it more configurable and flexible to allow rewrite of any
such methods in the future.

Change-Id: I6823b13e52b1c555eb257d02b79707d84e73236f
ayoutlib/create/README.txt
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmGenerator.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
ayoutlib/create/src/com/android/tools/layoutlib/create/ReplaceMethodCallsAdapter.java
352d84fb0744adf01c86f890971b6114ef4441ac 11-Jun-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Remove lxml dependency." into lmp-preview-dev
125714173b5ef296f8d50191edcfceedcb19dbde 10-Jun-2014 Deepanshu Gupta <deepanshu@google.com> Remove lxml dependency.

The encoding for the .ttx file generated is now hard-coded to be utf-8.

Change-Id: I71c208327995651fcf44b6961510f84bafb05848
ayoutlib/rename_font/build_font.py
ayoutlib/rename_font/test.py
b54b78e21554b8450893d4c28e0fe3e9b8c4425e 10-Jun-2014 Deepanshu Gupta <deepanshu@google.com> LayoutLib: Support more ContextThemeWrappers

ContextThemeWrapper may be the base context for another
ContextThemeWrapper. We now extract the base context till we reach the
final context.

Change-Id: I034444a2d1579241543fd24248530b299e72498a
ayoutlib/bridge/src/android/view/BridgeInflater.java
ayoutlib/bridge/src/android/view/MenuInflater_Delegate.java
ayoutlib/bridge/src/com/android/internal/view/menu/BridgeMenuItemImpl.java
709ce0a4c668b5f53b5e956bb04f46fb82b327a1 07-Jun-2014 Jeff Brown <jeffbrown@google.com> Add support for @SystemApi annotation to aapt. (DO NOT MERGE)

When aapt sees @SystemApi in the XML comment associated with a resource,
it will now remove this tag from the comment (since is it not meaningful as
a Javadoc tag) and instead add an @android.annotation.SystemApi annotation
to the declared type or member. This enables easy downstream processing of
this annotation from generated code.

Change-Id: If984908477648c0c90be52fdc955fbb891d99b28
apt/Resource.cpp
96c2e9f1cbda615197047a46af5a39ae182fc306 09-Jun-2014 Jeff Brown <jeffbrown@google.com> Merge "Add support for @SystemApi annotation to aapt."
aa00ae0a67059c305323d234cf9ffb0cf9a15961 09-Jun-2014 Bryan Mawhinney <bryanmawhinney@google.com> am 99017c01: Merge "Fix issue preventing aapt from stripping all unwanted densities" into lmp-preview-dev

* commit '99017c01bac525ca4b5b10768052ced398b4a493':
Fix issue preventing aapt from stripping all unwanted densities
75814c19d33d8f206e7b1113d15fe4ae9f2a7c26 09-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am e23620e6: Merge "Build LayoutLib with Java 6" into lmp-preview-dev

* commit 'e23620e684ae73558e42a51f93004c8de07ba8d5':
Build LayoutLib with Java 6
0fcedfd8ea4a613a6669bbe02cb0434c67bdbe01 09-Jun-2014 Yohei Yukawa <yukawa@google.com> Merge "Introduce a sequence number to avoid redundant IPCs"
3d1e8129ebd69db49d80e5d598f608c59b884cdf 06-Jun-2014 Yohei Yukawa <yukawa@google.com> Introduce a sequence number to avoid redundant IPCs

This CL introduces a sequence number to avoid redundant IPCs
between IMM and IMMS. The basic concept is that:
1. IMMS maintains a sequence number for #notifyUserAction.
2. IMMS increases the sequence number whenever the current
IME/subtype is changed.
3. IMMS notifies the new sequence number to IMM.
4. IMM maintains the last sent sequence number and the next
sequence number. IMM should call #notifyUserAction only
once per particular sequence number.
5. IMMS ignores #notifyUserAction if the specified sequence
number is not the expected one.

BUG: 7043015
Change-Id: I19ad8542659bc092b92ee13eb9f1d68ddd4b815a
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeIInputMethodManager.java
2386bd5de40849bd312482e33105070cf438011d 08-Jun-2014 Bryan Mawhinney <bryanmawhinney@google.com> Merge "Fix issue preventing aapt from stripping all unwanted densities" into lmp-preview-dev
acb119f0a257e4e542a4450f60405b21a53f3545 08-Jun-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Build LayoutLib with Java 6" into lmp-preview-dev
f4058c8d6b7d3d36b3ba93eb5996848f8a8412c9 07-Jun-2014 Deepanshu Gupta <deepanshu@google.com> Build LayoutLib with Java 6

Add source and target flags to LayoutLib Bridge to enable compatibility
with Java 6.

Change-Id: I81266af758bb57df037541d6e82600e5020a3c0d
ayoutlib/Android.mk
ayoutlib/bridge/Android.mk
eb490d6194bd79adbe144a1230fc126f4c180a2f 07-Jun-2014 Jeff Brown <jeffbrown@google.com> Add support for @SystemApi annotation to aapt.

When aapt sees @SystemApi in the XML comment associated with a resource,
it will now remove this tag from the comment (since is it not meaningful as
a Javadoc tag) and instead add an @android.annotation.SystemApi annotation
to the declared type or member. This enables easy downstream processing of
this annotation from generated code.

Change-Id: If984908477648c0c90be52fdc955fbb891d99b28
apt/Resource.cpp
34e0888c99e001bc7bc785658725f8ab15f8a00d 06-Jun-2014 Amith Yamasani <yamasani@google.com> am 87590b53: Merge "Add missing abstract method override in BridgePowerManager." into lmp-preview-dev

* commit '87590b5342c5c4b1fb7b1c6037d64cffd1806025':
Add missing abstract method override in BridgePowerManager.
da8738fabdc0fda6a02606d4d678f399e5d50f29 06-Jun-2014 Amith Yamasani <yamasani@google.com> Add missing abstract method override in BridgePowerManager.

Change-Id: I28a24f33f8a598e487ec21861e918a39a8875d43
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java
d8883df650b77dba3be38fb2ca8980594b901461 06-Jun-2014 Dianne Hackborn <hackbod@google.com> am 87bc3c25: Merge "Improvements to low power mode." into lmp-preview-dev

* commit '87bc3c258d8be516bc0fcedeb6eec34088582061':
Improvements to low power mode.
421e2fd044815f00f0160810a052658abd95c4d8 06-Jun-2014 Dianne Hackborn <hackbod@google.com> Merge "Improvements to low power mode." into lmp-preview-dev
eb94fa7975b1e8742f3b00cec6bd4f9d6b329e3a 04-Jun-2014 Dianne Hackborn <hackbod@google.com> Improvements to low power mode.

Add new public API for monitoring low power mode.

BatteryService now puts device in to low power mode when
battery level is low.

Window manager now watches low power mode to turn off
animations.

Modifying the animator scale now gets propagated to all
processes.

Change-Id: I8fa566994764ddd4e1977631e28381ab9409f8ee
ayoutlib/bridge/src/android/view/IWindowManagerImpl.java
b0db8de73e6e4151b4e9d1fe3be1f609c3c1fb83 06-Jun-2014 Bryan Mawhinney <bryanmawhinney@google.com> Fix issue preventing aapt from stripping all unwanted densities

Bug: 15463874
Change-Id: I9d1e289f1db2ed3c9a41d91caea6d07b69fcb84f
apt/AaptAssets.cpp
b78cc309201b85a81f5ce72a7649570924319385 01-Apr-2014 Deepanshu Gupta <deepanshu@google.com> 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)
ayoutlib/Android.mk
eaa55cdc8731b13b18ca7eb5c6c1835164c86f01 06-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am ee001119: Merge "LayoutLib: Add assertions for typeface." into lmp-preview-dev

* commit 'ee0011198ff150f972c8afbc5dff695bce2af1f1':
LayoutLib: Add assertions for typeface.
6d14163a1e8e52004236a01d9b3636702933b908 06-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am 242dded6: Merge "LayoutLib: Font variants" into lmp-preview-dev

* commit '242dded6e8b7e5851ad7b80a0c05e4883d2a9f42':
LayoutLib: Font variants
6c1f78f5d6a3070f1c311ac6cf9c64d896c5526f 06-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am 9a9d96bf: Merge "LayoutLib: Add capability to simulate old versions" into lmp-preview-dev

* commit '9a9d96bf044bd75e0d75e16a6002dc20e5399866':
LayoutLib: Add capability to simulate old versions
a19b8c111b6961f20e1fc9132c62d1fd7f98bafe 05-Jun-2014 Deepanshu Gupta <deepanshu@google.com> LayoutLib: Add assertions for typeface.

Framework passes typeface along with the paint object at many places.
Paint_Delegate is supposed to have the typeface object with it. Add
assertions to ensure that the two typefaces are indeed the same.

Change-Id: I68193513c2d99f269c0458d6493f23025bbda385
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
ad69aee5ed503d9592c10a0f6d1a5b617d99e6c5 31-May-2014 Deepanshu Gupta <deepanshu@google.com> LayoutLib: Font variants

Update to support font variants properly.

Change-Id: Iabe37babd9ddce80a9ba9eca7e0e5a0ffb090646
ayoutlib/bridge/src/android/graphics/FontFamily_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
ayoutlib/bridge/src/android/graphics/Typeface_Delegate.java
0297051162193ef2b7d906409868e404f77e4c31 05-Jun-2014 Yohei Yukawa <yukawa@google.com> Trivial method renaming for notifyTextCommitted

This CL does not change existing behavior but only renames
notifyTextCommitted with notifyUserAction so that we can use
not only text commit but also other actions such as just typing
a character will be used as a trigger to update the IME
rotation order for better IME switching experience.

BUG: 7043015
Change-Id: I7f3e13a7226ef0dceee82b67e8a0d8536f7e9807
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeIInputMethodManager.java
d0ca7b623b873b4159d7d77be1771ab573e22028 05-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am dfc3bc9b: Fix build.

* commit 'dfc3bc9b3cf27a72dfd133ce62f5e791ef74659d':
Fix build.
c8e2d0a4f88539f44da405597ede529ceb6339f6 31-May-2014 Deepanshu Gupta <deepanshu@google.com> LayoutLib: Add capability to simulate old versions

Let the IDE know that we can simulate older versions of platform.

Change-Id: Idec6d24296dd0ae04a2d808c14604629e265d458
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
33dff284df61ed3a2d74839ff4c1f3cb93ab093b 05-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am 4c0d33f2: Merge "Add basic support for simulating older versions." into lmp-preview-dev

* commit '4c0d33f29f295e5ae27ba057fc8cb2270295865a':
Add basic support for simulating older versions.
58ff7de971a8172e40c09c3a8489eb276441e1b6 05-Jun-2014 Deepanshu Gupta <deepanshu@google.com> Fix build.

Change-Id: I877532b5056a035dbd4b0c6c55b5969d6292846a
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/StatusBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
648a309d9badc405bc969bcb4461369bf89fe7ef 05-Jun-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Add basic support for simulating older versions." into lmp-preview-dev
e43dcc1d64b849a878d1994bfdd634e462d16005 05-Jun-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Distinguish between menus in ActionBar and popup." into lmp-preview-dev
9288548527e318f748d0bcbe7e99647a85703ac8 04-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am e478c562: am 905e113f: am 03df93bc: am 5cde33a6: am dcfba78f: am ed5ab0f0: am 022d8a9f: am bad112f2: am c8235b8e: am ffcad247: am 904b89c5: am 295184bc: am 8782a120: resolved conflicts for merge of 61fb5784 to jb-mr1-dev

* commit 'e478c5624d5eeca5adc088d9328582bd5b487963':
Distinguish between menus in ActionBar and popup. [DO NOT MERGE]
e478c5624d5eeca5adc088d9328582bd5b487963 04-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am 905e113f: am 03df93bc: am 5cde33a6: am dcfba78f: am ed5ab0f0: am 022d8a9f: am bad112f2: am c8235b8e: am ffcad247: am 904b89c5: am 295184bc: am 8782a120: resolved conflicts for merge of 61fb5784 to jb-mr1-dev

* commit '905e113f97560dbcf71cab517ab4c1ee4faaa4d3':
Distinguish between menus in ActionBar and popup. [DO NOT MERGE]
905e113f97560dbcf71cab517ab4c1ee4faaa4d3 04-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am 03df93bc: am 5cde33a6: am dcfba78f: am ed5ab0f0: am 022d8a9f: am bad112f2: am c8235b8e: am ffcad247: am 904b89c5: am 295184bc: am 8782a120: resolved conflicts for merge of 61fb5784 to jb-mr1-dev

* commit '03df93bcb854eedc600ef0120fd238ec974c44a1':
Distinguish between menus in ActionBar and popup. [DO NOT MERGE]
03df93bcb854eedc600ef0120fd238ec974c44a1 04-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am 5cde33a6: am dcfba78f: am ed5ab0f0: am 022d8a9f: am bad112f2: am c8235b8e: am ffcad247: am 904b89c5: am 295184bc: am 8782a120: resolved conflicts for merge of 61fb5784 to jb-mr1-dev

* commit '5cde33a6ffd6a3be87f6622e67c3d83fb61519cb':
Distinguish between menus in ActionBar and popup. [DO NOT MERGE]
5cde33a6ffd6a3be87f6622e67c3d83fb61519cb 04-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am dcfba78f: am ed5ab0f0: am 022d8a9f: am bad112f2: am c8235b8e: am ffcad247: am 904b89c5: am 295184bc: am 8782a120: resolved conflicts for merge of 61fb5784 to jb-mr1-dev

* commit 'dcfba78fbb4dad6792113383b2d32eff7f2c1f88':
Distinguish between menus in ActionBar and popup. [DO NOT MERGE]
dcfba78fbb4dad6792113383b2d32eff7f2c1f88 04-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am ed5ab0f0: am 022d8a9f: am bad112f2: am c8235b8e: am ffcad247: am 904b89c5: am 295184bc: am 8782a120: resolved conflicts for merge of 61fb5784 to jb-mr1-dev

* commit 'ed5ab0f01eac6686165f67fe0e9dec3bb48bbb4b':
Distinguish between menus in ActionBar and popup. [DO NOT MERGE]
3c15d8d6889806d0b517eec03ed6a4f8728ebc16 04-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am 14104896: am e4aa3138: am a9e82914: Merge branch \'klp-dev\' of https://googleplex-android.googlesource.com/_direct/platform/frameworks/base into klp-dev

* commit '14104896770dd26195cd9ccfac8c1604cb95dbc6':
Distinguish between menus in ActionBar and popup. [DO NOT MERGE]
022d8a9f4400dc7ec2926b133fc7151d8a5c24a3 04-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am bad112f2: am c8235b8e: am ffcad247: am 904b89c5: am 295184bc: am 8782a120: resolved conflicts for merge of 61fb5784 to jb-mr1-dev

* commit 'bad112f23f09f8839b4b7294439b0fe725cc2034':
Distinguish between menus in ActionBar and popup. [DO NOT MERGE]
14104896770dd26195cd9ccfac8c1604cb95dbc6 04-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am e4aa3138: am a9e82914: Merge branch \'klp-dev\' of https://googleplex-android.googlesource.com/_direct/platform/frameworks/base into klp-dev

* commit 'e4aa31382139ee2e319110fbfff402e0c6315952':
Distinguish between menus in ActionBar and popup. [DO NOT MERGE]
bad112f23f09f8839b4b7294439b0fe725cc2034 04-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am c8235b8e: am ffcad247: am 904b89c5: am 295184bc: am 8782a120: resolved conflicts for merge of 61fb5784 to jb-mr1-dev

* commit 'c8235b8e7446c849df10ff2f897d2a3743b4934d':
Distinguish between menus in ActionBar and popup. [DO NOT MERGE]
e4aa31382139ee2e319110fbfff402e0c6315952 04-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am a9e82914: Merge branch \'klp-dev\' of https://googleplex-android.googlesource.com/_direct/platform/frameworks/base into klp-dev

* commit 'a9e8291409a916186cd96b8bc557a6ac83d6b1ae':
Distinguish between menus in ActionBar and popup. [DO NOT MERGE]
c8235b8e7446c849df10ff2f897d2a3743b4934d 04-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am ffcad247: am 904b89c5: am 295184bc: am 8782a120: resolved conflicts for merge of 61fb5784 to jb-mr1-dev

* commit 'ffcad247d0401fb529441ecc65437226c2845461':
Distinguish between menus in ActionBar and popup. [DO NOT MERGE]
bac0d9ae796920360ee2f2babd8f2c03d4c3c2b8 15-May-2014 Deepanshu Gupta <deepanshu@google.com> Distinguish between menus in ActionBar and popup.

Mark the menus in the ActionBar and the ones in the Overflow popup
separately. This enables the IDE to differentiate between the two and
enable gestures such as double-click to open the menu xml for menus in
the ActionBar and single click for the menus in the Overflow popup.

Change-Id: I7a23f87d34d618a134ffbe3a665be695915d4bae
(cherry picked from commit f542f28a31b38a4e454535a1fea63968811b418c)
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/SystemViewInfo.java
2983ee55a6d578b15b4862c9c8523bf00f7d83d5 04-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am 12b657d7: am dade24b4: Merge "Distinguish between menus in ActionBar and popup. [DO NOT MERGE]" into jb-mr2-dev

* commit '12b657d74961ba5a6175162b7548cce4e77c9bbc':
Distinguish between menus in ActionBar and popup. [DO NOT MERGE]
904b89c58465b0d0822478be514572ec752df3e8 04-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am 295184bc: am 8782a120: resolved conflicts for merge of 61fb5784 to jb-mr1-dev

* commit '295184bc71a32a4e9418d34b2adeb0cef4b39781':
Distinguish between menus in ActionBar and popup. [DO NOT MERGE]
295184bc71a32a4e9418d34b2adeb0cef4b39781 04-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am 8782a120: resolved conflicts for merge of 61fb5784 to jb-mr1-dev

* commit '8782a12005e90bbd49be579fb8ede3a42a007380':
Distinguish between menus in ActionBar and popup. [DO NOT MERGE]
e87c63e0e41cf34ef4b1ea1b06bf6a94c1f229c6 04-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am d2dff39b: am b1ca2a0c: am f52fcc70: Merge "Distinguish between menus in ActionBar and popup. [DO NOT MERGE]" into jb-mr1.1-dev

* commit 'd2dff39b587bd073fcf5c97753c8a29e16f4ef57':
Distinguish between menus in ActionBar and popup. [DO NOT MERGE]
8782a12005e90bbd49be579fb8ede3a42a007380 04-Jun-2014 Deepanshu Gupta <deepanshu@google.com> resolved conflicts for merge of 61fb5784 to jb-mr1-dev

Change-Id: I079d5db0d69fd1972e6754cdd1829dfd1645202d
d2dff39b587bd073fcf5c97753c8a29e16f4ef57 04-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am b1ca2a0c: am f52fcc70: Merge "Distinguish between menus in ActionBar and popup. [DO NOT MERGE]" into jb-mr1.1-dev

* commit 'b1ca2a0c7fda713f5f2ebe928706dd813d87cabb':
Distinguish between menus in ActionBar and popup. [DO NOT MERGE]
61fb5784322fce5198e74834c32c8d8c547a8adf 04-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am 3ff08eb6: Distinguish between menus in ActionBar and popup. [DO NOT MERGE]

* commit '3ff08eb6bf68868d4f4e872fbbf1ecaf521934a9':
Distinguish between menus in ActionBar and popup. [DO NOT MERGE]
f3f8a73a57a34b405e73c83af8f4d42e9592079c 04-Jun-2014 Craig Mautner <cmautner@google.com> am 05cd6c39: Merge "Force all windows to redraw before unblanking screen" into lmp-preview-dev

* commit '05cd6c39824653e0f7e8641444a7134e8cac72f4':
Force all windows to redraw before unblanking screen
8a0da0184f6c5c95d94ab6adfee79bace4040abd 01-Jun-2014 Craig Mautner <cmautner@google.com> Force all windows to redraw before unblanking screen

The screen turning on would show windows as they were when the screen
turned off. This fix forces all showing windows to redraw first and
only then allow the screen to turn on.

Fixes bug 15092354.

Change-Id: I52c3f47438176a5ac00ba9a4d5205b56a5aa48f9
ayoutlib/bridge/src/android/view/IWindowManagerImpl.java
22af5b842869abff5418263e6fb0b4b925077629 04-Jun-2014 Craig Mautner <cmautner@google.com> am 81dfc082: Merge "Force all windows to redraw before unblanking screen" into klp-modular-dev

* commit '81dfc082d2add8463469e3eac9db94d6d93005ce':
Force all windows to redraw before unblanking screen
81dfc082d2add8463469e3eac9db94d6d93005ce 04-Jun-2014 Craig Mautner <cmautner@google.com> Merge "Force all windows to redraw before unblanking screen" into klp-modular-dev
8ee244355bdba6773e3647f0f283995fefb10c3a 03-Jun-2014 Adam Lesinski <adamlesinski@google.com> resolved conflicts for merge of 522c5ce2 to master

Change-Id: I15c7f78e9c81947e33270251d7b50e592fb61583
522c5ce280de6467bfdb99eeb384bf8c1c7bd49b 03-Jun-2014 Adam Lesinski <adamlesinski@google.com> am 7e547e0d: Merge "Add --pseudo-localize option to generate resources for pseudolocales."

* commit '7e547e0d72817032737909952f00acc2e777a35a':
Add --pseudo-localize option to generate resources for pseudolocales.
4f69d5b8e976751e9dd0ff2c8bf1b385f06435c4 03-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am 8af310c0: am 8f6a9a65: am 8974a5e6: LayoutLib: Correctly resolve ?attr/foo [DO NOT MERGE]

* commit '8af310c0c6a0922d2a84600f9abf7877009d12ba':
LayoutLib: Correctly resolve ?attr/foo [DO NOT MERGE]
0ab0d875d46d6d8974c9cf3ea5856dcfb557e9a4 03-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am 28f550f0: am 03a83266: am 08d2007b: LayoutLib: Correctly resolve ?attr/foo [DO NOT MERGE]

* commit '28f550f010045d5df9e7762a567fb0351499b846':
LayoutLib: Correctly resolve ?attr/foo [DO NOT MERGE]
ffbf24476c153bbd9293261cc14d9648f72b7369 03-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am 083af20d: am 531bdb5b: am fe6f3049: Remove @NonNull attribute [DO NOT MERGE]

* commit '083af20d9dc0d14eadd2ba03951579f88cd1f671':
Remove @NonNull attribute [DO NOT MERGE]
8af310c0c6a0922d2a84600f9abf7877009d12ba 03-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am 8f6a9a65: am 8974a5e6: LayoutLib: Correctly resolve ?attr/foo [DO NOT MERGE]

* commit '8f6a9a658a8a06eb4f11cfff5dca7edf3c7462ad':
LayoutLib: Correctly resolve ?attr/foo [DO NOT MERGE]
704954c96a797e45d421b8d910ca2426d19f6b37 03-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am 5f56ea8d: am f48ab8fe: am 3b7c09b4: LayoutLib: Correctly resolve ?attr/foo [DO NOT MERGE]

* commit '5f56ea8d802b3a7ce5ba8992a84dd3b462676e0e':
LayoutLib: Correctly resolve ?attr/foo [DO NOT MERGE]
661e158b0a754f1123485673ac050e388e8056a2 03-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am 2ac96a09: am a0fc1f46: LayoutLib: Correctly resolve ?attr/foo [DO NOT MERGE]

* commit '2ac96a093b12883c44327edba899e6c79ee71a7b':
LayoutLib: Correctly resolve ?attr/foo [DO NOT MERGE]
28f550f010045d5df9e7762a567fb0351499b846 03-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am 03a83266: am 08d2007b: LayoutLib: Correctly resolve ?attr/foo [DO NOT MERGE]

* commit '03a832669ded18a99d4ac37f047a82d2b198302a':
LayoutLib: Correctly resolve ?attr/foo [DO NOT MERGE]
083af20d9dc0d14eadd2ba03951579f88cd1f671 03-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am 531bdb5b: am fe6f3049: Remove @NonNull attribute [DO NOT MERGE]

* commit '531bdb5b57a7a903cea16baedb914e34df941651':
Remove @NonNull attribute [DO NOT MERGE]
5f56ea8d802b3a7ce5ba8992a84dd3b462676e0e 03-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am f48ab8fe: am 3b7c09b4: LayoutLib: Correctly resolve ?attr/foo [DO NOT MERGE]

* commit 'f48ab8feec71419e574a2d2f08a29be87743ef07':
LayoutLib: Correctly resolve ?attr/foo [DO NOT MERGE]
8f6a9a658a8a06eb4f11cfff5dca7edf3c7462ad 03-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am 8974a5e6: LayoutLib: Correctly resolve ?attr/foo [DO NOT MERGE]

* commit '8974a5e6d8408b4cd93f1befb05cc9b654b71e4a':
LayoutLib: Correctly resolve ?attr/foo [DO NOT MERGE]
f48ab8feec71419e574a2d2f08a29be87743ef07 03-Jun-2014 Deepanshu Gupta <deepanshu@google.com> am 3b7c09b4: LayoutLib: Correctly resolve ?attr/foo [DO NOT MERGE]

* commit '3b7c09b4336f421c489523c10278ecfbfb0708a7':
LayoutLib: Correctly resolve ?attr/foo [DO NOT MERGE]
7e547e0d72817032737909952f00acc2e777a35a 03-Jun-2014 Adam Lesinski <adamlesinski@google.com> Merge "Add --pseudo-localize option to generate resources for pseudolocales."
a191d0464f1eb5973caa044eee288a5a3e6c4dac 03-Jun-2014 Igor Viarheichyk <viarheichyk@google.com> Add --pseudo-localize option to generate resources for pseudolocales.

Update help output with new option, remove mention of obsolete zz_ZZ
pseudolocale.

Change-Id: Ie2cfc8d11ef6a57e2b9a2333514a7340a3a8c075
apt/Main.cpp
228742d2781c2c6b924e2c2dc0ac2a6b62e33e10 01-Jun-2014 Craig Mautner <cmautner@google.com> Force all windows to redraw before unblanking screen

The screen turning on would show windows as they were when the screen
turned off. This fix forces all showing windows to redraw first and
only then allow the screen to turn on.

Fixes bug 15092354.

Change-Id: I349995bf6446d6c462dccdc2b599bab9ab0ab2c8
ayoutlib/bridge/src/android/view/IWindowManagerImpl.java
9ec2eabe5ae9b17064412833ae11b113da453b75 02-Jun-2014 Florin Malita <fmalita@google.com> Merge "Add a native Canvas wrapper."
2ee3c1e189819cc6efb4d7de24f1438bdb824087 31-May-2014 Jeff Sharkey <jsharkey@android.com> Per-app media directories on external storage.

This change defines per-app directories on external storage that
will be scanned and included in MediaStore. This gives apps a way
to write content to secondary shared storage in a way that can
easily be surfaced to other apps.

Bug: 14382377
Change-Id: I4cb367c870509e76f0c2c598f01e2f699780030a
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
3ff08eb6bf68868d4f4e872fbbf1ecaf521934a9 15-May-2014 Deepanshu Gupta <deepanshu@google.com> Distinguish between menus in ActionBar and popup. [DO NOT MERGE]

Mark the menus in the ActionBar and the ones in the Overflow popup
separately. This enables the IDE to differentiate between the two and
enable gestures such as double-click to open the menu xml for menus in
the ActionBar and single click for the menus in the Overflow popup.

Change-Id: I7a23f87d34d618a134ffbe3a665be695915d4bae
(cherry picked from commit 03c0735017a34bac9ea69600b8cf980775331f0e)
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/SystemViewInfo.java
3b7c09b4336f421c489523c10278ecfbfb0708a7 16-May-2014 Deepanshu Gupta <deepanshu@google.com> LayoutLib: Correctly resolve ?attr/foo [DO NOT MERGE]

?attr/foo in platform files wasn't resolved properly. The IDE checked
the app namespace for the attribute even though it is being referenced
from a platform file.

Change-Id: I7db6dfef5b540d99804c298120578da9d060b886
(cherry picked from commit 08d2007b33838570a96c8df890f0757fa920904c)
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
03c0735017a34bac9ea69600b8cf980775331f0e 15-May-2014 Deepanshu Gupta <deepanshu@google.com> Distinguish between menus in ActionBar and popup. [DO NOT MERGE]

Mark the menus in the ActionBar and the ones in the Overflow popup
separately. This enables the IDE to differentiate between the two and
enable gestures such as double-click to open the menu xml for menus in
the ActionBar and single click for the menus in the Overflow popup.

Change-Id: I7a23f87d34d618a134ffbe3a665be695915d4bae
(cherry picked from commit 866d40fc39f7364d95085650244db59f52d4c002)
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/SystemViewInfo.java
08d2007b33838570a96c8df890f0757fa920904c 16-May-2014 Deepanshu Gupta <deepanshu@google.com> LayoutLib: Correctly resolve ?attr/foo [DO NOT MERGE]

?attr/foo in platform files wasn't resolved properly. The IDE checked
the app namespace for the attribute even though it is being referenced
from a platform file.

Change-Id: I7db6dfef5b540d99804c298120578da9d060b886
(cherry picked from commit a0fc1f46264e316449402525fbeb033138ec5f49)
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
fe6f30491f8506a4b2ad895a0f3e68de180e4243 30-May-2014 Deepanshu Gupta <deepanshu@google.com> Remove @NonNull attribute [DO NOT MERGE]

The tools prebuilt in this branch doesn't have the annotation.

Change-Id: I852f91c5202ed5f4c393d1226a4fa0b6fa4d63c1
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
5c3d927e17e98e8fd4a9f3c86f7f4def0bcfa816 08-May-2014 Florin Malita <fmalita@google.com> Add a native Canvas wrapper.

Instead of storing a direct SkCanvas reference, Canvas now tracks
an opaque native wrapper class. The native wrapper can be used to
store additional info for emulating deprecated Skia features
(at this point it only stores a canvas).

Some notes:

* all native handle -> SkCanvas conversions are routed through a
handful of native utility methods.
* safeCanvasSwap() refactored as a lower level setNativeBitmp() - which
is what clients need.
* removed unused get_thread_msec() (Canvas.cpp)

Change-Id: I715a5a6f1e1621c1cfc1e510ae4f2ea15cf11114
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
866d40fc39f7364d95085650244db59f52d4c002 15-May-2014 Deepanshu Gupta <deepanshu@google.com> Distinguish between menus in ActionBar and popup. [DO NOT MERGE]

Mark the menus in the ActionBar and the ones in the Overflow popup
separately. This enables the IDE to differentiate between the two and
enable gestures such as double-click to open the menu xml for menus in
the ActionBar and single click for the menus in the Overflow popup.

Change-Id: I7a23f87d34d618a134ffbe3a665be695915d4bae
(cherry picked from commit 79f45b43db4dfd605d1e7ddd2c71be4ef8285269)
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/SystemViewInfo.java
a0fc1f46264e316449402525fbeb033138ec5f49 16-May-2014 Deepanshu Gupta <deepanshu@google.com> LayoutLib: Correctly resolve ?attr/foo [DO NOT MERGE]

?attr/foo in platform files wasn't resolved properly. The IDE checked
the app namespace for the attribute even though it is being referenced
from a platform file.

Change-Id: I7db6dfef5b540d99804c298120578da9d060b886
(cherry picked from commit 8974a5e6d8408b4cd93f1befb05cc9b654b71e4a)
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
79f45b43db4dfd605d1e7ddd2c71be4ef8285269 15-May-2014 Deepanshu Gupta <deepanshu@google.com> Distinguish between menus in ActionBar and popup. [DO NOT MERGE]

Mark the menus in the ActionBar and the ones in the Overflow popup
separately. This enables the IDE to differentiate between the two and
enable gestures such as double-click to open the menu xml for menus in
the ActionBar and single click for the menus in the Overflow popup.

Change-Id: I7a23f87d34d618a134ffbe3a665be695915d4bae
(cherry picked from commit f542f28a31b38a4e454535a1fea63968811b418c)
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/SystemViewInfo.java
8974a5e6d8408b4cd93f1befb05cc9b654b71e4a 16-May-2014 Deepanshu Gupta <deepanshu@google.com> LayoutLib: Correctly resolve ?attr/foo [DO NOT MERGE]

?attr/foo in platform files wasn't resolved properly. The IDE checked
the app namespace for the attribute even though it is being referenced
from a platform file.

Change-Id: I7db6dfef5b540d99804c298120578da9d060b886
(cherry picked from commit e21c7ec8a02922a6bec19436897f9ee02be3d6c2)
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
3885220ed562b82d9109bb305c2f9db75853c6ed 15-May-2014 Deepanshu Gupta <deepanshu@google.com> Distinguish between menus in ActionBar and popup.

Mark the menus in the ActionBar and the ones in the Overflow popup
separately. This enables the IDE to differentiate between the two and
enable gestures such as double-click to open the menu xml for menus in
the ActionBar and single click for the menus in the Overflow popup.

Change-Id: I7a23f87d34d618a134ffbe3a665be695915d4bae
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/SystemViewInfo.java
8bd94d502d2dfe17a2147ca4fd7c8baa6bbc06d5 29-May-2014 Craig Mautner <cmautner@google.com> implement keyguardGoingAway() fixes build.

Fix bug 15326529.

Change-Id: I9095fe70721bfb031dd1080da1d61ff4e1a8c8ab
ayoutlib/bridge/src/android/view/IWindowManagerImpl.java
85c69944bd40024dfb9a3d036e0dbabd6a457dbb 29-May-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Recurse into directories to find fonts. [DO NOT MERGE]" into lmp-preview-dev
f251b0608900499104da834758b89930a13ab1cc 29-May-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Parallel processing of the fonts. [DO NOT MERGE]" into lmp-preview-dev
28b13b2332ca38869df2825789620e66c6062672 29-May-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Add multiple dir support to build_font.py [DO NOT MERGE]" into lmp-preview-dev
2cb50d45a8ad5534c089e9ae016a855377067bfe 29-May-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Layoutlib: Fix FontFamily_Delegate use after unref" into lmp-preview-dev
1a5b0de877c0392e07c023b6facd12ce8622cce7 29-May-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Update delegates" into lmp-preview-dev
de5637b9ecc7b5ebd6bcf039bbe87a36a42b4ca9 29-May-2014 Xavier Ducrohet <xav@google.com> am ec9aa23e: Merge "Stopgap fix for layoutlib." into lmp-preview-dev

* commit 'ec9aa23e1e214c9359e38205495db225560c2753':
Stopgap fix for layoutlib.
30c624c49c753f502bed59b3a113abdeeac36bf9 29-May-2014 Brian Carlstrom <bdc@google.com> am 1240221a: Tracking ActionBarView change 1181f77bdfaa7bf8a8250cdd13c7b7a1d6ee0c44

* commit '1240221ac9cdc70ce2c79fcc48628d277e00354d':
Tracking ActionBarView change 1181f77bdfaa7bf8a8250cdd13c7b7a1d6ee0c44
4f9c216448bee6eb4c33a57c73c817b187385b97 29-May-2014 Brian Carlstrom <bdc@google.com> am da1d4828: Tracking IWindowManager change 2ea3814083f27567ae07a1b449da3d596dd4d9d5

* commit 'da1d48285f2fc992de691a5abaf7c651a86201a2':
Tracking IWindowManager change 2ea3814083f27567ae07a1b449da3d596dd4d9d5
7ee26070eaa4a8b1cde8e265c7136fba7e79a172 29-May-2014 Xavier Ducrohet <xav@google.com> Merge "Stopgap fix for layoutlib." into lmp-preview-dev
312da405eb82206cdd2581176252241f22d2ad44 29-May-2014 Brian Carlstrom <bdc@google.com> Tracking ActionBarView change 1181f77bdfaa7bf8a8250cdd13c7b7a1d6ee0c44

Change-Id: I29a486557428806f26f900974e74f42f3afa4ad4
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
8c9360f3aace9a6b158b0257655925d08d75fa02 29-May-2014 Brian Carlstrom <bdc@google.com> Tracking IWindowManager change 2ea3814083f27567ae07a1b449da3d596dd4d9d5

Change-Id: I6945cc9b4be174b55173ac2081edc5ee1bee6e67
ayoutlib/bridge/src/android/view/IWindowManagerImpl.java
dc62340f18becf51f6f3c94d3994665bcd7dd537 23-May-2014 Deepanshu Gupta <deepanshu@google.com> Stopgap fix for layoutlib.

This is a temporary fix for changes made to TypedArray regrading theme
attributes.

Change-Id: I173fde6d8d3259479b0654ff331bc27bf2814fb0
ayoutlib/bridge/src/android/content/res/BridgeTypedArray.java
ayoutlib/bridge/src/android/content/res/TypedArray_Delegate.java
5a734548455e5bcc8a5fd6b3972017086d3c1287 29-May-2014 Deepanshu Gupta <deepanshu@google.com> Add basic support for simulating older versions.

This adds rudimentary support for older versions of layoutlib by
changing the color of the status bar to white for froyo and earlier and
omitting the navigation bar for pre-ICS devices.

The color of the icons in the status bar is not changed yet.

Change-Id: I56a16b206ad357b6f3bc5c3d10701d03551847bc
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/StatusBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/Config.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
9113968f9570b0c8ada2dec34fa6cf893da7c022 23-May-2014 Deepanshu Gupta <deepanshu@google.com> Layoutlib: Fix FontFamily_Delegate use after unref

FontFamily_Delegate was being reused after the nUnref call. The issue is
fixed by storing the reference to the FontFamily_Delegate directly in
the Typeface_Delegate rather than storing the native pointer.

Change-Id: I0db724a83c4be3d7b64ccba0989cd64129f2a785
ayoutlib/bridge/src/android/graphics/FontFamily_Delegate.java
ayoutlib/bridge/src/android/graphics/Typeface_Delegate.java
79ee46172b45b0652b2bf8dc8b8889da51ff2459 29-May-2014 Deepanshu Gupta <deepanshu@google.com> Update delegates

Update layoutlib delegates in response to commit
a631a36de986acea2ef6fdfbaf3441a28b914b15

Change-Id: I897a7e3a61286bfae9054415d555febe16410106
ayoutlib/bridge/src/android/graphics/BitmapShader_Delegate.java
ayoutlib/bridge/src/android/graphics/ComposeShader_Delegate.java
ayoutlib/bridge/src/android/graphics/LinearGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/RadialGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/Shader_Delegate.java
ayoutlib/bridge/src/android/graphics/SweepGradient_Delegate.java
baef8c1ffe5c900fb0da9512654bf249b5fc9269 20-May-2014 Deepanshu Gupta <deepanshu@google.com> Layoutlib fixes for L [DO NOT MERGE]

This adds the new delegates that were missing. This starts the work on
changes related to Minikin Fonts.

There are some changes related to TypedArray that still need to be
fixed.

Change-Id: Ic2397b64aa3f1f48926e849b14689c47d9ee7f8c
(cherry picked from commit 7ca3612094270183243938e79337c84effea7ad0)
ayoutlib/bridge/src/android/content/res/Resources_Theme_Delegate.java
ayoutlib/bridge/src/android/content/res/TypedArray_Delegate.java
ayoutlib/bridge/src/android/graphics/BidiRenderer.java
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/FontFamily_Delegate.java
ayoutlib/bridge/src/android/graphics/Matrix_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
ayoutlib/bridge/src/android/graphics/Typeface_Delegate.java
ayoutlib/bridge/src/android/util/Xml_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/FontLoader.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
46eff27c32166f007132bfa5f4effc3c306b5f47 27-May-2014 Deepanshu Gupta <deepanshu@google.com> Recurse into directories to find fonts. [DO NOT MERGE]

We now recurse into directories to find all fonts. This change is needed
to prevent having to list all fonts in external/google-fonts
individually.

As a side effect, we now only copy xml files over.

Change-Id: Ifdea3b8451878c2449ac7c5e17ef3d1b00d1b955
(cherry picked from commit c6364fd90de1600526d3431ce0740b6b856e48f0)
ayoutlib/rename_font/build_font.py
d23417ab5d1c623977d11b499c7f3bf2d5fb83b4 27-May-2014 Deepanshu Gupta <deepanshu@google.com> Parallel processing of the fonts. [DO NOT MERGE]

Font renaming for the SDK is now done in parallel.

This now reduces the running time for this script from about 30 mins to
about 5 to 10 mins. More speedup is expected when fonttools is updated.

Change-Id: I2c405f6d3e637e3067c8a1653e3cae206c32c0c3
(cherry picked from commit c6364fd90de1600526d3431ce0740b6b856e48f0)
ayoutlib/rename_font/build_font.py
49a60d4d6d1a512f1c193b38b2e7c8153f1150d9 20-May-2014 Deepanshu Gupta <deepanshu@google.com> Add multiple dir support to build_font.py [DO NOT MERGE]

Change-Id: I705d3fbad688a0db309d3062463bf206442b2709
(cherry picked from commit 7e149f02c4e4403101e7e0e88af36cd4ab6f3554)
ayoutlib/rename_font/build_font.py
b00cb8b8c7c58843d568da6abcb5fea248cb8299 27-May-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Layoutlib fixes for L"
b6f583aa70a8afd35e0afa1c6e36d7830d93d016 27-May-2014 Deepanshu Gupta <deepanshu@google.com> Recurse into directories to find fonts.

We now recurse into directories to find all fonts. This change is needed
to prevent having to list all fonts in external/google-fonts
individually.

As a side effect, we now only copy xml files over.

Change-Id: Ifdea3b8451878c2449ac7c5e17ef3d1b00d1b955
ayoutlib/rename_font/build_font.py
c7919924c63a38dac54277ef5e99c67d510fd501 27-May-2014 Deepanshu Gupta <deepanshu@google.com> Parallel processing of the fonts.

Font renaming for the SDK is now done in parallel.

This now reduces the running time for this script from about 30 mins to
about 5 to 10 mins. More speedup is expected when fonttools is updated.

Change-Id: I2c405f6d3e637e3067c8a1653e3cae206c32c0c3
ayoutlib/rename_font/build_font.py
cba9fb915f6bd06fffdca5412132874529d9718c 20-May-2014 Deepanshu Gupta <deepanshu@google.com> Add multiple dir support to build_font.py

Change-Id: I705d3fbad688a0db309d3062463bf206442b2709
ayoutlib/rename_font/build_font.py
130d2353edda445b8e36a6b5e4b176fd748035b0 20-May-2014 Deepanshu Gupta <deepanshu@google.com> Layoutlib fixes for L

This adds the new delegates that were missing. This starts the work on
changes related to Minikin Fonts.

There are some changes related to TypedArray that still need to be
fixed.

Change-Id: Ic2397b64aa3f1f48926e849b14689c47d9ee7f8c
ayoutlib/bridge/src/android/content/res/Resources_Theme_Delegate.java
ayoutlib/bridge/src/android/content/res/TypedArray_Delegate.java
ayoutlib/bridge/src/android/graphics/BidiRenderer.java
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/FontFamily_Delegate.java
ayoutlib/bridge/src/android/graphics/Matrix_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
ayoutlib/bridge/src/android/graphics/Typeface_Delegate.java
ayoutlib/bridge/src/android/util/Xml_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/FontLoader.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
e34b8abf3adedda74a075be71f382ef716d64227 21-May-2014 Adam Lesinski <adamlesinski@google.com> Merge "Don't dump data from a bad ResTable"
e6652217647af133de6981e59abac16a3e908166 21-May-2014 Jeff Brown <jeffbrown@google.com> am c2871696: am 6099fd21: Merge "Fix build." into klp-modular-dev

* commit 'c28716964c4525bf9a291404d7f14e74de23f36f':
Fix build.
c28716964c4525bf9a291404d7f14e74de23f36f 21-May-2014 Jeff Brown <jeffbrown@google.com> am 6099fd21: Merge "Fix build." into klp-modular-dev

* commit '6099fd21e190ffdf8e03ba6d96cce0d53c2765fd':
Fix build.
61116acdc617f0da4ce3019d9332b289b6a5a0ea 21-May-2014 Jeff Brown <jeffbrown@google.com> Fix build.

Change-Id: I00f040ab16cf8a3b7a995b4626d49e70b97fb294
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java
25e9d55e964c180ec6e57ba1d977d6c2e1115f5a 20-May-2014 Adam Lesinski <adamlesinski@google.com> Don't dump data from a bad ResTable

AAPT dumps data from a bad ResTable, which
causes crashes. Prevent this by checking if
there were errors when creating the ResTable.

Bug:14902008
Change-Id: I5e04ebf967c60b78c511dd175785a13bca52f09a
apt/Command.cpp
apt/StringPool.cpp
779b59ced27c518479c466f45e6bc69ea295a5bf 16-May-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Add a script to rename fonts for SDK."
891e65c5ceff6a7859afab34f75f149b3aefa0c6 16-May-2014 Amith Yamasani <yamasani@google.com> Merge "Variant of sendBroadcast with appOp flag for cross-user."
3cf75729d5a27b8ddd1ea174626dbcf0349a1d07 16-May-2014 Amith Yamasani <yamasani@google.com> Variant of sendBroadcast with appOp flag for cross-user.

Needed for delivering SMS notifications to multiple users.

Change-Id: Ib772292699aba37144621742e6f0ee5c68aadd78
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ad3f2883112102c5ca4f0ce5d8f9e9df62a62f57 16-May-2014 Deepanshu Gupta <deepanshu@google.com> Add a script to rename fonts for SDK.

Create a script that will rename the PS name encoded in the font that is
to be shipped with the SDK.

Change-Id: I675a98db39fea4525e3673656af1764eb7e5bb96
ayoutlib/rename_font/README
ayoutlib/rename_font/Roboto-Regular.ttf
ayoutlib/rename_font/build_font.py
ayoutlib/rename_font/test.py
528d876821ea6760f6013e8714f77d8d40975d0d 16-May-2014 Deepanshu Gupta <deepanshu@google.com> Merge "LayoutLib: Correctly resolve ?attr/foo"
fba1dd24bf7b56071490ac62428f96d14f682244 16-May-2014 Deepanshu Gupta <deepanshu@google.com> LayoutLib: Correctly resolve ?attr/foo

?attr/foo in platform files wasn't resolved properly. The IDE checked
the app namespace for the attribute even though it is being referenced
from a platform file.

Change-Id: I7db6dfef5b540d99804c298120578da9d060b886
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
14c9b688fc2e682d8a60cfb4697d14d4d7ef5bf0 16-May-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Layoutlib: Update delegates for L"
9e1e95f6e3af79f0d659afa2476e462fdac2f5e2 15-May-2014 Adam Lesinski <adamlesinski@google.com> Merge "AAPT dump badging should allow refs in meta-data"
b71adb6571aa740f4fa794602133f708e1b96545 15-May-2014 Adam Lesinski <adamlesinski@google.com> AAPT dump badging should allow refs in meta-data

The framework allows references in the <meta-data>
element in an AndroidManifest.xml, so badging should
do the same.

Bug:14088271
Change-Id: Ia8157655e21adaf11b7ace90a98a9cca3c8a476c
apt/Command.cpp
4c1227e448c938eb2deb431336abb9e67d6e1099 15-May-2014 Adam Lesinski <adamlesinski@google.com> Merge "Fix crash in AAPT dump badging with bad StringPool"
9cb2c68fafce55d43aacb2202deb882b986fa237 15-May-2014 Adam Lesinski <adamlesinski@google.com> Fix crash in AAPT dump badging with bad StringPool

With a malformed StringPool, AAPT dump badging would
crash trying to retrieve the name of an XML tag.

Bug:14658555
Change-Id: I6aa6c53c60b20725a461da2d3a39685c174b4d35
apt/Command.cpp
6376c407d433c91174e4cef735ddb0014461a906 15-May-2014 Deepanshu Gupta <deepanshu@google.com> Layoutlib: Update delegates for L

Update delegate method signatures for L.

Change-Id: Ie607293bcae60b2d3a61d1cad3ac5f04bda2a238
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
ayoutlib/bridge/src/android/graphics/Path_Delegate.java
ayoutlib/bridge/src/android/os/Build_Delegate.java
ayoutlib/bridge/src/android/os/SystemProperties_Delegate.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
14edfa8f658066a1d59a890a19218167ad6121a4 14-May-2014 Deepanshu Gupta <deepanshu@google.com> am c1a74400: am 7dfe1fda: am c289ec6b: am 3a559d56: am b5b47565: am 98822f0e: am 6e923e1b: am 90d57721: am 209745a3: am c251147a: am 85ec1445: am f266873c: am 1c55797d: Fix build

* commit 'c1a7440094c94f4369f04f062485c9ea1162a78b':
Fix build
c1a7440094c94f4369f04f062485c9ea1162a78b 14-May-2014 Deepanshu Gupta <deepanshu@google.com> am 7dfe1fda: am c289ec6b: am 3a559d56: am b5b47565: am 98822f0e: am 6e923e1b: am 90d57721: am 209745a3: am c251147a: am 85ec1445: am f266873c: am 1c55797d: Fix build

* commit '7dfe1fdac6f0306e1e31417d58a1a36d4280d2cc':
Fix build
7dfe1fdac6f0306e1e31417d58a1a36d4280d2cc 14-May-2014 Deepanshu Gupta <deepanshu@google.com> am c289ec6b: am 3a559d56: am b5b47565: am 98822f0e: am 6e923e1b: am 90d57721: am 209745a3: am c251147a: am 85ec1445: am f266873c: am 1c55797d: Fix build

* commit 'c289ec6b465648d7d93e6f2dc9ed28822683f7d6':
Fix build
c289ec6b465648d7d93e6f2dc9ed28822683f7d6 14-May-2014 Deepanshu Gupta <deepanshu@google.com> am 3a559d56: am b5b47565: am 98822f0e: am 6e923e1b: am 90d57721: am 209745a3: am c251147a: am 85ec1445: am f266873c: am 1c55797d: Fix build

* commit '3a559d56a627687d56dc06cc459ef1e7e6b1cd79':
Fix build
3a559d56a627687d56dc06cc459ef1e7e6b1cd79 14-May-2014 Deepanshu Gupta <deepanshu@google.com> am b5b47565: am 98822f0e: am 6e923e1b: am 90d57721: am 209745a3: am c251147a: am 85ec1445: am f266873c: am 1c55797d: Fix build

* commit 'b5b4756565a5f74c6eb2ca7f90ac839a4289daae':
Fix build
b5b4756565a5f74c6eb2ca7f90ac839a4289daae 14-May-2014 Deepanshu Gupta <deepanshu@google.com> am 98822f0e: am 6e923e1b: am 90d57721: am 209745a3: am c251147a: am 85ec1445: am f266873c: am 1c55797d: Fix build

* commit '98822f0eba746b4f8c8a622f21c2d32dad08453f':
Fix build
6e923e1b51c87e7b20a98dfc2fff52ca9115c9d4 14-May-2014 Deepanshu Gupta <deepanshu@google.com> am 90d57721: am 209745a3: am c251147a: am 85ec1445: am f266873c: am 1c55797d: Fix build

* commit '90d57721692e45fe6259136296e3cd5b669443fc':
Fix build
90d57721692e45fe6259136296e3cd5b669443fc 14-May-2014 Deepanshu Gupta <deepanshu@google.com> am 209745a3: am c251147a: am 85ec1445: am f266873c: am 1c55797d: Fix build

* commit '209745a32f0a68584aba57acf7c8d1de633b1cda':
Fix build
209745a32f0a68584aba57acf7c8d1de633b1cda 14-May-2014 Deepanshu Gupta <deepanshu@google.com> am c251147a: am 85ec1445: am f266873c: am 1c55797d: Fix build

* commit 'c251147a2b6f461427b1ce49f7066fadc97c1faf':
Fix build
85ec144538de6c27b22dff1bd45491a334f626ef 14-May-2014 Deepanshu Gupta <deepanshu@google.com> am f266873c: am 1c55797d: Fix build

* commit 'f266873c8059e78410bf43c83fb8f0fd5bfe3362':
Fix build
e0be42a9f915f06dcabfa67f4dd86fb45ff67dbd 14-May-2014 Deepanshu Gupta <deepanshu@google.com> am 40bfb60e: Fix build due to incorrect merges [DO NOT MERGE]

* commit '40bfb60efa0e92259a417a5cbfd6095759c678b7':
Fix build due to incorrect merges [DO NOT MERGE]
f266873c8059e78410bf43c83fb8f0fd5bfe3362 14-May-2014 Deepanshu Gupta <deepanshu@google.com> am 1c55797d: Fix build

* commit '1c55797d0e786b6594e769c2fa424e1b8386648e':
Fix build
40bfb60efa0e92259a417a5cbfd6095759c678b7 14-May-2014 Deepanshu Gupta <deepanshu@google.com> Fix build due to incorrect merges [DO NOT MERGE]

Change-Id: Ib3b4dafeed6ba4c07450d13d9908fb05a1a4542f
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
1c55797d0e786b6594e769c2fa424e1b8386648e 14-May-2014 Deepanshu Gupta <deepanshu@google.com> Fix build

remove a line that shouldn't have been merged into this branch.

The build will still be broken for this branch, but this will fix it for
many branches downstream.

Change-Id: I2f556636640eb823dc2834afae7b536e79b79607
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
e3950823b6126e16158d3c969c2bdd6d914b22dc 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 465a9926: am 21dc46b1: am 569dc64c: am 69ab5946: am fcfb8801: am 18b1525a: am ef24a509: am 900954e3: am 2100476a: am 31a3760a: am 964023c5: am 8bf73eae: am 0ad4f2ce: resolved conflicts for merge of 7377c7be to jb-mr1-dev

* commit '465a99260ea1d868e9aa43d08e63cb85892f188e':
Add Navigation Bar to BridgeWindowManager [DO NOT MERGE]
465a99260ea1d868e9aa43d08e63cb85892f188e 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 21dc46b1: am 569dc64c: am 69ab5946: am fcfb8801: am 18b1525a: am ef24a509: am 900954e3: am 2100476a: am 31a3760a: am 964023c5: am 8bf73eae: am 0ad4f2ce: resolved conflicts for merge of 7377c7be to jb-mr1-dev

* commit '21dc46b14df9456eede9d4eb7082c85bec732058':
Add Navigation Bar to BridgeWindowManager [DO NOT MERGE]
21dc46b14df9456eede9d4eb7082c85bec732058 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 569dc64c: am 69ab5946: am fcfb8801: am 18b1525a: am ef24a509: am 900954e3: am 2100476a: am 31a3760a: am 964023c5: am 8bf73eae: am 0ad4f2ce: resolved conflicts for merge of 7377c7be to jb-mr1-dev

* commit '569dc64cd6b0bb7bdfec97967b192d2a706e3f81':
Add Navigation Bar to BridgeWindowManager [DO NOT MERGE]
569dc64cd6b0bb7bdfec97967b192d2a706e3f81 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 69ab5946: am fcfb8801: am 18b1525a: am ef24a509: am 900954e3: am 2100476a: am 31a3760a: am 964023c5: am 8bf73eae: am 0ad4f2ce: resolved conflicts for merge of 7377c7be to jb-mr1-dev

* commit '69ab594625e274ed4ca6d4a1dc7f8fb19d44f020':
Add Navigation Bar to BridgeWindowManager [DO NOT MERGE]
69ab594625e274ed4ca6d4a1dc7f8fb19d44f020 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am fcfb8801: am 18b1525a: am ef24a509: am 900954e3: am 2100476a: am 31a3760a: am 964023c5: am 8bf73eae: am 0ad4f2ce: resolved conflicts for merge of 7377c7be to jb-mr1-dev

* commit 'fcfb8801b27fd40ff27c380b8bad9b9a210effca':
Add Navigation Bar to BridgeWindowManager [DO NOT MERGE]
fcfb8801b27fd40ff27c380b8bad9b9a210effca 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 18b1525a: am ef24a509: am 900954e3: am 2100476a: am 31a3760a: am 964023c5: am 8bf73eae: am 0ad4f2ce: resolved conflicts for merge of 7377c7be to jb-mr1-dev

* commit '18b1525ac7666933befd6085461391ad1087b19a':
Add Navigation Bar to BridgeWindowManager [DO NOT MERGE]
ef24a5091b63fb512d4ca9eb34df6394c3842d33 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 900954e3: am 2100476a: am 31a3760a: am 964023c5: am 8bf73eae: am 0ad4f2ce: resolved conflicts for merge of 7377c7be to jb-mr1-dev

* commit '900954e3cd135bf43db975961056e7661f26a6c6':
Add Navigation Bar to BridgeWindowManager [DO NOT MERGE]
900954e3cd135bf43db975961056e7661f26a6c6 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 2100476a: am 31a3760a: am 964023c5: am 8bf73eae: am 0ad4f2ce: resolved conflicts for merge of 7377c7be to jb-mr1-dev

* commit '2100476ace68858bc7b7356b33aa525e38795592':
Add Navigation Bar to BridgeWindowManager [DO NOT MERGE]
2100476ace68858bc7b7356b33aa525e38795592 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 31a3760a: am 964023c5: am 8bf73eae: am 0ad4f2ce: resolved conflicts for merge of 7377c7be to jb-mr1-dev

* commit '31a3760a49f7495e73f4de1c11f2e3f64ff9a7ff':
Add Navigation Bar to BridgeWindowManager [DO NOT MERGE]
964023c5dcd0334cdcf624eff26d791d9c9617a8 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 8bf73eae: am 0ad4f2ce: resolved conflicts for merge of 7377c7be to jb-mr1-dev

* commit '8bf73eae6c98532c8a597b885b948b9878555441':
Add Navigation Bar to BridgeWindowManager [DO NOT MERGE]
f38000cbd87abb520855c56bbd7118ddbe35a003 13-May-2014 Adam Lesinski <adamlesinski@google.com> Merge "Quick fix to ensure mipmap doesn't get stripped by AAPT"
425645c738f200b44d0c9344ec286562a841d155 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 567f948b: am 872a5a1a: am 01fefec9: am 5fc8f945: am b0f2ded5: am 40db4a13: am 9ddb073b: am c70ce72a: am af9fde96: am 425addb9: am a43aaf00: resolved conflicts for merge of 9c00e673 to jb-mr1.1-dev

* commit '567f948b60e9a647610454745b0629c136d492db':
Fix CalendarView to show the right labels. [DO NOT MERGE]
567f948b60e9a647610454745b0629c136d492db 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 872a5a1a: am 01fefec9: am 5fc8f945: am b0f2ded5: am 40db4a13: am 9ddb073b: am c70ce72a: am af9fde96: am 425addb9: am a43aaf00: resolved conflicts for merge of 9c00e673 to jb-mr1.1-dev

* commit '872a5a1a93eef53a18d18778104bb8669b4bc073':
Fix CalendarView to show the right labels. [DO NOT MERGE]
70efbad0648eb96e9becbd0529cc1f34b6ffb986 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am bd5a3e65: am 1677a9bd: Merge "resolve conflicts for merge 5a7b3b65 correctly" into jb-dev-plus-aosp

* commit 'bd5a3e6510e83b161a0e40c191d349524ae4a8e6':
resolve conflicts for merge 5a7b3b65 correctly
8bf73eae6c98532c8a597b885b948b9878555441 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 0ad4f2ce: resolved conflicts for merge of 7377c7be to jb-mr1-dev

* commit '0ad4f2cedde037c2b09a7f09c5f95f0984267c64':
Add Navigation Bar to BridgeWindowManager [DO NOT MERGE]
3921e87e6e67a063caa1987937d7944b24aef489 13-May-2014 Adam Lesinski <adamlesinski@google.com> Quick fix to ensure mipmap doesn't get stripped by AAPT

This is a quick fix. A refactoring is already underway to properly
solve this problem.

Bug:14857725
Change-Id: Ic0c475aa0b180803a687904ad9f71eb87e137a25
apt/ApkBuilder.h
apt/Command.cpp
872a5a1a93eef53a18d18778104bb8669b4bc073 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 01fefec9: am 5fc8f945: am b0f2ded5: am 40db4a13: am 9ddb073b: am c70ce72a: am af9fde96: am 425addb9: am a43aaf00: resolved conflicts for merge of 9c00e673 to jb-mr1.1-dev

* commit '01fefec9397569cf9c7c5b599c16126f1b4d6870':
Fix CalendarView to show the right labels. [DO NOT MERGE]
bd5a3e6510e83b161a0e40c191d349524ae4a8e6 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 1677a9bd: Merge "resolve conflicts for merge 5a7b3b65 correctly" into jb-dev-plus-aosp

* commit '1677a9bdeba3961625236925e754920fca1b7e89':
resolve conflicts for merge 5a7b3b65 correctly
01fefec9397569cf9c7c5b599c16126f1b4d6870 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 5fc8f945: am b0f2ded5: am 40db4a13: am 9ddb073b: am c70ce72a: am af9fde96: am 425addb9: am a43aaf00: resolved conflicts for merge of 9c00e673 to jb-mr1.1-dev

* commit '5fc8f945ee6a763b08e47019319432ec71ba1d1a':
Fix CalendarView to show the right labels. [DO NOT MERGE]
5fc8f945ee6a763b08e47019319432ec71ba1d1a 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am b0f2ded5: am 40db4a13: am 9ddb073b: am c70ce72a: am af9fde96: am 425addb9: am a43aaf00: resolved conflicts for merge of 9c00e673 to jb-mr1.1-dev

* commit 'b0f2ded5e9e84fb51ec5b2cb6b419b040b008276':
Fix CalendarView to show the right labels. [DO NOT MERGE]
0ad4f2cedde037c2b09a7f09c5f95f0984267c64 13-May-2014 Deepanshu Gupta <deepanshu@google.com> resolved conflicts for merge of 7377c7be to jb-mr1-dev

Change-Id: I26d2e3478536826608413094e17cd36da43b4e23
5454be00b182b206bbc9dcd35b88da63631f7e8e 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 5dae7fda: am 9359dc2e: am 2d3fa7ba: Support actionProviderClass attribute for menus [DO NOT MERGE]

* commit '5dae7fda38850a5146a6b8a4edbfd9aa96aea484':
Support actionProviderClass attribute for menus [DO NOT MERGE]
d388afada25c950f87fa285ccfeb1c3343454762 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am b6de60e0: am df2da3d7: am 7bc363ba: Add special system view cookie to OverflowButton. [DO NOT MERGE]

* commit 'b6de60e0020dbed906b1d275de17f8c615b2b242':
Add special system view cookie to OverflowButton. [DO NOT MERGE]
b161d6ba7f85b49e4e19d69bd107d30cdd3c0bc1 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 673d9734: resolved conflicts for merge of 00d09649 to jb-mr1-dev

* commit '673d9734c2d9b62ecd41dcac3c730d242952989e':
Fix style warnings in RenderSessionImpl [DO NOT MERGE]
5dae7fda38850a5146a6b8a4edbfd9aa96aea484 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 9359dc2e: am 2d3fa7ba: Support actionProviderClass attribute for menus [DO NOT MERGE]

* commit '9359dc2e7d6bc671af3fee0c1dc540dd3685365c':
Support actionProviderClass attribute for menus [DO NOT MERGE]
b6de60e0020dbed906b1d275de17f8c615b2b242 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am df2da3d7: am 7bc363ba: Add special system view cookie to OverflowButton. [DO NOT MERGE]

* commit 'df2da3d7c9f82ff2304f630f4ff9fc2cb3001c6f':
Add special system view cookie to OverflowButton. [DO NOT MERGE]
b0f2ded5e9e84fb51ec5b2cb6b419b040b008276 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 40db4a13: am 9ddb073b: am c70ce72a: am af9fde96: am 425addb9: am a43aaf00: resolved conflicts for merge of 9c00e673 to jb-mr1.1-dev

* commit '40db4a13bc8389dd94cac2fd4c896e10b46c2499':
Fix CalendarView to show the right labels. [DO NOT MERGE]
9ddb073bf72d9ca587ecc626dcc9721dd33447c9 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am c70ce72a: am af9fde96: am 425addb9: am a43aaf00: resolved conflicts for merge of 9c00e673 to jb-mr1.1-dev

* commit 'c70ce72a986f029c9f8c43b4060001624176068d':
Fix CalendarView to show the right labels. [DO NOT MERGE]
c70ce72a986f029c9f8c43b4060001624176068d 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am af9fde96: am 425addb9: am a43aaf00: resolved conflicts for merge of 9c00e673 to jb-mr1.1-dev

* commit 'af9fde9680922f072981a4853e37ccfcf974920a':
Fix CalendarView to show the right labels. [DO NOT MERGE]
af9fde9680922f072981a4853e37ccfcf974920a 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 425addb9: am a43aaf00: resolved conflicts for merge of 9c00e673 to jb-mr1.1-dev

* commit '425addb94428d6f17658256a4acd4b62189c8844':
Fix CalendarView to show the right labels. [DO NOT MERGE]
673d9734c2d9b62ecd41dcac3c730d242952989e 13-May-2014 Deepanshu Gupta <deepanshu@google.com> resolved conflicts for merge of 00d09649 to jb-mr1-dev

Change-Id: Ib3c34a1989d4251c3ac4755c52fe05a81644930a
cc9e359699e9464ac8a8d6bbd4f12c23a0009d3c 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 5280c911: am 0df5ae65: am 0f209967: Add view cookies for action bar menus. [DO NOT MERGE]

* commit '5280c911d81a7db5ec8854850bef60d8b0951358':
Add view cookies for action bar menus. [DO NOT MERGE]
9978c0363e7db4002d4c86d225cd6b1437bca1fc 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 1867f58d: am 3027b69e: am f7e57949: Overflow menu popup for Action Bar in Layoutlib [DO NOT MERGE]

* commit '1867f58d6ceebac899b60b029e34f3a1fcabba7f':
Overflow menu popup for Action Bar in Layoutlib [DO NOT MERGE]
8e015b7ba46b18a4a0741be7d64f389433c79230 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am a5461ebf: resolved conflicts for merge of 6d3c4ab2 to jb-mr1-dev

* commit 'a5461ebfaebf3337a0cf1c752334f23de145a6d1':
Action bar rendering in layoutlib [DO NOT MERGE]
5280c911d81a7db5ec8854850bef60d8b0951358 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 0df5ae65: am 0f209967: Add view cookies for action bar menus. [DO NOT MERGE]

* commit '0df5ae65a91174c99d1af633b45b3a1a7861cd1c':
Add view cookies for action bar menus. [DO NOT MERGE]
1867f58d6ceebac899b60b029e34f3a1fcabba7f 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 3027b69e: am f7e57949: Overflow menu popup for Action Bar in Layoutlib [DO NOT MERGE]

* commit '3027b69e154cffc6e286caf90b0f9af01c473c14':
Overflow menu popup for Action Bar in Layoutlib [DO NOT MERGE]
a43aaf00b583e8a88681cdcc6ebe1ae2c52f6f20 13-May-2014 Deepanshu Gupta <deepanshu@google.com> resolved conflicts for merge of 9c00e673 to jb-mr1.1-dev

Change-Id: I4ab1b0a71b99692458efc3a67c8a8da3690afb7b
a5461ebfaebf3337a0cf1c752334f23de145a6d1 13-May-2014 Deepanshu Gupta <deepanshu@google.com> resolved conflicts for merge of 6d3c4ab2 to jb-mr1-dev

Change-Id: I5c4634897882deb663f32d8148202d7c9189521d
0f26b5102574f0a989023485f4d63a9ac50107d2 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 9053261a: am 052e0c58: am 770e40f8: Fix theme/style resolution in Layoutlib [DO NOT MERGE]

* commit '9053261a5413f401168d25fa4a9749723b232949':
Fix theme/style resolution in Layoutlib [DO NOT MERGE]
727ad35081570c30f9b9ecde84d309a82b653856 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 5594616c: am 9602fc1c: am 87665388: Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]

* commit '5594616c4f4513dc97b08d6cabb6fd7127dde131':
Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]
627cab1257bbd80e74ad5db1963aeedbe056b462 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 45693e50: am c9a4badb: am d915dcac: Layoutlib tests now check methods return value [DO NOT MERGE]

* commit '45693e50ecdae9b456e4974dd91758f9e25df2b4':
Layoutlib tests now check methods return value [DO NOT MERGE]
effef17297dffc05511597ccc0f437deb278647f 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am e3b43270: am bdd8fbf6: am 877ae535: Set default text style in layoutlib as NORMAL [DO NOT MERGE]

* commit 'e3b43270e87fd85a6281c91f2897233aac6b6397':
Set default text style in layoutlib as NORMAL [DO NOT MERGE]
c3a0c9f679cf18a512ca194e14a74dde852af831 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 45ca5ba7: am 01cdd312: am 669792b3: Fix sans-serif-thin and sans-serif-light fonts in layoutlib. [DO NOT MERGE]

* commit '45ca5ba7dc3b70dd39991217894eed114eefb1b8':
Fix sans-serif-thin and sans-serif-light fonts in layoutlib. [DO NOT MERGE]
835cbaa192f324ec14361afc700cc44a6bfa47b7 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 9f965258: am d094742d: am cda89ca0: Fix a bug in Nine Patch library. [DO NOT MERGE]

* commit '9f9652587dd08e5a4f7c8195eb904cd0f0c3f6c4':
Fix a bug in Nine Patch library. [DO NOT MERGE]
ce9e87f7436ab6506b5a2949930ce00cd0bc65f5 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 8c5c2410: am 7bb8de58: am a2b34c96: Optimize layout rendering in layoutlib [DO NOT MERGE]

* commit '8c5c2410ae9df60d9462784370965a0417e06fa4':
Optimize layout rendering in layoutlib [DO NOT MERGE]
8a4f39351f5784c81501462fc84d6fe199bdedca 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 48bf7b49: am 69b3115e: am e183855c: Add methods for Time_Delegate [DO NOT MERGE]

* commit '48bf7b49bb361a4084e5fb4c6d0ae497a606c700':
Add methods for Time_Delegate [DO NOT MERGE]
838e54826bbb03cec41684340c63be993d2dc160 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 94d33cfc: am 82d5bd98: am e5a2347b: Fix NPE in layoutlib. [DO NOT MERGE]

* commit '94d33cfce1f32af4480f941fdd6c9942bb203d2c':
Fix NPE in layoutlib. [DO NOT MERGE]
df8a15b31ec4c72042f80a90365867939bddffd1 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am d4e6727d: am d5de1bd6: am 30505abe: Fix text size in Fake Action Bar. [DO NOT MERGE]

* commit 'd4e6727d02f7507fdfd6cbbabd03d6e922127e4b':
Fix text size in Fake Action Bar. [DO NOT MERGE]
5f61e9b4ef31274f64965cf676757c84b368a2f1 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am ed98abec: am 8a70bcef: resolved conflicts for merge 5a7b3b65 to jb-dev-plus-aosp

* commit 'ed98abecad359ab1765ac1f698c8ba06dbd00745':
Remove references to non-std Java classes. [DO NOT MERGE]
520f585bc6409b5c0024105a46b282245dad42e0 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 2cbe100a: am 40fea8b1: am 4b5da86d: Fix DatePicker and Calendar widget in layoutlib. [DO NOT MERGE]

* commit '2cbe100a9bc6d2b3bf828432a1527f0ac239e575':
Fix DatePicker and Calendar widget in layoutlib. [DO NOT MERGE]
2c167d0f6a370f9272ef24746222772586c1758c 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 632c9e2d: am 065ce2e8: am 5c166c9c: Layoutlib: Update the wifi icon in the status bar. [DO NOT MERGE]

* commit '632c9e2dabc44b24f04c3418e4a3540b22db792b':
Layoutlib: Update the wifi icon in the status bar. [DO NOT MERGE]
9053261a5413f401168d25fa4a9749723b232949 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 052e0c58: am 770e40f8: Fix theme/style resolution in Layoutlib [DO NOT MERGE]

* commit '052e0c589e5cf714ca71bc8d7b3ce8b3f6c4cb96':
Fix theme/style resolution in Layoutlib [DO NOT MERGE]
5594616c4f4513dc97b08d6cabb6fd7127dde131 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 9602fc1c: am 87665388: Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]

* commit '9602fc1c00e5e5cdf26cdc3fe22022ffcd115361':
Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]
45693e50ecdae9b456e4974dd91758f9e25df2b4 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am c9a4badb: am d915dcac: Layoutlib tests now check methods return value [DO NOT MERGE]

* commit 'c9a4badb54320f8c52d2da06a762b5e6eef00ee0':
Layoutlib tests now check methods return value [DO NOT MERGE]
e3b43270e87fd85a6281c91f2897233aac6b6397 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am bdd8fbf6: am 877ae535: Set default text style in layoutlib as NORMAL [DO NOT MERGE]

* commit 'bdd8fbf6eae886dc3b2cd716745ede918773a2c4':
Set default text style in layoutlib as NORMAL [DO NOT MERGE]
45ca5ba7dc3b70dd39991217894eed114eefb1b8 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 01cdd312: am 669792b3: Fix sans-serif-thin and sans-serif-light fonts in layoutlib. [DO NOT MERGE]

* commit '01cdd3123f408dc41a2bd4786f3a943157ab6c69':
Fix sans-serif-thin and sans-serif-light fonts in layoutlib. [DO NOT MERGE]
9f9652587dd08e5a4f7c8195eb904cd0f0c3f6c4 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am d094742d: am cda89ca0: Fix a bug in Nine Patch library. [DO NOT MERGE]

* commit 'd094742d2e19371291409886bb80f070df099533':
Fix a bug in Nine Patch library. [DO NOT MERGE]
8c5c2410ae9df60d9462784370965a0417e06fa4 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 7bb8de58: am a2b34c96: Optimize layout rendering in layoutlib [DO NOT MERGE]

* commit '7bb8de580a451621480913d7839fd7eb784ab689':
Optimize layout rendering in layoutlib [DO NOT MERGE]
48bf7b49bb361a4084e5fb4c6d0ae497a606c700 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 69b3115e: am e183855c: Add methods for Time_Delegate [DO NOT MERGE]

* commit '69b3115e1c02f2b22165b93bd9bcc5c90ec69b12':
Add methods for Time_Delegate [DO NOT MERGE]
94d33cfce1f32af4480f941fdd6c9942bb203d2c 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 82d5bd98: am e5a2347b: Fix NPE in layoutlib. [DO NOT MERGE]

* commit '82d5bd98b77a9955e375b075e262639625c40232':
Fix NPE in layoutlib. [DO NOT MERGE]
d4e6727d02f7507fdfd6cbbabd03d6e922127e4b 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am d5de1bd6: am 30505abe: Fix text size in Fake Action Bar. [DO NOT MERGE]

* commit 'd5de1bd6305dc8885027504996602755b1e79099':
Fix text size in Fake Action Bar. [DO NOT MERGE]
ed98abecad359ab1765ac1f698c8ba06dbd00745 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 8a70bcef: resolved conflicts for merge 5a7b3b65 to jb-dev-plus-aosp

* commit '8a70bcef5a724906e3c35c58cb2266ee9c9e1b78':
Remove references to non-std Java classes. [DO NOT MERGE]
2cbe100a9bc6d2b3bf828432a1527f0ac239e575 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 40fea8b1: am 4b5da86d: Fix DatePicker and Calendar widget in layoutlib. [DO NOT MERGE]

* commit '40fea8b1bf689933e63941b5fa5e3379f82c88b5':
Fix DatePicker and Calendar widget in layoutlib. [DO NOT MERGE]
632c9e2dabc44b24f04c3418e4a3540b22db792b 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 065ce2e8: am 5c166c9c: Layoutlib: Update the wifi icon in the status bar. [DO NOT MERGE]

* commit '065ce2e8b3e11ff8bb1699748edbd23d272bc8a6':
Layoutlib: Update the wifi icon in the status bar. [DO NOT MERGE]
9c00e6739c3d0a11a714a0f654b893531b0f1c5d 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 2fb139e0: resolved conflicts for merge of 9f2f5e77 to jb-mr1-dev

* commit '2fb139e02c1e9d2d7c92acf813445a063e73d94f':
Fix CalendarView to show the right labels. [DO NOT MERGE]
1677a9bdeba3961625236925e754920fca1b7e89 13-May-2014 Deepanshu Gupta <deepanshu@google.com> Merge "resolve conflicts for merge 5a7b3b65 correctly" into jb-dev-plus-aosp
51cce0ec42a04f94569e8da544b02c888b82b31d 13-May-2014 Deepanshu Gupta <deepanshu@google.com> resolve conflicts for merge 5a7b3b65 correctly

Change-Id: I832b7ee50002bcd1429bf431cc91f12e60d19f84
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
7377c7be6abcb3bccabb6cdf2af0ecfed355606c 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 3a115628: Add Navigation Bar to BridgeWindowManager [DO NOT MERGE]

* commit '3a115628236ee9051518d4f96840cbb76070cf92':
Add Navigation Bar to BridgeWindowManager [DO NOT MERGE]
9359dc2e7d6bc671af3fee0c1dc540dd3685365c 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 2d3fa7ba: Support actionProviderClass attribute for menus [DO NOT MERGE]

* commit '2d3fa7ba782238afb891db38e29ef7ec755bfdf6':
Support actionProviderClass attribute for menus [DO NOT MERGE]
df2da3d7c9f82ff2304f630f4ff9fc2cb3001c6f 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 7bc363ba: Add special system view cookie to OverflowButton. [DO NOT MERGE]

* commit '7bc363ba72d4cdd9a0b3b1601e432acfc09c0dc0':
Add special system view cookie to OverflowButton. [DO NOT MERGE]
00d096490189dadfc5e2a1e129d8b524d90da247 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 85f53c33: Fix style warnings in RenderSessionImpl [DO NOT MERGE]

* commit '85f53c3335daf0e55cec757fd66fe560e0b020ef':
Fix style warnings in RenderSessionImpl [DO NOT MERGE]
0df5ae65a91174c99d1af633b45b3a1a7861cd1c 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 0f209967: Add view cookies for action bar menus. [DO NOT MERGE]

* commit '0f209967bfc4a6f1eec46cc34a39cfe8af9f8af9':
Add view cookies for action bar menus. [DO NOT MERGE]
3027b69e154cffc6e286caf90b0f9af01c473c14 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am f7e57949: Overflow menu popup for Action Bar in Layoutlib [DO NOT MERGE]

* commit 'f7e5794990831df87d4097126f6d24455da50efe':
Overflow menu popup for Action Bar in Layoutlib [DO NOT MERGE]
6d3c4ab2456a30c5517f4ad6fb8df8d64c517beb 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 43b15371: Action bar rendering in layoutlib [DO NOT MERGE]

* commit '43b15371f9f1da7d97fe0500eb1536d981097e31':
Action bar rendering in layoutlib [DO NOT MERGE]
052e0c589e5cf714ca71bc8d7b3ce8b3f6c4cb96 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 770e40f8: Fix theme/style resolution in Layoutlib [DO NOT MERGE]

* commit '770e40f839f059e1e3a15a2b14157c7cbb3b0553':
Fix theme/style resolution in Layoutlib [DO NOT MERGE]
9602fc1c00e5e5cdf26cdc3fe22022ffcd115361 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 87665388: Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]

* commit '87665388466812897e888680c0b2a1d7db1b9cbd':
Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]
c9a4badb54320f8c52d2da06a762b5e6eef00ee0 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am d915dcac: Layoutlib tests now check methods return value [DO NOT MERGE]

* commit 'd915dcac365b6d3ad88afab52e74ccca7dfbefec':
Layoutlib tests now check methods return value [DO NOT MERGE]
bdd8fbf6eae886dc3b2cd716745ede918773a2c4 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 877ae535: Set default text style in layoutlib as NORMAL [DO NOT MERGE]

* commit '877ae53586c3f7f5b788a40dfb0a58bef54a7446':
Set default text style in layoutlib as NORMAL [DO NOT MERGE]
01cdd3123f408dc41a2bd4786f3a943157ab6c69 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 669792b3: Fix sans-serif-thin and sans-serif-light fonts in layoutlib. [DO NOT MERGE]

* commit '669792b303b99a003bbcbf8d962f5be1debf9b63':
Fix sans-serif-thin and sans-serif-light fonts in layoutlib. [DO NOT MERGE]
d094742d2e19371291409886bb80f070df099533 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am cda89ca0: Fix a bug in Nine Patch library. [DO NOT MERGE]

* commit 'cda89ca02548c19250ae55671c055536b64b74f8':
Fix a bug in Nine Patch library. [DO NOT MERGE]
7bb8de580a451621480913d7839fd7eb784ab689 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am a2b34c96: Optimize layout rendering in layoutlib [DO NOT MERGE]

* commit 'a2b34c96f1ef24d96854d1e23426dec7774510e8':
Optimize layout rendering in layoutlib [DO NOT MERGE]
69b3115e1c02f2b22165b93bd9bcc5c90ec69b12 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am e183855c: Add methods for Time_Delegate [DO NOT MERGE]

* commit 'e183855c1eb7baf750c67bb20e70fb887eba7af6':
Add methods for Time_Delegate [DO NOT MERGE]
82d5bd98b77a9955e375b075e262639625c40232 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am e5a2347b: Fix NPE in layoutlib. [DO NOT MERGE]

* commit 'e5a2347bc6cf1506799136af4c9724275ca0247e':
Fix NPE in layoutlib. [DO NOT MERGE]
d5de1bd6305dc8885027504996602755b1e79099 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 30505abe: Fix text size in Fake Action Bar. [DO NOT MERGE]

* commit '30505abeb6cda9d042ec41f2563d561714eac46b':
Fix text size in Fake Action Bar. [DO NOT MERGE]
1103ece28c695fc26fcee812870c553dca8d840d 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am f20c9c66: am 06c4f23d: am 64dc0380: Fix layoutlib [DO NOT MERGE]

* commit 'f20c9c660edcce0fe90ba5f8464f726dcd51229e':
Fix layoutlib [DO NOT MERGE]
42556c394b1f7bf53f59aa6905dc0d20fe495389 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 3990ec34: am cdb87d8d: am a59c27dd: Fix ClassCastException when rendering ListView [DO NOT MERGE]

* commit '3990ec3490cc43a2690163f2a973b5ac6c4bdc46':
Fix ClassCastException when rendering ListView [DO NOT MERGE]
202800b12d7bbfd719da1c5fa50f646188312e97 13-May-2014 Deepanshu Gupta <deepanshu@google.com> 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]
2fb139e02c1e9d2d7c92acf813445a063e73d94f 13-May-2014 Deepanshu Gupta <deepanshu@google.com> resolved conflicts for merge of 9f2f5e77 to jb-mr1-dev

Change-Id: Id8cb5e2e9d0c41bdaf767563ebd6e3951ae68a3c
06a8702729309fa8eb5977142b26b8d8d0d6df7b 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 995c4d51: am b7bafba7: am 099f40a9: Support actionProviderClass attribute for menus [DO NOT MERGE]

* commit '995c4d51532dcd4f556e352f273396a70cea88e2':
Support actionProviderClass attribute for menus [DO NOT MERGE]
70b2be8e0d9aecd1215210b9e253680192e486bc 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 59a0f746: am 51dd8878: am 60b52ee9: Fix class name for OverflowMenuButton [DO NOT MERGE]

* commit '59a0f746eb9de9086048419a5aec3dedc7ec9d94':
Fix class name for OverflowMenuButton [DO NOT MERGE]
0fef2d24c0147597c4853fa070f997f794dd6158 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am a51ac1bd: am 503aaa48: am 7c6f6481: Add special system view cookie to OverflowButton. [DO NOT MERGE]

* commit 'a51ac1bd065904ba7102d1b1565b4a47d7cbcb4a':
Add special system view cookie to OverflowButton. [DO NOT MERGE]
c7a27371235b70cd466a71042f12964ed75d075f 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 09a42524: am 30db282f: am 22de7c4c: Fix style warnings in RenderSessionImpl [DO NOT MERGE]

* commit '09a42524dd693a68517b9827e3d7df77c6bbf537':
Fix style warnings in RenderSessionImpl [DO NOT MERGE]
6f6989f3532b0022c8ebed59dbd9e4fdc5362978 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 80f2914b: am b67b1b45: am 094fd8ec: Add view cookies for action bar menus. [DO NOT MERGE]

* commit '80f2914b4b12340ff590882125789144d4f00ce0':
Add view cookies for action bar menus. [DO NOT MERGE]
6c600df67388706d24486022fa73ed8786119faf 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am e686fbce: am 2c8fea2a: am 56759be8: Overflow menu popup for Action Bar in Layoutlib [DO NOT MERGE]

* commit 'e686fbced9271cc7e35f4b17c7cd1b43d118ce0f':
Overflow menu popup for Action Bar in Layoutlib [DO NOT MERGE]
e7c3ed442753c0ada27450868adcf1ff98fe9c39 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 21404483: am 0bb06b91: am fe38489f: Action bar rendering in layoutlib [DO NOT MERGE]

* commit '21404483adbd4f26b5a2c7ebee7c09e83f42607e':
Action bar rendering in layoutlib [DO NOT MERGE]
c88d4c572f95a6b2397cd2c2931b1a51c673a3c8 13-May-2014 Deepanshu Gupta <deepanshu@google.com> 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]
57c0cf454ab8d8d321f2a10c4914eb4414722392 13-May-2014 Deepanshu Gupta <deepanshu@google.com> 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]
3195ff0afad61fbb0787b80023bdb22ece4ecb6f 13-May-2014 Deepanshu Gupta <deepanshu@google.com> 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]
4654bfc14ce664e6a6247ffa0fdace17f3eeb964 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am c2a6f3b1: am 2f94c1db: am 6136af32: Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]

* commit 'c2a6f3b1eda89365eec2508aec4a3a5024c140e5':
Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]
863b49ccaa77c7b0960220fca158099f3a79cb6a 13-May-2014 Deepanshu Gupta <deepanshu@google.com> 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]
8a70bcef5a724906e3c35c58cb2266ee9c9e1b78 13-May-2014 Deepanshu Gupta <deepanshu@google.com> resolved conflicts for merge 5a7b3b65 to jb-dev-plus-aosp

Change-Id: I6bafdb9c6a8dfc6f55a4d9adf67f447661137eb8
f20c9c660edcce0fe90ba5f8464f726dcd51229e 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 06c4f23d: am 64dc0380: Fix layoutlib [DO NOT MERGE]

* commit '06c4f23d737082717f37f5f3583d9c12f4b64bf2':
Fix layoutlib [DO NOT MERGE]
3990ec3490cc43a2690163f2a973b5ac6c4bdc46 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am cdb87d8d: am a59c27dd: Fix ClassCastException when rendering ListView [DO NOT MERGE]

* commit 'cdb87d8d83e8a76a4cf78d24d5c49ee8548eba1f':
Fix ClassCastException when rendering ListView [DO NOT MERGE]
4d69ca223b268d4ed93baf9d3c354e1df79d55ce 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am edae4e69: am 8a39c3af: Add orientation to configuration for layoutlib. [DO NOT MERGE]

* commit 'edae4e69512a7c9df1076fde70de83e15053a30a':
Add orientation to configuration for layoutlib. [DO NOT MERGE]
995c4d51532dcd4f556e352f273396a70cea88e2 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am b7bafba7: am 099f40a9: Support actionProviderClass attribute for menus [DO NOT MERGE]

* commit 'b7bafba7c602150da9c0f06335e3c853e919501c':
Support actionProviderClass attribute for menus [DO NOT MERGE]
59a0f746eb9de9086048419a5aec3dedc7ec9d94 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 51dd8878: am 60b52ee9: Fix class name for OverflowMenuButton [DO NOT MERGE]

* commit '51dd8878cb401128d730aecf9fe18c1e06221ac4':
Fix class name for OverflowMenuButton [DO NOT MERGE]
a51ac1bd065904ba7102d1b1565b4a47d7cbcb4a 13-May-2014 Deepanshu Gupta <deepanshu@google.com> 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]
09a42524dd693a68517b9827e3d7df77c6bbf537 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 30db282f: am 22de7c4c: Fix style warnings in RenderSessionImpl [DO NOT MERGE]

* commit '30db282f2a3692f8c98cb3bdbb0534ad348d1bd7':
Fix style warnings in RenderSessionImpl [DO NOT MERGE]
80f2914b4b12340ff590882125789144d4f00ce0 13-May-2014 Deepanshu Gupta <deepanshu@google.com> 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]
e686fbced9271cc7e35f4b17c7cd1b43d118ce0f 13-May-2014 Deepanshu Gupta <deepanshu@google.com> 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]
21404483adbd4f26b5a2c7ebee7c09e83f42607e 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 0bb06b91: am fe38489f: Action bar rendering in layoutlib [DO NOT MERGE]

* commit '0bb06b91e7be5b7f8c397295094aeaf1df8dbb09':
Action bar rendering in layoutlib [DO NOT MERGE]
b172b7805160d4a6875d694cb218fe05b117beb3 13-May-2014 Deepanshu Gupta <deepanshu@google.com> 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]
71acfa6c1933806a080fc6efb820833f8de68d54 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 49d47a02: am 76dccb7f: Fix theme/style resolution in Layoutlib [DO NOT MERGE]

* commit '49d47a02e8c767d81815827a8170d015db6ea2d4':
Fix theme/style resolution in Layoutlib [DO NOT MERGE]
b90db3e6ab1bc89752ce8d7bd286268c41843693 13-May-2014 Deepanshu Gupta <deepanshu@google.com> 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]
c2a6f3b1eda89365eec2508aec4a3a5024c140e5 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 2f94c1db: am 6136af32: Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]

* commit '2f94c1db0d2c7e68891c3d96732fe39b199fac5d':
Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]
9b89fcc09d0e5da7b81f1910d6ed29b152f730f9 13-May-2014 Deepanshu Gupta <deepanshu@google.com> 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]
bdd8dc332b39c9febc28f54f40ab55482cd3a69a 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 52a86f17: am 7f56beb8: Support actionProviderClass attribute for menus [DO NOT MERGE]

* commit '52a86f17ea4940561c6d73ac226bef177a84c035':
Support actionProviderClass attribute for menus [DO NOT MERGE]
12e1ac320d7011bd6bf0e39a8ad80b5182e35299 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 680219f2: am f61bd002: Fix class name for OverflowMenuButton [DO NOT MERGE]

* commit '680219f2e3d67fa672bf3b8d7216a5bb61a0905d':
Fix class name for OverflowMenuButton [DO NOT MERGE]
40fea8b1bf689933e63941b5fa5e3379f82c88b5 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 4b5da86d: Fix DatePicker and Calendar widget in layoutlib. [DO NOT MERGE]

* commit '4b5da86d04200ba278b62ff99da91e212b87e9af':
Fix DatePicker and Calendar widget in layoutlib. [DO NOT MERGE]
6b9e07a41248155e7d7c3f2e4e9ccb09ce7116ae 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 78b176b3: am d558ebdb: Add special system view cookie to OverflowButton. [DO NOT MERGE]

* commit '78b176b34c9330aaa1142f922c222faa600eb9c8':
Add special system view cookie to OverflowButton. [DO NOT MERGE]
065ce2e8b3e11ff8bb1699748edbd23d272bc8a6 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 5c166c9c: Layoutlib: Update the wifi icon in the status bar. [DO NOT MERGE]

* commit '5c166c9c04b6ea9d4955830e7ba277be71f17a6f':
Layoutlib: Update the wifi icon in the status bar. [DO NOT MERGE]
17c894d3d9420d645e1d3f09b991aaa8129d43f8 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am a4384d4e: am a98121ef: Fix style warnings in RenderSessionImpl [DO NOT MERGE]

* commit 'a4384d4e8ccc78b2e005e3eb06dd2d3d81d781af':
Fix style warnings in RenderSessionImpl [DO NOT MERGE]
9f2f5e776aed6bfcd87be0b7dd6aa9d22af28817 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 2d82586b: Fix CalendarView to show the right labels. [DO NOT MERGE]

* commit '2d82586b96593b1b3b5280d77d5ae9a09df9d1fd':
Fix CalendarView to show the right labels. [DO NOT MERGE]
616141bdccece763993856fc3623c02151e1344a 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am d9a137bd: am 77048379: Add view cookies for action bar menus. [DO NOT MERGE]

* commit 'd9a137bd84a0ebbcd34801da1442f8a6b0413c3e':
Add view cookies for action bar menus. [DO NOT MERGE]
06c4f23d737082717f37f5f3583d9c12f4b64bf2 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 64dc0380: Fix layoutlib [DO NOT MERGE]

* commit '64dc0380127047ffcf135b6848c9150aa8dbed85':
Fix layoutlib [DO NOT MERGE]
cdb87d8d83e8a76a4cf78d24d5c49ee8548eba1f 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am a59c27dd: Fix ClassCastException when rendering ListView [DO NOT MERGE]

* commit 'a59c27dd6674a31c875b0baa86519caec628ca2d':
Fix ClassCastException when rendering ListView [DO NOT MERGE]
edae4e69512a7c9df1076fde70de83e15053a30a 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 8a39c3af: Add orientation to configuration for layoutlib. [DO NOT MERGE]

* commit '8a39c3afb29f2540b05319042e758dd4d5f73a1e':
Add orientation to configuration for layoutlib. [DO NOT MERGE]
0e595741cf0ce90f6f2874371f74e509fb013a87 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 5fbb6118: am c014eb68: am 7a5f7265: Merge "Support actionProviderClass attribute for menus [DO NOT MERGE]" into klp-dev

* commit '5fbb6118b57ff522942de7e73dadd093e9c44f86':
Support actionProviderClass attribute for menus [DO NOT MERGE]
5fbb6118b57ff522942de7e73dadd093e9c44f86 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am c014eb68: am 7a5f7265: Merge "Support actionProviderClass attribute for menus [DO NOT MERGE]" into klp-dev

* commit 'c014eb681bd700c24b9513c847cc6ee88c5410d7':
Support actionProviderClass attribute for menus [DO NOT MERGE]
c014eb681bd700c24b9513c847cc6ee88c5410d7 13-May-2014 Deepanshu Gupta <deepanshu@google.com> am 7a5f7265: Merge "Support actionProviderClass attribute for menus [DO NOT MERGE]" into klp-dev

* commit '7a5f726525f597bf5dd65fd6bb106511715c2109':
Support actionProviderClass attribute for menus [DO NOT MERGE]
f0009776203b4e5b705f575990d3fa466a10a1b3 12-May-2014 Adam Lesinski <adamlesinski@google.com> Merge "Add support for building split APKs"
fab50875b98e8274ac8ee44b38ba42521bbbf1f9 16-Apr-2014 Adam Lesinski <adamlesinski@google.com> Add support for building split APKs

Build multiple APKs, each containing a disjoint subset
of configurations. These can then be loaded into the device
AssetManager and should operate as if they were never split.

Use the idea of building multiple sets of files, where each
set represents an APK. An ApkBuilder can place files
in a set based on its configuration, but you can actually
add directly to a set, in the case of the resources.arsc and
generated AndroidManifest.xml for splits.

Change-Id: Ic65d3f0ac1bbd290185695b9971d425c85ab1de3
apt/AaptAssets.cpp
apt/AaptAssets.h
apt/AaptConfig.cpp
apt/AaptConfig.h
apt/AaptUtil.cpp
apt/AaptUtil.h
apt/Android.mk
apt/ApkBuilder.cpp
apt/ApkBuilder.h
apt/Bundle.h
apt/Command.cpp
apt/ConfigDescription.h
apt/Main.cpp
apt/Main.h
apt/OutputSet.h
apt/Package.cpp
apt/Resource.cpp
apt/ResourceFilter.cpp
apt/ResourceFilter.h
apt/ResourceTable.cpp
apt/ResourceTable.h
apt/tests/AaptConfig_test.cpp
apt/tests/AaptGroupEntry_test.cpp
apt/tests/ResourceFilter_test.cpp
apt/tests/TestHelper.h
3a115628236ee9051518d4f96840cbb76070cf92 07-May-2014 Deepanshu Gupta <deepanshu@google.com> Add Navigation Bar to BridgeWindowManager [DO NOT MERGE]

Return the right value for presence of software navigation bar in
BridgeWindowManager. This is required to render the overflow menu button
correctly in the Action Bar.

Change-Id: I73de3b299f6a3a113425c436a59e800cd1d6b97f
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
2d3fa7ba782238afb891db38e29ef7ec755bfdf6 02-May-2014 Deepanshu Gupta <deepanshu@google.com> 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 099f40a950a14b66005b17657d967ef080569a15)
ayoutlib/bridge/src/com/android/internal/view/menu/BridgeMenuItemImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
7bc363ba72d4cdd9a0b3b1601e432acfc09c0dc0 25-Apr-2014 Deepanshu Gupta <deepanshu@google.com> 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 7c6f6481f46b8244406790604c5f8b3f712c369f)
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
85f53c3335daf0e55cec757fd66fe560e0b020ef 23-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Fix style warnings in RenderSessionImpl [DO NOT MERGE]

Change-Id: I9d3cb23e4ea692f737a3e3d6c18cc8de18b66a3c
(cherry-picked from commit 22de7c4c3d44e51aef6937e1b39540703ad01f5c)
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
0f209967bfc4a6f1eec46cc34a39cfe8af9f8af9 18-Apr-2014 Deepanshu Gupta <deepanshu@google.com> 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 094fd8ecb6f4b666be6c9e7332679bce28fdc3ca)
ayoutlib/bridge/src/android/view/BridgeInflater.java
ayoutlib/bridge/src/android/view/MenuInflater_Delegate.java
ayoutlib/bridge/src/com/android/internal/view/menu/BridgeMenuItemImpl.java
ayoutlib/bridge/src/com/android/internal/view/menu/MenuBuilder_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
f7e5794990831df87d4097126f6d24455da50efe 13-Feb-2014 Deepanshu Gupta <deepanshu@google.com> 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 56759be8960ea1b5dc8b6de1810a84e2f10e2058)
ayoutlib/bridge/resources/bars/action_bar.xml
ayoutlib/bridge/src/com/android/internal/view/menu/MenuBuilderAccessor.java
ayoutlib/bridge/src/com/android/internal/widget/ActionBarAccessor.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/OverflowMenuAdapter.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
c677675e9c465dc1de21ecf2e0421835c7eb55b4 07-May-2014 Florin Malita <fmalita@google.com> Encapsulate Canvas.mNativeCanvas

Currently, the native canvas is accessed/manipulated from several
unrelated classes.

In order to facilitate SaveFlags emulation, this CL encapsulates
the field and refactors its external users.

Two main changes:

* new getNativeCanvas() getter for use in Java-level clients.
* JNI canvas swappers (GraphicsBuffers, Surface, TextureView &
AssetAtlasService) are refactored based on the exising/equivalent
safeCanvasSwap() Canvas method.

Change-Id: I966bd4898f0838fb3699e226d3d3d51e0224ea97
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
43b15371f9f1da7d97fe0500eb1536d981097e31 12-Dec-2013 Deepanshu Gupta <deepanshu@google.com> 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 fe38489f6734fefd0a216e9cfe12f8f978ff371f)
ayoutlib/bridge/resources/bars/action_bar.xml
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeRenderSession.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/FakeActionBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/SystemViewInfo.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
770e40f839f059e1e3a15a2b14157c7cbb3b0553 12-Mar-2014 Deepanshu Gupta <deepanshu@google.com> Fix theme/style resolution in Layoutlib [DO NOT MERGE]

Change-Id: Icfb91e566666408802dadc0e2070991151b16b9d
(cherry picked from commit 76dccb7f436565136ff5e15b1ca57530940f5642)
ayoutlib/bridge/src/android/content/res/AssetManager_Delegate.java
ayoutlib/bridge/src/android/content/res/Resources_Theme_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
87665388466812897e888680c0b2a1d7db1b9cbd 01-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]

The bug caused some classes to be missed when computing the dependencies
of the existing classes.

This change includes the new mock_android.jar compiled from the mock
sources again.

Change-Id: I7285ff67e016ce5d73a8550501f49acc73cfadfa
(cherry-picked from 6136af326e64037184a7a2a3ae60c399f04d631f)
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/AsmAnalyzerTest.java
ayoutlib/create/tests/data/mock_android.jar
ayoutlib/create/tests/mock_data/mock_android/util/EmptyArray.java
ayoutlib/create/tests/mock_data/mock_android/widget/LinearLayout.java
d915dcac365b6d3ad88afab52e74ccca7dfbefec 16-Apr-2014 Deepanshu Gupta <deepanshu@google.com> 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 2bd65db15fa6a265ccc4023161611088bc791b4e)
ayoutlib/bridge/tests/src/com/android/layoutlib/bridge/TestDelegates.java
877ae53586c3f7f5b788a40dfb0a58bef54a7446 19-Feb-2014 Deepanshu Gupta <deepanshu@google.com> Set default text style in layoutlib as NORMAL [DO NOT MERGE]

If a style doesn't specify text style (normal/bold/italic/bold-italic)
then default to normal instead of throwing an error.

Bug: http://b.android.com/61358
Change-Id: I0138c73807a5ff6e4d938a99ece3044333110aa1
(cherry-picked from bcbeaf83ca75e4a819377938fdf3ec1e07fa30a7)
ayoutlib/bridge/src/android/graphics/Typeface_Delegate.java
669792b303b99a003bbcbf8d962f5be1debf9b63 19-Feb-2014 Deepanshu Gupta <deepanshu@google.com> Fix sans-serif-thin and sans-serif-light fonts in layoutlib. [DO NOT MERGE]

For these font families, text was always rendered as italic. This
changeset fixes the issue.

Bug: http://b.android.com/57221
Change-Id: Ic8a299bd1e555f5bb914cd3d2fe72917ec7f471a
(cherry-picked from 5be65fda15c6f66067da3cc623811427e9d541e4)
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/FontLoader.java
cda89ca02548c19250ae55671c055536b64b74f8 06-Feb-2014 Deepanshu Gupta <deepanshu@google.com> Fix a bug in Nine Patch library. [DO NOT MERGE]

The nine patches were not drawn correctly if they were not positioned at
the top left corner of the canvas.

Bug: http://b.android.com/29959
Change-Id: Icfed522ea07322a3ee9f3955067d3da26c4b0b5b
(cherry-picked from 5bb3414d148f1309dade9333fe9b89c8d1c2f308)
ayoutlib/bridge/src/android/graphics/NinePatch_Delegate.java
a2b34c96f1ef24d96854d1e23426dec7774510e8 21-Jan-2014 Deepanshu Gupta <deepanshu@google.com> Optimize layout rendering in layoutlib [DO NOT MERGE]

The height of a layout should be zero if it is assigned a layout_weight.
This way, the layout is measured only once and prevents spurious errors.

Bug: https://code.google.com/p/android/issues/detail?id=58398
Change-Id: If49a7480e5eb82cb86780e00f2f5b65ee053fc2a
(cherry-picked from 5712b5fc3fec0dc376e84f660f2fe0d1102c0cbb)
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
e183855c1eb7baf750c67bb20e70fb887eba7af6 01-Feb-2014 Deepanshu Gupta <deepanshu@google.com> Add methods for Time_Delegate [DO NOT MERGE]

Bug: http://b.android.com/65359
Change-Id: I7c2d09286d6bcd9899444aaa5a4a5a342e39d923
(cherry-picked from 02cde9ceeb4c052ee273a5d809816dfd355ebb56)
ayoutlib/bridge/src/android/text/format/Time_Delegate.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
e5a2347bc6cf1506799136af4c9724275ca0247e 12-Nov-2013 Deepanshu Gupta <deepanshu@google.com> Fix NPE in layoutlib. [DO NOT MERGE]

Change-Id: I36623304d83b344ea078044001577b8005a63c02
(cherry picked from commit 689c0dfe72a57c0555560012cbc6806375e7d4b7)
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
30505abeb6cda9d042ec41f2563d561714eac46b 08-Nov-2013 Deepanshu Gupta <deepanshu@google.com> Fix text size in Fake Action Bar. [DO NOT MERGE]

The density multiplier was being applied twice to the title text in
the fake action bar.

Bug: 11436018
Change-Id: Id74c11037cb43d01f6cd79126623c84edfc37aaf
(cherry-picked from 083d1562e00631630b5594462ce4a867a3508d8d)
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
5a7b3b65b691edbdb855eb6154b8b30f5700acbb 11-Sep-2013 Deepanshu Gupta <deepanshu@google.com> Remove references to non-std Java classes. [DO NOT MERGE]

Do not add the non-standard Java classes. Updates the references to all
non-standard classes to new classes in
com.android.tools.layoulib.create package. This also treats
java.lang.AutoCloseable which is part of Java 7 similarly so that we can
still run on Java 6.

This also adapts the cherrypick for this branch by updating references
to the non-standard Java classes present in this branch. This also
includes the following change that includes some changes that the
original cherrypick missed.
Change-Id: I76c87c74ee088778b37d1a7a7d531e0fde5c758f
commit: 1ed75bde09275c9f2bd1f81830e381ea864ac7f5

Change-Id: Iac5b272652e2780c9bb72d19f415d150948ca589
(cherry picked from 80c668f2a076e91d887dbf77776cd503ff88b0b4)
ayoutlib/create/.classpath
ayoutlib/create/README.txt
ayoutlib/create/src/com/android/tools/layoutlib/create/AbstractClassAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmGenerator.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
ayoutlib/create/src/com/android/tools/layoutlib/create/ICreateInfo.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
ayoutlib/create/src/com/android/tools/layoutlib/create/RefactorClassAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/create/RenameClassAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/java/AutoCloseable.java
ayoutlib/create/src/com/android/tools/layoutlib/java/Charsets.java
ayoutlib/create/src/com/android/tools/layoutlib/java/IntegralToString.java
ayoutlib/create/src/com/android/tools/layoutlib/java/ModifiedUtf8.java
ayoutlib/create/src/com/android/tools/layoutlib/java/UnsafeByteSequence.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/AsmAnalyzerTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/RenameClassAdapterTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/dataclass/JavaClass.java
ayoutlib/create/tests/data/mock_android.jar
ayoutlib/create/tests/data/mock_android.jardesc
ayoutlib/create/tests/mock_android/dummy/InnerTest.java
ayoutlib/create/tests/mock_android/view/View.java
ayoutlib/create/tests/mock_android/view/ViewGroup.java
ayoutlib/create/tests/mock_android/widget/LinearLayout.java
ayoutlib/create/tests/mock_android/widget/TableLayout.java
ayoutlib/create/tests/mock_data/java/lang/JavaClass.java
ayoutlib/create/tests/mock_data/mock_android/dummy/InnerTest.java
ayoutlib/create/tests/mock_data/mock_android/view/View.java
ayoutlib/create/tests/mock_data/mock_android/view/ViewGroup.java
ayoutlib/create/tests/mock_data/mock_android/widget/LinearLayout.java
ayoutlib/create/tests/mock_data/mock_android/widget/TableLayout.java
f3e7945c79557cfd4d667caeacf69ee197508535 06-May-2014 Elliott Hughes <enh@google.com> am 86768034: am b593ad60: am f1f28d1d: Merge "Skip resource files for locales en-XA and ar-XB during packaging if pseudolocalization was done automatically. This prevents attemts to add same resource twice."

* commit '867680342e12af59a26756f30cf817a131724943':
Skip resource files for locales en-XA and ar-XB during packaging if pseudolocalization was done automatically. This prevents attemts to add same resource twice.
867680342e12af59a26756f30cf817a131724943 06-May-2014 Elliott Hughes <enh@google.com> am b593ad60: am f1f28d1d: Merge "Skip resource files for locales en-XA and ar-XB during packaging if pseudolocalization was done automatically. This prevents attemts to add same resource twice."

* commit 'b593ad60682a6f8c945c4c2ffc3d278df3f6e360':
Skip resource files for locales en-XA and ar-XB during packaging if pseudolocalization was done automatically. This prevents attemts to add same resource twice.
b593ad60682a6f8c945c4c2ffc3d278df3f6e360 06-May-2014 Elliott Hughes <enh@google.com> am f1f28d1d: Merge "Skip resource files for locales en-XA and ar-XB during packaging if pseudolocalization was done automatically. This prevents attemts to add same resource twice."

* commit 'f1f28d1d86aea6dd1419e94aadf051e433914680':
Skip resource files for locales en-XA and ar-XB during packaging if pseudolocalization was done automatically. This prevents attemts to add same resource twice.
4b5da86d04200ba278b62ff99da91e212b87e9af 13-Oct-2013 Deepanshu Gupta <deepanshu@google.com> Fix DatePicker and Calendar widget in layoutlib. [DO NOT MERGE]

Issue: https://code.google.com/p/android/issues/detail?id=59732

Change-Id: I281b3fdad88c591281a3645592c84f3e2cb61d09
(cherry picked from commit 6335590aa8997944cc7fb358a315dbb9b789f87f)
ayoutlib/bridge/src/libcore/icu/ICU_Delegate.java
5c166c9c04b6ea9d4955830e7ba277be71f17a6f 13-Oct-2013 Deepanshu Gupta <deepanshu@google.com> Layoutlib: Update the wifi icon in the status bar. [DO NOT MERGE]

Issue: https://code.google.com/p/android/issues/detail?id=60993

Change-Id: Ia43ed40b42c79f67dcd5809b827d4fecbc823c25
(cherry picked from commit 11ee746dc5e77f4f33aac45ac9e344444223012d)
ayoutlib/bridge/resources/bars/hdpi/stat_sys_battery_charge_anim100.png
ayoutlib/bridge/resources/bars/hdpi/stat_sys_wifi_signal_4_fully.png
ayoutlib/bridge/resources/bars/mdpi/stat_sys_battery_charge_anim100.png
ayoutlib/bridge/resources/bars/mdpi/stat_sys_wifi_signal_4_fully.png
ayoutlib/bridge/resources/bars/status_bar.xml
ayoutlib/bridge/resources/bars/xhdpi/stat_sys_battery_charge_anim100.png
ayoutlib/bridge/resources/bars/xhdpi/stat_sys_wifi_signal_4_fully.png
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/StatusBar.java
2d82586b96593b1b3b5280d77d5ae9a09df9d1fd 15-Oct-2013 Deepanshu Gupta <deepanshu@google.com> Fix CalendarView to show the right labels. [DO NOT MERGE]

Change-Id: I95431f1054678d4192bd1621c1f69b29268f55e9
(cherry picked from commit 44bcd64e5b9fd211dd56b0598693a0559f65dc1a)
ayoutlib/bridge/src/android/text/format/Time_Delegate.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
64dc0380127047ffcf135b6848c9150aa8dbed85 17-Oct-2013 Deepanshu Gupta <deepanshu@google.com> 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)
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
a59c27dd6674a31c875b0baa86519caec628ca2d 11-Sep-2013 Deepanshu Gupta <deepanshu@google.com> Fix ClassCastException when rendering ListView [DO NOT MERGE]

Bug: b.android.com/59300
Change-Id: Ia350adb3308daa8170bff755302760790163c811
(cherry picked from commit 7b5d54f05be61a7ab40021644a91c466e2897627)
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/AdapterHelper.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/AdapterItem.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/BaseAdapter.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/FakeAdapter.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/FakeExpandableAdapter.java
8a39c3afb29f2540b05319042e758dd4d5f73a1e 13-Jul-2013 Deepanshu Gupta <deepanshu@google.com> 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)
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
47843df11fe88b30abcac324173b6c15f16cc797 02-May-2014 Igor Viarheichyk <viarheichyk@google.com> Skip resource files for locales en-XA and ar-XB
during packaging if pseudolocalization was done automatically.
This prevents attemts to add same resource twice.

Change-Id: I51e17f961ac44047bf466ce4aa0d4d17f4ded0d6
apt/ResourceTable.cpp
ce8083fc51d71f104222d90a6736e52bccb33b7f 05-May-2014 Adam Lesinski <adamlesinski@google.com> am 0472fb58: am 34dd2cdd: am f2d2c871: AAPT should not process XML that failed to compile

* commit '0472fb5882cfe55577a169a0f0ff4b8920a839b0':
AAPT should not process XML that failed to compile
0472fb5882cfe55577a169a0f0ff4b8920a839b0 05-May-2014 Adam Lesinski <adamlesinski@google.com> am 34dd2cdd: am f2d2c871: AAPT should not process XML that failed to compile

* commit '34dd2cdd4142ca8c7463b9f831429b4366fa222a':
AAPT should not process XML that failed to compile
34dd2cdd4142ca8c7463b9f831429b4366fa222a 05-May-2014 Adam Lesinski <adamlesinski@google.com> am f2d2c871: AAPT should not process XML that failed to compile

* commit 'f2d2c871813656012420faa89080d8e3cda1f308':
AAPT should not process XML that failed to compile
f2d2c871813656012420faa89080d8e3cda1f308 08-Apr-2014 Adam Lesinski <adamlesinski@google.com> AAPT should not process XML that failed to compile

AAPT would attempt to warn if an unprefixed 'id'
attribute was used in an XML resource file even
if that XML file failed to compile. The result
was undefined behaviour, including crashing the
process.

Change-Id: I1a9464ec937760e8d38bbe1af8d1b5d6b2c105a2
apt/Resource.cpp
099f40a950a14b66005b17657d967ef080569a15 02-May-2014 Deepanshu Gupta <deepanshu@google.com> 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)
ayoutlib/bridge/src/com/android/internal/view/menu/BridgeMenuItemImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
60b52ee929c8765c2d99f1b1e35d326e03895ba0 30-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Fix class name for OverflowMenuButton [DO NOT MERGE]

Change-Id: Ie3e709e7aadb2193397df8befef0c55624d7e4e3
(cherry picked from commit f61bd0020642cf0868486d307f2e68c8c02d6102)
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
7c6f6481f46b8244406790604c5f8b3f712c369f 25-Apr-2014 Deepanshu Gupta <deepanshu@google.com> 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)
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
22de7c4c3d44e51aef6937e1b39540703ad01f5c 23-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Fix style warnings in RenderSessionImpl [DO NOT MERGE]

Change-Id: I9d3cb23e4ea692f737a3e3d6c18cc8de18b66a3c
(cherry-picked from commit a98121ef5251b5ebdb8c1b0b6780d570844284b2)
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
094fd8ecb6f4b666be6c9e7332679bce28fdc3ca 18-Apr-2014 Deepanshu Gupta <deepanshu@google.com> 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)
ayoutlib/bridge/src/android/view/BridgeInflater.java
ayoutlib/bridge/src/android/view/MenuInflater_Delegate.java
ayoutlib/bridge/src/com/android/internal/view/menu/BridgeMenuItemImpl.java
ayoutlib/bridge/src/com/android/internal/view/menu/MenuBuilder_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
7f56beb8403b597a676faf12643fef585a31007e 02-May-2014 Deepanshu Gupta <deepanshu@google.com> 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)
ayoutlib/bridge/src/com/android/internal/view/menu/BridgeMenuItemImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
f61bd0020642cf0868486d307f2e68c8c02d6102 30-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Fix class name for OverflowMenuButton [DO NOT MERGE]

Change-Id: Ie3e709e7aadb2193397df8befef0c55624d7e4e3
(cherry picked from commit 4b5fa4d318e7efaffdc678e0cb8953ffc78c2b1e)
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
d558ebdb433af498a87e25673f7dd828a0e7439a 25-Apr-2014 Deepanshu Gupta <deepanshu@google.com> 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)
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
a98121ef5251b5ebdb8c1b0b6780d570844284b2 23-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Fix style warnings in RenderSessionImpl [DO NOT MERGE]

Change-Id: I9d3cb23e4ea692f737a3e3d6c18cc8de18b66a3c
(cherry-picked from commit fbfeb1a90b6f8f3966c60a69d50ce8f608d9d861)
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
7704837947455909f295b088a3d15a20e107dbd7 18-Apr-2014 Deepanshu Gupta <deepanshu@google.com> 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)
ayoutlib/bridge/src/android/view/BridgeInflater.java
ayoutlib/bridge/src/android/view/MenuInflater_Delegate.java
ayoutlib/bridge/src/com/android/internal/view/menu/BridgeMenuItemImpl.java
ayoutlib/bridge/src/com/android/internal/view/menu/MenuBuilder_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
56759be8960ea1b5dc8b6de1810a84e2f10e2058 13-Feb-2014 Deepanshu Gupta <deepanshu@google.com> 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)
ayoutlib/bridge/resources/bars/action_bar.xml
ayoutlib/bridge/src/com/android/internal/view/menu/MenuBuilderAccessor.java
ayoutlib/bridge/src/com/android/internal/widget/ActionBarAccessor.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/OverflowMenuAdapter.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
fe38489f6734fefd0a216e9cfe12f8f978ff371f 12-Dec-2013 Deepanshu Gupta <deepanshu@google.com> 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)
ayoutlib/bridge/resources/bars/action_bar.xml
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeRenderSession.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/FakeActionBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/SystemViewInfo.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
cc5340bc6301f8d9bf2cdb6ad2036964a3d179f5 01-Apr-2014 Deepanshu Gupta <deepanshu@google.com> 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)
ayoutlib/Android.mk
76dccb7f436565136ff5e15b1ca57530940f5642 12-Mar-2014 Deepanshu Gupta <deepanshu@google.com> Fix theme/style resolution in Layoutlib [DO NOT MERGE]

Change-Id: Icfb91e566666408802dadc0e2070991151b16b9d
(cherry picked from commit 3c00b28bf60ab01b449e16df045238f4bae4d700)
ayoutlib/bridge/src/android/content/res/AssetManager_Delegate.java
ayoutlib/bridge/src/android/content/res/Resources_Theme_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
1ed75bde09275c9f2bd1f81830e381ea864ac7f5 11-Sep-2013 Deepanshu Gupta <deepanshu@google.com> 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
ayoutlib/create/README.txt
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
ayoutlib/create/src/com/android/tools/layoutlib/java/Charsets.java
6136af326e64037184a7a2a3ae60c399f04d631f 01-Apr-2014 Deepanshu Gupta <deepanshu@google.com> 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)
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
ayoutlib/create/src/com/android/tools/layoutlib/create/DependencyFinder.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/AsmAnalyzerTest.java
ayoutlib/create/tests/data/mock_android.jar
ayoutlib/create/tests/mock_data/mock_android/util/EmptyArray.java
ayoutlib/create/tests/mock_data/mock_android/widget/LinearLayout.java
2bd65db15fa6a265ccc4023161611088bc791b4e 16-Apr-2014 Deepanshu Gupta <deepanshu@google.com> 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)
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
ayoutlib/bridge/tests/src/com/android/layoutlib/bridge/TestDelegates.java
495c14d8b8e8a52554cfc0776c48d328657cda95 02-May-2014 Deepanshu Gupta <deepanshu@google.com> 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]
8ad4b8b1fedc9a200b49f322e73d406d43e32327 02-May-2014 Deepanshu Gupta <deepanshu@google.com> 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]
826a215c8b27babd041a77a8cdd2f42a29b240bd 02-May-2014 Deepanshu Gupta <deepanshu@google.com> 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]
0a37981cad7b00991c3b759b3ab1918c1ebf4bc0 02-May-2014 Deepanshu Gupta <deepanshu@google.com> am 1b28d8d4: am d642de58: am ec4623d0: Improve text rendering and measurement. [DO NOT MERGE]

* commit '1b28d8d4a0b4193b23ed4647a18c4242beb74038':
Improve text rendering and measurement. [DO NOT MERGE]
f4b35c6a832d3db694b2487fc30d1d1975114944 02-May-2014 Deepanshu Gupta <deepanshu@google.com> 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]
e0537c1d498a2baab23e2afdcd9d88d1a1065d87 02-May-2014 Deepanshu Gupta <deepanshu@google.com> 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]
5e6a2990805ec630fb97197910ecfbf7645bf8a6 02-May-2014 Deepanshu Gupta <deepanshu@google.com> am 4d887ec3: am bcd50a7c: am 5712b5fc: Optimize layout rendering in layoutlib [DO NOT MERGE]

* commit '4d887ec388da13c6b65455416a0b829d81e0160a':
Optimize layout rendering in layoutlib [DO NOT MERGE]
73f9e4675c0ebc23dd977a51f248dd6e603f7e33 02-May-2014 Deepanshu Gupta <deepanshu@google.com> am edd67cb1: am 7c02c6e2: am 02cde9ce: Add methods for Time_Delegate [DO NOT MERGE]

* commit 'edd67cb194b54bb7c6c25eb570d28614900446cf':
Add methods for Time_Delegate [DO NOT MERGE]
95fd97aa820dae4ba5040b6c040408b66887fe73 02-May-2014 Deepanshu Gupta <deepanshu@google.com> am 84e7a6b8: am 443372dd: am 9d7b5165: Add libphonenumber to layoutlib.jar. [DO NOT MERGE]

* commit '84e7a6b82303b52c7b44f1a2a295177361edf9ea':
Add libphonenumber to layoutlib.jar. [DO NOT MERGE]
88a12f5744846511e1861cf0f2e311f642109012 02-May-2014 Deepanshu Gupta <deepanshu@google.com> am 43034b54: am 62591cff: am 689c0dfe: Fix NPE in layoutlib. [DO NOT MERGE]

* commit '43034b541cecd924b4b79a5caff850a53516ec26':
Fix NPE in layoutlib. [DO NOT MERGE]
43ed35da99e500182b176ea74f0cd051a3325f39 02-May-2014 Deepanshu Gupta <deepanshu@google.com> am ce205d0a: am 600539c7: am 083d1562: Fix text size in Fake Action Bar. [DO NOT MERGE]

* commit 'ce205d0a3b88e12127a8c717ff913fce2d59e36d':
Fix text size in Fake Action Bar. [DO NOT MERGE]
aab9d9a75cac9f1ed8291a5820d676c2eadc8b4d 02-May-2014 Deepanshu Gupta <deepanshu@google.com> am 1a434aa8: am 697c511d: am 80c668f2: Remove references to non-std Java classes. [DO NOT MERGE]

* commit '1a434aa8fcc118df13bea58e112da081d47ae73b':
Remove references to non-std Java classes. [DO NOT MERGE]
d15bbac6316bb7d3838489f7eaab58147479dc92 02-May-2014 Deepanshu Gupta <deepanshu@google.com> am a2b530fb: am e39de9ae: am 6335590a: Fix DatePicker and Calendar widget in layoutlib. [DO NOT MERGE]

* commit 'a2b530fb7a11e5d0490daf5e9fea56ead5181caa':
Fix DatePicker and Calendar widget in layoutlib. [DO NOT MERGE]
3e9bc262105b9fe0d3f538a4ec0143606a7de0d1 02-May-2014 Deepanshu Gupta <deepanshu@google.com> am 9d209905: am 6f469e54: am 11ee746d: Layoutlib: Update the wifi icon in the status bar. [DO NOT MERGE]

* commit '9d2099052d207a4ca3bf3e4ef021feadf20c260f':
Layoutlib: Update the wifi icon in the status bar. [DO NOT MERGE]
e4fe85568b52b6a25b62be9b06e9d9e59425fae9 02-May-2014 Deepanshu Gupta <deepanshu@google.com> 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]
5a94ac62896bd7158b4264cabf3405634e2e8260 02-May-2014 Deepanshu Gupta <deepanshu@google.com> am 63a6de79: am 20e0695b: Action bar rendering in layoutlib [DO NOT MERGE]

* commit '63a6de79476e0d95a9bba2cc3599fc97a52bf6d5':
Action bar rendering in layoutlib [DO NOT MERGE]
cebf960525539efac009c0b418b0bebf803079c5 02-May-2014 Deepanshu Gupta <deepanshu@google.com> am 9b1c46df: am 3c00b28b: Fix theme/style resolution in Layoutlib [DO NOT MERGE]

* commit '9b1c46df60dec6af81b9cbfcbf8a70192da66d64':
Fix theme/style resolution in Layoutlib [DO NOT MERGE]
3cb97ec7dafb48bc0ac824ced3f6b51ef4d85864 02-May-2014 Deepanshu Gupta <deepanshu@google.com> 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]
500a3139def6ac57dbf48b0dc505a9876f5c9d63 02-May-2014 Deepanshu Gupta <deepanshu@google.com> am 7a0985ec: am f8144032: Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]

* commit '7a0985ec245e3b587f4725f7ae6856c85bc41346':
Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]
efa617f9fe4cbf5449d735118bf39fcfbc1dbf74 02-May-2014 Deepanshu Gupta <deepanshu@google.com> 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]
a9b296a57e3f23870bf869727e18b3f055b86c06 02-May-2014 Deepanshu Gupta <deepanshu@google.com> 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]
47ad22edb7df502356598d417adbce0b0ce35616 02-May-2014 Deepanshu Gupta <deepanshu@google.com> 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]
9932e589b0f604b1c553e043cd6a60adbc1b7055 02-May-2014 Deepanshu Gupta <deepanshu@google.com> 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]
320f1126a35fae6e5c2f72f75db5b38bdb207a76 02-May-2014 Deepanshu Gupta <deepanshu@google.com> 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]
1b28d8d4a0b4193b23ed4647a18c4242beb74038 02-May-2014 Deepanshu Gupta <deepanshu@google.com> am d642de58: am ec4623d0: Improve text rendering and measurement. [DO NOT MERGE]

* commit 'd642de58275b84d9c8b6c5998f532eacb824ccb3':
Improve text rendering and measurement. [DO NOT MERGE]
ef822b3f13204d084196c1124d22a153868b017f 02-May-2014 Deepanshu Gupta <deepanshu@google.com> am 62a4a1f9: am 2a82a48f: Fix the measurement of text bounds. [DO NOT MERGE]

* commit '62a4a1f9e06bcef3a6ac7cc6d297f5bb52e0e850':
Fix the measurement of text bounds. [DO NOT MERGE]
c7f8e64cb9b6ff81b2188a31c3d804b763c63fe8 02-May-2014 Deepanshu Gupta <deepanshu@google.com> 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]
4d887ec388da13c6b65455416a0b829d81e0160a 02-May-2014 Deepanshu Gupta <deepanshu@google.com> am bcd50a7c: am 5712b5fc: Optimize layout rendering in layoutlib [DO NOT MERGE]

* commit 'bcd50a7cf37bc87196a112a48294595dc47dd004':
Optimize layout rendering in layoutlib [DO NOT MERGE]
edd67cb194b54bb7c6c25eb570d28614900446cf 02-May-2014 Deepanshu Gupta <deepanshu@google.com> am 7c02c6e2: am 02cde9ce: Add methods for Time_Delegate [DO NOT MERGE]

* commit '7c02c6e27f0154cc63c2ff0461d7e49c151c1328':
Add methods for Time_Delegate [DO NOT MERGE]
84e7a6b82303b52c7b44f1a2a295177361edf9ea 02-May-2014 Deepanshu Gupta <deepanshu@google.com> am 443372dd: am 9d7b5165: Add libphonenumber to layoutlib.jar. [DO NOT MERGE]

* commit '443372ddf378b00621a284a9614b869fd9484ab4':
Add libphonenumber to layoutlib.jar. [DO NOT MERGE]
43034b541cecd924b4b79a5caff850a53516ec26 02-May-2014 Deepanshu Gupta <deepanshu@google.com> am 62591cff: am 689c0dfe: Fix NPE in layoutlib. [DO NOT MERGE]

* commit '62591cffc758b2c77028e4b80d61086c135ef54b':
Fix NPE in layoutlib. [DO NOT MERGE]
ce205d0a3b88e12127a8c717ff913fce2d59e36d 02-May-2014 Deepanshu Gupta <deepanshu@google.com> 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]
1a434aa8fcc118df13bea58e112da081d47ae73b 02-May-2014 Deepanshu Gupta <deepanshu@google.com> 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]
a2b530fb7a11e5d0490daf5e9fea56ead5181caa 02-May-2014 Deepanshu Gupta <deepanshu@google.com> 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]
9d2099052d207a4ca3bf3e4ef021feadf20c260f 02-May-2014 Deepanshu Gupta <deepanshu@google.com> 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]
2bb672a20800c5372e16b9a1fd72e2c0a444992f 02-May-2014 Deepanshu Gupta <deepanshu@google.com> am 582bb0dc: am fbb1561a: am 44bcd64e: Fix CalendarView to show the right labels. [DO NOT MERGE]

* commit '582bb0dc7498997f441c5209b1558a4640b5a107':
Fix CalendarView to show the right labels. [DO NOT MERGE]
27f0cf0b135917b52fea14406e806b35e721949e 02-May-2014 Deepanshu Gupta <deepanshu@google.com> am 10fd7f6b: am ca2c6307: am 87be67f9: Fix layoutlib [DO NOT MERGE]

* commit '10fd7f6b4192fdbd847106fb0d9ec87095092ee3':
Fix layoutlib [DO NOT MERGE]
5c7a844ca19873a03bac861ed021bdeea3712ca8 02-May-2014 Deepanshu Gupta <deepanshu@google.com> am 23726255: am 77d1eca7: am 7b5d54f0: Fix ClassCastException when rendering ListView [DO NOT MERGE]

* commit '237262558b818ce52ec53281f2270be3e4f1ee28':
Fix ClassCastException when rendering ListView [DO NOT MERGE]
d60d0c1ce70a83263daa91d7c4c44d73878e6696 02-May-2014 Deepanshu Gupta <deepanshu@google.com> am f5512973: am fe675441: am ce22440d: Fix text rendering [DO NOT MERGE]

* commit 'f55129731005f6939d40d7c8a0c0f8c93b472f98':
Fix text rendering [DO NOT MERGE]
44cc867f7d4ca212b7003057148b8cdabb8f85fb 02-May-2014 Deepanshu Gupta <deepanshu@google.com> 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]
1197605876d8c3029238ca9b93a95f9c41ed3266 02-May-2014 Deepanshu Gupta <deepanshu@google.com> 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]
e821d0cc549923d0e3d2535acfa5b70fc89a1ebe 02-May-2014 Deepanshu Gupta <deepanshu@google.com> am b27d8814: am 21cf9843: am d1084cc0: Add missing native methods. [DO NOT MERGE]

* commit 'b27d881467869539a5c8ec2510e8415912abb617':
Add missing native methods. [DO NOT MERGE]
582bb0dc7498997f441c5209b1558a4640b5a107 02-May-2014 Deepanshu Gupta <deepanshu@google.com> 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]
10fd7f6b4192fdbd847106fb0d9ec87095092ee3 02-May-2014 Deepanshu Gupta <deepanshu@google.com> am ca2c6307: am 87be67f9: Fix layoutlib [DO NOT MERGE]

* commit 'ca2c6307263b3857ba688c80277fef402215db18':
Fix layoutlib [DO NOT MERGE]
237262558b818ce52ec53281f2270be3e4f1ee28 02-May-2014 Deepanshu Gupta <deepanshu@google.com> am 77d1eca7: am 7b5d54f0: Fix ClassCastException when rendering ListView [DO NOT MERGE]

* commit '77d1eca7d2acf68f246970e59a50e8a6e1c03e20':
Fix ClassCastException when rendering ListView [DO NOT MERGE]
f55129731005f6939d40d7c8a0c0f8c93b472f98 02-May-2014 Deepanshu Gupta <deepanshu@google.com> am fe675441: am ce22440d: Fix text rendering [DO NOT MERGE]

* commit 'fe67544161d44d54c8462c44c78fe290f2195f2e':
Fix text rendering [DO NOT MERGE]
9a1f13a47bfe29e344efc05f0ecabbfcb5671e06 02-May-2014 Deepanshu Gupta <deepanshu@google.com> am afc623e3: am bd9e181b: Fix layout rendering for RTL locales [DO NOT MERGE]

* commit 'afc623e34e5a2bd375da00a52c3c393d5049a1d1':
Fix layout rendering for RTL locales [DO NOT MERGE]
b80247d351b88f69192260a661dbf3d4d71e9527 02-May-2014 Deepanshu Gupta <deepanshu@google.com> am 811b331a: am d4875e19: Add orientation to configuration for layoutlib. [DO NOT MERGE]

* commit '811b331ae2334161c6082f666d7b3bab788f69a3':
Add orientation to configuration for layoutlib. [DO NOT MERGE]
b27d881467869539a5c8ec2510e8415912abb617 02-May-2014 Deepanshu Gupta <deepanshu@google.com> am 21cf9843: am d1084cc0: Add missing native methods. [DO NOT MERGE]

* commit '21cf98438b77ab58d6c781e09aecb8ad0f682042':
Add missing native methods. [DO NOT MERGE]
6df2860b2316fb42e8686c3154b2156619c7777f 16-Jan-2014 Deepanshu Gupta <deepanshu@google.com> Add missing files to fix libphonenumber for layoutlib. [DO NOT MERGE]

Change-Id: I8102da6c1c4625e887293a8823770d199521c53f
(cherry-picked from 8a16f8e29a67c383e065ba9c47d5d1e80d7d2db9)
ayoutlib/Android.mk
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmGenerator.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/AsmAnalyzerTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
ayoutlib/create/tests/data/mock_android.jar
ayoutlib/create/tests/mock_data/mock_android/data/anotherDataFile
ayoutlib/create/tests/mock_data/mock_android/data/dataFile
bcbeaf83ca75e4a819377938fdf3ec1e07fa30a7 19-Feb-2014 Deepanshu Gupta <deepanshu@google.com> Set default text style in layoutlib as NORMAL [DO NOT MERGE]

If a style doesn't specify text style (normal/bold/italic/bold-italic)
then default to normal instead of throwing an error.

Bug: http://b.android.com/61358
Change-Id: I0138c73807a5ff6e4d938a99ece3044333110aa1
(cherry-picked from c63e87d53deb24c4286036313db11719173419b3)
ayoutlib/bridge/src/android/graphics/Typeface_Delegate.java
5be65fda15c6f66067da3cc623811427e9d541e4 19-Feb-2014 Deepanshu Gupta <deepanshu@google.com> Fix sans-serif-thin and sans-serif-light fonts in layoutlib. [DO NOT MERGE]

For these font families, text was always rendered as italic. This
changeset fixes the issue.

Bug: http://b.android.com/57221
Change-Id: Ic8a299bd1e555f5bb914cd3d2fe72917ec7f471a
(cherry-picked from 5fb41528a6192c41f7e2bb30161cc5af6061d5b8)
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/FontLoader.java
ec4623d0d47734c21ee915ea6ec58e60f668bd2f 07-Jan-2014 Deepanshu Gupta <deepanshu@google.com> Improve text rendering and measurement. [DO NOT MERGE]

1. Fix a bug where baseline of the run was modified while rendering
resulting in crooked text in some cases.

2. Use GlyphVector.getLogicalBounds() for text measurement which is more
accurate than getVisualBounds().

3. This change also optimizes text rendering by not computing the advances
for individual glyphs when not needed.

Change-Id: I66792c4d8f50eaf29afa70bccca1e6c812a3fa28
(cherry-picked from 88301948c92fe1261cfa19383d4aaa5d5d0195ac)
ayoutlib/bridge/src/android/graphics/BidiRenderer.java
2a82a48fefb7877f8162133db81788c12eae7582 07-Jan-2014 Deepanshu Gupta <deepanshu@google.com> Fix the measurement of text bounds. [DO NOT MERGE]

Bug: 12366230
Change-Id: I203b678363dc7b688c744503ee10216baca658a9
(cherry-picked from eb1fae940df0117deb0dc891f9f9bfeca35b1ac1)
ayoutlib/bridge/src/android/graphics/BidiRenderer.java
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
5bb3414d148f1309dade9333fe9b89c8d1c2f308 06-Feb-2014 Deepanshu Gupta <deepanshu@google.com> Fix a bug in Nine Patch library. [DO NOT MERGE]

The nine patches were not drawn correctly if they were not positioned at
the top left corner of the canvas.

Bug: http://b.android.com/29959
Change-Id: Icfed522ea07322a3ee9f3955067d3da26c4b0b5b
(cherry-picked from ee1187a94feb61adbfade2505b2f92418a1b1038)
ayoutlib/bridge/src/android/graphics/NinePatch_Delegate.java
5712b5fc3fec0dc376e84f660f2fe0d1102c0cbb 21-Jan-2014 Deepanshu Gupta <deepanshu@google.com> Optimize layout rendering in layoutlib [DO NOT MERGE]

The height of a layout should be zero if it is assigned a layout_weight.
This way, the layout is measured only once and prevents spurious errors.

Bug: https://code.google.com/p/android/issues/detail?id=58398
Change-Id: If49a7480e5eb82cb86780e00f2f5b65ee053fc2a
(cherry-picked from 9e5e993c7969ad60ff70cfdcf707247f38a705a1)
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
02cde9ceeb4c052ee273a5d809816dfd355ebb56 01-Feb-2014 Deepanshu Gupta <deepanshu@google.com> Add methods for Time_Delegate [DO NOT MERGE]

Bug: http://b.android.com/65359
Change-Id: I7c2d09286d6bcd9899444aaa5a4a5a342e39d923
(cherry-picked from ddb7f3273c3c00e6520794dcaabdaad20fd98e26)
ayoutlib/bridge/src/android/text/format/Time_Delegate.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
9d7b5165576e3cf491fe47cf335feb6d204140b3 13-Nov-2013 Deepanshu Gupta <deepanshu@google.com> Add libphonenumber to layoutlib.jar. [DO NOT MERGE]

Issue: http://b.android.com/59497
Change-Id: Ief11e602703b6041db66241f1699cc1de72e65a5
(cherry picked from commit 317f304893c58c5e50255bd712448ca233ae5cec)
ayoutlib/Android.mk
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
689c0dfe72a57c0555560012cbc6806375e7d4b7 12-Nov-2013 Deepanshu Gupta <deepanshu@google.com> Fix NPE in layoutlib. [DO NOT MERGE]

Change-Id: I36623304d83b344ea078044001577b8005a63c02
(cherry picked from commit 80c55109b6351049498df294234dc0a75e75ec44)
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
083d1562e00631630b5594462ce4a867a3508d8d 08-Nov-2013 Deepanshu Gupta <deepanshu@google.com> Fix text size in Fake Action Bar. [DO NOT MERGE]

The density multiplier was being applied twice to the title text in
the fake action bar.

Bug: 11436018
Change-Id: Id74c11037cb43d01f6cd79126623c84edfc37aaf
(cherry-picked from 0b7d80765c21dbd9294a0245f92a655fdd61514e)
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
80c668f2a076e91d887dbf77776cd503ff88b0b4 11-Sep-2013 Deepanshu Gupta <deepanshu@google.com> Remove references to non-std Java classes. [DO NOT MERGE]

Do not add the non-standard Java classes. Updates the references to all
non-standard classes to new classes in
com.android.tools.layoulib.create package. This also treats
java.lang.AutoCloseable which is part of Java 7 similarly so that we can
still run on Java 6.

This also adapts the cherrypick for this branch by updating references
to the non-standard Java classes present in this branch.

Change-Id: Iac5b272652e2780c9bb72d19f415d150948ca589
(cherry picked from 0b7d80765c21dbd9294a0245f92a655fdd61514e)
ayoutlib/create/.classpath
ayoutlib/create/README.txt
ayoutlib/create/src/com/android/tools/layoutlib/create/AbstractClassAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmGenerator.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
ayoutlib/create/src/com/android/tools/layoutlib/create/ICreateInfo.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
ayoutlib/create/src/com/android/tools/layoutlib/create/RefactorClassAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/create/RenameClassAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/java/AutoCloseable.java
ayoutlib/create/src/com/android/tools/layoutlib/java/IntegralToString.java
ayoutlib/create/src/com/android/tools/layoutlib/java/ModifiedUtf8.java
ayoutlib/create/src/com/android/tools/layoutlib/java/UnsafeByteSequence.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/AsmAnalyzerTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/RenameClassAdapterTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/dataclass/JavaClass.java
ayoutlib/create/tests/data/mock_android.jar
ayoutlib/create/tests/data/mock_android.jardesc
ayoutlib/create/tests/mock_android/dummy/InnerTest.java
ayoutlib/create/tests/mock_android/view/View.java
ayoutlib/create/tests/mock_android/view/ViewGroup.java
ayoutlib/create/tests/mock_android/widget/LinearLayout.java
ayoutlib/create/tests/mock_android/widget/TableLayout.java
ayoutlib/create/tests/mock_data/java/lang/JavaClass.java
ayoutlib/create/tests/mock_data/mock_android/dummy/InnerTest.java
ayoutlib/create/tests/mock_data/mock_android/view/View.java
ayoutlib/create/tests/mock_data/mock_android/view/ViewGroup.java
ayoutlib/create/tests/mock_data/mock_android/widget/LinearLayout.java
ayoutlib/create/tests/mock_data/mock_android/widget/TableLayout.java
6335590aa8997944cc7fb358a315dbb9b789f87f 13-Oct-2013 Deepanshu Gupta <deepanshu@google.com> Fix DatePicker and Calendar widget in layoutlib. [DO NOT MERGE]

Issue: https://code.google.com/p/android/issues/detail?id=59732

Change-Id: I281b3fdad88c591281a3645592c84f3e2cb61d09
(cherry picked from commit 81f74f4bc96ea4266cebe1b785d095558f540800)
ayoutlib/bridge/src/libcore/icu/ICU_Delegate.java
11ee746dc5e77f4f33aac45ac9e344444223012d 13-Oct-2013 Deepanshu Gupta <deepanshu@google.com> Layoutlib: Update the wifi icon in the status bar. [DO NOT MERGE]

Issue: https://code.google.com/p/android/issues/detail?id=60993

Change-Id: Ia43ed40b42c79f67dcd5809b827d4fecbc823c25
(cherry picked from commit 9cb5f5b5233f2331748d108d71f4b685762f32a7)
ayoutlib/bridge/resources/bars/hdpi/stat_sys_battery_charge_anim100.png
ayoutlib/bridge/resources/bars/hdpi/stat_sys_wifi_signal_4_fully.png
ayoutlib/bridge/resources/bars/mdpi/stat_sys_battery_charge_anim100.png
ayoutlib/bridge/resources/bars/mdpi/stat_sys_wifi_signal_4_fully.png
ayoutlib/bridge/resources/bars/status_bar.xml
ayoutlib/bridge/resources/bars/xhdpi/stat_sys_battery_charge_anim100.png
ayoutlib/bridge/resources/bars/xhdpi/stat_sys_wifi_signal_4_fully.png
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/StatusBar.java
44bcd64e5b9fd211dd56b0598693a0559f65dc1a 15-Oct-2013 Deepanshu Gupta <deepanshu@google.com> Fix CalendarView to show the right labels. [DO NOT MERGE]

Change-Id: I95431f1054678d4192bd1621c1f69b29268f55e9
(cherry picked from commit 083e3caf66c21f7cc9511db479726c38d90e2d2f)
ayoutlib/bridge/src/android/text/format/Time_Delegate.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
87be67f91719234cbd381ff0242b5efc8b6aa257 17-Oct-2013 Deepanshu Gupta <deepanshu@google.com> Fix layoutlib [DO NOT MERGE]

Fix a NPE.

The cherry-pick differs slightly from the original to remove changes not
relevant to the current branch.

Bug: 11140701
Change-Id: Id92fc5359acf6dde1bcdbc781aaf637fdb6eecbf
(cherry-picked from 28873c1f008f4fe24441923e14f30e55d6f0967a)
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
7b5d54f05be61a7ab40021644a91c466e2897627 11-Sep-2013 Deepanshu Gupta <deepanshu@google.com> Fix ClassCastException when rendering ListView [DO NOT MERGE]

Bug: b.android.com/59300
Change-Id: Ia350adb3308daa8170bff755302760790163c811
(cherry picked from commit 54d88f7678387a6eb871ec2dccd36af4ff35b1fe)
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/AdapterHelper.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/AdapterItem.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/BaseAdapter.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/FakeAdapter.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/FakeExpandableAdapter.java
ce22440d4ca94009a4fb22c3d4f924cfbf422a66 12-Jul-2013 Deepanshu Gupta <deepanshu@google.com> Fix text rendering [DO NOT MERGE]

There are still some errors
1. Little vertical clippping for extra tall glyphs.
2. Breaking into scripts isn't perfect which results in incorrect layout
of text.

Change-Id: I54de3c05eca5e8affb1135c120eea24c3afe8a47
(cherry picked from commit 92a169fa2e1bab7d93089196c33c2de12f9eae82)
ayoutlib/bridge/src/android/graphics/BidiRenderer.java
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
ayoutlib/bridge/src/android/text/AndroidBidi_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/FontLoader.java
bd9e181b291af34f9d70db42715136f3c16ddbde 20-Jun-2013 Deepanshu Gupta <deepanshu@google.com> 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)
ayoutlib/bridge/.classpath
ayoutlib/bridge/Android.mk
ayoutlib/bridge/resources/bars/ldrtl-hdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/ldrtl-hdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/ldrtl-mdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/ldrtl-mdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/ldrtl-xhdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/ldrtl-xhdpi/ic_sysbar_recent.png
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/NavigationBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/StatusBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
d4875e19f5b7c69226783b0a6590831466159f84 13-Jul-2013 Deepanshu Gupta <deepanshu@google.com> 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)
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
d25d33cdebeb5a363b299939017a0cdfa42c7338 02-May-2014 Deepanshu Gupta <deepanshu@google.com> 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)
ayoutlib/bridge/src/com/android/internal/view/menu/BridgeMenuItemImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
5fc37e7924b0385abf84fd50ae883ea76f92af8f 02-May-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Support actionProviderClass attribute for menus."
1f5e678c08ca7e0b6734b7856187f1739fb4dbef 02-May-2014 Deepanshu Gupta <deepanshu@google.com> Support actionProviderClass attribute for menus.

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
ayoutlib/bridge/src/com/android/internal/view/menu/BridgeMenuItemImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
8c2fff23853d78c19a94d034dbf21fc2718ead9a 01-May-2014 Elliott Hughes <enh@google.com> am fd955f14: am 6a6979ad: am 86315c45: Merge "Fixes issue causing pseudolocalization of strings in non-translatable resource files."

* commit 'fd955f14d6c87dffd1a20c36ad8001705495f831':
Fixes issue causing pseudolocalization of strings in non-translatable resource files.
fd955f14d6c87dffd1a20c36ad8001705495f831 30-Apr-2014 Elliott Hughes <enh@google.com> am 6a6979ad: am 86315c45: Merge "Fixes issue causing pseudolocalization of strings in non-translatable resource files."

* commit '6a6979ad17dfb492fb85a979e8f8688e4ed973b2':
Fixes issue causing pseudolocalization of strings in non-translatable resource files.
6a6979ad17dfb492fb85a979e8f8688e4ed973b2 30-Apr-2014 Elliott Hughes <enh@google.com> am 86315c45: Merge "Fixes issue causing pseudolocalization of strings in non-translatable resource files."

* commit '86315c452b955bf0b874f45c1a2e15aedda91a52':
Fixes issue causing pseudolocalization of strings in non-translatable resource files.
cd50f7294654bf04195d9d1078a984ff9462093c 30-Apr-2014 Deepanshu Gupta <deepanshu@google.com> am c046c767: am c0c96012: am 4b5fa4d3: Fix class name for OverflowMenuButton [DO NOT MERGE]

* commit 'c046c76739b210d912dae38bf945d60b8d69ab11':
Fix class name for OverflowMenuButton [DO NOT MERGE]
c046c76739b210d912dae38bf945d60b8d69ab11 30-Apr-2014 Deepanshu Gupta <deepanshu@google.com> am c0c96012: am 4b5fa4d3: Fix class name for OverflowMenuButton [DO NOT MERGE]

* commit 'c0c96012c667d1d91d8f6b763df45e566cae0eaf':
Fix class name for OverflowMenuButton [DO NOT MERGE]
84410b054c7db0b6685a0f15cb2d1ffcb264f6c9 30-Apr-2014 Igor Viarheichyk <viarheichyk@google.com> Fixes issue causing pseudolocalization of strings
in non-translatable resource files.

Change-Id: Ic8e5effc86226d5be00561ac71bab7695ef90376
apt/ResourceTable.cpp
4b5fa4d318e7efaffdc678e0cb8953ffc78c2b1e 30-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Fix class name for OverflowMenuButton [DO NOT MERGE]

Change-Id: Ie3e709e7aadb2193397df8befef0c55624d7e4e3
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
4bf3c930684b1e697c87d3fdb520309c39e51b14 30-Apr-2014 Deepanshu Gupta <deepanshu@google.com> am 92bc0753: am 8c15cd0d: am c967d8dc: Add special system view cookie to OverflowButton. [DO NOT MERGE]

* commit '92bc07534e511b9afa7edaffe867d2674c504d73':
Add special system view cookie to OverflowButton. [DO NOT MERGE]
92bc07534e511b9afa7edaffe867d2674c504d73 30-Apr-2014 Deepanshu Gupta <deepanshu@google.com> am 8c15cd0d: am c967d8dc: Add special system view cookie to OverflowButton. [DO NOT MERGE]

* commit '8c15cd0dc1d04490b82fd7d8da7611ff3219a1f0':
Add special system view cookie to OverflowButton. [DO NOT MERGE]
c967d8dc62c429ecf3e27bf3714a953636e75cbf 25-Apr-2014 Deepanshu Gupta <deepanshu@google.com> 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)
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
293513a59d36cd96a3e474dde5981380d372d8c9 30-Apr-2014 Bill Yi <byi@google.com> Merge commit '0b62467b142b61ee1e449ba958ba37dfd961ef56' into HEAD
7592afeaa09b64b566c7599c78c676d762fa23fc 29-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Add special system view cookie to OverflowButton."
d1084cc02549dc9ee67c879f78ae929095ec19b6 24-May-2013 Deepanshu Gupta <deepanshu@google.com> 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)
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
ayoutlib/bridge/src/android/os/Looper_Accessor.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
b5cdfd97a5bbc2c52dec907467362550aff8afc4 13-Feb-2014 Deepanshu Gupta <deepanshu@google.com> 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)
ayoutlib/bridge/resources/bars/action_bar.xml
ayoutlib/bridge/src/com/android/internal/view/menu/MenuBuilderAccessor.java
ayoutlib/bridge/src/com/android/internal/widget/ActionBarAccessor.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/OverflowMenuAdapter.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
20e0695b554e883b095f5223be10b6e1097db49f 12-Dec-2013 Deepanshu Gupta <deepanshu@google.com> 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)
ayoutlib/bridge/resources/bars/action_bar.xml
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeRenderSession.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/FakeActionBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/SystemViewInfo.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
3c00b28bf60ab01b449e16df045238f4bae4d700 12-Mar-2014 Deepanshu Gupta <deepanshu@google.com> 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)
ayoutlib/bridge/src/android/content/res/AssetManager_Delegate.java
ayoutlib/bridge/src/android/content/res/Resources_Theme_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
b85d30a2c88b6a23e251347b14a75456c4daeca9 01-Apr-2014 Deepanshu Gupta <deepanshu@google.com> 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)
ayoutlib/Android.mk
f8144032d1fb7319bfd24914b12597505cfcc91f 01-Apr-2014 Deepanshu Gupta <deepanshu@google.com> 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)
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
ayoutlib/create/src/com/android/tools/layoutlib/create/DependencyFinder.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/AsmAnalyzerTest.java
ayoutlib/create/tests/data/mock_android.jar
ayoutlib/create/tests/mock_data/mock_android/util/EmptyArray.java
ayoutlib/create/tests/mock_data/mock_android/widget/LinearLayout.java
89fdc0c556cf0fe2562fb8f0476e03cd51045164 16-Apr-2014 Deepanshu Gupta <deepanshu@google.com> 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)
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
ayoutlib/bridge/src/android/graphics/Region_Delegate.java
ayoutlib/bridge/tests/src/com/android/layoutlib/bridge/TestDelegates.java
d4f0073f4805cd1036218f243d9b7c7c5bb90e41 18-Oct-2013 Deepanshu Gupta <deepanshu@google.com> 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)
ayoutlib/create/README.txt
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
ayoutlib/create/src/com/android/tools/layoutlib/java/Objects.java
c029d5f988d2b4c28b7fe49bbb9d473841de695f 25-Apr-2014 Adam Lesinski <adamlesinski@google.com> Merge "Child nodes of <preference-headers> now output proguard keep options."
674af92fd3a618695448ff88568b03390e90bc66 25-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Add special system view cookie to OverflowButton.

Add a special view cookie to enable the IDE to identify the overflow
menu button in the Action Bar.

Change-Id: Ida3ed776afb8c9fa8af23b73d4cf6d47eef0ab87
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
9cf4b4a932d0bd84e0b7263540bd9d7174e8d2d0 25-Apr-2014 Adam Lesinski <adamlesinski@google.com> Child nodes of <preference-headers> now output proguard keep options.

Bug:13797600
Change-Id: I55c71a2fcf7f9b4bdad684d5c235981c3a8bc1e9
apt/Resource.cpp
8f9d92c4ca5233607ca01dac0b3b66fde5539307 24-Apr-2014 Deepanshu Gupta <deepanshu@google.com> am 7406e4b8: am 7947ec71: am b64732d9: Merge "Fix style warnings in RenderSessionImpl [DO NOT MERGE]" into klp-dev

* commit '7406e4b8102ffd71affd55a9f453c0ecce13a097':
Fix style warnings in RenderSessionImpl [DO NOT MERGE]
057dca97d9a486b94c82673a95a7a3933bca9a4d 24-Apr-2014 Deepanshu Gupta <deepanshu@google.com> am 1668ae8d: am a019e772: am 6aaea1bd: Merge "Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]" into klp-dev

* commit '1668ae8d2a29b491c3ae421c5b0eca101fb10824':
Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]
5dee1a093abc4d6fd197ba2c3be012c9536ba1c5 24-Apr-2014 Deepanshu Gupta <deepanshu@google.com> am e17ed922: am 126f4057: am 5ba2f230: Add view cookies for action bar menus. [DO NOT MERGE]

* commit 'e17ed922001cf70c48969eb7b10ee2e2557b41f9':
Add view cookies for action bar menus. [DO NOT MERGE]
7406e4b8102ffd71affd55a9f453c0ecce13a097 24-Apr-2014 Deepanshu Gupta <deepanshu@google.com> am 7947ec71: am b64732d9: Merge "Fix style warnings in RenderSessionImpl [DO NOT MERGE]" into klp-dev

* commit '7947ec715d8b4a0c82135553abb4947b61bf802b':
Fix style warnings in RenderSessionImpl [DO NOT MERGE]
1668ae8d2a29b491c3ae421c5b0eca101fb10824 24-Apr-2014 Deepanshu Gupta <deepanshu@google.com> am a019e772: am 6aaea1bd: Merge "Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]" into klp-dev

* commit 'a019e77252f86962b9803042c01b897f7f1aa89f':
Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]
e17ed922001cf70c48969eb7b10ee2e2557b41f9 24-Apr-2014 Deepanshu Gupta <deepanshu@google.com> am 126f4057: am 5ba2f230: Add view cookies for action bar menus. [DO NOT MERGE]

* commit '126f4057a06756fbb1c194b5d9d40f9f922d14ee':
Add view cookies for action bar menus. [DO NOT MERGE]
b64732d977c023423cd01d32361a49401d9203cd 24-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Fix style warnings in RenderSessionImpl [DO NOT MERGE]" into klp-dev
6aaea1bd4aa056335776098cd9dc523e898716f1 24-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]" into klp-dev
7d3ae4f17d93125f8c45e17d3a6a22d5ab23b624 24-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Bug fix in layoutlib

Renaming a method wasn't completed properly.
The bug was introduced in the following change:
Idcfc263a8ebe0a4f25afa3a1eb085fa628fd03ca
(1001961f904bac5294aaf73a47c2497aa764bf7f)

Change-Id: I698437b428d696c656e2268ded654a612a3e0c80
ayoutlib/bridge/src/android/view/MenuInflater_Delegate.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
1ea1b21acd5517d5405bd3338ba24d5a03a8d792 23-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Fix style warnings in RenderSessionImpl [DO NOT MERGE]

Change-Id: I9d3cb23e4ea692f737a3e3d6c18cc8de18b66a3c
(cherry-picked from commit fbfeb1a90b6f8f3966c60a69d50ce8f608d9d861)
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
5ba2f230faa355eb9bc1e90f6c48eeeb437f390c 18-Apr-2014 Deepanshu Gupta <deepanshu@google.com> 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)
ayoutlib/bridge/src/android/view/BridgeInflater.java
ayoutlib/bridge/src/android/view/MenuInflater_Delegate.java
ayoutlib/bridge/src/com/android/internal/view/menu/BridgeMenuItemImpl.java
ayoutlib/bridge/src/com/android/internal/view/menu/MenuBuilder_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
6f9baea47757fef4745de434e09bd552fddc1f03 01-Apr-2014 Deepanshu Gupta <deepanshu@google.com> 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)
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
ayoutlib/create/src/com/android/tools/layoutlib/create/DependencyFinder.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/AsmAnalyzerTest.java
ayoutlib/create/tests/data/mock_android.jar
ayoutlib/create/tests/mock_data/mock_android/util/EmptyArray.java
ayoutlib/create/tests/mock_data/mock_android/widget/LinearLayout.java
fbfeb1a90b6f8f3966c60a69d50ce8f608d9d861 23-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Fix style warnings in RenderSessionImpl

Change-Id: I9d3cb23e4ea692f737a3e3d6c18cc8de18b66a3c
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
1001961f904bac5294aaf73a47c2497aa764bf7f 18-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Add view cookies for action bar menus.

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.

Change-Id: Idcfc263a8ebe0a4f25afa3a1eb085fa628fd03ca
ayoutlib/bridge/src/android/view/BridgeInflater.java
ayoutlib/bridge/src/android/view/MenuInflater_Delegate.java
ayoutlib/bridge/src/com/android/internal/view/menu/BridgeMenuItemImpl.java
ayoutlib/bridge/src/com/android/internal/view/menu/MenuBuilder_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
76bc2bb4c7a5ae94189067cf74f06e1fbaeaedbb 23-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Update Matrix_Delegate native methods."
6416152f7e59320439a89e824dbb6fbd481e64b1 23-Apr-2014 Deepanshu Gupta <deepanshu@google.com> am be06a418: am cf5c3fc7: am 53b7df19: Merge "Add missing ICU_Delegate methods."

* commit 'be06a4182b9ff44a276f56d04b907672ee9e149a':
Add missing ICU_Delegate methods.
be06a4182b9ff44a276f56d04b907672ee9e149a 23-Apr-2014 Deepanshu Gupta <deepanshu@google.com> am cf5c3fc7: am 53b7df19: Merge "Add missing ICU_Delegate methods."

* commit 'cf5c3fc70d4dcd5dc3c6054d0f7415ded0070e4f':
Add missing ICU_Delegate methods.
e2b67777ad8c46e4b7fd85e9cd54f82b8dbe57ea 21-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Add missing ICU_Delegate methods.

Update the ICU_Delegate to add methods originally added in
I5de58be7e8a701f2c40182ea54bceff85ec1aad2

Change-Id: I536834fe76cbc7dae05580182fee1bea956e3e77
ayoutlib/bridge/src/libcore/icu/ICU_Delegate.java
385c6b3b6ca370301f82f83715e9004ddaf43cae 21-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Update Matrix_Delegate native methods.

Update the Matrix_Delegate native methods in layoutlib. The original
change is I5cdcea827ebff587df0bbddc0965e3e0fbf48002.

Change-Id: I2c94741fdaeb0c2279caefee0188f432267bb37d
ayoutlib/bridge/src/android/graphics/Matrix_Delegate.java
5a63d119020e54132641718198f2ddadb8bc5270 19-Apr-2014 Elliott Hughes <enh@google.com> am 36e64ab9: am cf4d85e4: am 90840ec2: Merge "Fix warning introduced by recent psuedolocalizer change."

* commit '36e64ab902a6932f2711d1dff6ee273610d68e7d':
Fix warning introduced by recent psuedolocalizer change.
36e64ab902a6932f2711d1dff6ee273610d68e7d 19-Apr-2014 Elliott Hughes <enh@google.com> am cf4d85e4: am 90840ec2: Merge "Fix warning introduced by recent psuedolocalizer change."

* commit 'cf4d85e4786beb98743eac68b71d67e36f76c058':
Fix warning introduced by recent psuedolocalizer change.
0a1eed394fa287523b105aa569ed6348f4986483 19-Apr-2014 Elliott Hughes <enh@google.com> Fix warning introduced by recent psuedolocalizer change.

Change-Id: I577caf6ca4261b3d044b18bc8c5915012168031d
apt/pseudolocalize.cpp
311efc146cb68490aadd52f579cf2570012b8c59 19-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Add DisplayManager service to BridgeContext"
991872bd43f0778f58de6004c60544e8d331f39d 19-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Add isElegantHeight to Layoutlib"
4b0ee78bfa0df6e278c7327822fd9a0eff52b584 19-Apr-2014 Elliott Hughes <enh@google.com> resolved conflicts for merge of 56ca8219 to master

Change-Id: I62f5804a5c4404eedce09188cda2e3b1bb990b36
664d6f1fe4d6dfa742b3e98051f924dbc190f8ca 19-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Add DisplayManager service to BridgeContext

ViewRoot now holds a reference to the DisplayManager. The change updates
the BridgeContext to provide the DisplayManager instance.

Change-Id: I4a5f00eda337939c72bad47b0ca6a7403454228d
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
56ca82191231f3aba1132e3db06e7e09a10ec6dc 19-Apr-2014 Elliott Hughes <enh@google.com> resolved conflicts for merge of ec42199a to klp-modular-dev-plus-aosp

Change-Id: I9ecd5d51be4d073ab93dbb0bd60097735e76bf94
08ea918c86175d313c8e7f10c0b4a25c1424639b 19-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Add isElegantHeight to Layoutlib

Add the native stub methods for isElegantHeight in Paint.

Change-Id: Iaddde36528fb452e5a150ab35687da781091d14c
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
59dfbb91ca9c7ef979a9f10e3875f881ed1ef0a5 17-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Fix build [DO NOT MERGE]

The branch is missing some CLs for 64-bit support. So, until they are
added, this change will fix the build.

Change-Id: Ia838caf60ca49b406101a3fb48a96afdcfb30c66
ayoutlib/bridge/src/android/content/res/AssetManager_Delegate.java
492090a55e2fa94745aaf4e0e295845d8bb1351a 16-Apr-2014 Deepanshu Gupta <deepanshu@google.com> am 16191f8c: resolved conflicts for merge of 0e2049cd to klp-modular-dev

* commit '16191f8c4fe92036c8ff2eecd4e57b4642068b99':
Layoutlib tests now check methods return value [DO NOT MERGE]
35d46778f49c962c990cfc17e521aa80b9e0c016 16-Apr-2014 Deepanshu Gupta <deepanshu@google.com> resolved conflicts for merge of ec6676dd to klp-modular-dev-plus-aosp

Change-Id: I2fec735ba65f56da7d17022074f8924a259b4bbf
16191f8c4fe92036c8ff2eecd4e57b4642068b99 16-Apr-2014 Deepanshu Gupta <deepanshu@google.com> resolved conflicts for merge of 0e2049cd to klp-modular-dev

Change-Id: I518e18d0c769a4cb5d325fc22165a8ead36e11de
82d5f137ed03dcd1020fb554a1d0f3029a826282 16-Apr-2014 Deepanshu Gupta <deepanshu@google.com> am e5d0fce7: am 685b7d41: am 1b87390c: Overflow menu popup for Action Bar in Layoutlib [DO NOT MERGE]

* commit 'e5d0fce7aeb60c44849cd09815ccecda702422ef':
Overflow menu popup for Action Bar in Layoutlib [DO NOT MERGE]
ec6676ddf682e22dfb56aa54359c9480dfa661d3 16-Apr-2014 Deepanshu Gupta <deepanshu@google.com> am 86384880: am f1e71876: Fix theme/style resolution in Layoutlib [DO NOT MERGE]

* commit '863848808d005fe1d2fd84a2982adfc02a3fbb9f':
Fix theme/style resolution in Layoutlib [DO NOT MERGE]
e5d0fce7aeb60c44849cd09815ccecda702422ef 16-Apr-2014 Deepanshu Gupta <deepanshu@google.com> am 685b7d41: am 1b87390c: Overflow menu popup for Action Bar in Layoutlib [DO NOT MERGE]

* commit '685b7d4165c417ce20b1f6c49190eabcfda09940':
Overflow menu popup for Action Bar in Layoutlib [DO NOT MERGE]
0aea46840f5a520e511fdbd8561046ac9c665fcb 16-Apr-2014 Deepanshu Gupta <deepanshu@google.com> 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]
00312846e1e5513b3b32aa4fab399e51daf0c1b3 16-Apr-2014 Deepanshu Gupta <deepanshu@google.com> 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]
4eeaa61f6b4b7b37712e1c385a75aa8a4b89e381 16-Apr-2014 Deepanshu Gupta <deepanshu@google.com> 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]
b03e1176df1e66a49a5649faf6994fa9ec1a9bea 16-Apr-2014 Deepanshu Gupta <deepanshu@google.com> 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]
90b0b69cd48067b92a90ea248ef91e473b7f1c10 16-Apr-2014 Deepanshu Gupta <deepanshu@google.com> 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]
f2d085e867dd59aa2aaff74f6e5b265b1bffbaba 16-Apr-2014 Deepanshu Gupta <deepanshu@google.com> am d023360a: am 484c88c3: am 4ccc4bd5: Action bar rendering in layoutlib [DO NOT MERGE]

* commit 'd023360aa03db1a7831a5697d49faa2575e4a9c3':
Action bar rendering in layoutlib [DO NOT MERGE]
110a05c6bd2778b37c83ea5b4d9b753be0ac32ba 16-Apr-2014 Deepanshu Gupta <deepanshu@google.com> am 2aee0712: am e75477cb: am acf0bce0: Support custom views using TimePickerDialog [DO NOT MERGE]

* commit '2aee07124cad720587a8c51de5650b6b93ae9150':
Support custom views using TimePickerDialog [DO NOT MERGE]
d023360aa03db1a7831a5697d49faa2575e4a9c3 16-Apr-2014 Deepanshu Gupta <deepanshu@google.com> am 484c88c3: am 4ccc4bd5: Action bar rendering in layoutlib [DO NOT MERGE]

* commit '484c88c3655991759dc64276404d0cf7e33b455f':
Action bar rendering in layoutlib [DO NOT MERGE]
2aee07124cad720587a8c51de5650b6b93ae9150 16-Apr-2014 Deepanshu Gupta <deepanshu@google.com> am e75477cb: am acf0bce0: Support custom views using TimePickerDialog [DO NOT MERGE]

* commit 'e75477cb3bf0f2e18c1f0bb743a6189fbc07c2a2':
Support custom views using TimePickerDialog [DO NOT MERGE]
5a1250532f159842c364accf02bcfd111a6b900b 16-Apr-2014 Deepanshu Gupta <deepanshu@google.com> 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]
04b4f8d11406c64b94797af67dd7530435187129 16-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Set default text style in layoutlib as NORMAL [DO NOT MERGE]" into jb-mr2-dev
fb120acd841f7d8d0e1845f5bdd98abf35cb25b4 16-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Add methods for Time_Delegate [DO NOT MERGE]" into jb-mr2-dev
b7fd6315328c3a38fd7928f3dbb43f44227eb78b 16-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Fix sans-serif-thin and sans-serif-light fonts in layoutlib. [DO NOT MERGE]" into jb-mr2-dev
f14cbb26edcf0838cee333bf0d6ee686bf6de333 16-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Optimize layout rendering in layoutlib [DO NOT MERGE]" into jb-mr2-dev
bdd0ad79b9b027280bd371c7b6795b04ed89ac8f 16-Apr-2014 Deepanshu Gupta <deepanshu@google.com> 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
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
ayoutlib/bridge/src/android/graphics/Region_Delegate.java
ayoutlib/bridge/tests/src/com/android/layoutlib/bridge/TestDelegates.java
f1e7187645f0b0388f7b97d742395efd228b347a 12-Mar-2014 Deepanshu Gupta <deepanshu@google.com> Fix theme/style resolution in Layoutlib [DO NOT MERGE]

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

Conflicts:
core/java/android/content/res/Resources.java
tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
ayoutlib/bridge/src/android/content/res/AssetManager_Delegate.java
ayoutlib/bridge/src/android/content/res/Resources_Theme_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
1b87390c9426c4bc9119829e9375d712dfde11c3 13-Feb-2014 Deepanshu Gupta <deepanshu@google.com> Overflow menu popup for Action Bar in Layoutlib [DO NOT MERGE]

Adds MenuBuilderAccessor in addition to the cherry-picked changes.

Change-Id: Ib7cc314079099c010f7d53849e204db36c410357
(cherry-picked from commit 929eea6bc1824bf98d244550c0984ecf8ea98811)
ayoutlib/bridge/resources/bars/action_bar.xml
ayoutlib/bridge/src/com/android/internal/view/menu/MenuBuilderAccessor.java
ayoutlib/bridge/src/com/android/internal/widget/ActionBarAccessor.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/OverflowMenuAdapter.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
4ccc4bd54f85d86818f61d728c6361d2003ddd8e 12-Dec-2013 Deepanshu Gupta <deepanshu@google.com> 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 14bf0cef7eeed572a67c29a328581afac4decc20)
ayoutlib/bridge/resources/bars/action_bar.xml
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeRenderSession.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/FakeActionBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/SystemViewInfo.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
acf0bce09fec2cabe871d7146aa62e9258fbf06d 10-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Support custom views using TimePickerDialog [DO NOT MERGE]

Bug: http://b.android/com/61515

Change-Id: I0dc3357be0c058adde9d3ea5b6796004b786fd34
(cherry picked from commit 86e5218220a0e01f7eb574a2480bd91f9ebfae35)
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
135a9ad4a51c9827fee40e3ff57639349fe7f236 15-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Add overflow menu popup for Action Bar in Layoutlib"
8d95b5009ce5592f55a9487536fa640724dc316b 15-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Action bar rendering in layoutlib"
929eea6bc1824bf98d244550c0984ecf8ea98811 13-Feb-2014 Deepanshu Gupta <deepanshu@google.com> Add overflow menu popup for Action Bar in Layoutlib

Change-Id: Ib7cc314079099c010f7d53849e204db36c410357
ayoutlib/bridge/resources/bars/action_bar.xml
ayoutlib/bridge/src/com/android/internal/widget/ActionBarAccessor.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/OverflowMenuAdapter.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
352e108259bcb3305f034cfb042287d43a5e8f80 14-Apr-2014 Dan Sandler <dsandler@android.com> Merge "Merge remote-tracking branch 'goog/master-lockscreen-dev'"
dc800e85138f3ab57303a879b3e1abd109b90247 12-Apr-2014 Jeff Brown <jeffbrown@google.com> am eaa8a6b7: am a5c8d586: Fix build break due to layout lib.

* commit 'eaa8a6b7feb4a520f48654b087223ccaf49b6a2f':
Fix build break due to layout lib.
eaa8a6b7feb4a520f48654b087223ccaf49b6a2f 12-Apr-2014 Jeff Brown <jeffbrown@google.com> am a5c8d586: Fix build break due to layout lib.

* commit 'a5c8d586f6ceff252336f72c6e15efbf4785e794':
Fix build break due to layout lib.
a5c8d586f6ceff252336f72c6e15efbf4785e794 12-Apr-2014 Jeff Brown <jeffbrown@google.com> Fix build break due to layout lib.

Change-Id: I87b40125adad0a799214f6ebf0dc04ec7903efbf
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindow.java
c76faca60e0359e43e781eb3df403dc127733671 12-Apr-2014 Deepanshu Gupta <deepanshu@google.com> am e2dc6985: am f1334ccc: am 849a8208: Add DatePickerDialog to layoutlib [DO NOT MERGE]

* commit 'e2dc69856879d41798545b2c113098195bf04fa6':
Add DatePickerDialog to layoutlib [DO NOT MERGE]
e2dc69856879d41798545b2c113098195bf04fa6 12-Apr-2014 Deepanshu Gupta <deepanshu@google.com> am f1334ccc: am 849a8208: Add DatePickerDialog to layoutlib [DO NOT MERGE]

* commit 'f1334ccc1522241c0efc2449ed8bf472a5b01204':
Add DatePickerDialog to layoutlib [DO NOT MERGE]
7caa77e3ab81ffe76cda1204612088321e89218a 11-Apr-2014 Narayan Kamath <narayan@google.com> am 79d88d13: am 73e78c75: am af42a91c: Fix another build breakage.

* commit '79d88d138c07835d349f7c74f380eaeb7cac8d0b':
Fix another build breakage.
79d88d138c07835d349f7c74f380eaeb7cac8d0b 11-Apr-2014 Narayan Kamath <narayan@google.com> am 73e78c75: am af42a91c: Fix another build breakage.

* commit '73e78c75b770b3af0d48acac9c8565f7b4d035ff':
Fix another build breakage.
73e78c75b770b3af0d48acac9c8565f7b4d035ff 11-Apr-2014 Narayan Kamath <narayan@google.com> am af42a91c: Fix another build breakage.

* commit 'af42a91c118941d463b474574bf34bf05822350d':
Fix another build breakage.
af42a91c118941d463b474574bf34bf05822350d 11-Apr-2014 Narayan Kamath <narayan@google.com> Fix another build breakage.

Caused by 037c33eae74bee2774897d969d48947f9abe254f, which
was submitted without a checkbuild.

Change-Id: I0d48f6b941cc98a30904cdfbd7bcb56ed509734e
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java
d4d46587665ede9cdd26d12d37368a35232a31e1 11-Apr-2014 Colin Cross <ccross@android.com> resolved conflicts for merge of 90b39aba to master-lockscreen-dev

Change-Id: I2871a1e49c3b443cc7479f2352c652be3b0fb85b
0b65c56eb0d56f35f7404944370220450ccb450c 11-Apr-2014 Colin Cross <ccross@android.com> fix build

Fix make checkbuild.

Change-Id: Ie9335a9e8afe4dc13ec47b2e84ab433b19ff315f
ayoutlib/bridge/src/android/view/IWindowManagerImpl.java
dd137a85d3e0295989b5b9d1f67ff32027be867d 10-Apr-2014 Svetoslav <svetoslavganov@google.com> resolved conflicts for merge of 6be2f952 to master-lockscreen-dev

Conflicts:
core/java/android/view/IWindowManager.aidl
tools/layoutlib/bridge/src/android/view/IWindowManagerImpl.java

Change-Id: Idcbc581294cc52b53eabefd61e5c20cbcea611db
6be2f95202237b7284542e692273d13a5bd26913 10-Apr-2014 Svetoslav <svetoslavganov@google.com> Merge "Adding render stats APIs to UiAutomation (framework)."
14bf0cef7eeed572a67c29a328581afac4decc20 12-Dec-2013 Deepanshu Gupta <deepanshu@google.com> Action bar rendering in layoutlib

This also makes a couple of changes to the framework:
1. ShareActionProvider - Use edit mode to execute activity chooser code.
2. WindowDecorActionBar - 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
ayoutlib/bridge/resources/bars/action_bar.xml
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeRenderSession.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/FakeActionBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/SystemViewInfo.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
849a8208c88d38e55ec13a1fa76bf295fde96cb5 26-Feb-2014 Deepanshu Gupta <deepanshu@google.com> Add DatePickerDialog to layoutlib [DO NOT MERGE]

Includes android.app.DatePickerDialog in the layoutlib.jar

Bug: http://b.android.com/28318
Change-Id: I583dde4a8b88204bf98bfca8d91470e1aa4719ce
(cherry picked from commit c2016d4073c61e87439d4fa14837b397a3c1630a)
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
def26cb43b38e230cfc6c7bbfdcd201ed3b2ee48 10-Apr-2014 Deepanshu Gupta <deepanshu@google.com> am 8aa7a967: Merge "Support custom views using TimePickerDialog in layoutlib"

* commit '8aa7a9677af8f235ade204602014a5e2e9f9188e':
Support custom views using TimePickerDialog in layoutlib
a2ef5c0d4fb863c0382e77ae00f986a019b11cbe 12-Mar-2014 Anton Krumin <antkrumin@google.com> Pseudolocalizer improvements.

Fixes accented pseudolocalization and adds RTL pseudolocale.

This change contains following modifications in the pseudolocalization logic:
1) zz_ZZ pseudolocale was removed;
2) en_XA pseudolocale was added for pseudo-accented;
3) ar_XB pseudolocale was added for pseudo-rtl;
4) Pseudo RTL localization functionality was implemented;
5) Text expansion functionality was implemented;
6) Text bracketing was implemented;
7) Couple of issues of previous implementation were fixed.

Change-Id: I9f7f27bed717e39e82717d15c398decffc8bec3c
Signed-off-by: Anton Krumin <antkrumin@google.com>
apt/Bundle.h
apt/Command.cpp
apt/ResourceFilter.cpp
apt/ResourceFilter.h
apt/ResourceTable.cpp
apt/XMLNode.cpp
apt/XMLNode.h
apt/pseudolocalize.cpp
apt/pseudolocalize.h
86e5218220a0e01f7eb574a2480bd91f9ebfae35 10-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Support custom views using TimePickerDialog in layoutlib

Bug: http://b.android/com/61515

Change-Id: I0dc3357be0c058adde9d3ea5b6796004b786fd34
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
7a2333631eaa9e7458260c1f487de4dbed47f05a 09-Apr-2014 Deepanshu Gupta <deepanshu@google.com> am 733217e6: Merge "Update layoutlib create README"

* commit '733217e6768757c50e1ac38644c2ecdbe522e8f5':
Update layoutlib create README
a4ce30fd86cfa6650ab8abbea5c42c8b9620ebd9 09-Apr-2014 Deepanshu Gupta <deepanshu@google.com> am 6e5e160f: Merge "Make layoutlib load on Java 7 VM"

* commit '6e5e160f19c404c272e70f7f0ade5b27850ebd05':
Make layoutlib load on Java 7 VM
733217e6768757c50e1ac38644c2ecdbe522e8f5 09-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Update layoutlib create README"
88585f404cb493129847e4487b628062674a4ede 09-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Update layoutlib create README

Update the doc to reflect the current state of the tool and use a
consistent 100 char column limit.

Change-Id: I64fb58cc46abbc2f3759cb1f99d42b5090c1409f
ayoutlib/create/README.txt
6e5e160f19c404c272e70f7f0ade5b27850ebd05 09-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Make layoutlib load on Java 7 VM"
6a08225cee197e5baf80dd06dae46988db284122 09-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Make layoutlib load on Java 7 VM

Prevent Java 7 VM from verifying the StackMapTable for methods by lying
about the class version.

The changeset also fixes the eclipse project by using the right asm
library in the checkout.

Change-Id: Idabf165380fb75fcc2d5c8fbd72388f52887a5df
ayoutlib/create/.classpath
ayoutlib/create/src/com/android/tools/layoutlib/create/AbstractClassAdapter.java
1c9d93dcb0ccca03184ba0293b52424bbab2cc8d 08-Apr-2014 Ying Wang <wangying@google.com> am 30f05c29: Merge "Fix sdk build."

* commit '30f05c29c56a04f8d8ab2851d0c20a2b66406cfa':
Fix sdk build.
ff0bb30752339046586ec7c495c53a7ae2cf29df 08-Apr-2014 Ying Wang <wangying@google.com> Fix sdk build.

Change-Id: I3e620315e082b46ba5fcd4511b9c258bf610ddf5
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeIInputMethodManager.java
1376d600d8e0eefdbc0aa11d398cf7517fc77129 13-Mar-2014 Svetoslav <svetoslavganov@google.com> Adding render stats APIs to UiAutomation (framework).

bug:12927198

Change-Id: Iae21481c75ae58dcdab3731bf5f1e2844e29d434
ayoutlib/bridge/src/android/view/IWindowManagerImpl.java
d94d1fbecd8d7206d940647ee158c1ac4a00c488 08-Apr-2014 Deepanshu Gupta <deepanshu@google.com> am e9abc279: Merge "Fix theme/style resolution in Layoutlib"

* commit 'e9abc279fd0e1cd3a7c0bfb878c9b5ae22840b9b':
Fix theme/style resolution in Layoutlib
e9abc279fd0e1cd3a7c0bfb878c9b5ae22840b9b 08-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Fix theme/style resolution in Layoutlib"
ce00b81c415ea1fc66e5a638ad2dfca1513fcd23 05-Apr-2014 Deepanshu Gupta <deepanshu@google.com> am 1cb3e814: Merge "Fix sdk build"

* commit '1cb3e81421ada146b35515942299fb867b82048d':
Fix sdk build
ddf286282d8a30d27184e8304bac6fca03f88b72 05-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Fix sdk build

Change-Id: Ic08b57fdf2a653071a403bcc2c6b239a19363f72
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java
bfec73c2db5a34ced248213edf5519c80727a65f 12-Mar-2014 Deepanshu Gupta <deepanshu@google.com> Fix theme/style resolution in Layoutlib

Change-Id: Icfb91e566666408802dadc0e2070991151b16b9d
ayoutlib/bridge/src/android/content/res/AssetManager_Delegate.java
ayoutlib/bridge/src/android/content/res/Resources_Theme_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
83398922bac21b64ef26ac641b8e099ce77b5524 04-Apr-2014 John Spurlock <jspurlock@google.com> am 0a0454fd: am 642421aa: am 5c31e487: Merge "Introduce new UI_MODE_TYPE_WATCH and qualifier." into klp-modular-dev

* commit '0a0454fdcc7aeac6e57f9466da8f39bcf5f3f6ec':
Introduce new UI_MODE_TYPE_WATCH and qualifier.
0a0454fdcc7aeac6e57f9466da8f39bcf5f3f6ec 04-Apr-2014 John Spurlock <jspurlock@google.com> am 642421aa: am 5c31e487: Merge "Introduce new UI_MODE_TYPE_WATCH and qualifier." into klp-modular-dev

* commit '642421aa7f284817cc1a972a7f9c7a64696a0116':
Introduce new UI_MODE_TYPE_WATCH and qualifier.
642421aa7f284817cc1a972a7f9c7a64696a0116 04-Apr-2014 John Spurlock <jspurlock@google.com> am 5c31e487: Merge "Introduce new UI_MODE_TYPE_WATCH and qualifier." into klp-modular-dev

* commit '5c31e487c4577e1c47ee7c949325d6a13f0d462e':
Introduce new UI_MODE_TYPE_WATCH and qualifier.
5c31e487c4577e1c47ee7c949325d6a13f0d462e 04-Apr-2014 John Spurlock <jspurlock@google.com> Merge "Introduce new UI_MODE_TYPE_WATCH and qualifier." into klp-modular-dev
6c191299a73388cd593809c0b66bafbd08fd2982 03-Apr-2014 John Spurlock <jspurlock@google.com> Introduce new UI_MODE_TYPE_WATCH and qualifier.

Default ui mode to watch if we have FEATURE_WATCH.

Bug:13395758
Change-Id: Ie5ff95de60e69e91ad3612c7d2f1fca7f49061bd
apt/AaptAssets.cpp
9bcfee1d3ebe9704937e6935ffe7eabd46ebbf08 04-Apr-2014 Deepanshu Gupta <deepanshu@google.com> am 30e59135: am c07a48be: Merge "Fix a bug in Nine Patch library. [DO NOT MERGE]" into jb-mr2-dev

* commit '30e59135b11d196cac2edd97d1ccca3471f3e398':
Fix a bug in Nine Patch library. [DO NOT MERGE]
d8b890da785e386f08e0a3cf6b7094a23af3c8f2 04-Apr-2014 Deepanshu Gupta <deepanshu@google.com> am af60289e: am 70dfe865: Merge "Add missing files to fix libphonenumber for layoutlib. [DO NOT MERGE]" into jb-mr2-dev

* commit 'af60289e692b6b598d550371cc6e41e0b40dd6cd':
Add missing files to fix libphonenumber for layoutlib. [DO NOT MERGE]
8152502e93edfe2f50d678d6860d3c7d1a8b4865 04-Apr-2014 Deepanshu Gupta <deepanshu@google.com> am 07d5f94e: am 2eb5f9e5: Merge "Add libphonenumber to layoutlib.jar. [DO NOT MERGE]" into jb-mr2-dev

* commit '07d5f94e6b8a6d3f9caca057830e5cbd4cfa7dac':
Add libphonenumber to layoutlib.jar. [DO NOT MERGE]
29b4986ecce1592bd2fe62024bb187dded33c0af 04-Apr-2014 Deepanshu Gupta <deepanshu@google.com> am 5c77c126: am b6588c52: Merge "Fix NPE in layoutlib. [DO NOT MERGE]" into jb-mr2-dev

* commit '5c77c126b258924961a4a9c784177b4bcd403dd0':
Fix NPE in layoutlib. [DO NOT MERGE]
ce393373b73e1a1f30ce9bb41568d415cab7df49 04-Apr-2014 Deepanshu Gupta <deepanshu@google.com> am ef9f3043: am 3bc5b23f: Merge "Fix layoutlib [DO NOT MERGE]" into jb-mr2-dev

* commit 'ef9f3043f5259fa55376a1522152779295e15da6':
Fix layoutlib [DO NOT MERGE]
99939cce702b6b5a01be351f1a0b406a16509103 04-Apr-2014 Deepanshu Gupta <deepanshu@google.com> am 6094daa2: am ba0ce056: Merge "Fix text size in Fake Action Bar. [DO NOT MERGE]" into jb-mr2-dev

* commit '6094daa2626e57c6bd24409f0934090581541e49':
Fix text size in Fake Action Bar. [DO NOT MERGE]
c07a48bed2c772dc548423396b208331b22a679a 04-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Fix a bug in Nine Patch library. [DO NOT MERGE]" into jb-mr2-dev
70dfe865013f0c8fedf2c9468360a41b02fcce0a 04-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Add missing files to fix libphonenumber for layoutlib. [DO NOT MERGE]" into jb-mr2-dev
2eb5f9e5b25dc769e5ba205237097c67fa212fd6 04-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Add libphonenumber to layoutlib.jar. [DO NOT MERGE]" into jb-mr2-dev
b6588c522451f5015c2cbc902d5a72566f979f2b 04-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Fix NPE in layoutlib. [DO NOT MERGE]" into jb-mr2-dev
3bc5b23f8dbb6ecc4eeac4334f94682056d0cb3b 04-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Fix layoutlib [DO NOT MERGE]" into jb-mr2-dev
72b2f536908f0f3249c59c630f1a06af371b2bfa 04-Apr-2014 Xavier Ducrohet <xav@google.com> am 76c484de: am d93b0b67: am e448bcf7: Merge "Add missing dependency in layoutlib build file [DO NOT MERGE]" into klp-dev

* commit '76c484de88317fbadc8a070fc333d4fb14355335':
Add missing dependency in layoutlib build file [DO NOT MERGE]
76c484de88317fbadc8a070fc333d4fb14355335 04-Apr-2014 Xavier Ducrohet <xav@google.com> am d93b0b67: am e448bcf7: Merge "Add missing dependency in layoutlib build file [DO NOT MERGE]" into klp-dev

* commit 'd93b0b67754f6d06407086278298f44156458216':
Add missing dependency in layoutlib build file [DO NOT MERGE]
ae6ffcc3c74d12ebf59a26cce24d04fdd2b56f4e 02-Apr-2014 Jorim Jaggi <jjaggi@google.com> Merge "Wait for Keyguard to be drawn after boot." into master-lockscreen-dev
cff0acb6b1eea23c3f44a078a0a5e81c11faea35 31-Mar-2014 Jorim Jaggi <jjaggi@google.com> Wait for Keyguard to be drawn after boot.

The old logic with waiting for the Keyguard to be drawn assumed that
it is in an own window, and just checked for the visibility. This is
no longer possible as the Keyguard is in the status bar, and the status
bar might have been drawn without the Keyguard. So we have to wait
explicitely until Keyguard told PhoneWindowManager that it has now been
drawn and we can turn on the screen.

In addition, the starting logic of SystemUI is moved into
SystemUIApplication such the we can make sure that the status bar
already exists when the callbacks from PhoneWindowManager reach
KeyguardService. This simplifies the logic a lot.

Bug: 13635952
Change-Id: Ifd6ba795647edcf3501641e39052e4d04bc826fb
ayoutlib/bridge/src/android/view/IWindowManagerImpl.java
831f3ce9b5b330101b090daf3163a843e0c6317e 26-Mar-2014 Deepanshu Gupta <deepanshu@google.com> Add stub getThemeAttributeId() to BridgeTypedArray

The method is used to obtain theme attribute IDs for drawables for
caching.

The changeset also fixes some minor style issues found by code
inspection.

Change-Id: Ib5fe05511397b5ec7cb8e64f6b2769ec2c355f41
ayoutlib/bridge/src/android/content/res/BridgeTypedArray.java
779b0eea300509ef072a8aa043a3c486d565110b 01-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Fix visitFieldInsn in layoutlib_create."
4a0f93bd32b8dd9b3c351680ad82e461d5111f38 01-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Fix visitFieldInsn in layoutlib_create.

The bug caused some classes to be missed when computing the dependencies
of the existing classes.

Change-Id: I7285ff67e016ce5d73a8550501f49acc73cfadfa
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
ayoutlib/create/src/com/android/tools/layoutlib/create/DependencyFinder.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/AsmAnalyzerTest.java
ayoutlib/create/tests/data/mock_android.jar
ayoutlib/create/tests/mock_data/mock_android/util/EmptyArray.java
ayoutlib/create/tests/mock_data/mock_android/widget/LinearLayout.java
e345507ca4b7b83c6e0446788f4404eb697f945b 01-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Add missing dependency in layoutlib build file [DO NOT MERGE]

Add missing dependency on built_ext_data

Change-Id: I4e7cca7f6cbc7f5b7416ac9b85a9aec01e61ecd4
(cherry picked from commit 411b9691e39c0bdd0dafdda7db2737b99b45769e)
ayoutlib/Android.mk
411b9691e39c0bdd0dafdda7db2737b99b45769e 01-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Add missing dependency in layoutlib build file

Add missing dependency on built_ext_data

Change-Id: I4e7cca7f6cbc7f5b7416ac9b85a9aec01e61ecd4
ayoutlib/Android.mk
c63e87d53deb24c4286036313db11719173419b3 19-Feb-2014 Deepanshu Gupta <deepanshu@google.com> Set default text style in layoutlib as NORMAL [DO NOT MERGE]

If a style doesn't specify text style (normal/bold/italic/bold-italic)
then default to normal instead of throwing an error.

Bug: http://b.android.com/61358
Change-Id: I0138c73807a5ff6e4d938a99ece3044333110aa1
(cherry-picked from 0acfb16dcd95468fe032204f54618e86becfd1eb)
ayoutlib/bridge/src/android/graphics/Typeface_Delegate.java
5fb41528a6192c41f7e2bb30161cc5af6061d5b8 19-Feb-2014 Deepanshu Gupta <deepanshu@google.com> Fix sans-serif-thin and sans-serif-light fonts in layoutlib. [DO NOT MERGE]

For these font families, text was always rendered as italic. This
changeset fixes the issue.

Bug: http://b.android.com/57221
Change-Id: Ic8a299bd1e555f5bb914cd3d2fe72917ec7f471a
(cherry-picked from e327212adde1136807bbdf052e8cc3861f8a6aba)
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/FontLoader.java
88301948c92fe1261cfa19383d4aaa5d5d0195ac 07-Jan-2014 Deepanshu Gupta <deepanshu@google.com> Improve text rendering and measurement. [DO NOT MERGE]

1. Fix a bug where baseline of the run was modified while rendering
resulting in crooked text in some cases.

2. Use GlyphVector.getLogicalBounds() for text measurement which is more
accurate than getVisualBounds().

3. This change also optimizes text rendering by not computing the advances
for individual glyphs when not needed.

Change-Id: I66792c4d8f50eaf29afa70bccca1e6c812a3fa28
(cherry-picked from 45dbfcc781a3926d22571b6ccfa3f27ec896f119)
ayoutlib/bridge/src/android/graphics/BidiRenderer.java
ddb7f3273c3c00e6520794dcaabdaad20fd98e26 01-Feb-2014 Deepanshu Gupta <deepanshu@google.com> Add methods for Time_Delegate [DO NOT MERGE]

Bug: http://b.android.com/65359
Change-Id: I7c2d09286d6bcd9899444aaa5a4a5a342e39d923
(cherry-picked from eb3c5459eb893061779b102236a81069efdbef73)
ayoutlib/bridge/src/android/text/format/Time_Delegate.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
9e5e993c7969ad60ff70cfdcf707247f38a705a1 21-Jan-2014 Deepanshu Gupta <deepanshu@google.com> Optimize layout rendering in layoutlib [DO NOT MERGE]

The height of a layout should be zero if it is assigned a layout_weight.
This way, the layout is measured only once and prevents spurious errors.

Bug: https://code.google.com/p/android/issues/detail?id=58398
Change-Id: If49a7480e5eb82cb86780e00f2f5b65ee053fc2a
(cherry-picked from 35d56c0d67537e56fafebd8edf790026644fe8de)
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
eb1fae940df0117deb0dc891f9f9bfeca35b1ac1 07-Jan-2014 Deepanshu Gupta <deepanshu@google.com> Fix the measurement of text bounds. [DO NOT MERGE]

Bug: 12366230
Change-Id: I203b678363dc7b688c744503ee10216baca658a9
(cherry-picked from 5ad7c183f39df43562c69aba21ea422ad69bdae0)
ayoutlib/bridge/src/android/graphics/BidiRenderer.java
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
ee1187a94feb61adbfade2505b2f92418a1b1038 06-Feb-2014 Deepanshu Gupta <deepanshu@google.com> Fix a bug in Nine Patch library. [DO NOT MERGE]

The nine patches were not drawn correctly if they were not positioned at
the top left corner of the canvas.

Bug: http://b.android.com/29959
Change-Id: Icfed522ea07322a3ee9f3955067d3da26c4b0b5b
(cherry-picked from 8a892279bd1b212311f4200f306a317985463918)
ayoutlib/bridge/src/android/graphics/NinePatch_Delegate.java
8a16f8e29a67c383e065ba9c47d5d1e80d7d2db9 16-Jan-2014 Deepanshu Gupta <deepanshu@google.com> Add missing files to fix libphonenumber for layoutlib. [DO NOT MERGE]

Change-Id: I8102da6c1c4625e887293a8823770d199521c53f
(cherry-picked from 58037a4404e639d28695a0f1c17053b53b96b970)
ayoutlib/Android.mk
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmGenerator.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/AsmAnalyzerTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
ayoutlib/create/tests/data/mock_android.jar
ayoutlib/create/tests/mock_data/mock_android/data/anotherDataFile
ayoutlib/create/tests/mock_data/mock_android/data/dataFile
317f304893c58c5e50255bd712448ca233ae5cec 13-Nov-2013 Deepanshu Gupta <deepanshu@google.com> Add libphonenumber to layoutlib.jar. [DO NOT MERGE]

Issue: http://b.android.com/59497
Change-Id: Ief11e602703b6041db66241f1699cc1de72e65a5
(cherry-picked from 1f92d7fc0ffa72d7db93244c29a1a6575bb4b318)
ayoutlib/Android.mk
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
80c55109b6351049498df294234dc0a75e75ec44 12-Nov-2013 Deepanshu Gupta <deepanshu@google.com> Fix NPE in layoutlib. [DO NOT MERGE]

Change-Id: I36623304d83b344ea078044001577b8005a63c02
(cherry-picked from d0581d271e814670d81a6550aa7b1e86864d5710)
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
28873c1f008f4fe24441923e14f30e55d6f0967a 17-Oct-2013 Deepanshu Gupta <deepanshu@google.com> Fix layoutlib [DO NOT MERGE]

Fix a NPE, and update an ICU method to return the right value as
required by DatePicker widget.

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 39e75835399f4d979cf82069dae2bd1ec496fb81)
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
ayoutlib/bridge/src/libcore/icu/ICU_Delegate.java
0b7d80765c21dbd9294a0245f92a655fdd61514e 08-Nov-2013 Deepanshu Gupta <deepanshu@google.com> Fix text size in Fake Action Bar. [DO NOT MERGE]

The density multiplier was being applied twice to the title text in
the fake action bar.

Bug: 11436018
Change-Id: Id74c11037cb43d01f6cd79126623c84edfc37aaf
(cherry-picked from f4800bc3b122828d61a34caecbf782eee170ae59)
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
e0b94d1cf16c11406554edd035c7e1bef6d2b844 27-Mar-2014 Brian Carlstrom <bdc@google.com> Revert "Remove doSingleCrunch call DO NOT MERGE"

This reverts commit 3944abbb506bb94d8e70b8b62f30225777f50648.
apt/Command.cpp
587e420ea9fb5578985e32d31b8791e773a5861e 27-Mar-2014 Adam Lesinski <adamlesinski@google.com> am 004ceaaa: am 55a65509: Merge "Reduce warning verbosity in aapt"

* commit '004ceaaa4d3ddfc66ba3f3635e987c2ddc7f2d09':
Reduce warning verbosity in aapt
776abc24cdd18610232a50b997cce3cffa74609b 07-Mar-2014 Adam Lesinski <adamlesinski@google.com> Uses VMRuntime.newUnpaddedArray for ideal array sizes

Bug:13028925

Change-Id: I0a9301248b10a339afbdc5e4ffe3310ac4fa1fb7
ayoutlib/bridge/src/com/android/layoutlib/bridge/util/SparseWeakArray.java
de898ff42912bd7ca1bfb099cd439562496765a4 30-Jan-2014 Adam Lesinski <adamlesinski@google.com> Shared library resource support

Shared libraries can now export resources for applications
to use.

Exporting resources works the same way the framework exports
resources, by defining the public symbols in res/values/public.xml.

Building a shared library requires aapt to be invoked with the
--shared-lib option. Shared libraries will be assigned a package
ID of 0x00 at build-time. At runtime, all loaded shared libraries
will be assigned a new package ID.

Currently, shared libraries should not import other shared libraries,
as those dependencies will not be loaded at runtime.

At runtime, reflection is used to update the package ID of resource
symbols in the shared library's R class file. The package name of
the R class file is assumed to be the same as the shared library's
package name declared in its manifest. This will be customizable in
a future commit.

See /tests/SharedLibrary/ for examples of a shared library and its
client.

Bug:12724178
Change-Id: I60c0cb8ab87849f8f8a1a13431562fe8603020a7
apt/AaptAssets.cpp
apt/AaptAssets.h
apt/Bundle.h
apt/Main.cpp
apt/ResourceIdCache.cpp
apt/ResourceIdCache.h
apt/ResourceTable.cpp
apt/ResourceTable.h
apt/printapk.cpp
852472d9aa39eb4591eac43487ac3e0944e1daf6 24-Mar-2014 Dianne Hackborn <hackbod@google.com> Fix build.

Change-Id: I1dd79e932a551bd537d2c71e8fca29a299c9312f
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java
e119b22146c602dac1e8bdfdb325b6c83fc66d66 21-Mar-2014 Adam Lesinski <adamlesinski@google.com> Reduce warning verbosity in aapt

- Attributed source of problems to the correct file.
- Only verify string localizations against valid
locales.
Bug:13140015
Change-Id: I9dabc5efa0510649caee8af0c8ebb803d6f48269
apt/ResourceTable.cpp
apt/ResourceTable.h
apt/SourcePos.cpp
apt/SourcePos.h
ac6e97a5a69738a1d32794fc76ca639201639501 21-Mar-2014 Adam Lesinski <adamlesinski@google.com> Merge "Reduce warning verbosity in aapt"
a01a9374fd386f3a8773528d7a49bc5315492dff 21-Mar-2014 Adam Lesinski <adamlesinski@google.com> Reduce warning verbosity in aapt

- Attributed source of problems to the correct file.
- Only verify string localizations against valid
locales.
Bug:13140015
Change-Id: I9dabc5efa0510649caee8af0c8ebb803d6f48269
apt/ResourceTable.cpp
apt/ResourceTable.h
apt/SourcePos.cpp
apt/SourcePos.h
1a5255d5475eaaf620078c60b0dddbf2657fcf27 20-Mar-2014 Svetoslav <svetoslavganov@google.com> Fixing yet another build breackage

Change-Id: I83597d5433fc6cc380d5ec1dd6f78e115e76db5b
ayoutlib/bridge/src/android/view/IWindowManagerImpl.java
a72da3aec6419a3ae5edaec91f1d07f63f0bce7a 14-Mar-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Add native method delegates to layoutlib"
103d40960daa0420995aa12881bef33892a0a2ab 14-Mar-2014 Deepanshu Gupta <deepanshu@google.com> Add native method delegates to layoutlib

Add delegates for Path.native_isConvex and ICU.getCurrencyNumericCode.
The original methods were added in
5be83edd15e11420287cc0af93a95d5a6dfae68f and
d627bd4525e41b0503f94c2887c3e01618c73105 respectively.

TODO: Implement Path_Delegate.native_isConvex

Change-Id: If1046467d3950ab6955c6b81383a60fd6bd03fd2
ayoutlib/bridge/src/android/graphics/Path_Delegate.java
ayoutlib/bridge/src/libcore/icu/ICU_Delegate.java
ceb2e0a6058c31ebd3ef66e497d571134ba496c2 14-Mar-2014 Narayan Kamath <narayan@google.com> am 1abb7e0f: am 63938750: am c0232642: am 629daddd: Merge "Fix layoutlib build."

* commit '1abb7e0f3920b31cf216b99fc83231d80dfa7ca4':
Fix layoutlib build.
bd5e61fdee35d1adef260141fda9b203ac33f49a 14-Mar-2014 Narayan Kamath <narayan@google.com> am c0232642: am 629daddd: Merge "Fix layoutlib build."

* commit 'c0232642b74517aa2717673f0811ba65c620f491':
Fix layoutlib build.
6393875024e3b2ee6916d718d79dfbeb722537c1 14-Mar-2014 Narayan Kamath <narayan@google.com> am c0232642: am 629daddd: Merge "Fix layoutlib build."

* commit 'c0232642b74517aa2717673f0811ba65c620f491':
Fix layoutlib build.
c73991bda0ad7821e27c20940368b0c0212c5dc4 14-Mar-2014 Narayan Kamath <narayan@google.com> Fix layoutlib build.

Was using private data structures from libcore.

Change-Id: I5bd43190081891659e18b5c871686e6078efcc81
ayoutlib/bridge/src/libcore/icu/ICU_Delegate.java
e5ad073d2ef974e97a613316aee5218375d30143 13-Mar-2014 Deepanshu Gupta <deepanshu@google.com> resolved conflicts for merge of c76345a3 to klp-dev-plus-aosp

Change-Id: I54e14e1c6cd53cd10b38b34cf31989a2aa487b83
f978f16e50374681b0ade2d14a5e39cedaea6c2f 12-Mar-2014 Deepanshu Gupta <deepanshu@google.com> resolved conflicts for merge of c76345a3 to klp-modular-dev-plus-aosp

Change-Id: Id0aae224e17651bc07aa3f5b1a06923603d025b8
792f38ddd9e8d25b2c8bf0d67363dbfa56550636 11-Mar-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Fix the delegate method signatures in LayoutLib"
a742ca4017c93c18c421af20651494624469ed78 11-Mar-2014 Narayan Kamath <narayan@google.com> am bbf82665: am 6e2fb587: Merge "LP64: Make 9 patches architecture agnostic."

* commit 'bbf826659e8e5d0be683b2459207c495303d53b6':
LP64: Make 9 patches architecture agnostic.
73e5582cf205e168fe182daa84c7bff5552e611e 11-Mar-2014 David 'Digit' Turner <digit@google.com> am 9c6f41e3: am be7b8f4f: Merge "aidl: Support building with updated host sysroot."

* commit '9c6f41e3eb2258d52480be04dd8916a10f8be8db':
aidl: Support building with updated host sysroot.
c9f8aa0cb44f8aa44c60fc9ab534c9f6746f4dc7 11-Mar-2014 Ying Wang <wangying@google.com> am 26026c62: am dd72b6e7: Merge "Fix indirect misuse of ."

* commit '26026c62788f508f9de0df608dd7043e7d1399f6':
Fix indirect misuse of $(my-dir).
1767ea649cdc91c688883073b715e2a018d8363b 11-Mar-2014 Xavier Ducrohet <xav@android.com> am 5e5602da: am 0c72b769: Merge "Update layoutlib method for SystemClock"

* commit '5e5602da5fa9cd2e1d135b2310af2a8352f65e8d':
Update layoutlib method for SystemClock
b5c4e7fd3866bbe30d7ea4d7bc463da5a70970e2 10-Mar-2014 Narayan Kamath <narayan@google.com> resolved conflicts for merge of 92860a74 to master

Change-Id: I3036ef9f1251c756092dc5ee2c4fed8146855e1e
8272c84cb531a4f148f0b0a31d8359d381137378 10-Mar-2014 Narayan Kamath <narayan@google.com> am bbf82665: am 6e2fb587: Merge "LP64: Make 9 patches architecture agnostic."

* commit 'bbf826659e8e5d0be683b2459207c495303d53b6':
LP64: Make 9 patches architecture agnostic.
6381dd4ff212a95be30d2b445d40ff419ab076b4 03-Mar-2014 Narayan Kamath <narayan@google.com> LP64: Make 9 patches architecture agnostic.

The Res_png_9patch struct had several pointer members
whose size differed between 32 and 64 bit platforms.

These members have been replaced by uint32_t offsets
to serialized data. The serialized form for 9patches
places a Res_png_9patch object at the beginning of
serialized data, followed by int32_t arrays of xDivs,
yDivs and colors.

Note that these offsets are not strictly required,
since they can be computed from the values of numXDivs,
numYDivs & numColors, however they are called in tight
loops so having them computed once is a beneficial.

This change also removed the unused patch_equals function
from aapt's Image.cpp.

Change-Id: I3b9ac8ae5c05510d41377cae4dff1c69b40c2531
apt/Images.cpp
9eaaaf0fe3917f4fec85d3e45da37914654847ec 08-Mar-2014 Tim Kilbourn <tkilbourn@google.com> resolved conflicts for merge of a81ee86b to master

Change-Id: I7be3a64261d2405eda55b43c02b47657f393c095
03230982691744839fa2795d6124f27d982fe9d5 08-Mar-2014 Ying Wang <wangying@google.com> am 71364f8c: am f5f4d930: am 74bebf6f: Exclude the host aapt and aidl from PDK build.

* commit '71364f8c1e1bcc84375830dd5904dfe7cdfb5ed6':
Exclude the host aapt and aidl from PDK build.
032305fbcf1f1923030723d60621d8bbfa138511 08-Mar-2014 Tim Kilbourn <tkilbourn@google.com> am b559b371: Merge "Dump leanback info in aapt dump badging." into klp-modular-dev

* commit 'b559b37150d24411f0b5ef102ced8d5acf858a0e':
Dump leanback info in aapt dump badging.
f5f4d9306011ea1b10d25c959334f3e62df4447e 08-Mar-2014 Ying Wang <wangying@google.com> am 74bebf6f: Exclude the host aapt and aidl from PDK build.

* commit '74bebf6faed2d34814ffc3d46664330ea568f7b2':
Exclude the host aapt and aidl from PDK build.
b559b37150d24411f0b5ef102ced8d5acf858a0e 08-Mar-2014 Tim Kilbourn <tkilbourn@google.com> Merge "Dump leanback info in aapt dump badging." into klp-modular-dev
0a5a5d6996e54a927af750e122a1275d64f77ee5 08-Mar-2014 Tim Kilbourn <tkilbourn@google.com> Dump leanback info in aapt dump badging.

Leanback launcher activities are reported, including the banner.

Change-Id: Ifa496736ad3ba4239ec95e166768af895ff4dc53
apt/Command.cpp
74bebf6faed2d34814ffc3d46664330ea568f7b2 08-Mar-2014 Ying Wang <wangying@google.com> Exclude the host aapt and aidl from PDK build.

Bug: 13028632
Change-Id: I0f774b19be77462d0fa271088a4a5a152729d13c
apt/Android.mk
idl/Android.mk
d5b9bcb60d7d20e3e32edcef7d9b235e0ccccf82 07-Mar-2014 Narayan Kamath <narayan@google.com> am 28879bbf: am be57fca4: Merge "Extended locales in AAPT / AssetManager."

* commit '28879bbfe89dc4bf2067a7183975ecffb82f68e6':
Extended locales in AAPT / AssetManager.
02054534b15862282292196a9778f63990ff2d9b 07-Mar-2014 Narayan Kamath <narayan@google.com> am 9af95574: am 1cadc07d: Merge "Change ResourceType cookies to int32_t."

* commit '9af955744d4e0d82b61fc99a932b9a5cf28b5df7':
Change ResourceType cookies to int32_t.
5860f4f5f06be6ffd5358442d94519c800894329 06-Mar-2014 Narayan Kamath <narayan@google.com> am 70986e19: am ab71f8b6: Merge "AArch64: Use of long for pointers in PropertyValuesHolder"

* commit '70986e197bbaf4de4f8126519a75df2b057c3b52':
AArch64: Use of long for pointers in PropertyValuesHolder
5b5b4aa21f5ff1cb497f88679982568eef92b186 06-Mar-2014 Brian Carlstrom <bdc@google.com> resolved conflicts for merge of cb7cdd50 to klp-dev-plus-aosp

Change-Id: Iba01a6617d4922ec2827b0465095695028c20681
0d7ebc51ffb63f886af2196f05910925126726b9 06-Mar-2014 Deepanshu Gupta <deepanshu@google.com> Fix the delegate method signatures in LayoutLib

Change-Id: I262c285c1047958afdb024724959d5afb3552802
ayoutlib/bridge/src/android/graphics/BitmapFactory_Delegate.java
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
ayoutlib/bridge/src/android/graphics/NinePatch_Delegate.java
ayoutlib/bridge/src/android/graphics/Path_Delegate.java
ayoutlib/bridge/src/libcore/icu/DateIntervalFormat_Delegate.java
ayoutlib/bridge/src/libcore/icu/ICU_Delegate.java
fd2c77ca249ec2d6746ff426d191fb3991b6ea3d 06-Mar-2014 David 'Digit' Turner <digit@google.com> am 4bd720c2: am a05e7526: am 9c6f41e3: am be7b8f4f: Merge "aidl: Support building with updated host sysroot."

* commit '4bd720c2c63b2400437db971ac96616693a8fe3b':
aidl: Support building with updated host sysroot.
a05e752615fbfb50196d59dfb9c96dc7cf6c63f1 06-Mar-2014 David 'Digit' Turner <digit@google.com> am 9c6f41e3: am be7b8f4f: Merge "aidl: Support building with updated host sysroot."

* commit '9c6f41e3eb2258d52480be04dd8916a10f8be8db':
aidl: Support building with updated host sysroot.
be7b8f4f4c62239ad20202e4bbe8120d5e3dcf82 06-Mar-2014 David 'Digit' Turner <digit@google.com> Merge "aidl: Support building with updated host sysroot."
ea6d2197baff71a45f2bf95d3efbdef501cca76c 04-Mar-2014 David 'Digit' Turner <digit@google.com> aidl: Support building with updated host sysroot.

This patch fixes tools/aidl/Type.cpp to compile with
a more recent SDK host toolchain sysroot (that has not
been submitted yet).

The main issue is that the code uses ssize_t which is
defined in <sys/types.h>, but didn't include the header
directly.

Apparently, this no longer compiles when using the Ubuntu
10.04 libc6-dev headers (the current SDK toolchain is
based on Ubuntu 8.04), so perform an explicit include
to fix this.

NOTE: This doesn't break the Windows SDK build.

Change-Id: Idcacf8f8d1c606b39bf8aa75ab409aa0c2a3cd5a
idl/Type.cpp
03c6628f40a2e56a214990da127242707ff02b73 01-Mar-2014 Ying Wang <wangying@google.com> am 04c5bcf2: am 160c39d8: am 26026c62: am dd72b6e7: Merge "Fix indirect misuse of ."

* commit '04c5bcf2bb82099fa8c02dd9a38ccac36d326373':
Fix indirect misuse of $(my-dir).
160c39d8a53793cb17dd8a9312d56eafced3cc0d 01-Mar-2014 Ying Wang <wangying@google.com> am 26026c62: am dd72b6e7: Merge "Fix indirect misuse of ."

* commit '26026c62788f508f9de0df608dd7043e7d1399f6':
Fix indirect misuse of $(my-dir).
f794d6342570fe18d035a184dd4c8109e90441ea 01-Mar-2014 Ying Wang <wangying@google.com> Fix indirect misuse of $(my-dir).

Change-Id: I20a98a8e1378da3a53e6a6d599c8fc0100f7f87a
reload/Android.mk
5ea4be5214363a52cf211041fa3b4ffacc36187a 28-Feb-2014 Xavier Ducrohet <xav@android.com> am b2334254: am ec84ada6: am 5e5602da: am 0c72b769: Merge "Update layoutlib method for SystemClock"

* commit 'b2334254ef497e0dcda68d257c096516c77679a4':
Update layoutlib method for SystemClock
ec84ada6e8f3dad738810e2f1cd085defbc6d0ab 28-Feb-2014 Xavier Ducrohet <xav@android.com> am 5e5602da: am 0c72b769: Merge "Update layoutlib method for SystemClock"

* commit '5e5602da5fa9cd2e1d135b2310af2a8352f65e8d':
Update layoutlib method for SystemClock
36acf8baebc9ab72b3b5fe75d865399ddf7b0132 27-Feb-2014 Deepanshu Gupta <deepanshu@google.com> Add tests to the layoutlib eclipse project.

Specify the test folder in the layoutlib/bridge eclipse project.

Also add the sourcepath for layoutlib-api-prebuilt.jar

Change-Id: I194ed182618e564388d6df645e2de7f59897fa1e
ayoutlib/bridge/.classpath
84cd55e8bc67b5dc9e834b4691b710c6f133d493 26-Feb-2014 Jeff Davidson <jpd@google.com> Fix SDK build broken by ag/423985

Change-Id: I85480683531468b7a8a83749d9366f5cc334bd24
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java
073c1c1f60288329bc41e1eda88db58f65bf9e32 26-Feb-2014 Jeff Davidson <jpd@google.com> Merge "Add --replace-version flag to aapt."
c2016d4073c61e87439d4fa14837b397a3c1630a 26-Feb-2014 Deepanshu Gupta <deepanshu@google.com> Add DatePickerDialog to layoutlib

Includes android.app.DatePickerDialog in the layoutlib.jar

Bug: http://b.android.com/28318
Change-Id: I583dde4a8b88204bf98bfca8d91470e1aa4719ce
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
df08d1c24dbbc242978ee33416d1e54998f88915 25-Feb-2014 Jeff Davidson <jpd@google.com> Add --replace-version flag to aapt.

Motivation: we'd like to programmatically specify the version
name/code (i.e. to include the build number from the build server).
However, this means that we cannot specify version info in the
AndroidManifest.xml file, as this takes precedence. Not doing so makes
IDE use more difficult, as the IDE gets version code 0 and won't
install over an existing non-IDE version unless you first force a
downgrade to an IDE build from the command line.

This flag allows us to specify a very high version code in the
AndroidManifest.xml file, making IDE builds take precedence, while
still allowing us to override this info when performing command-line
(official) builds.

Change-Id: I5d01048698af5c26bdf19066c6cd4eca1115112a
apt/Bundle.h
apt/Main.cpp
apt/Resource.cpp
5ac6a9e9b72f9daa5a7d4ec073b2e5d6af8b3def 24-Feb-2014 Deepanshu Gupta <deepanshu@google.com> Update layoutlib method for SystemClock

Update layoutlib to reflect changes from
http://android-review.googlesource.com/83061/

Change-Id: If7326f3af2a97271ad1465382944e1f078b965d8
ayoutlib/bridge/src/android/os/SystemClock_Delegate.java
9be03c4e980d3058aeb3fd730da5f7d4a4a4f8a8 22-Feb-2014 Deepanshu Gupta <deepanshu@google.com> Update layoutlib tests to check methods return value.

The test in layoutlib bridge has been updated to check the return
value of the delegate method match the value of the overriden method.

This changeset also fixes the problems found due to this change.

Change-Id: I87cef323c4eaee4e9f60475f01156b276593fa50
ayoutlib/bridge/src/android/animation/PropertyValuesHolder_Delegate.java
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
ayoutlib/bridge/src/android/graphics/Path_Delegate.java
ayoutlib/bridge/src/android/graphics/Region_Delegate.java
ayoutlib/bridge/tests/src/com/android/layoutlib/bridge/TestDelegates.java
09fcce52b4c21f6c2bd5b425731aa02871804a5b 20-Feb-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Add ability to obtain themed Drawable from Context"
21c5c8e600d635df1d5bbfb9f4db6d0f60b9e2ad 20-Feb-2014 Xavier Ducrohet <xav@google.com> am 9edf7a11: am 2cb9147f: am 55542ee6: am 3e637042: Merge "Set default text style in layoutlib as NORMAL [DO NOT MERGE]" into klp-dev

* commit '9edf7a1159b528afa056e0d61ee4487ed310fe4c':
Set default text style in layoutlib as NORMAL [DO NOT MERGE]
c139177b13427ea3ea1bc88364136439125848af 20-Feb-2014 Deepanshu Gupta <deepanshu@google.com> am 65521c3c: am ca4b9a77: am e92c8542: am 01825b7a: Fix sans-serif-thin and sans-serif-light fonts in layoutlib. [DO NOT MERGE]

* commit '65521c3cf169808cd02ce09a7344bc633d51c1fc':
Fix sans-serif-thin and sans-serif-light fonts in layoutlib. [DO NOT MERGE]
9edf7a1159b528afa056e0d61ee4487ed310fe4c 20-Feb-2014 Xavier Ducrohet <xav@google.com> am 2cb9147f: am 55542ee6: am 3e637042: Merge "Set default text style in layoutlib as NORMAL [DO NOT MERGE]" into klp-dev

* commit '2cb9147fc49e6474eaf30fd833e43df10e42b899':
Set default text style in layoutlib as NORMAL [DO NOT MERGE]
65521c3cf169808cd02ce09a7344bc633d51c1fc 20-Feb-2014 Deepanshu Gupta <deepanshu@google.com> am ca4b9a77: am e92c8542: am 01825b7a: Fix sans-serif-thin and sans-serif-light fonts in layoutlib. [DO NOT MERGE]

* commit 'ca4b9a77e7d20703287b33b203b2582bd43f7792':
Fix sans-serif-thin and sans-serif-light fonts in layoutlib. [DO NOT MERGE]
2cb9147fc49e6474eaf30fd833e43df10e42b899 20-Feb-2014 Xavier Ducrohet <xav@google.com> am 55542ee6: am 3e637042: Merge "Set default text style in layoutlib as NORMAL [DO NOT MERGE]" into klp-dev

* commit '55542ee6449bd580f61bc005726b5c87773fbe25':
Set default text style in layoutlib as NORMAL [DO NOT MERGE]
ca4b9a77e7d20703287b33b203b2582bd43f7792 20-Feb-2014 Deepanshu Gupta <deepanshu@google.com> am e92c8542: am 01825b7a: Fix sans-serif-thin and sans-serif-light fonts in layoutlib. [DO NOT MERGE]

* commit 'e92c8542a5cf1160a1b701b9f176af64ba46d68d':
Fix sans-serif-thin and sans-serif-light fonts in layoutlib. [DO NOT MERGE]
3e6370425ea3ac4e5d89ce042512913062212ccc 20-Feb-2014 Xavier Ducrohet <xav@google.com> Merge "Set default text style in layoutlib as NORMAL [DO NOT MERGE]" into klp-dev
01825b7aa3c864426c78c08c2f6004a8362c2b47 19-Feb-2014 Deepanshu Gupta <deepanshu@google.com> Fix sans-serif-thin and sans-serif-light fonts in layoutlib. [DO NOT MERGE]

For these font families, text was always rendered as italic. This
changeset fixes the issue.

Bug: http://b.android.com/57221
Change-Id: Ic8a299bd1e555f5bb914cd3d2fe72917ec7f471a
(cherry picked from commit e327212adde1136807bbdf052e8cc3861f8a6aba)
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/FontLoader.java
13aea18b34e527cffeaa6cb81f5ecb7c4a66cb11 19-Feb-2014 Deepanshu Gupta <deepanshu@google.com> Set default text style in layoutlib as NORMAL [DO NOT MERGE]

If a style doesn't specify text style (normal/bold/italic/bold-italic)
then default to normal instead of throwing an error.

Bug: http://b.android.com/61358
Change-Id: I0138c73807a5ff6e4d938a99ece3044333110aa1
(cherry picked from commit 0acfb16dcd95468fe032204f54618e86becfd1eb)
ayoutlib/bridge/src/android/graphics/Typeface_Delegate.java
be727079a5b4f9a5b485d6763d38f5720a44f10f 19-Feb-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Set default text style in layoutlib as NORMAL"
0acfb16dcd95468fe032204f54618e86becfd1eb 19-Feb-2014 Deepanshu Gupta <deepanshu@google.com> Set default text style in layoutlib as NORMAL

If a style doesn't specify text style (normal/bold/italic/bold-italic)
then default to normal instead of throwing an error.

Bug: http://b.android.com/61358
Change-Id: I0138c73807a5ff6e4d938a99ece3044333110aa1
ayoutlib/bridge/src/android/graphics/Typeface_Delegate.java
e327212adde1136807bbdf052e8cc3861f8a6aba 19-Feb-2014 Deepanshu Gupta <deepanshu@google.com> Fix sans-serif-thin and sans-serif-light fonts in layoutlib.

For these font families, text was always rendered as italic. This
changeset fixes the issue.

Bug: http://b.android.com/57221
Change-Id: Ic8a299bd1e555f5bb914cd3d2fe72917ec7f471a
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/FontLoader.java
8250a825c39a2f1f63920669cf233db3d8944b51 19-Feb-2014 Deepanshu Gupta <deepanshu@google.com> Add ability to obtain themed Drawable from Context

This is to fix the rendering in layoutlib broken due to
8eea3ea5591e59f55cbb4f6b2b7e9363a285ced3

Change-Id: I3da6691ad86502bd4fa4b302deb381a840b94655
ayoutlib/bridge/src/android/content/res/BridgeResources.java
98f33350b10106cda14543700a6c46032a590bb1 18-Feb-2014 Deepanshu Gupta <deepanshu@google.com> Fix native methods

Fix native method signatures as changed by the following commits:
56f57ccbd4fbbf4d572cc966d1cb76d7ae7ad334
76d3a1b8d035d27bc80b0f2fc480a903bd001514

Change-Id: I5db31d3665a5e8c84c107cf84ec3bd5ccfb9a9fe
ayoutlib/bridge/src/android/graphics/ColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/ColorMatrixColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/LightingColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/Path_Delegate.java
ayoutlib/bridge/src/android/graphics/PorterDuffColorFilter_Delegate.java
857ba4af8519479298a671461cd6f5cace35b99b 15-Feb-2014 Deepanshu Gupta <deepanshu@google.com> Fix layoutlib by avoiding Java7 calls

This change also fixes a NPE in TypedArray caused by changes in the
framework.

Change-Id: Ie64237c567fa16c35c807db22ce9a4b609ee411d
ayoutlib/bridge/src/android/content/res/BridgeTypedArray.java
ayoutlib/bridge/src/android/content/res/Resources_Delegate.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
8c1fc83445f8dce7e6d0789feeed8bf98d33bf01 17-Feb-2014 Narayan Kamath <narayan@google.com> am 28879bbf: am be57fca4: Merge "Extended locales in AAPT / AssetManager."

* commit '28879bbfe89dc4bf2067a7183975ecffb82f68e6':
Extended locales in AAPT / AssetManager.
788fa41482b9d398591b7db8b0b01839029611ad 21-Jan-2014 Narayan Kamath <narayan@google.com> Extended locales in AAPT / AssetManager.

Support 3 letter language codes, script codes &
variants. The bulk of the changes are related to
the implementation of command line filtering of
locales etc. The previous code assumed that the
value of each "axis" (locale, density, size etc.)
could be represented by a 4 byte type. This is
no longer the case.

This change introduces a new class, AaptLocaleValue
which holds a (normalized) locale parsed from a
directory name or a filter string. This class takes
responsibility for parsing locales as well as
writing them to ResTable_config structures, which is
their representation in the resource table.

This includes minor changes at the java / JNI level
for AssetManager. We now call locale.toLanguageTag()
to give the native layer a well formed BCP-47 tag.
I've removed some duplicated parsing code in
AssetManager.cpp and replaced them with functions on
ResTable_config. The native getLocales function has
been changed to return well formed BCP-47 locales as
well, so that the corresponding java function can use
Locale.forLanguageTag to construct a Locale object
out of it.

Finally, this change introduces default and copy
constructors for ResTable_config to prevent having
to memset() the associated memory to 0 on every
stack allocation.

(cherry-picked from commit 91447d88f2bdf9c2bf8d1a53570efef6172fba74)

Change-Id: I1b43086860661012f949fb8e5deb7df44519b854
apt/AaptAssets.cpp
apt/AaptAssets.h
apt/Command.cpp
apt/Resource.cpp
apt/ResourceFilter.cpp
apt/ResourceFilter.h
apt/ResourceIdCache.h
apt/ResourceTable.cpp
eaddb849629b6585d7c11699bb7a1f0d2b984783 10-Feb-2014 Deepanshu Gupta <deepanshu@google.com> am f7193bf8: am d9f9da39: am 56b86deb: am 1c91b1f7: am 45dbfcc7: Improve text rendering and measurement.

* commit 'f7193bf89780039cf924dd7d1bb67f4830517231':
Improve text rendering and measurement.
f7193bf89780039cf924dd7d1bb67f4830517231 10-Feb-2014 Deepanshu Gupta <deepanshu@google.com> am d9f9da39: am 56b86deb: am 1c91b1f7: am 45dbfcc7: Improve text rendering and measurement.

* commit 'd9f9da396b41f394991f676bc74dcfc59c7070a8':
Improve text rendering and measurement.
d9f9da396b41f394991f676bc74dcfc59c7070a8 10-Feb-2014 Deepanshu Gupta <deepanshu@google.com> am 56b86deb: am 1c91b1f7: am 45dbfcc7: Improve text rendering and measurement.

* commit '56b86debcfaf8f661011702d31854bb3804f5fe1':
Improve text rendering and measurement.
56b86debcfaf8f661011702d31854bb3804f5fe1 10-Feb-2014 Deepanshu Gupta <deepanshu@google.com> am 1c91b1f7: am 45dbfcc7: Improve text rendering and measurement.

* commit '1c91b1f7a2da5e5b1996217228399ef958c2be0c':
Improve text rendering and measurement.
91447d88f2bdf9c2bf8d1a53570efef6172fba74 21-Jan-2014 Narayan Kamath <narayan@google.com> Extended locales in AAPT / AssetManager.

Support 3 letter language codes, script codes &
variants. The bulk of the changes are related to
the implementation of command line filtering of
locales etc. The previous code assumed that the
value of each "axis" (locale, density, size etc.)
could be represented by a 4 byte type. This is
no longer the case.

This change introduces a new class, AaptLocaleValue
which holds a (normalized) locale parsed from a
directory name or a filter string. This class takes
responsibility for parsing locales as well as
writing them to ResTable_config structures, which is
their representation in the resource table.

This includes minor changes at the java / JNI level
for AssetManager. We now call locale.toLanguageTag()
to give the native layer a well formed BCP-47 tag.
I've removed some duplicated parsing code in
AssetManager.cpp and replaced them with functions on
ResTable_config. The native getLocales function has
been changed to return well formed BCP-47 locales as
well, so that the corresponding java function can use
Locale.forLanguageTag to construct a Locale object
out of it.

Finally, this change introduces default and copy
constructors for ResTable_config to prevent having
to memset() the associated memory to 0 on every
stack allocation.

Change-Id: I899a56a9a182ee6be52b9389d1ae59266f5482e9
apt/AaptAssets.cpp
apt/AaptAssets.h
apt/Command.cpp
apt/Resource.cpp
apt/ResourceFilter.cpp
apt/ResourceFilter.h
apt/ResourceIdCache.h
apt/ResourceTable.cpp
45dbfcc781a3926d22571b6ccfa3f27ec896f119 07-Jan-2014 Deepanshu Gupta <deepanshu@google.com> Improve text rendering and measurement.

1. Fix a bug where baseline of the run was modified while rendering
resulting in crooked text in some cases.

2. Use GlyphVector.getLogicalBounds() for text measurement which is more
accurate than getVisualBounds().

3. This change also optimizes text rendering by not computing the advances
for individual glyphs when not needed.

Change-Id: I66792c4d8f50eaf29afa70bccca1e6c812a3fa28
ayoutlib/bridge/src/android/graphics/BidiRenderer.java
6886e3ac185b4ee2d5e2cf054b4beb0d9c55b18f 06-Feb-2014 Deepanshu Gupta <deepanshu@google.com> am 7bd287b7: am ea2ec77f: am 3adb34ee: am 9fcfbfe2: am 3bf38b41: Merge "Add methods for Time_Delegate" into klp-dev

* commit '7bd287b70a1c95c96663a6028e9809fd3844f55a':
Add methods for Time_Delegate
f7994e89e94d55998e63e9ebe74a8f10c05ccb3a 06-Feb-2014 Deepanshu Gupta <deepanshu@google.com> am 6a9cbd5a: am a0023027: am 23de8dc2: am 28e049ef: am 0db6e6a5: Merge "Optimize layout rendering in layoutlib" into klp-dev

* commit '6a9cbd5a2d56782e94b870735df51d32314684d8':
Optimize layout rendering in layoutlib
a859670d0a135d9a33b57fcc450fafa09d9c5a7f 06-Feb-2014 Deepanshu Gupta <deepanshu@google.com> am f9021e48: am bd762373: am 096e4359: am f2f108fe: am a955314d: Merge "Add missing files to fix libphonenumber for layoutlib." into klp-dev

* commit 'f9021e48bedc9fda9bff4e33244e689fb06e8ecb':
Add missing files to fix libphonenumber for layoutlib.
3a9d89e28885d5d92423b9d28a1a2430b65e1559 06-Feb-2014 Deepanshu Gupta <deepanshu@google.com> am 1bcc286d: am db0427a0: am 5800b19a: am 50b0ce4e: am fd8cba3a: Merge "Fix the measurement of text bounds." into klp-dev

* commit '1bcc286def646f98747bce2c4dedb0737d5fcf9d':
Fix the measurement of text bounds.
1c06469101464c147058c01bc25c9e4b3c1aa16b 06-Feb-2014 Deepanshu Gupta <deepanshu@google.com> am 1bceb982: am 650d30c5: am b156c019: am d5129e75: am 8a892279: Fix a bug in Nine Patch library.

* commit '1bceb9823f7af258489c91fa201214805744fa4a':
Fix a bug in Nine Patch library.
7bd287b70a1c95c96663a6028e9809fd3844f55a 06-Feb-2014 Deepanshu Gupta <deepanshu@google.com> am ea2ec77f: am 3adb34ee: am 9fcfbfe2: am 3bf38b41: Merge "Add methods for Time_Delegate" into klp-dev

* commit 'ea2ec77f9538de2ea795d3e257f19e8cff659665':
Add methods for Time_Delegate
6a9cbd5a2d56782e94b870735df51d32314684d8 06-Feb-2014 Deepanshu Gupta <deepanshu@google.com> am a0023027: am 23de8dc2: am 28e049ef: am 0db6e6a5: Merge "Optimize layout rendering in layoutlib" into klp-dev

* commit 'a0023027e5b7245e2cef304d96826a7ae1c361aa':
Optimize layout rendering in layoutlib
f9021e48bedc9fda9bff4e33244e689fb06e8ecb 06-Feb-2014 Deepanshu Gupta <deepanshu@google.com> am bd762373: am 096e4359: am f2f108fe: am a955314d: Merge "Add missing files to fix libphonenumber for layoutlib." into klp-dev

* commit 'bd762373964eb3cb71bdd79cbf82c27faa22699d':
Add missing files to fix libphonenumber for layoutlib.
1bcc286def646f98747bce2c4dedb0737d5fcf9d 06-Feb-2014 Deepanshu Gupta <deepanshu@google.com> am db0427a0: am 5800b19a: am 50b0ce4e: am fd8cba3a: Merge "Fix the measurement of text bounds." into klp-dev

* commit 'db0427a0ac986e0823e7bbe9b7c12a97aabe133e':
Fix the measurement of text bounds.
1bceb9823f7af258489c91fa201214805744fa4a 06-Feb-2014 Deepanshu Gupta <deepanshu@google.com> am 650d30c5: am b156c019: am d5129e75: am 8a892279: Fix a bug in Nine Patch library.

* commit '650d30c5ec3c0b345651a56c45eb334fabf51b17':
Fix a bug in Nine Patch library.
ea2ec77f9538de2ea795d3e257f19e8cff659665 06-Feb-2014 Deepanshu Gupta <deepanshu@google.com> am 3adb34ee: am 9fcfbfe2: am 3bf38b41: Merge "Add methods for Time_Delegate" into klp-dev

* commit '3adb34ee079504b5854d23bc7a38dafc0a985219':
Add methods for Time_Delegate
a0023027e5b7245e2cef304d96826a7ae1c361aa 06-Feb-2014 Deepanshu Gupta <deepanshu@google.com> am 23de8dc2: am 28e049ef: am 0db6e6a5: Merge "Optimize layout rendering in layoutlib" into klp-dev

* commit '23de8dc2625d4aeb4dc9085c5865ed571f96261a':
Optimize layout rendering in layoutlib
bd762373964eb3cb71bdd79cbf82c27faa22699d 06-Feb-2014 Deepanshu Gupta <deepanshu@google.com> am 096e4359: am f2f108fe: am a955314d: Merge "Add missing files to fix libphonenumber for layoutlib." into klp-dev

* commit '096e43590381b218cec88adeac4261427c19e139':
Add missing files to fix libphonenumber for layoutlib.
db0427a0ac986e0823e7bbe9b7c12a97aabe133e 06-Feb-2014 Deepanshu Gupta <deepanshu@google.com> am 5800b19a: am 50b0ce4e: am fd8cba3a: Merge "Fix the measurement of text bounds." into klp-dev

* commit '5800b19a7a3422620cb28e2327a96bf824f5cc9c':
Fix the measurement of text bounds.
650d30c5ec3c0b345651a56c45eb334fabf51b17 06-Feb-2014 Deepanshu Gupta <deepanshu@google.com> am b156c019: am d5129e75: am 8a892279: Fix a bug in Nine Patch library.

* commit 'b156c0197d052dd4be71ad2b858acc01f50ad49f':
Fix a bug in Nine Patch library.
3adb34ee079504b5854d23bc7a38dafc0a985219 06-Feb-2014 Deepanshu Gupta <deepanshu@google.com> am 9fcfbfe2: am 3bf38b41: Merge "Add methods for Time_Delegate" into klp-dev

* commit '9fcfbfe296d7033ee031171f61b3a33044abee42':
Add methods for Time_Delegate
23de8dc2625d4aeb4dc9085c5865ed571f96261a 06-Feb-2014 Deepanshu Gupta <deepanshu@google.com> am 28e049ef: am 0db6e6a5: Merge "Optimize layout rendering in layoutlib" into klp-dev

* commit '28e049ef73f5d9301a198ac53535442b697b7ef4':
Optimize layout rendering in layoutlib
096e43590381b218cec88adeac4261427c19e139 06-Feb-2014 Deepanshu Gupta <deepanshu@google.com> am f2f108fe: am a955314d: Merge "Add missing files to fix libphonenumber for layoutlib." into klp-dev

* commit 'f2f108fe86337a429a0940f264761dbc27f817fe':
Add missing files to fix libphonenumber for layoutlib.
5800b19a7a3422620cb28e2327a96bf824f5cc9c 06-Feb-2014 Deepanshu Gupta <deepanshu@google.com> am 50b0ce4e: am fd8cba3a: Merge "Fix the measurement of text bounds." into klp-dev

* commit '50b0ce4e8ed353ed841782aeb58963bc084f2e16':
Fix the measurement of text bounds.
b156c0197d052dd4be71ad2b858acc01f50ad49f 06-Feb-2014 Deepanshu Gupta <deepanshu@google.com> am d5129e75: am 8a892279: Fix a bug in Nine Patch library.

* commit 'd5129e75968030620a1372e39fcfbc17fe584e17':
Fix a bug in Nine Patch library.
3bf38b4165877274067a385cfe6472639a203a58 06-Feb-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Add methods for Time_Delegate" into klp-dev
0db6e6a567e25d560586863c7be654a0c1da5795 06-Feb-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Optimize layout rendering in layoutlib" into klp-dev
a955314d905f8567c852226ce4f74994826e8777 06-Feb-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Add missing files to fix libphonenumber for layoutlib." into klp-dev
fd8cba3ab83972eefc796fa122b0ec9222078b1c 06-Feb-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Fix the measurement of text bounds." into klp-dev
8a892279bd1b212311f4200f306a317985463918 06-Feb-2014 Deepanshu Gupta <deepanshu@google.com> Fix a bug in Nine Patch library.

The nine patches were not drawn correctly if they were not positioned at
the top left corner of the canvas.

Bug: http://b.android.com/29959
Change-Id: Icfed522ea07322a3ee9f3955067d3da26c4b0b5b
ayoutlib/bridge/src/android/graphics/NinePatch_Delegate.java
94c40a4cf90933216e6d656213dfdfa19c68a9c3 04-Feb-2014 Adam Lesinski <adamlesinski@google.com> resolved conflicts for merge of 1b5b60d6 to master

Change-Id: I2b713a55fcdf02c01afa99f175bf14248f210460
1b5b60d696dd6840406ab9d3f38522ba18273c60 04-Feb-2014 Adam Lesinski <adamlesinski@google.com> am 203356a3: Merge "Add support for multiple asset dirs (-A)" into klp-modular-dev

* commit '203356a34a82bfc759be02dfa1caa4529dce0732':
Add support for multiple asset dirs (-A)
203356a34a82bfc759be02dfa1caa4529dce0732 04-Feb-2014 Adam Lesinski <adamlesinski@google.com> Merge "Add support for multiple asset dirs (-A)" into klp-modular-dev
edc4664d60af1f124d05f0a2b6ba58b837630f51 01-Feb-2014 Alan Viverette <alanv@google.com> Fix broken build in BridgeResources

Change-Id: Iec58a2acda6b9538bcb5974d3d5c45ea6e53eac5
ayoutlib/bridge/src/android/content/res/BridgeResources.java
eb3c5459eb893061779b102236a81069efdbef73 01-Feb-2014 Deepanshu Gupta <deepanshu@google.com> Add methods for Time_Delegate

Bug: http://b.android.com/65359
Change-Id: I7c2d09286d6bcd9899444aaa5a4a5a342e39d923
ayoutlib/bridge/src/android/text/format/Time_Delegate.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
d49babe50d61e0264a9f4fbf0b4e182cc56635db 31-Jan-2014 Narayan Kamath <narayan@google.com> am 9af95574: am 1cadc07d: Merge "Change ResourceType cookies to int32_t."

* commit '9af955744d4e0d82b61fc99a932b9a5cf28b5df7':
Change ResourceType cookies to int32_t.
54b100ceedfe29c3d8f389437c0abb91160923d0 31-Jan-2014 Narayan Kamath <narayan@google.com> am 98ac6c79: resolved conflicts for merge of cb7cdd50 to klp-modular-dev-plus-aosp

* commit '98ac6c79a430e62a886b3a8278694425b5906300':
Fix a few more delegate methods in layoutlib.
7c4887f66bfa3dad16f8b03dc825ade96d7de130 27-Jan-2014 Narayan Kamath <narayan@google.com> Change ResourceType cookies to int32_t.

Also change the order of parameters in ResTable constructors
to avoid ambiguity.

(cherry picked from commit 00b314436f4fdfada4bbf1e79ec12e9fa38aeaf1)

Change-Id: I874c5d03c134dc3c331fba423b5280366296287c
apt/AaptAssets.cpp
apt/Resource.cpp
acda961446f52b555d9c38757a68b5b15d26fd0b 31-Jan-2014 Narayan Kamath <narayan@google.com> Merge "Change ResourceType cookies to int32_t."
5cdbac1e44aa85ccfedd19eb1a7376fe84b1ca72 31-Jan-2014 Narayan Kamath <narayan@google.com> am 70986e19: am ab71f8b6: Merge "AArch64: Use of long for pointers in PropertyValuesHolder"

* commit '70986e197bbaf4de4f8126519a75df2b057c3b52':
AArch64: Use of long for pointers in PropertyValuesHolder
98ac6c79a430e62a886b3a8278694425b5906300 31-Jan-2014 Narayan Kamath <narayan@google.com> resolved conflicts for merge of cb7cdd50 to klp-modular-dev-plus-aosp

Change-Id: I2fc48fb4bd779042fc9bc00e6c8aca876d4a5f0b
ab71f8b68fee0f2a4f2049c4345b5334948c9df9 30-Jan-2014 Narayan Kamath <narayan@google.com> Merge "AArch64: Use of long for pointers in PropertyValuesHolder"
34b16b854ae8c78554a75b136a1df403c385f2e9 30-Jan-2014 Deepanshu Gupta <deepanshu@google.com> Fix build

Change-Id: Ifcbf44bc310daee4410ccc6ddf6bdc44565e20da
ayoutlib/bridge/src/android/graphics/Path_Delegate.java
e05bb956ce429618fd4f971a9dc708b9313c59ea 29-Jan-2014 Deepanshu Gupta <deepanshu@google.com> Fix native method signatures

Some new methods have been added which are yet to be implemented.

Change-Id: Ie5a0657c7ccbe95200c270d5c15b516a385b083b
ayoutlib/bridge/src/android/animation/PropertyValuesHolder_Delegate.java
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/ColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/Matrix_Delegate.java
ayoutlib/bridge/src/android/graphics/Path_Delegate.java
ayoutlib/bridge/src/libcore/icu/ICU_Delegate.java
bd28e2d9d3c2a7e80babd39471d5788843a48d4a 27-Jan-2014 Deepanshu Gupta <deepanshu@google.com> Manual merge of changes from klp-dev

Manually merged the following changes from klp-dev branch and fixed
merge conflicts:
78cfdf31b7c48589ea3a148ec1d6d573235bc06b
d0581d271e814670d81a6550aa7b1e86864d5710
1f92d7fc0ffa72d7db93244c29a1a6575bb4b318
0baec410c29206dc72d9f5afba5d45827e62c00c
24541255c312ee34f9bf17eb5852cdffd4807065

Change-Id: I426729bb90a26746bfff3a0e4a03ea9f37972528
ayoutlib/Android.mk
ayoutlib/bridge/src/android/graphics/BitmapFactory_Delegate.java
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
ayoutlib/bridge/src/android/graphics/NinePatch_Delegate.java
ayoutlib/bridge/src/android/graphics/Path_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
ayoutlib/bridge/src/libcore/icu/DateIntervalFormat_Delegate.java
ayoutlib/bridge/src/libcore/icu/ICU_Delegate.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
40582000e078361d2e5995abdf25f923fa656e86 29-Jan-2014 Narayan Kamath <narayan@google.com> Fix a few more delegate methods in layoutlib.

Change-Id: Icd7069452b9ac66498af69ec705d12c3acd1c848
ayoutlib/bridge/src/android/graphics/BitmapFactory_Delegate.java
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/Matrix_Delegate.java
fbb35fb39eb74c6fa7ba6804faeaccb80483be14 17-Jan-2014 Ashok Bhat <ashok.bhat@arm.com> AArch64: Use of long for pointers in PropertyValuesHolder

Long is used in PropertyValuesHolder class to store native pointers
as they can be 64-bit. Note that jmethodID, a pointer to structures,
is also carried in long rather than int to support 64-bit system.

Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>

(cherry picked from commit 0141e884344a5c267239079d615e1c9d9898a222)

Change-Id: I80408a7227427732db0d8b4c960bcb849b7c8060
ayoutlib/bridge/src/android/animation/PropertyValuesHolder_Delegate.java
0141e884344a5c267239079d615e1c9d9898a222 17-Jan-2014 Ashok Bhat <ashok.bhat@arm.com> AArch64: Use of long for pointers in PropertyValuesHolder

Long is used in PropertyValuesHolder class to store native pointers
as they can be 64-bit. Note that jmethodID, a pointer to structures,
is also carried in long rather than int to support 64-bit system.

Change-Id: Ifb514fc8473d7c41c0d6194fc6eb85d4816b2cd9
Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
ayoutlib/bridge/src/android/animation/PropertyValuesHolder_Delegate.java
8773d51eae2a40d95adfe517476e9098eec14166 28-Jan-2014 Narayan Kamath <narayan@google.com> resolved conflicts for merge of b82b2f98 to klp-dev-plus-aosp

Change-Id: Ia110056e5fdd2387c207748b17c5c17d1a18ac5b
84151432e7ead6666eb8cf6377bff577b2027694 27-Jan-2014 Narayan Kamath <narayan@google.com> Track 64bit changes to android/graphics.

All pointers are now 64bits wide, so should be
represented as java longs and not ints.

Also changed DelegateManager and SparseWeakArray to
reflect the new world order.

(cherry picked from commit 88a8364c386c694f7ad56662ef89713dbf7c9d63)

Change-Id: Ic2f55dd6235751169c5014f9d2ccf3f544259a87
ayoutlib/bridge/src/android/graphics/AvoidXfermode_Delegate.java
ayoutlib/bridge/src/android/graphics/BitmapShader_Delegate.java
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
ayoutlib/bridge/src/android/graphics/BlurMaskFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/ColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/ColorMatrixColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/ComposePathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/ComposeShader_Delegate.java
ayoutlib/bridge/src/android/graphics/CornerPathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/DashPathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/DiscretePathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/DrawFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/EmbossMaskFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/LayerRasterizer_Delegate.java
ayoutlib/bridge/src/android/graphics/LightingColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/LinearGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/MaskFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/Matrix_Delegate.java
ayoutlib/bridge/src/android/graphics/NinePatch_Delegate.java
ayoutlib/bridge/src/android/graphics/PaintFlagsDrawFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
ayoutlib/bridge/src/android/graphics/PathDashPathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/PathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/Path_Delegate.java
ayoutlib/bridge/src/android/graphics/PixelXorXfermode_Delegate.java
ayoutlib/bridge/src/android/graphics/PorterDuffColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/PorterDuffXfermode_Delegate.java
ayoutlib/bridge/src/android/graphics/RadialGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/Rasterizer_Delegate.java
ayoutlib/bridge/src/android/graphics/Region_Delegate.java
ayoutlib/bridge/src/android/graphics/Shader_Delegate.java
ayoutlib/bridge/src/android/graphics/SumPathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/SweepGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/Typeface_Delegate.java
ayoutlib/bridge/src/android/graphics/Xfermode_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/DelegateManager.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/util/SparseWeakArray.java
00b314436f4fdfada4bbf1e79ec12e9fa38aeaf1 27-Jan-2014 Narayan Kamath <narayan@google.com> Change ResourceType cookies to int32_t.

Also change the order of parameters in ResTable constructors
to avoid ambiguity.

Change-Id: If7bfa1f640dddca39b9f26a3ce84081fa7b6e6e3
apt/AaptAssets.cpp
apt/Resource.cpp
88a8364c386c694f7ad56662ef89713dbf7c9d63 27-Jan-2014 Narayan Kamath <narayan@google.com> Track 64bit changes to android/graphics.

All pointers are now 64bits wide, so should be
represented as java longs and not ints.

Also changed DelegateManager and SparseWeakArray to
reflect the new world order.

Change-Id: Ic32b6b53818dbae9b949f03004c4fb6dae26cdbe
ayoutlib/bridge/src/android/graphics/AvoidXfermode_Delegate.java
ayoutlib/bridge/src/android/graphics/BitmapShader_Delegate.java
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
ayoutlib/bridge/src/android/graphics/BlurMaskFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/ColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/ColorMatrixColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/ComposePathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/ComposeShader_Delegate.java
ayoutlib/bridge/src/android/graphics/CornerPathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/DashPathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/DiscretePathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/DrawFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/EmbossMaskFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/LayerRasterizer_Delegate.java
ayoutlib/bridge/src/android/graphics/LightingColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/LinearGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/MaskFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/Matrix_Delegate.java
ayoutlib/bridge/src/android/graphics/NinePatch_Delegate.java
ayoutlib/bridge/src/android/graphics/PaintFlagsDrawFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
ayoutlib/bridge/src/android/graphics/PathDashPathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/PathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/Path_Delegate.java
ayoutlib/bridge/src/android/graphics/PixelXorXfermode_Delegate.java
ayoutlib/bridge/src/android/graphics/PorterDuffColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/PorterDuffXfermode_Delegate.java
ayoutlib/bridge/src/android/graphics/RadialGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/Rasterizer_Delegate.java
ayoutlib/bridge/src/android/graphics/Region_Delegate.java
ayoutlib/bridge/src/android/graphics/Shader_Delegate.java
ayoutlib/bridge/src/android/graphics/SumPathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/SweepGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/Typeface_Delegate.java
ayoutlib/bridge/src/android/graphics/Xfermode_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/DelegateManager.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/util/SparseWeakArray.java
f85e41f29a0e9313c2d4725f9d9648591ea49f3b 24-Jan-2014 Narayan Kamath <narayan@google.com> AssetManager cookies are now int32_t, not void*.

Change-Id: Id383e31922ca81c52dad52d422c5c1ab1a1365ce
apt/Command.cpp
9ab9b93eae8b2fc747d6101cf0e4c19b2218715f 24-Jan-2014 Bryan Mawhinney <bryanmawhinney@google.com> Filter unneeded assets from additional resource directories

This change ensures that assets that are not needed for the
preferred density are stripped from additional directories
specified by the -S flag

For simplicity, the logic for deciding which assets are not
needed is still applied per directory, rather than globally,
which may still result in some unneeded assets being included
in the final output.

Bug: 12604267
Change-Id: Ic1378570c2d9cd1c854c507e784233818c19efca
apt/AaptAssets.cpp
ebcef6b896b3b1693862aad9c5000c450ba598a5 09-Jan-2014 Alan Viverette <alanv@google.com> Update BridgeInflater and delegate to support inheritContext arg

Change-Id: I06673f35cd4625301677f74f3e6d49669df7c271
ayoutlib/bridge/src/android/view/BridgeInflater.java
ayoutlib/bridge/src/android/view/LayoutInflater_Delegate.java
9a9fa163c384e7fff159d339dfcce3b3122bece5 18-Dec-2013 Narayan Kamath <narayan@google.com> Don't pseudolocalize untranslatable strings.

bug: https://code.google.com/p/android/issues/detail?id=63004

(cherry picked from commit 7e1b8ff3e15b35b92978e572ccbfbc47cedce242)

Change-Id: I99ba1a915ae8fc61f70ce570b782108171d0fcaa
apt/ResourceTable.cpp
9636071bdc29df0ed5d801d0499bdb76abade1db 03-Dec-2013 Narayan Kamath <narayan@google.com> Reimplement ZipFileRO in terms of libziparchive.

This lets us share zip archive processing code with both
the runtime (Art, dalvik) and critical java code
(StrictJarFile).

This change also moves several utility methods to ZipUtils
and dedups code across several zip inflation methods.

One of the side effects of this change is that several
processing loops are now O(n) instead of O(n^2).

bug: 10193060

(cherry picked from commit e9d380f9303692950166472b1dfab083e1af8133)

Change-Id: I53e7d0c0af266cb1fe4e293e1177b2590cc44224
apt/Android.mk
cd28bd37ea2d88dd72930f032ca73daaad5744b4 15-Nov-2013 Ying Wang <wangying@google.com> Add new aapt flag --error-on-missing-config-entry

It forces aapt to return an error if aapt fails to find an resource
entry for a configuration.

Bug: 11259444
Change-Id: Ie5674a29dff5d4455e7d7c94f6b25560fb1305b7
apt/Bundle.h
apt/Main.cpp
apt/ResourceTable.cpp
24dffd0b0beb58d900bf232448596064f3c7d483 13-Nov-2013 Craig Mautner <cmautner@google.com> Support API change.

From
https://googleplex-android-review.git.corp.google.com/#/c/387811/.

Change-Id: I3958a55c72b095c53b054c11c5653ba581881188
ayoutlib/bridge/src/android/view/IWindowManagerImpl.java
58f1f3617cb6d96e3f3cf3d5c99004a362f0a61e 12-Nov-2013 Adam Lesinski <adamlesinski@google.com> Dump maxSdk of uses-permission during badging

If the manifest specifies a maxSdkVersion for which to
stop granting a certain permission, output that value
when dumping badging.

bug:11630700
Change-Id: I922a3186340383828e1af3ce0815efb407d9d535
apt/Command.cpp
d8df6b570f10cec486b2af708e9a393f3012317d 10-Nov-2013 Deepanshu Gupta <deepanshu@google.com> Fix text size in Fake Action Bar

Merge f4800bc from frameworks/base

Issue: 11436018
Change-Id: Id74c11037cb43d01f6cd79126623c84edfc37aaf
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
03a057c1af9ca3f125c7924bf0b78da52223d8d3 06-Nov-2013 Deepanshu Gupta <deepanshu@google.com> Manual merge of changes from frameworks/base/tools

Manually merge of following changes:
9cb5f5b5233f2331748d108d71f4b685762f32a7
1cf5df38f4bdafa1beb2674ca548ad6d9650766b
083e3caf66c21f7cc9511db479726c38d90e2d2f
81f74f4bc96ea4266cebe1b785d095558f540800
39e75835399f4d979cf82069dae2bd1ec496fb81
272d1bce798a5fef42cc2ee31f629d00c89f66eb
45f5cd49fa898a59484edfd8e291dbe10df82db2

Change-Id: Ie21ca480ac117e16e28eb554474835b762ccb104
ayoutlib/bridge/resources/bars/hdpi/stat_sys_battery_charge_anim100.png
ayoutlib/bridge/resources/bars/hdpi/stat_sys_wifi_signal_4_fully.png
ayoutlib/bridge/resources/bars/mdpi/stat_sys_battery_charge_anim100.png
ayoutlib/bridge/resources/bars/mdpi/stat_sys_wifi_signal_4_fully.png
ayoutlib/bridge/resources/bars/status_bar.xml
ayoutlib/bridge/resources/bars/xhdpi/stat_sys_battery_charge_anim100.png
ayoutlib/bridge/resources/bars/xhdpi/stat_sys_wifi_signal_4_fully.png
ayoutlib/bridge/src/android/graphics/NinePatch_Delegate.java
ayoutlib/bridge/src/android/text/format/Time_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/view/WindowManagerImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/StatusBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
ayoutlib/bridge/src/libcore/icu/DateIntervalFormat_Delegate.java
ayoutlib/bridge/src/libcore/icu/ICU_Delegate.java
ayoutlib/create/.classpath
ayoutlib/create/README.txt
ayoutlib/create/src/com/android/tools/layoutlib/create/AbstractClassAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmGenerator.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
ayoutlib/create/src/com/android/tools/layoutlib/create/ICreateInfo.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
ayoutlib/create/src/com/android/tools/layoutlib/create/RefactorClassAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/create/RenameClassAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/java/AutoCloseable.java
ayoutlib/create/src/com/android/tools/layoutlib/java/Charsets.java
ayoutlib/create/src/com/android/tools/layoutlib/java/IntegralToString.java
ayoutlib/create/src/com/android/tools/layoutlib/java/Objects.java
ayoutlib/create/src/com/android/tools/layoutlib/java/UnsafeByteSequence.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/AsmAnalyzerTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/RenameClassAdapterTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/dataclass/JavaClass.java
ayoutlib/create/tests/data/mock_android.jar
ayoutlib/create/tests/data/mock_android.jardesc
ayoutlib/create/tests/mock_android/dummy/InnerTest.java
ayoutlib/create/tests/mock_android/view/View.java
ayoutlib/create/tests/mock_android/view/ViewGroup.java
ayoutlib/create/tests/mock_android/widget/LinearLayout.java
ayoutlib/create/tests/mock_android/widget/TableLayout.java
ayoutlib/create/tests/mock_data/java/lang/JavaClass.java
ayoutlib/create/tests/mock_data/mock_android/dummy/InnerTest.java
ayoutlib/create/tests/mock_data/mock_android/view/View.java
ayoutlib/create/tests/mock_data/mock_android/view/ViewGroup.java
ayoutlib/create/tests/mock_data/mock_android/widget/LinearLayout.java
ayoutlib/create/tests/mock_data/mock_android/widget/TableLayout.java
b30296b5fda75bf383c7ab3f567eb41820747869 29-Oct-2013 Elliott Hughes <enh@google.com> Re-apply several tools fixes lost by the directory rearrangement.

Leaks on error in tools/aapt/Images.cpp.
https://code.google.com/p/android/issues/detail?id=61552

Two missing fclose calls in tools/aapt/Resource.cpp.
https://code.google.com/p/android/issues/detail?id=61553

Missing fclose in tools/aidl/aidl.cpp.
https://code.google.com/p/android/issues/detail?id=61554

Change-Id: I56ce144958296961b77354815efc1a245564594b
apt/Images.cpp
apt/Resource.cpp
idl/aidl.cpp
2675f769673f69b0661ddee346292f25cb30a296 23-Oct-2013 Maurice Chu <mochu@google.com> Escape strings that are output by aapt dump badging

Also, changed getComponentName() to output a String8 object
instead of a const char * because the const char * is an internal
buffer of a String8 object which gets immediately destroyed
after returning from getComponentName().

Bug: 11329761
Change-Id: Ic459dec0ad3b20162c36de0ee492bcc022863b12
apt/Command.cpp
6fbaf6cfd8c85984c75ca2ef8c1dc8bde844bb07 21-Oct-2013 Satoshi Kataoka <satok@google.com> Update a test corresponding to I11ed9a767588f808

Change-Id: Ic802c075390f11fa4a5c14b8397a045b2dfec75c
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeIInputMethodManager.java
24e4f21e78ffb7a46db3e03add5df99da3f1c945 19-Oct-2013 Nick Kralevich <nnk@google.com> fix build.

In frameworks/base commit 1125235da15a5655e1fdf3b5f24df48dafccee90,
the IPowerManager interface was updated to add updateWakeLockUids,
but this file was not updated.

Fixed.

Change-Id: I8d5def02b7cadf5a154634bdff18cacb84b718f4
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java
8cf61845187e301dfc4f64b42921977d38766a34 18-Oct-2013 Adam Lesinski <adamlesinski@google.com> Prune unneeded density resources from APK

When a preferred density is specified, prune all but the
closest matching density when the exact density resource does not
exist.

If a preferred density resource does not exist and a higher density
resource exists, prune all but the resource with the next highest
density relative to the preferred density.

If a preferred density resource does not exist and there is no
higher density resource, prune all but the resource with the next
lowest density relative to the preferred density.

Manual merge of I99b3950fe3d8116a5625968ed383442315ae8526 from
frameworks/base/tools to frameworks/tools

bug:11224465
Change-Id: Idddf55dad27f114ffc429b61317c3a5b1435d808
apt/AaptAssets.cpp
76327314d2238e105f8b94909f9c0cf85caca318 17-Oct-2013 Maurice Chu <mochu@google.com> Fix aapt when outputting meta-data tag values

This fixes outputting string as well as not crashing when the
<meta-data> element has an "android:resource" attribute instead
of an "android:value" attribute.

Bug: 11255844
Change-Id: Iadb62b5dcb18ea3db8dbd2ba3241f489606d535d
apt/Command.cpp
f314dc01210d117959ae2a303d0311cd071ee927 15-Oct-2013 Satoshi Kataoka <satok@google.com> Update tests corresponding to I0e920ee79c526c3ae

Bug: 11035379
Bug: 5137498

Change-Id: Ief2a151bd83b75bf5b07d53b190a61f341541a21
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeIInputMethodManager.java
47dcb469db6e81b733a3f2eaa6bc4396ebfb3fd0 08-Oct-2013 Alan Viverette <alanv@google.com> Manual merge of e4ccb864 from frameworks/base/tools to frameworks/tools

Change-Id: I4893e72caf3dfd68bd503fd8daeabc8550d770a2
ayoutlib/bridge/src/android/view/IWindowManagerImpl.java
8ff15b4cada7998e78c93934ab2c869c322d7e07 08-Oct-2013 Adam Lesinski <adamlesinski@google.com> AAPT emits error for res with no 'default' product

Rather than ignoring resources that do not match the specified
product, we keep track of the ignored ones and make sure that
some variant of the resource that matches the product was processed.

bug:10860838
Change-Id: I7a35f37fda2c9561634f75323bd4cb2b9047e29b
apt/ResourceTable.cpp
492d16434acaaf050f676b6767fbf020fd6ff772 04-Oct-2013 John Reck <jreck@google.com> Update layoutlib

Change-Id: Ifafe5a47fbef7ff0894e679d04d71942eb8d1237
ayoutlib/bridge/src/android/view/IWindowManagerImpl.java
c363be85de7b6cd67762b0f7fb2392fe421c553e 03-Oct-2013 Marco Nelissen <marcone@google.com> Update fake powermanager to new interface

Change-Id: I6f14498d7002b4720293a1c77f4fbb66869c36fb
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java
29e746211878d5204e983ef1fc2812d444052f63 02-Oct-2013 Jim Miller <jaggies@google.com> resolved conflicts for merge of fb2e3c8d to master

Change-Id: I159b529adae04a33a965ec0d43fc9a47e82b6417
ayoutlib/bridge/src/android/view/IWindowManagerImpl.java
94fc9124f51f0a101cc11e4563f9c647980fe2aa 01-Oct-2013 Adam Lesinski <adamlesinski@google.com> resolved conflicts for merge of 0c923b7c to master

Change-Id: I4f314b48c7714706329509d931d2c53079f5e248
apt/Command.cpp
a5018c900f126ee8424c82497f32983873db741b 01-Oct-2013 Adam Lesinski <adamlesinski@google.com> resolved conflicts for merge of 5223a5ff to master

Change-Id: I6523e4b7df88f21fbe0ecd3ab8f493e5a9867305
apt/Command.cpp
e98d2cb65c0915d5278c593d14ff4bdc778557f7 11-Sep-2013 Deepanshu Gupta <deepanshu@google.com> Fix ClassCastException when rendering ListView

Bug: b.android.com/59300
Change-Id: I1e73910cf42de1b02f11cc77f575af9492320a19
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/AdapterHelper.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/AdapterItem.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/BaseAdapter.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/FakeAdapter.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/FakeExpandableAdapter.java
8732bd893ae507346dad068a33edcc4beb99faed 12-Sep-2013 Kenny Root <kroot@google.com> Add new getOpPackageName for BridgeContext

Change-Id: Ib39b0bd2d1eb794ae4565e54251e4355fa139a14
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
6ee095ba7a6ca31f0e92c34482ce8d1a5db084b3 12-Sep-2013 Jonathan Dixon <joth@google.com> Merge 'Preparation for deleting WebViewClassic'

Originally from I4d6773a88ea2932982278127a3c96d38be54ddf5

- file has move to a different git project in master, so manually
re-applied the diff that landed in klp-dev

Change-Id: I813210bd6160ab71c7a4dff9c221db31d8cc305c
ayoutlib/bridge/src/android/webkit/WebView.java
70f5cc1d5bb9c67781fa6e076e21547547301a3b 09-Sep-2013 Deepanshu Gupta <deepanshu@google.com> Add isPremultiplied option to Bitmap_Delegate in LayoutLib

Change-Id: I2398af48913682ec698389b695aa256204c8aa47
ayoutlib/bridge/src/android/graphics/BitmapFactory_Delegate.java
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
f6ee5fa3e2219e6c6ea56c4bdb7b5df528d336c4 09-Sep-2013 Narayan Kamath <narayan@google.com> Fix build, fallout from change 451f6b981a2cd

Change-Id: Id85d06221eccbda786721a05f3f6d9d94c1cbb74
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContentProvider.java
ec4fdec76f2916b91a69d979f400cd69a3812631 07-Sep-2013 Michael Wright <michaelwr@google.com> Add support for supports-input element to aapt

Change-Id: Ie8c8c44f126383c351f2ebb9ae7c3694fb0a9b16
apt/Command.cpp
859e19f97d481bf07c768087d8eb3031fac77aad 06-Sep-2013 John Reck <jreck@google.com> libpng usage tweaks

Bug: 10447005

Call png_set_interlace_handling explicitly instead of relying on
implicit handling that logs warnings

Include filename when printing warnings

Change-Id: Ia343427f5522dc8ab1010f8d7017e86f389caf99
apt/Images.cpp
19acfb8e873a04d42619d222c43eda95d259d0a5 05-Sep-2013 Deepanshu Gupta <deepanshu@google.com> Fix text rendering

There are still some errors
1. Little vertical clippping for extra tall glyphs.
2. Breaking into scripts isn't perfect which results in incorrect layout
of text.

Change-Id: Ib7b008b4ab5e689038678825289199aeb4bd815b
ayoutlib/bridge/src/android/graphics/BidiRenderer.java
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
ayoutlib/bridge/src/android/text/AndroidBidi_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/FontLoader.java
8930cb4f37ff0fbde65f7afd4bbe06ab77677f78 05-Sep-2013 Deepanshu Gupta <deepanshu@google.com> Fix layout rendering for RTL locales

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: Icbb57ee2ac7c6d8dfc34c2f04dce34d820b9b1ed
ayoutlib/bridge/.classpath
ayoutlib/bridge/Android.mk
ayoutlib/bridge/resources/bars/ldrtl-hdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/ldrtl-hdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/ldrtl-mdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/ldrtl-mdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/ldrtl-xhdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/ldrtl-xhdpi/ic_sysbar_recent.png
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/NavigationBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/StatusBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
7cce7bb5d8d68e78a414c176dc89a803f706c9ce 05-Sep-2013 Chet Haase <chet@google.com> Remove scenes from Resource.cpp

Part of the Transition API changes, except that the tools/ directory
got moved between klp and master, so re-making the same changes here.

Issue #10460684 KLP API Review: android.view.transition and android.animation

Change-Id: Icedca1dc689285b4b213f9376656b26f18c7f23e
apt/Resource.cpp
282e181b58cf72b6ca770dc7ca5f91f135444502 24-Jan-2014 Adam Lesinski <adamlesinski@google.com> Revert "Move frameworks/base/tools/ to frameworks/tools/"

This reverts commit 9f6a119c8aa276432ece4fe2118bd8a3c9b1067e.
apt/AaptAssets.cpp
apt/AaptAssets.h
apt/Android.mk
apt/Bundle.h
apt/CacheUpdater.h
apt/Command.cpp
apt/CrunchCache.cpp
apt/CrunchCache.h
apt/DirectoryWalker.h
apt/FileFinder.cpp
apt/FileFinder.h
apt/Images.cpp
apt/Images.h
apt/Main.cpp
apt/Main.h
apt/NOTICE
apt/Package.cpp
apt/Resource.cpp
apt/ResourceFilter.cpp
apt/ResourceFilter.h
apt/ResourceIdCache.cpp
apt/ResourceIdCache.h
apt/ResourceTable.cpp
apt/ResourceTable.h
apt/SourcePos.cpp
apt/SourcePos.h
apt/StringPool.cpp
apt/StringPool.h
apt/WorkQueue.cpp
apt/WorkQueue.h
apt/XMLNode.cpp
apt/XMLNode.h
apt/ZipEntry.cpp
apt/ZipEntry.h
apt/ZipFile.cpp
apt/ZipFile.h
apt/printapk.cpp
apt/pseudolocalize.cpp
apt/pseudolocalize.h
apt/qsort_r_compat.c
apt/qsort_r_compat.h
apt/tests/CrunchCache_test.cpp
apt/tests/FileFinder_test.cpp
apt/tests/MockCacheUpdater.h
apt/tests/MockDirectoryWalker.h
apt/tests/MockFileFinder.h
apt/tests/plurals/AndroidManifest.xml
apt/tests/plurals/res/values/strings.xml
apt/tests/plurals/run.sh
idl/AST.cpp
idl/AST.h
idl/Android.mk
idl/NOTICE
idl/Type.cpp
idl/Type.h
idl/aidl.cpp
idl/aidl_language.cpp
idl/aidl_language.h
idl/aidl_language_l.l
idl/aidl_language_y.y
idl/generate_java.cpp
idl/generate_java.h
idl/generate_java_binder.cpp
idl/generate_java_rpc.cpp
idl/options.cpp
idl/options.h
idl/options_test.cpp
idl/search_path.cpp
idl/search_path.h
ayoutlib/.gitignore
ayoutlib/Android.mk
ayoutlib/README
ayoutlib/bridge/.classpath
ayoutlib/bridge/.project
ayoutlib/bridge/.settings/README.txt
ayoutlib/bridge/.settings/org.eclipse.jdt.core.prefs
ayoutlib/bridge/Android.mk
ayoutlib/bridge/resources/bars/action_bar.xml
ayoutlib/bridge/resources/bars/hdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/hdpi/ic_sysbar_home.png
ayoutlib/bridge/resources/bars/hdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/hdpi/stat_sys_wifi_signal_4_fully.png
ayoutlib/bridge/resources/bars/hdpi/status_bar_background.9.png
ayoutlib/bridge/resources/bars/mdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/mdpi/ic_sysbar_home.png
ayoutlib/bridge/resources/bars/mdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/mdpi/stat_sys_wifi_signal_4_fully.png
ayoutlib/bridge/resources/bars/mdpi/status_bar_background.9.png
ayoutlib/bridge/resources/bars/navigation_bar.xml
ayoutlib/bridge/resources/bars/status_bar.xml
ayoutlib/bridge/resources/bars/title_bar.xml
ayoutlib/bridge/resources/bars/xhdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/xhdpi/ic_sysbar_home.png
ayoutlib/bridge/resources/bars/xhdpi/ic_sysbar_recent.png
ayoutlib/bridge/src/android/animation/AnimationThread.java
ayoutlib/bridge/src/android/animation/PropertyValuesHolder_Delegate.java
ayoutlib/bridge/src/android/app/Fragment_Delegate.java
ayoutlib/bridge/src/android/content/res/BridgeAssetManager.java
ayoutlib/bridge/src/android/content/res/BridgeResources.java
ayoutlib/bridge/src/android/content/res/BridgeTypedArray.java
ayoutlib/bridge/src/android/content/res/Resources_Theme_Delegate.java
ayoutlib/bridge/src/android/content/res/TypedArray_Delegate.java
ayoutlib/bridge/src/android/graphics/AvoidXfermode_Delegate.java
ayoutlib/bridge/src/android/graphics/BitmapFactory_Delegate.java
ayoutlib/bridge/src/android/graphics/BitmapShader_Delegate.java
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
ayoutlib/bridge/src/android/graphics/BlurMaskFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/ColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/ColorMatrixColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/ComposePathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/ComposeShader_Delegate.java
ayoutlib/bridge/src/android/graphics/CornerPathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/DashPathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/DiscretePathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/DrawFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/EmbossMaskFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/Gradient_Delegate.java
ayoutlib/bridge/src/android/graphics/LayerRasterizer_Delegate.java
ayoutlib/bridge/src/android/graphics/LightingColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/LinearGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/MaskFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/Matrix_Delegate.java
ayoutlib/bridge/src/android/graphics/NinePatch_Delegate.java
ayoutlib/bridge/src/android/graphics/PaintFlagsDrawFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
ayoutlib/bridge/src/android/graphics/PathDashPathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/PathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/Path_Delegate.java
ayoutlib/bridge/src/android/graphics/PixelXorXfermode_Delegate.java
ayoutlib/bridge/src/android/graphics/PorterDuffColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/PorterDuffXfermode_Delegate.java
ayoutlib/bridge/src/android/graphics/RadialGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/Rasterizer_Delegate.java
ayoutlib/bridge/src/android/graphics/Region_Delegate.java
ayoutlib/bridge/src/android/graphics/Shader_Delegate.java
ayoutlib/bridge/src/android/graphics/SumPathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/SweepGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/Typeface_Accessor.java
ayoutlib/bridge/src/android/graphics/Typeface_Delegate.java
ayoutlib/bridge/src/android/graphics/Xfermode_Delegate.java
ayoutlib/bridge/src/android/os/Build_Delegate.java
ayoutlib/bridge/src/android/os/HandlerThread_Delegate.java
ayoutlib/bridge/src/android/os/Handler_Delegate.java
ayoutlib/bridge/src/android/os/Looper_Accessor.java
ayoutlib/bridge/src/android/os/ServiceManager.java
ayoutlib/bridge/src/android/os/SystemClock_Delegate.java
ayoutlib/bridge/src/android/text/AndroidBidi_Delegate.java
ayoutlib/bridge/src/android/text/format/DateFormat_Delegate.java
ayoutlib/bridge/src/android/util/BridgeXmlPullAttributes.java
ayoutlib/bridge/src/android/util/FloatMath_Delegate.java
ayoutlib/bridge/src/android/util/Log_Delegate.java
ayoutlib/bridge/src/android/util/LruCache.java
ayoutlib/bridge/src/android/view/AttachInfo_Accessor.java
ayoutlib/bridge/src/android/view/BridgeInflater.java
ayoutlib/bridge/src/android/view/Choreographer_Delegate.java
ayoutlib/bridge/src/android/view/Display_Delegate.java
ayoutlib/bridge/src/android/view/IWindowManagerImpl.java
ayoutlib/bridge/src/android/view/LayoutInflater_Delegate.java
ayoutlib/bridge/src/android/view/SurfaceView.java
ayoutlib/bridge/src/android/view/ViewConfiguration_Accessor.java
ayoutlib/bridge/src/android/view/ViewRootImpl_Delegate.java
ayoutlib/bridge/src/android/view/View_Delegate.java
ayoutlib/bridge/src/android/view/WindowManagerGlobal_Delegate.java
ayoutlib/bridge/src/android/view/accessibility/AccessibilityManager.java
ayoutlib/bridge/src/android/view/inputmethod/InputMethodManager_Accessor.java
ayoutlib/bridge/src/android/view/inputmethod/InputMethodManager_Delegate.java
ayoutlib/bridge/src/android/webkit/WebView.java
ayoutlib/bridge/src/com/android/internal/policy/PolicyManager.java
ayoutlib/bridge/src/com/android/internal/textservice/ITextServicesManager_Stub_Delegate.java
ayoutlib/bridge/src/com/android/internal/util/XmlUtils_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeConstants.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeRenderSession.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/MockView.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContentProvider.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContentResolver.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeIInputMethodManager.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeLayoutParamsMapAttributes.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindow.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowSession.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParser.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/view/WindowManagerImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/FakeActionBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/NavigationBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/StatusBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/TitleBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/DelegateManager.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/FontLoader.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/GcSnapshot.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/ParserFactory.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/PlayAnimationThread.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderDrawable.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/Stack.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/BaseAdapter.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/FakeAdapter.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/FakeExpandableAdapter.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/util/Debug.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/util/DynamicIdMap.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/util/SparseWeakArray.java
ayoutlib/bridge/src/com/google/android/maps/MapView.java
ayoutlib/bridge/src/libcore/icu/ICU_Delegate.java
ayoutlib/bridge/tests/.classpath
ayoutlib/bridge/tests/.project
ayoutlib/bridge/tests/Android.mk
ayoutlib/bridge/tests/res/com/android/layoutlib/testdata/layout1.xml
ayoutlib/bridge/tests/src/android/graphics/Matrix_DelegateTest.java
ayoutlib/bridge/tests/src/com/android/layoutlib/bridge/TestDelegates.java
ayoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParserTest.java
ayoutlib/create/.classpath
ayoutlib/create/.project
ayoutlib/create/.settings/README.txt
ayoutlib/create/.settings/org.eclipse.jdt.core.prefs
ayoutlib/create/Android.mk
ayoutlib/create/README.txt
ayoutlib/create/manifest.txt
ayoutlib/create/src/com/android/tools/layoutlib/annotations/LayoutlibDelegate.java
ayoutlib/create/src/com/android/tools/layoutlib/annotations/Nullable.java
ayoutlib/create/src/com/android/tools/layoutlib/annotations/VisibleForTesting.java
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmGenerator.java
ayoutlib/create/src/com/android/tools/layoutlib/create/ClassHasNativeVisitor.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
ayoutlib/create/src/com/android/tools/layoutlib/create/DelegateClassAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/create/DelegateMethodAdapter2.java
ayoutlib/create/src/com/android/tools/layoutlib/create/DependencyFinder.java
ayoutlib/create/src/com/android/tools/layoutlib/create/ICreateInfo.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Log.java
ayoutlib/create/src/com/android/tools/layoutlib/create/LogAbortException.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
ayoutlib/create/src/com/android/tools/layoutlib/create/MethodAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/create/MethodListener.java
ayoutlib/create/src/com/android/tools/layoutlib/create/OverrideMethod.java
ayoutlib/create/src/com/android/tools/layoutlib/create/RenameClassAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/create/StubMethodAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/create/TransformClassAdapter.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/AsmAnalyzerTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/ClassHasNativeVisitorTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/DelegateClassAdapterTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/LogTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/MockLog.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/RenameClassAdapterTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/dataclass/ClassWithNative.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/dataclass/ClassWithNative_Delegate.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/dataclass/OuterClass.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/dataclass/OuterClass_Delegate.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/dataclass/OuterClass_InnerClass_Delegate.java
ayoutlib/create/tests/data/mock_android.jar
ayoutlib/create/tests/data/mock_android.jardesc
ayoutlib/create/tests/mock_android/dummy/InnerTest.java
ayoutlib/create/tests/mock_android/view/View.java
ayoutlib/create/tests/mock_android/view/ViewGroup.java
ayoutlib/create/tests/mock_android/widget/LinearLayout.java
ayoutlib/create/tests/mock_android/widget/TableLayout.java
bbtool/Android.mk
bbtool/Main.cpp
bbtool/mkobb.sh
bbtool/pbkdf2gen.cpp
rientationplot/README.txt
rientationplot/orientationplot.py
reload/20080522.compiled
reload/20090811.compiled
reload/20100223.compiled
reload/Android.mk
reload/Compile.java
reload/LoadedClass.java
reload/MemoryUsage.java
reload/Operation.java
reload/Policy.java
reload/PrintCsv.java
reload/PrintHtmlDiff.java
reload/PrintPsTree.java
reload/Proc.java
reload/Record.java
reload/Root.java
reload/WritePreloadedClassFile.java
reload/loadclass/Android.mk
reload/loadclass/LoadClass.java
reload/preload.iml
reload/preload.ipr
reload/sorttable.js
alidatekeymaps/Android.mk
alidatekeymaps/Main.cpp
elocityplot/velocityplot.py
ebd43d46ebf53005ae60af59948f8ed634f9bafb 27-Jan-2014 Narayan Kamath <narayan@google.com> am dff83e2b: am d5970e9c: Merge "AssetManager cookies should be int32_t and not void*."

* commit 'dff83e2b121b356a264e908f8a7d64584eab9b73':
AssetManager cookies should be int32_t and not void*.
745d4efc8369d255341d810790132660e33d3b61 27-Jan-2014 Narayan Kamath <narayan@google.com> AssetManager cookies should be int32_t and not void*.

Cookies are really indices into vectors and arrays, so
they don't need to be void*. We choose int32_t instead
of size_t to allow their width to be well specified.

(cherry picked from commit ebfdd0f467e39c3af8d92cade78263935340acb7)
(cherry picked from commit a7fa2e592e2e579e5acdb903dba83fc074ebc215)
(cherry picked from commit a9d5701b034ed2d9771b3f0943e1add00741d7cd)

Change-Id: I2aed3db568b6fdc487bf99e2c5dd123206736fda
apt/Command.cpp
09384303dea4f3f01d5682918d7bab9bf83a02b1 23-Jan-2014 Adam Lesinski <adamlesinski@google.com> Add support for multiple asset dirs (-A)

Bug: 12608034
Change-Id: I02c5a1a73b83498d799570428cca3dd914f8ac11
apt/AaptAssets.cpp
apt/AaptAssets.h
apt/Bundle.h
apt/Command.cpp
apt/Main.cpp
35d56c0d67537e56fafebd8edf790026644fe8de 21-Jan-2014 Deepanshu Gupta <deepanshu@google.com> Optimize layout rendering in layoutlib

The height of a layout should be zero if it is assigned a layout_weight.
This way, the layout is measured only once and prevents spurious errors.

Bug: https://code.google.com/p/android/issues/detail?id=58398
Change-Id: If49a7480e5eb82cb86780e00f2f5b65ee053fc2a
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
58037a4404e639d28695a0f1c17053b53b96b970 16-Jan-2014 Deepanshu Gupta <deepanshu@google.com> Add missing files to fix libphonenumber for layoutlib.

Change-Id: I8102da6c1c4625e887293a8823770d199521c53f
ayoutlib/Android.mk
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmGenerator.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/AsmAnalyzerTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
ayoutlib/create/tests/data/mock_android.jar
ayoutlib/create/tests/mock_data/mock_android/data/anotherDataFile
ayoutlib/create/tests/mock_data/mock_android/data/dataFile
5ad7c183f39df43562c69aba21ea422ad69bdae0 07-Jan-2014 Deepanshu Gupta <deepanshu@google.com> Fix the measurement of text bounds.

Bug: 12366230
Change-Id: I203b678363dc7b688c744503ee10216baca658a9
ayoutlib/bridge/src/android/graphics/BidiRenderer.java
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
39d7630234127327d71a773dd563067989da4211 18-Dec-2013 Narayan Kamath <narayan@google.com> am 3da645f3: Merge "Don\'t pseudolocalize untranslatable strings."

* commit '3da645f307695949623d78f280ce12e932eb057c':
Don't pseudolocalize untranslatable strings.
3da645f307695949623d78f280ce12e932eb057c 18-Dec-2013 Narayan Kamath <narayan@google.com> Merge "Don't pseudolocalize untranslatable strings."
336bf2fb497fece49a874da2ca2e11572446d1d1 11-Dec-2013 Narayan Kamath <narayan@google.com> am d21752df: Merge "Reimplement ZipFileRO in terms of libziparchive."

* commit 'd21752dff45c7d8856e63026cfddc303a302df14':
Reimplement ZipFileRO in terms of libziparchive.
d21752dff45c7d8856e63026cfddc303a302df14 11-Dec-2013 Narayan Kamath <narayan@google.com> Merge "Reimplement ZipFileRO in terms of libziparchive."
7e1b8ff3e15b35b92978e572ccbfbc47cedce242 10-Dec-2013 Narayan Kamath <narayan@google.com> Don't pseudolocalize untranslatable strings.

bug: https://code.google.com/p/android/issues/detail?id=63004
Change-Id: I8e47a53d887144dc867111e42313d0e113b83ea1
apt/ResourceTable.cpp
afd31e08299008fdc5c2813f21b2573f29dc53df 03-Dec-2013 Narayan Kamath <narayan@google.com> Reimplement ZipFileRO in terms of libziparchive.

This lets us share zip archive processing code with both
the runtime (Art, dalvik) and critical java code
(StrictJarFile).

This change also moves several utility methods to ZipUtils
and dedups code across several zip inflation methods.

One of the side effects of this change is that several
processing loops are now O(n) instead of O(n^2).

bug: 10193060

Change-Id: I3c7188496837a47246c4f342e45485a70fef3169
apt/Android.mk
1d3205f62a75b92cda1b10f3151234741e4e708b 27-Nov-2013 Xavier Ducrohet <xav@google.com> am b6f3708d: am 1044a1dc: Merge "Update delegate methods in layoutlib." into klp-dev

* commit 'b6f3708d330872232a6a57a1a5c0d2243fd7419e':
Update delegate methods in layoutlib.
24541255c312ee34f9bf17eb5852cdffd4807065 26-Nov-2013 Deepanshu Gupta <deepanshu@google.com> Update delegate methods in layoutlib.

Change-Id: I1f0fc274b6a74dbcf0ed46175c4a2fa4c2dd9a63
ayoutlib/bridge/src/android/graphics/BitmapFactory_Delegate.java
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
ayoutlib/bridge/src/android/graphics/NinePatch_Delegate.java
ayoutlib/bridge/src/android/graphics/Path_Delegate.java
ayoutlib/bridge/src/libcore/icu/DateIntervalFormat_Delegate.java
dbccd44a638ae8705a5b14bff8b2dd74abc26045 22-Nov-2013 The Android Open Source Project <initial-contribution@android.com> Merge commit 'b873a17ce7be0a9771c24999adca6964431728f6' into HEAD

Change-Id: I938755073e70602cc8f51ce9bd420fdcf870cecd
bdfa8a1ae0a4d10abd14cffb93f629803e469464 19-Nov-2013 Deepanshu Gupta <deepanshu@google.com> am 5a0fd1fd: am 9d5a9434: Merge "Update ICU_Delegate methods. DO NOT MERGE" into klp-dev

* commit '5a0fd1fd0fb5d734bf65d26e56e413dba2821b07':
Update ICU_Delegate methods. DO NOT MERGE
0baec410c29206dc72d9f5afba5d45827e62c00c 13-Nov-2013 Deepanshu Gupta <deepanshu@google.com> Update ICU_Delegate methods. DO NOT MERGE

Bug: 11435966
Change-Id: Ib8ed2011fe62b2496795075b33b9ca7d5907b87a
ayoutlib/bridge/src/libcore/icu/ICU_Delegate.java
5b95025059f0925ad8d11bf503eb2acb4cc63228 18-Nov-2013 Deepanshu Gupta <deepanshu@google.com> am ea04da7a: am 9570ed56: Merge "Add libphonenumber to layoutlib.jar. DO NOT MERGE" into klp-dev

* commit 'ea04da7a183b526cdc79366822e4fc794d28cbd2':
Add libphonenumber to layoutlib.jar. DO NOT MERGE
f6ee0805706531ee0e899778a16bec71b5f18ce5 18-Nov-2013 Deepanshu Gupta <deepanshu@google.com> am 42453ede: am 599105a9: Merge "Fix NPE in layoutlib. DO NOT MERGE" into klp-dev

* commit '42453ede3335aa5f7007a5b36749e84df83a08d4':
Fix NPE in layoutlib. DO NOT MERGE
f7400aa1da0b3604dbb5fc1bf4b4242a8e65e860 13-Nov-2013 Deepanshu Gupta <deepanshu@google.com> am 6870d29c: am 78cfdf31: Update changed delegate method in Bitmap_Delegate. DO NOT MERGE

* commit '6870d29c340008919dcd9e547236b74301b3b9ef':
Update changed delegate method in Bitmap_Delegate. DO NOT MERGE
1f92d7fc0ffa72d7db93244c29a1a6575bb4b318 13-Nov-2013 Deepanshu Gupta <deepanshu@google.com> Add libphonenumber to layoutlib.jar. DO NOT MERGE

Issue: http://b.android.com/59497
Change-Id: Ief11e602703b6041db66241f1699cc1de72e65a5
ayoutlib/Android.mk
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
d0581d271e814670d81a6550aa7b1e86864d5710 12-Nov-2013 Deepanshu Gupta <deepanshu@google.com> Fix NPE in layoutlib. DO NOT MERGE

Change-Id: I36623304d83b344ea078044001577b8005a63c02
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
78cfdf31b7c48589ea3a148ec1d6d573235bc06b 11-Nov-2013 Deepanshu Gupta <deepanshu@google.com> Update changed delegate method in Bitmap_Delegate. DO NOT MERGE

Issue: https://code.google.com/p/android/issues/detail?id=60167
Change-Id: I3e1d6b9d52ca899889ba758b0ea91bd742cf5005
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
bf581034f9771fd67ea796e91ce28787c33fbb82 13-Nov-2013 Craig Mautner <cmautner@google.com> am 679ba4e8: am 6cd206b2: Merge "Relayout windows that handle their own config change." into klp-dev

* commit '679ba4e86e4fecb6dbfe48d6c49205c32f995a1c':
Relayout windows that handle their own config change.
5d9f547720e07a2715d34320a9e11004654cede6 12-Nov-2013 Craig Mautner <cmautner@google.com> Relayout windows that handle their own config change.

If a window claims to handle its own configuration change then we
won't destroy and recreate its window on a configuration change.
Normally that recreation triggers the first layout following
orientation change because mHaveFrame is false. Windows that handle
their own configuration changes never got a relayout pass following a
change in orientation.

This change passes the configuration changes that an application
handles into the AppWindowToken. If the app says it handles
orientation or screen size changes then a relayout will occur when the
configuration has changed.

Fixes bug 11647107.

Change-Id: Ie8d49fd050442ebbdcf0b805087894e3a2fc4be9
ayoutlib/bridge/src/android/view/IWindowManagerImpl.java
35631bccd4f58cc1fbb4d79d1890fbf1ff59dbc2 11-Nov-2013 Deepanshu Gupta <deepanshu@google.com> am 76b715e5: am e45d8b2d: Merge "Fix text size in Fake Action Bar" into klp-dev

* commit '76b715e556a110d4aa1fec0d4de195e18def8295':
Fix text size in Fake Action Bar
f4800bc3b122828d61a34caecbf782eee170ae59 08-Nov-2013 Deepanshu Gupta <deepanshu@google.com> Fix text size in Fake Action Bar

The density multiplier was being applied twice to the title text in
the fake action bar.

Bug: 11436018
Change-Id: Id74c11037cb43d01f6cd79126623c84edfc37aaf
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ed84dea928a5a830a19b5bcab7ad05a7e92f3279 29-Oct-2013 Elliott Hughes <enh@google.com> am 8f592378: am 69920427: Merge "Fix a variety of small publicly-reported bugs."

* commit '8f592378a1ea7f31d57253dc202f42707ef4da36':
Fix a variety of small publicly-reported bugs.
8f592378a1ea7f31d57253dc202f42707ef4da36 29-Oct-2013 Elliott Hughes <enh@google.com> am 69920427: Merge "Fix a variety of small publicly-reported bugs."

* commit '69920427ea01421d34f3a7576bdd135527b20859':
Fix a variety of small publicly-reported bugs.
c367d48c55e5a3fa0df14fd62889e4bb6b63cb01 29-Oct-2013 Elliott Hughes <enh@google.com> Fix a variety of small publicly-reported bugs.

Possible NULL dereference in cmds/bootanimation/BootAnimation.cpp.
https://code.google.com/p/android/issues/detail?id=61556

Missing fclose in core/jni/android_os_Debug.cpp.
https://code.google.com/p/android/issues/detail?id=61546

Bad loop guards in core/jni/android_util_Process.cpp.
https://code.google.com/p/android/issues/detail?id=61557

Assignment to wrong variable in libs/androidfw/AssetManager.cpp.
https://code.google.com/p/android/issues/detail?id=61560

Missing delete[]s in libs/androidfw/ObbFile.cpp.
https://code.google.com/p/android/issues/detail?id=61549

Leaks on error in tools/aapt/Images.cpp.
https://code.google.com/p/android/issues/detail?id=61552

Two missing fclose calls in tools/aapt/Resource.cpp.
https://code.google.com/p/android/issues/detail?id=61553

Missing fclose in tools/aidl/aidl.cpp.
https://code.google.com/p/android/issues/detail?id=61554

Change-Id: I5820f3824e72d07a9acb776cf0af3e7443f5694a
apt/Images.cpp
apt/Resource.cpp
idl/aidl.cpp
a22010ebe533aafe1b3d488128f3df757f306dd0 26-Oct-2013 Marco Nelissen <marcone@google.com> am d19385bf: am 21657181: Merge "Add a method to set a list of uids for a wake lock" into klp-dev

* commit 'd19385bf58225069c8ea0a7ce5075ed28861b039':
Add a method to set a list of uids for a wake lock
738ffdc9da55db3127146df1b3fcb15b5163a335 16-Oct-2013 Marco Nelissen <marcone@google.com> Add a method to set a list of uids for a wake lock

Cherrypicked from master.

b/9464621

Change-Id: Ia6a9d36d55129ae87d3ec070fbf10dc02f4b6cb4
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java
91b47365f68e29467912ddfa39dea30e661aff68 18-Oct-2013 Adam Lesinski <adamlesinski@google.com> am 16e8c4f7: am 7d292145: Merge "Prune unneeded density resources from APK" into klp-dev

* commit '16e8c4f7db87d743410751410c7f761350792fe2':
Prune unneeded density resources from APK
7d292145f1266b9ba4a231498c84265ad5193bdc 18-Oct-2013 Adam Lesinski <adamlesinski@google.com> Merge "Prune unneeded density resources from APK" into klp-dev
02b6e6b19115a93786ed732c39a2d363214fa2f2 18-Oct-2013 Deepanshu Gupta <deepanshu@google.com> am 5a6541eb: am b4f33d8f: Merge "Layoutlib Create: Remove references to java package class Objects." into klp-dev

* commit '5a6541ebc787c5a54e89c0bf65f029660778736a':
Layoutlib Create: Remove references to java package class Objects.
45f5cd49fa898a59484edfd8e291dbe10df82db2 18-Oct-2013 Deepanshu Gupta <deepanshu@google.com> Layoutlib Create: Remove references to java package class Objects.

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
ayoutlib/create/README.txt
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
ayoutlib/create/src/com/android/tools/layoutlib/java/Objects.java
d32ebf574402cf3aac944aa6fb78c0f3b942a3db 18-Oct-2013 Deepanshu Gupta <deepanshu@google.com> am ddc069cb: am 6c3a638d: Merge "Fix layoutlib for KK" into klp-dev

* commit 'ddc069cbb0a7edd289f4920ab42dca7e8111a359':
Fix layoutlib for KK
188d519ec57a9ad53262699a381b9ce13bf84e47 18-Oct-2013 Deepanshu Gupta <deepanshu@google.com> am e1abede3: am 29cf698d: Merge "Layoutlib: Add DateIntervalFormat_Delegate required by CalendarView" into klp-dev

* commit 'e1abede32fc913098b7c449e3369eb1d5bda77e2':
Layoutlib: Add DateIntervalFormat_Delegate required by CalendarView
6c3a638dd852634097447ca7fea9210539529110 18-Oct-2013 Deepanshu Gupta <deepanshu@google.com> Merge "Fix layoutlib for KK" into klp-dev
272d1bce798a5fef42cc2ee31f629d00c89f66eb 17-Oct-2013 Deepanshu Gupta <deepanshu@google.com> Layoutlib: Add DateIntervalFormat_Delegate required by CalendarView

Change-Id: Ica79267a4eb231db833cb0232cfacf419fe73de3
ayoutlib/bridge/src/libcore/icu/DateIntervalFormat_Delegate.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
814ea4f8fdf316d1e648780b016b3112b9020061 17-Oct-2013 Deepanshu Gupta <deepanshu@google.com> am 0b447eb8: am 4fc655dd: am 873c76d0: am fb1ee08c: am a49c3585: Merge "Fix CalendarView to show the right month and year label." into jb-mr2-dev

* commit '0b447eb8c68769333228791d077e1bdf8779f22f':
Fix CalendarView to show the right month and year label.
6db169c24943b24614f0fb7273223c79b133add1 17-Oct-2013 Deepanshu Gupta <deepanshu@google.com> am c9f65589: am 38d097b6: am 92a80b18: am 9b827a7d: am ec555902: Merge "Layoutlib: Update the wifi icon in the status bar." into jb-mr2-dev

* commit 'c9f65589a98ae348d2d31296bda4d739e8515335':
Layoutlib: Update the wifi icon in the status bar.
a741163d61e1799c15dc08f69ba24798799fdd89 17-Oct-2013 Deepanshu Gupta <deepanshu@google.com> am 4567ec02: am ca429e08: am 9568ad39: am 94e5ada7: am 81f74f4b: Fix DatePicker and Calendar widget in layoutlib.

* commit '4567ec02c468423351c56bcc587032577004735d':
Fix DatePicker and Calendar widget in layoutlib.
e636469fb52bbe6f21cf9894e5b1de7bb899eba6 17-Oct-2013 Deepanshu Gupta <deepanshu@google.com> am a30efb5b: am 198537c2: am 7dc35060: am df076962: am 1cf5df38: Layoutlib Create: Remove references to non-std Java classes.

* commit 'a30efb5b7034236020bcb1ef4787f1517f7995df':
Layoutlib Create: Remove references to non-std Java classes.
4fc655dd03acdf2251084568e7e5b8556f425912 17-Oct-2013 Deepanshu Gupta <deepanshu@google.com> am 873c76d0: am fb1ee08c: am a49c3585: Merge "Fix CalendarView to show the right month and year label." into jb-mr2-dev

* commit '873c76d0475def6f89fe02458828a549a7a7b5a2':
Fix CalendarView to show the right month and year label.
38d097b6d1102760cf25eee3d39cb687b8f7cf80 17-Oct-2013 Deepanshu Gupta <deepanshu@google.com> am 92a80b18: am 9b827a7d: am ec555902: Merge "Layoutlib: Update the wifi icon in the status bar." into jb-mr2-dev

* commit '92a80b1830082d109be4902c357424535305130d':
Layoutlib: Update the wifi icon in the status bar.
ca429e08fea319fa1baf527a6f12619be53afe34 17-Oct-2013 Deepanshu Gupta <deepanshu@google.com> am 9568ad39: am 94e5ada7: am 81f74f4b: Fix DatePicker and Calendar widget in layoutlib.

* commit '9568ad393194cbd42866e64dada88207b44462a6':
Fix DatePicker and Calendar widget in layoutlib.
198537c22cd88d837195c25d14c6220ca27b24f2 17-Oct-2013 Deepanshu Gupta <deepanshu@google.com> am 7dc35060: am df076962: am 1cf5df38: Layoutlib Create: Remove references to non-std Java classes.

* commit '7dc35060a828c473dcc75d13d31edaa75768a40f':
Layoutlib Create: Remove references to non-std Java classes.
873c76d0475def6f89fe02458828a549a7a7b5a2 17-Oct-2013 Deepanshu Gupta <deepanshu@google.com> am fb1ee08c: am a49c3585: Merge "Fix CalendarView to show the right month and year label." into jb-mr2-dev

* commit 'fb1ee08ca4424969c148760937d18ec0e3de206c':
Fix CalendarView to show the right month and year label.
92a80b1830082d109be4902c357424535305130d 17-Oct-2013 Deepanshu Gupta <deepanshu@google.com> am 9b827a7d: am ec555902: Merge "Layoutlib: Update the wifi icon in the status bar." into jb-mr2-dev

* commit '9b827a7d6dcb8c60411a24e2c8970f3fc24f0380':
Layoutlib: Update the wifi icon in the status bar.
9568ad393194cbd42866e64dada88207b44462a6 17-Oct-2013 Deepanshu Gupta <deepanshu@google.com> am 94e5ada7: am 81f74f4b: Fix DatePicker and Calendar widget in layoutlib.

* commit '94e5ada7d629f125262fcc052cf15355a34a678a':
Fix DatePicker and Calendar widget in layoutlib.
7dc35060a828c473dcc75d13d31edaa75768a40f 17-Oct-2013 Deepanshu Gupta <deepanshu@google.com> am df076962: am 1cf5df38: Layoutlib Create: Remove references to non-std Java classes.

* commit 'df0769628e2bfcefb5f78375b74775b3a825ca9f':
Layoutlib Create: Remove references to non-std Java classes.
a49c3585762ab7543d1f2445a7460d26ccb51538 17-Oct-2013 Deepanshu Gupta <deepanshu@google.com> Merge "Fix CalendarView to show the right month and year label." into jb-mr2-dev
ec555902169b9c64163abddf079a6a81f6fcafb4 17-Oct-2013 Deepanshu Gupta <deepanshu@google.com> Merge "Layoutlib: Update the wifi icon in the status bar." into jb-mr2-dev
39e75835399f4d979cf82069dae2bd1ec496fb81 17-Oct-2013 Deepanshu Gupta <deepanshu@google.com> Fix layoutlib for KK

Fix a NPE, update the native methods for NinePatch and update an ICU
method to return the right value as required by DatePicker widget.

Bug: 11140701
Change-Id: Id92fc5359acf6dde1bcdbc781aaf637fdb6eecbf
ayoutlib/bridge/src/android/graphics/NinePatch_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/view/WindowManagerImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
ayoutlib/bridge/src/libcore/icu/ICU_Delegate.java
81f74f4bc96ea4266cebe1b785d095558f540800 13-Oct-2013 Deepanshu Gupta <deepanshu@google.com> Fix DatePicker and Calendar widget in layoutlib.

Issue: https://code.google.com/p/android/issues/detail?id=59732
Change-Id: I281b3fdad88c591281a3645592c84f3e2cb61d09
ayoutlib/bridge/src/libcore/icu/ICU_Delegate.java
083e3caf66c21f7cc9511db479726c38d90e2d2f 15-Oct-2013 Deepanshu Gupta <deepanshu@google.com> Fix CalendarView to show the right month and year label.

Change-Id: I95431f1054678d4192bd1621c1f69b29268f55e9
ayoutlib/bridge/src/android/text/format/Time_Delegate.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
1cf5df38f4bdafa1beb2674ca548ad6d9650766b 11-Sep-2013 Deepanshu Gupta <deepanshu@google.com> Layoutlib Create: Remove references to non-std Java classes.

Do not add the non-standard Java classes. Updates the references to all
non-standard classes to new classes in
com.android.tools.layoulib.create package. This also treats
java.lang.AutoCloseable which is part of Java 7 similarly so that we can
still run on Java 6.

Change-Id: Iac5b272652e2780c9bb72d19f415d150948ca589
ayoutlib/create/.classpath
ayoutlib/create/README.txt
ayoutlib/create/src/com/android/tools/layoutlib/create/AbstractClassAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmGenerator.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
ayoutlib/create/src/com/android/tools/layoutlib/create/ICreateInfo.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
ayoutlib/create/src/com/android/tools/layoutlib/create/RefactorClassAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/create/RenameClassAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/java/AutoCloseable.java
ayoutlib/create/src/com/android/tools/layoutlib/java/Charsets.java
ayoutlib/create/src/com/android/tools/layoutlib/java/IntegralToString.java
ayoutlib/create/src/com/android/tools/layoutlib/java/UnsafeByteSequence.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/AsmAnalyzerTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/RenameClassAdapterTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/dataclass/JavaClass.java
ayoutlib/create/tests/data/mock_android.jar
ayoutlib/create/tests/data/mock_android.jardesc
ayoutlib/create/tests/mock_android/dummy/InnerTest.java
ayoutlib/create/tests/mock_android/view/View.java
ayoutlib/create/tests/mock_android/view/ViewGroup.java
ayoutlib/create/tests/mock_android/widget/LinearLayout.java
ayoutlib/create/tests/mock_android/widget/TableLayout.java
ayoutlib/create/tests/mock_data/java/lang/JavaClass.java
ayoutlib/create/tests/mock_data/mock_android/dummy/InnerTest.java
ayoutlib/create/tests/mock_data/mock_android/view/View.java
ayoutlib/create/tests/mock_data/mock_android/view/ViewGroup.java
ayoutlib/create/tests/mock_data/mock_android/widget/LinearLayout.java
ayoutlib/create/tests/mock_data/mock_android/widget/TableLayout.java
9438c2df133710ea2364e817cfd237f7a3d69ab1 16-Oct-2013 Adam Lesinski <adamlesinski@google.com> Prune unneeded density resources from APK

When a preferred density is specified, prune all but the
closest matching density when the exact density resource does not
exist.

If a preferred density resource does not exist and a higher density
resource exists, prune all but the resource with the next highest
density relative to the preferred density.

If a preferred density resource does not exist and there is no
higher density resource, prune all but the resource with the next
lowest density relative to the preferred density.

bug:11224465
Change-Id: I99b3950fe3d8116a5625968ed383442315ae8526
apt/AaptAssets.cpp
9cb5f5b5233f2331748d108d71f4b685762f32a7 13-Oct-2013 Deepanshu Gupta <deepanshu@google.com> Layoutlib: Update the wifi icon in the status bar.

Issue: https://code.google.com/p/android/issues/detail?id=60993

Change-Id: Ia43ed40b42c79f67dcd5809b827d4fecbc823c25
ayoutlib/bridge/resources/bars/hdpi/stat_sys_battery_charge_anim100.png
ayoutlib/bridge/resources/bars/hdpi/stat_sys_wifi_signal_4_fully.png
ayoutlib/bridge/resources/bars/mdpi/stat_sys_battery_charge_anim100.png
ayoutlib/bridge/resources/bars/mdpi/stat_sys_wifi_signal_4_fully.png
ayoutlib/bridge/resources/bars/status_bar.xml
ayoutlib/bridge/resources/bars/xhdpi/stat_sys_battery_charge_anim100.png
ayoutlib/bridge/resources/bars/xhdpi/stat_sys_wifi_signal_4_fully.png
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/StatusBar.java
e4ccb864e8b16d31c158f7cd3bab7e6d8e346d3e 08-Oct-2013 Alan Viverette <alanv@google.com> am 1bdbdfbe: am 6930d380: Merge "Ignore certain WindowManager flags when touch exploration is enabled" into klp-dev

* commit '1bdbdfbe6a48113bff2069c8eaf9835f9fd8c9bb':
Ignore certain WindowManager flags when touch exploration is enabled
6930d3805e1f0e770c636b8419a105bc19919048 08-Oct-2013 Alan Viverette <alanv@google.com> Merge "Ignore certain WindowManager flags when touch exploration is enabled" into klp-dev
f2163cb0d1b5a0c4b24c9140d226ef02ae77678a 08-Oct-2013 Adam Lesinski <adamlesinski@google.com> am ea4e0751: am c884fc9f: Merge "AAPT emits error for res with no \'default\' product" into klp-dev

* commit 'ea4e07518cd1844b1654175ef27cf9501e0dd7eb':
AAPT emits error for res with no 'default' product
5a0f4eccfb1e1774c4aac825bf39bcc4f5fc00e0 08-Oct-2013 Alan Viverette <alanv@google.com> Ignore certain WindowManager flags when touch exploration is enabled

Specifically, ignore any flags that alter the visibility of the navigation
bar and transparency.

BUG: 11082573
Change-Id: I17264dc55a1c6c3cb9b9cf92d5121799cecee5b8
ayoutlib/bridge/src/android/view/IWindowManagerImpl.java
2b8e82fd51fca815675e7cb32c35da3932f0dc13 04-Oct-2013 Adam Lesinski <adamlesinski@google.com> AAPT emits error for res with no 'default' product

Rather than ignoring resources that do not match the specified
product, we keep track of the ignored ones and make sure that
some variant of the resource that matches the product was processed.

bug:10860838
Change-Id: I804cd04a053269a35b7e1c1cc743b77493337bf9
apt/ResourceTable.cpp
2c64e2be0cf2e1fa537a0c0d353f3a8c9d5852d4 04-Oct-2013 Marco Nelissen <marcone@google.com> am 70cd6886: am fb45a2e9: Merge "Fix layoutlib build" into klp-dev

* commit '70cd68869d04b56883a8d2fa34f0468d730f227d':
Fix layoutlib build
35f2dcd02ca3610c1712010d3189e620bdd7e9b6 04-Oct-2013 John Reck <jreck@google.com> am cdc605c6: am b885435c: Merge "Update liblayout" into klp-dev

* commit 'cdc605c69597649c8e71161791ae64be48ce1f11':
Update liblayout
fb45a2e9cde403c4bb7ac62195795bcfad4b8da6 03-Oct-2013 Marco Nelissen <marcone@google.com> Merge "Fix layoutlib build" into klp-dev
7e6f2ee4d22bc40c5aa1f01a6bacb91a34cab3c0 03-Oct-2013 Marco Nelissen <marcone@google.com> Fix layoutlib build

Change-Id: Ica9f506ae06311d9bcd98bc11e64a8699d4f88cb
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java
5623d5f80f8031b9b67247b086723da08c383fa8 03-Oct-2013 John Reck <jreck@google.com> Update liblayout

Fix build

Change-Id: I6c9223205874f7709fcf9e69a7779c54f52ba48b
ayoutlib/bridge/src/android/view/IWindowManagerImpl.java
a192253bf214ca1e0ea9fc64ab6a4375f9b11882 01-Oct-2013 Jim Miller <jaggies@google.com> am fb2e3c8d: Merge "Fix permissions on WindowManagerService.showAssistant()" into klp-dev

* commit 'fb2e3c8d47c162166a029a97d68ad3bedff89cce':
Fix permissions on WindowManagerService.showAssistant()
4056c94adf97a4cbb3e8dce7caed8508f6524a0d 01-Oct-2013 Adam Lesinski <adamlesinski@google.com> am 0c923b7c: Merge "Add badging of Payment apps" into klp-dev

* commit '0c923b7ce1f4e40b401bcd342f4ee4399f4ad9d7':
Add badging of Payment apps
db239f91d6641b7cd966464250bed2f2339e9609 01-Oct-2013 Adam Lesinski <adamlesinski@google.com> am 5223a5ff: Merge "Add support for dumping new badging" into klp-dev

* commit '5223a5ff24bed6d0a0ac618083a3ed050bdd98b2':
Add support for dumping new badging
fb2e3c8d47c162166a029a97d68ad3bedff89cce 28-Sep-2013 Jim Miller <jaggies@google.com> Merge "Fix permissions on WindowManagerService.showAssistant()" into klp-dev
6c9df5054a25f179ea7359a1a5e59e7d5d8da122 20-Sep-2013 Jim Miller <jaggies@google.com> Fix permissions on WindowManagerService.showAssistant()

Since binder call permissions are not transitive by design,
the proper way to fix this is to have the call talk directly
to keyguard from the navigation bar.

Fixes bug 9409008

Change-Id: Ibd90a79bb638c969b514455a2ad93c6ff668222d
ayoutlib/bridge/src/android/view/IWindowManagerImpl.java
d831e80a2fa80d18867e70927e4e8cd797ead56f 27-Sep-2013 Adam Lesinski <adamlesinski@google.com> Add badging of Payment apps

HCE apps that declare themselves as payment apps will receive
that badge when running aapt dump badging.

bug:10899864
Change-Id: I7c095214412465ad7a925285d6167e12de16b600
apt/Command.cpp
b1249b822cef4e187814b83ae788f71842b88c28 26-Sep-2013 Adam Lesinski <adamlesinski@google.com> Add support for dumping new badging

APKs with AccessibilityServices, PrintServices, and or DeviceAdmin
will have those services dumped when running 'aapt dump badging'.

bug:10899864
Change-Id: I9c1f1f36c397b128dca802510368573a54977459
apt/Command.cpp
68862f07b6b8421a2d0aeafe62e4285525e14166 14-Sep-2013 Deepanshu Gupta <deepanshu@google.com> am 79a1a7c3: am 31207780: am 0ecfe381: am 54d88f76: Fix ClassCastException when rendering ListView

* commit '79a1a7c367214e86d1ea18fe07bc4d2d5bc00f76':
Fix ClassCastException when rendering ListView
79a1a7c367214e86d1ea18fe07bc4d2d5bc00f76 14-Sep-2013 Deepanshu Gupta <deepanshu@google.com> am 31207780: am 0ecfe381: am 54d88f76: Fix ClassCastException when rendering ListView

* commit '31207780338b97e396927701ca0da7a61d6d44b2':
Fix ClassCastException when rendering ListView
31207780338b97e396927701ca0da7a61d6d44b2 13-Sep-2013 Deepanshu Gupta <deepanshu@google.com> am 0ecfe381: am 54d88f76: Fix ClassCastException when rendering ListView

* commit '0ecfe3819269062805c4c56cdc1470c2fc3856c8':
Fix ClassCastException when rendering ListView
42513ca1a6f76bd9635cec65f61ada1598c6696e 11-Sep-2013 Jonathan Dixon <joth@google.com> am caee47f0: Merge "Preparation for deleting WebViewClassic" into klp-dev

* commit 'caee47f096403068f02c41a91f8dad1aa5d13169':
Preparation for deleting WebViewClassic
caee47f096403068f02c41a91f8dad1aa5d13169 11-Sep-2013 Jonathan Dixon <joth@google.com> Merge "Preparation for deleting WebViewClassic" into klp-dev
03422d262685f1b665e736c291f9fd01124c2416 11-Sep-2013 Dianne Hackborn <hackbod@google.com> am e9aad4ae: Merge "Fix issue #10688644: Java crash in com.android.phone:" into klp-dev

* commit 'e9aad4ae31caeb00f95d83119c2020f4cb5f345c':
Fix issue #10688644: Java crash in com.android.phone:
95d785346b4dae808a2d8f77356175e55a572d96 11-Sep-2013 Dianne Hackborn <hackbod@google.com> Fix issue #10688644: Java crash in com.android.phone:

java.lang.SecurityException: Operation not allowed

There was a situation I wasn't taking into account -- components
declared by the system has a special ability to run in the processes
of other uids. This means that if that code loaded into another
process tries to do anything needing an app op verification, it will
fail, because it will say it is calling as the system package name but
it is not actually coming from the system uid.

To fix this, we add a new Context.getOpPackageName() to go along-side
getBasePackageName(). This is a special call for use by all app ops
verification, which will be initialized with either the base package
name, the actual package name, or now the default package name of the
process if we are creating a context for system code being loaded into
a non-system process.

I had to update all of the code doing app ops checks to switch to this
method to get the calling package name.

Also improve the security exception throw to have a more descriptive
error message.

Change-Id: Ic04f77b3938585b02fccabbc12d2f0dc62b9ef25
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
54d88f7678387a6eb871ec2dccd36af4ff35b1fe 11-Sep-2013 Deepanshu Gupta <deepanshu@google.com> Fix ClassCastException when rendering ListView

Bug: b.android.com/59300
Change-Id: Ia350adb3308daa8170bff755302760790163c811
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/AdapterHelper.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/AdapterItem.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/BaseAdapter.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/FakeAdapter.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/FakeExpandableAdapter.java
d7cdc1682750bdae6ac38231c810fd56c7bf2ca2 09-Sep-2013 Deepanshu Gupta <deepanshu@google.com> am a7127540: Merge "Add isPremultiplied option to Bitmap_Delegate in LayoutLib" into klp-dev

* commit 'a71275401143bc259fd5804ab6852fc3265d88b7':
Add isPremultiplied option to Bitmap_Delegate in LayoutLib
a71275401143bc259fd5804ab6852fc3265d88b7 09-Sep-2013 Deepanshu Gupta <deepanshu@google.com> Merge "Add isPremultiplied option to Bitmap_Delegate in LayoutLib" into klp-dev
d4ff4b649edbb235734866b232f300070d32e1b8 08-Sep-2013 Dianne Hackborn <hackbod@google.com> am e6a01f37: Merge "Fix build." into klp-dev

* commit 'e6a01f37934340c9fce9dcd8ee98b02d9d635af6':
Fix build.
01f8c0e27756599b2395514e27bd3b238326f220 08-Sep-2013 Dianne Hackborn <hackbod@google.com> Fix build.

Change-Id: Ifeac5d09a654ee1183ae26519c8b44f560afd636
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContentProvider.java
f17e8ee37917103f1e6f96fd323605cd754dfdb3 06-Sep-2013 Michael Wright <michaelwr@google.com> am 86974463: Merge "Added support for supports-input manifest element" into klp-dev

* commit '86974463e9e28108e14fa255efd3c429358c0605':
Added support for supports-input manifest element
eaeb19048672337714c1724de7992be8cb3f2124 06-Sep-2013 Michael Wright <michaelwr@google.com> Added support for supports-input manifest element

Change-Id: Ifa7c87908081585c1940b5a47fdf5138a287d9ea
apt/Command.cpp
e68c111e3834bd3f075a3fe747187de5d89d5761 05-Sep-2013 Deepanshu Gupta <deepanshu@google.com> am 0851945a: am b50de495: am dd4efc22: am 3a762d8b: Merge "Fix text rendering" into jb-mr2-dev

* commit '0851945a72e10e1d31aafa459f7e69cdf7087bee':
Fix text rendering
a9f35ab9042e30b15102de6f736827710945faea 05-Sep-2013 Deepanshu Gupta <deepanshu@google.com> am b6545562: am 97c88368: am c78d173b: am 68411471: Merge "Fix layout rendering for RTL locales" into jb-mr2-dev

* commit 'b654556213513885ff5be05d4d2808e34d50233e':
Fix layout rendering for RTL locales
0851945a72e10e1d31aafa459f7e69cdf7087bee 05-Sep-2013 Deepanshu Gupta <deepanshu@google.com> am b50de495: am dd4efc22: am 3a762d8b: Merge "Fix text rendering" into jb-mr2-dev

* commit 'b50de4951aaea6d6f01432dc17b7c5de778a2e71':
Fix text rendering
b654556213513885ff5be05d4d2808e34d50233e 05-Sep-2013 Deepanshu Gupta <deepanshu@google.com> am 97c88368: am c78d173b: am 68411471: Merge "Fix layout rendering for RTL locales" into jb-mr2-dev

* commit '97c88368e0036665507c8cd84c71d26953784c85':
Fix layout rendering for RTL locales
b50de4951aaea6d6f01432dc17b7c5de778a2e71 05-Sep-2013 Deepanshu Gupta <deepanshu@google.com> am dd4efc22: am 3a762d8b: Merge "Fix text rendering" into jb-mr2-dev

* commit 'dd4efc22c736973ecfa1b7b4af9e71f971dd48b3':
Fix text rendering
97c88368e0036665507c8cd84c71d26953784c85 05-Sep-2013 Deepanshu Gupta <deepanshu@google.com> am c78d173b: am 68411471: Merge "Fix layout rendering for RTL locales" into jb-mr2-dev

* commit 'c78d173b730dcfdf107e6ac2bc959d459fe3eedd':
Fix layout rendering for RTL locales
0d9c922c9614147d1277cb36cfb7296774415d15 12-Jul-2013 Deepanshu Gupta <deepanshu@google.com> Fix text rendering

There are still some errors
1. Little vertical clippping for extra tall glyphs.
2. Breaking into scripts isn't perfect which results in incorrect layout
of text.

Change-Id: I54de3c05eca5e8affb1135c120eea24c3afe8a47
ayoutlib/bridge/src/android/graphics/BidiRenderer.java
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
ayoutlib/bridge/src/android/text/AndroidBidi_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/FontLoader.java
490efa8bc4360e7dea3fe247f4fe434dd77763d7 04-Sep-2013 Deepanshu Gupta <deepanshu@google.com> Add isPremultiplied option to Bitmap_Delegate in LayoutLib

Change-Id: Id06921d8db2fe898fdc60ef9d05d05f8dfe3f94a
ayoutlib/bridge/src/android/graphics/BitmapFactory_Delegate.java
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
09ed0720288c8d4b97cfd182c630f142077854e9 05-Sep-2013 Chet Haase <chet@google.com> am 49ee555f: Merge "Transition API changes from API council recommendations" into klp-dev

* commit '49ee555f239c79871b661e5ff135061f26665e1c':
Transition API changes from API council recommendations
d82c8ac4db7091d2e976af4c89a1734465d20cd2 26-Aug-2013 Chet Haase <chet@google.com> Transition API changes from API council recommendations

Issue #10460684 KLP API Review: android.view.transition and android.animation
Issue #10570740 Transitions: inflate transition targets from xml

Change-Id: I7a3f6d3aece2fcafc5efd555d033f79e86635c98
apt/Resource.cpp
88db0ee2afbae38b53a0527506f0890914a7f115 20-Jun-2013 Deepanshu Gupta <deepanshu@google.com> Fix layout rendering for RTL locales

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
ayoutlib/bridge/.classpath
ayoutlib/bridge/Android.mk
ayoutlib/bridge/resources/bars/ldrtl-hdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/ldrtl-hdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/ldrtl-mdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/ldrtl-mdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/ldrtl-xhdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/ldrtl-xhdpi/ic_sysbar_recent.png
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/NavigationBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/StatusBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
9f6a119c8aa276432ece4fe2118bd8a3c9b1067e 28-Aug-2013 Mike Lockwood <lockwood@google.com> Move frameworks/base/tools/ to frameworks/tools/

Change-Id: I3ffafdab27cc4aca256c3a5806b630795b75d5c8
apt/AaptAssets.cpp
apt/AaptAssets.h
apt/Android.mk
apt/Bundle.h
apt/CacheUpdater.h
apt/Command.cpp
apt/CrunchCache.cpp
apt/CrunchCache.h
apt/DirectoryWalker.h
apt/FileFinder.cpp
apt/FileFinder.h
apt/Images.cpp
apt/Images.h
apt/Main.cpp
apt/Main.h
apt/NOTICE
apt/Package.cpp
apt/Resource.cpp
apt/ResourceFilter.cpp
apt/ResourceFilter.h
apt/ResourceIdCache.cpp
apt/ResourceIdCache.h
apt/ResourceTable.cpp
apt/ResourceTable.h
apt/SourcePos.cpp
apt/SourcePos.h
apt/StringPool.cpp
apt/StringPool.h
apt/WorkQueue.cpp
apt/WorkQueue.h
apt/XMLNode.cpp
apt/XMLNode.h
apt/ZipEntry.cpp
apt/ZipEntry.h
apt/ZipFile.cpp
apt/ZipFile.h
apt/printapk.cpp
apt/pseudolocalize.cpp
apt/pseudolocalize.h
apt/qsort_r_compat.c
apt/qsort_r_compat.h
apt/tests/CrunchCache_test.cpp
apt/tests/FileFinder_test.cpp
apt/tests/MockCacheUpdater.h
apt/tests/MockDirectoryWalker.h
apt/tests/MockFileFinder.h
apt/tests/plurals/AndroidManifest.xml
apt/tests/plurals/res/values/strings.xml
apt/tests/plurals/run.sh
idl/AST.cpp
idl/AST.h
idl/Android.mk
idl/NOTICE
idl/Type.cpp
idl/Type.h
idl/aidl.cpp
idl/aidl_language.cpp
idl/aidl_language.h
idl/aidl_language_l.l
idl/aidl_language_y.y
idl/generate_java.cpp
idl/generate_java.h
idl/generate_java_binder.cpp
idl/generate_java_rpc.cpp
idl/options.cpp
idl/options.h
idl/options_test.cpp
idl/search_path.cpp
idl/search_path.h
ayoutlib/.gitignore
ayoutlib/Android.mk
ayoutlib/README
ayoutlib/bridge/.classpath
ayoutlib/bridge/.project
ayoutlib/bridge/.settings/README.txt
ayoutlib/bridge/.settings/org.eclipse.jdt.core.prefs
ayoutlib/bridge/Android.mk
ayoutlib/bridge/resources/bars/action_bar.xml
ayoutlib/bridge/resources/bars/hdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/hdpi/ic_sysbar_home.png
ayoutlib/bridge/resources/bars/hdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/hdpi/stat_sys_wifi_signal_4_fully.png
ayoutlib/bridge/resources/bars/hdpi/status_bar_background.9.png
ayoutlib/bridge/resources/bars/mdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/mdpi/ic_sysbar_home.png
ayoutlib/bridge/resources/bars/mdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/mdpi/stat_sys_wifi_signal_4_fully.png
ayoutlib/bridge/resources/bars/mdpi/status_bar_background.9.png
ayoutlib/bridge/resources/bars/navigation_bar.xml
ayoutlib/bridge/resources/bars/status_bar.xml
ayoutlib/bridge/resources/bars/title_bar.xml
ayoutlib/bridge/resources/bars/xhdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/xhdpi/ic_sysbar_home.png
ayoutlib/bridge/resources/bars/xhdpi/ic_sysbar_recent.png
ayoutlib/bridge/src/android/animation/AnimationThread.java
ayoutlib/bridge/src/android/animation/PropertyValuesHolder_Delegate.java
ayoutlib/bridge/src/android/app/Fragment_Delegate.java
ayoutlib/bridge/src/android/content/res/BridgeAssetManager.java
ayoutlib/bridge/src/android/content/res/BridgeResources.java
ayoutlib/bridge/src/android/content/res/BridgeTypedArray.java
ayoutlib/bridge/src/android/content/res/Resources_Theme_Delegate.java
ayoutlib/bridge/src/android/content/res/TypedArray_Delegate.java
ayoutlib/bridge/src/android/graphics/AvoidXfermode_Delegate.java
ayoutlib/bridge/src/android/graphics/BitmapFactory_Delegate.java
ayoutlib/bridge/src/android/graphics/BitmapShader_Delegate.java
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
ayoutlib/bridge/src/android/graphics/BlurMaskFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/ColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/ColorMatrixColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/ComposePathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/ComposeShader_Delegate.java
ayoutlib/bridge/src/android/graphics/CornerPathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/DashPathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/DiscretePathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/DrawFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/EmbossMaskFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/Gradient_Delegate.java
ayoutlib/bridge/src/android/graphics/LayerRasterizer_Delegate.java
ayoutlib/bridge/src/android/graphics/LightingColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/LinearGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/MaskFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/Matrix_Delegate.java
ayoutlib/bridge/src/android/graphics/NinePatch_Delegate.java
ayoutlib/bridge/src/android/graphics/PaintFlagsDrawFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
ayoutlib/bridge/src/android/graphics/PathDashPathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/PathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/Path_Delegate.java
ayoutlib/bridge/src/android/graphics/PixelXorXfermode_Delegate.java
ayoutlib/bridge/src/android/graphics/PorterDuffColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/PorterDuffXfermode_Delegate.java
ayoutlib/bridge/src/android/graphics/RadialGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/Rasterizer_Delegate.java
ayoutlib/bridge/src/android/graphics/Region_Delegate.java
ayoutlib/bridge/src/android/graphics/Shader_Delegate.java
ayoutlib/bridge/src/android/graphics/SumPathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/SweepGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/Typeface_Accessor.java
ayoutlib/bridge/src/android/graphics/Typeface_Delegate.java
ayoutlib/bridge/src/android/graphics/Xfermode_Delegate.java
ayoutlib/bridge/src/android/os/Build_Delegate.java
ayoutlib/bridge/src/android/os/HandlerThread_Delegate.java
ayoutlib/bridge/src/android/os/Handler_Delegate.java
ayoutlib/bridge/src/android/os/Looper_Accessor.java
ayoutlib/bridge/src/android/os/ServiceManager.java
ayoutlib/bridge/src/android/os/SystemClock_Delegate.java
ayoutlib/bridge/src/android/text/AndroidBidi_Delegate.java
ayoutlib/bridge/src/android/text/format/DateFormat_Delegate.java
ayoutlib/bridge/src/android/util/BridgeXmlPullAttributes.java
ayoutlib/bridge/src/android/util/FloatMath_Delegate.java
ayoutlib/bridge/src/android/util/Log_Delegate.java
ayoutlib/bridge/src/android/util/LruCache.java
ayoutlib/bridge/src/android/view/AttachInfo_Accessor.java
ayoutlib/bridge/src/android/view/BridgeInflater.java
ayoutlib/bridge/src/android/view/Choreographer_Delegate.java
ayoutlib/bridge/src/android/view/Display_Delegate.java
ayoutlib/bridge/src/android/view/IWindowManagerImpl.java
ayoutlib/bridge/src/android/view/LayoutInflater_Delegate.java
ayoutlib/bridge/src/android/view/SurfaceView.java
ayoutlib/bridge/src/android/view/ViewConfiguration_Accessor.java
ayoutlib/bridge/src/android/view/ViewRootImpl_Delegate.java
ayoutlib/bridge/src/android/view/View_Delegate.java
ayoutlib/bridge/src/android/view/WindowManagerGlobal_Delegate.java
ayoutlib/bridge/src/android/view/accessibility/AccessibilityManager.java
ayoutlib/bridge/src/android/view/inputmethod/InputMethodManager_Accessor.java
ayoutlib/bridge/src/android/view/inputmethod/InputMethodManager_Delegate.java
ayoutlib/bridge/src/android/webkit/WebView.java
ayoutlib/bridge/src/com/android/internal/policy/PolicyManager.java
ayoutlib/bridge/src/com/android/internal/textservice/ITextServicesManager_Stub_Delegate.java
ayoutlib/bridge/src/com/android/internal/util/XmlUtils_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeConstants.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeRenderSession.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/MockView.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContentProvider.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContentResolver.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeIInputMethodManager.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeLayoutParamsMapAttributes.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindow.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowSession.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParser.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/view/WindowManagerImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/FakeActionBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/NavigationBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/StatusBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/TitleBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/DelegateManager.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/FontLoader.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/GcSnapshot.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/ParserFactory.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/PlayAnimationThread.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderDrawable.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/Stack.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/BaseAdapter.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/FakeAdapter.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/FakeExpandableAdapter.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/util/Debug.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/util/DynamicIdMap.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/util/SparseWeakArray.java
ayoutlib/bridge/src/com/google/android/maps/MapView.java
ayoutlib/bridge/src/libcore/icu/ICU_Delegate.java
ayoutlib/bridge/tests/.classpath
ayoutlib/bridge/tests/.project
ayoutlib/bridge/tests/Android.mk
ayoutlib/bridge/tests/res/com/android/layoutlib/testdata/layout1.xml
ayoutlib/bridge/tests/src/android/graphics/Matrix_DelegateTest.java
ayoutlib/bridge/tests/src/com/android/layoutlib/bridge/TestDelegates.java
ayoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParserTest.java
ayoutlib/create/.classpath
ayoutlib/create/.project
ayoutlib/create/.settings/README.txt
ayoutlib/create/.settings/org.eclipse.jdt.core.prefs
ayoutlib/create/Android.mk
ayoutlib/create/README.txt
ayoutlib/create/manifest.txt
ayoutlib/create/src/com/android/tools/layoutlib/annotations/LayoutlibDelegate.java
ayoutlib/create/src/com/android/tools/layoutlib/annotations/Nullable.java
ayoutlib/create/src/com/android/tools/layoutlib/annotations/VisibleForTesting.java
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmGenerator.java
ayoutlib/create/src/com/android/tools/layoutlib/create/ClassHasNativeVisitor.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
ayoutlib/create/src/com/android/tools/layoutlib/create/DelegateClassAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/create/DelegateMethodAdapter2.java
ayoutlib/create/src/com/android/tools/layoutlib/create/DependencyFinder.java
ayoutlib/create/src/com/android/tools/layoutlib/create/ICreateInfo.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Log.java
ayoutlib/create/src/com/android/tools/layoutlib/create/LogAbortException.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
ayoutlib/create/src/com/android/tools/layoutlib/create/MethodAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/create/MethodListener.java
ayoutlib/create/src/com/android/tools/layoutlib/create/OverrideMethod.java
ayoutlib/create/src/com/android/tools/layoutlib/create/RenameClassAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/create/StubMethodAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/create/TransformClassAdapter.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/AsmAnalyzerTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/ClassHasNativeVisitorTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/DelegateClassAdapterTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/LogTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/MockLog.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/RenameClassAdapterTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/dataclass/ClassWithNative.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/dataclass/ClassWithNative_Delegate.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/dataclass/OuterClass.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/dataclass/OuterClass_Delegate.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/dataclass/OuterClass_InnerClass_Delegate.java
ayoutlib/create/tests/data/mock_android.jar
ayoutlib/create/tests/data/mock_android.jardesc
ayoutlib/create/tests/mock_android/dummy/InnerTest.java
ayoutlib/create/tests/mock_android/view/View.java
ayoutlib/create/tests/mock_android/view/ViewGroup.java
ayoutlib/create/tests/mock_android/widget/LinearLayout.java
ayoutlib/create/tests/mock_android/widget/TableLayout.java
bbtool/Android.mk
bbtool/Main.cpp
bbtool/mkobb.sh
bbtool/pbkdf2gen.cpp
rientationplot/README.txt
rientationplot/orientationplot.py
reload/20080522.compiled
reload/20090811.compiled
reload/20100223.compiled
reload/Android.mk
reload/Compile.java
reload/LoadedClass.java
reload/MemoryUsage.java
reload/Operation.java
reload/Policy.java
reload/PrintCsv.java
reload/PrintHtmlDiff.java
reload/PrintPsTree.java
reload/Proc.java
reload/Record.java
reload/Root.java
reload/WritePreloadedClassFile.java
reload/loadclass/Android.mk
reload/loadclass/LoadClass.java
reload/preload.iml
reload/preload.ipr
reload/sorttable.js
alidatekeymaps/Android.mk
alidatekeymaps/Main.cpp
elocityplot/velocityplot.py
c27bc4fbb2bec606d688e7eabbccf63ede5e8cf1 27-Aug-2013 Victoria Lease <violets@android.com> am adae1e91: am 1b8c33c6: Merge "Forward compatibility fixes"

* commit 'adae1e91de4b2be7a67a33e8f3c3161f5cec15e1':
Forward compatibility fixes
adae1e91de4b2be7a67a33e8f3c3161f5cec15e1 27-Aug-2013 Victoria Lease <violets@android.com> am 1b8c33c6: Merge "Forward compatibility fixes"

* commit '1b8c33c614a1a67fadf3f32758ac781e05dcb8aa':
Forward compatibility fixes
e982b7231fcb465bd367f869fd1baaf3c27e0660 27-Aug-2013 John Reck <jreck@google.com> Forward compatibility fixes

Change-Id: Iaf387a10c387e5e157bb16d120a1e033b3d1a6e8
apt/Images.cpp
6af62e1165e41745f57d0ff94c3a72bd70641796 27-Aug-2013 Ying Wang <wangying@google.com> am 62f16fe9: am d3373c29: Merge "Better aidl generated dependency" into klp-dev

* commit '62f16fe93deaa451d2bfc2d3409cf6e655513ca3':
Better aidl generated dependency
98e154c0395a019011dc2a47847722c6561ffaeb 27-Aug-2013 Jeff Sharkey <jsharkey@android.com> am d0fcacd9: am 98d62123: Merge "Add CancellationSignal support to file operations." into klp-dev

* commit 'd0fcacd949cd8b42b37d238a4ba74e3c29325277':
Add CancellationSignal support to file operations.
d3373c292a9fd0ae9c6bafb594ed7132304c6516 26-Aug-2013 Ying Wang <wangying@google.com> Merge "Better aidl generated dependency" into klp-dev
22e90cf2b0e1629a82f9627886092b7a4cff9c42 26-Aug-2013 Jonathan Dixon <joth@google.com> Preparation for deleting WebViewClassic

Bug: 10427705

- layoutlib has references to classes that no longer build into the host
core JAR when WebViewClassic is removed.
- preloaded-classes should not reference WebViewClassic classes.

Change-Id: I4d6773a88ea2932982278127a3c96d38be54ddf5
ayoutlib/bridge/src/android/webkit/WebView.java
0f91c6360266be07bd0e32f7eca151fa1bca26c1 24-Aug-2013 Ying Wang <wangying@google.com> Better aidl generated dependency

Previously if an imported aidl file has been deleted or moved,
the generated dependency file still contains the stale file name,
and make will fail with "No rule to make target <the deleted/moved
file>".
This change uses technique described in section "Automatic Dependency
Generation", Chapter 8 of "Managing Projects with GNU Make (3d
Edition)".
The same technique is used by the Android platform build system to
generate C/C++ header dependencies.

Bug: 10459179
Change-Id: Ib0c01a4234ef1af994487fdc846cdf8d13a675f6
idl/aidl.cpp
98d6212327d1c483894b642d5e24c3aac9fca9cf 24-Aug-2013 Jeff Sharkey <jsharkey@android.com> Merge "Add CancellationSignal support to file operations." into klp-dev
bd3b902567b09379e1b62c60b3319ad82102efad 21-Aug-2013 Jeff Sharkey <jsharkey@android.com> Add CancellationSignal support to file operations.

Since ContentProvider file operations can end up doing substantial
network I/O before returning the file, allow clients to cancel their
file requests with CancellationSignal.

Ideally this would only be needed for openFile(), but ContentResolver
heavily relies on openAssetFile() and openTypedAssetFile() for common
cases.

Also improve documentation to mention reliable ParcelFileDescriptors
and encourage developers to move away from "rw" combination modes,
since they restrict provider flexibility. Mention more about places
where pipes or socket pairs could be returned.

Improve DocumentsContract documentation.

Bug: 10329944
Change-Id: I49b2825ea433eb051624c4da3b77612fe3ffc99c
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContentProvider.java
9e104087978553f43fcb7767ff2ee265dbd15d2c 23-Aug-2013 satok <satok@google.com> DO NOT MERGE. Fix test breakage

Change-Id: I0b2b7ce4b9f50910b4795cb480aa86a662b16f7d
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeIInputMethodManager.java
af71b1a342cefdeb1c483ed0c4e5b3a4b451320f 23-Aug-2013 satok <satok@google.com> Merge "Fix test breakage"
85cac210dd70dd49fcba57d790c2c390e8e61810 23-Aug-2013 satok <satok@google.com> Fix test breakage

Change-Id: I0b2b7ce4b9f50910b4795cb480aa86a662b16f7d
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeIInputMethodManager.java
0c1edf4f6a5819aaa1a1550d519c4983490c5d59 22-Aug-2013 Maurice Chu <mochu@google.com> Merge "Modify 'aapt dump badging' to output <meta-data> tags"
681c4f45bf373f84c5b80a4c8dda871ae6fcfcbd 22-Aug-2013 Maurice Chu <mochu@google.com> Modify 'aapt dump badging' to output <meta-data> tags

This enables output of <meta-data> tags within the <application>
element of the AndroidManifest.xml if the --include-meta-data
command line option is invoked. For example, by

aapt dump --include-meta-data badging Foo.apk

Bug: 10257318
Change-Id: I88da1a14ab21146b64ac947e0eeb1107816acd4d
apt/Bundle.h
apt/Command.cpp
apt/Main.cpp
ed2515e853a0440555d76b2b935086211107dcef 21-Aug-2013 Chris Craik <ccraik@google.com> am 908d9bfa: am dc70afae: Merge "Add inPremutiplied option to BitmapFactory.Options, functionality in Bitmap" into klp-dev

* commit '908d9bfafd576755d06f0566fc4cac3831476f63':
Add inPremutiplied option to BitmapFactory.Options, functionality in Bitmap
1abf5d62429e5a9329520b2f7c2b5a5e7a8e72ec 16-Aug-2013 Chris Craik <ccraik@google.com> Add inPremutiplied option to BitmapFactory.Options, functionality in Bitmap

bug:2248948

Change-Id: I8fdd649332667598504a1076d5a447572bd53086
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
6c16fff219e8f733ea14ed7df9edda9c037d4b71 14-Aug-2013 John Reck <jreck@google.com> Fixes for libpng 1.6

png_set_filler() now fails if the color type doesn't support
a filler (such as RGB_ALPHA)
png_set_unknown_chunk location bug was fixed and now enforces
proper location setting

Change-Id: If3834e3744d9618c308cc442e66d85e9cffcea38
apt/Images.cpp
48b15b1e1df8315575ada27ab3b0206ed87d67b2 13-Aug-2013 John Reck <jreck@google.com> Fix libpng API usage

Remove usage of deprecated APIs no longer in 1.6

Change-Id: I04cbceba718533312e900e62ddcf3872b61765ec
apt/Images.cpp
c2f8da8756553bb682e0e202779063965a89dced 12-Aug-2013 Jeff Sharkey <jsharkey@android.com> Merge "Bring along BridgeContext for the ride." into klp-dev
b9be11c370712cfc4d54aef9202e61092b96960d 12-Aug-2013 Jeff Sharkey <jsharkey@android.com> Bring along BridgeContext for the ride.

Change-Id: Ic11c0df447c82be3922d529f18a290cfdfec6b05
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
667fe1039feae068d3333de8fb7115313f4a517b 03-Aug-2013 Jonathan Dixon <joth@google.com> Refactor Canvas.drawPicture() to delegate to Picture

Bug: 9814370

To allow WebView.capturePicture() to return a subclass, we need to
ensure the subclass is always consulted when being drawn into a canvas.

Change-Id: Ia0357f95b6fafb3ac81e6bcfaef05739e619897a
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
b3c21ac7c661022534135bf688a75ec35fe3a8f2 07-Aug-2013 Satoshi Kataoka <satok@google.com> Reduce the transaction fee of getEnabledInputMethodSubtypeList

Bug: 8467480
Change-Id: If18cce8fbe567df51f29adcdcedff3f743460b8b
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeIInputMethodManager.java
f2c89b9ed65116888f1d4a863b7c10c007a49c5d 30-Jul-2013 Wink Saville <wink@google.com> am 9516ed45: am cfc23ac6: Merge "Add support for MNC=00"

* commit '9516ed4598948eea5623c57e443bce08c1f48ab6':
Add support for MNC=00
9516ed4598948eea5623c57e443bce08c1f48ab6 30-Jul-2013 Wink Saville <wink@google.com> am cfc23ac6: Merge "Add support for MNC=00"

* commit 'cfc23ac688be9de1ecd2e659455ea1ebcceb63dc':
Add support for MNC=00
1d766b53217f9e45472a01e84d2f1b02af36dec7 07-Oct-2011 Mattias Petersson <mattias.petersson@sonyericsson.com> Add support for MNC=00

This adds support for operators with MNC (Mobile Network Code) zero
to add customized resources. For example, it makes it possible to
add a folder called "/res/values-mnc00/" in an application. This will
cause resources in that folder to be used when MNC is zero.
(There is a total of 14 countries that have an operator with MNC
zero.)

Without this fix, the resource framework gets confused, because MNC 0
is normally used when the MNC is undefined (not set).

Bug: 7170488
Change-Id: Icfd39fd0c739216e89446252ea0e7ceba6f002c6
apt/AaptAssets.cpp
ba23a6677e7a335078fb6fced9a75524e10b2de6 24-Jul-2013 Kenny Root <kroot@google.com> Exclude magic inner-class name from preload

Add a magic subclass name that will exclude inner classes that are meant
to prevent object instatiation but allow class preloading. This will
allow classes that have undesired side-effects to delay initialization
until the side-effects are no longer disruptive.

Bug: 9984058
Change-Id: I46b0784760d84a2a2da1f9f41d87ee7f70a3fc16
reload/Policy.java
acb837fe632b79d52af0c683957cee8b567be74a 20-Jul-2013 Craig Mautner <cmautner@google.com> Merge "Fix home activity and user switch interactions."
ac6f843c917b68ea8805711965b149a9338e3a0e 17-Jul-2013 Craig Mautner <cmautner@google.com> Fix home activity and user switch interactions.

- Make sure Home activity goes in the correct task and on the correct
stack.
- Do not allow different users to be in the same task.
- Do not set stacks aside for each user.

Fixes bug 9775492.

Change-Id: I0e7954e917aac8482a1015a36923e02914e2b692
ayoutlib/bridge/src/android/view/IWindowManagerImpl.java
903709d738a92de467e22f3923d2a7e4e92e9148 19-Jul-2013 Deepanshu Gupta <deepanshu@google.com> am 388f85eb: am a2f41b23: am bf8be2ee: Merge "Add orientation to configuration for layoutlib." into jb-mr2-dev

* commit '388f85eb451bd0b61c8f48b500de5db6bca941f1':
Add orientation to configuration for layoutlib.
388f85eb451bd0b61c8f48b500de5db6bca941f1 19-Jul-2013 Deepanshu Gupta <deepanshu@google.com> am a2f41b23: am bf8be2ee: Merge "Add orientation to configuration for layoutlib." into jb-mr2-dev

* commit 'a2f41b23b6328b0ff3bb04d4a88ccf4a84a50375':
Add orientation to configuration for layoutlib.
b9ff71375a9cf55395984613eee767344ece47a9 19-Jul-2013 Jeff Brown <jeffbrown@google.com> Fix build.

Change-Id: Ie83f51ab4b8fddceda8d4f0ac24c532eab7458b8
ayoutlib/Android.mk
d97d60c0fa4613a47d591d45736299702be1cc7a 13-Jul-2013 Deepanshu Gupta <deepanshu@google.com> Add orientation to configuration for layoutlib.

Update the configuration with the device orientation before rendering.

Change-Id: Icd40901204fd13f90b18353e53a15e25e5b2176c
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
9d3b1a424c5c61e24e9659d15fb353026a00d925 02-Jul-2013 Jeff Brown <jeffbrown@google.com> Move input library code to frameworks/native.

No longer compile libandroidfw as a static library on the device
since it already exists as a shared library. Keeping the static
library would force us to provide a static library version of
libinput for the device as well which doesn't make sense.

Change-Id: I3517881b87b47dcc209d80dbd0ac6b5cf29a766f
apt/Android.mk
alidatekeymaps/Android.mk
alidatekeymaps/Main.cpp
5675b97f6591310d012a013a94a0ae9bd188d975 27-Jun-2013 Stephen Hines <srhines@google.com> Switch to shared libpng/libz dependency.

Bug: 9593270
Change-Id: I1eec2590cca046d6e030c73d31a6b400019e1ebd
apt/Android.mk
144a6ae7e6e751388cd322bac70d6bbd950468d5 24-Jun-2013 Craig Mautner <cmautner@google.com> Fix build.

Change-Id: Icdfc6bcbe8603cf9bd3f8982a595336c0407e7d6
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
80f00c1f2375796dab09bc4ed5b7631c62f7e158 13-Jun-2013 John Spurlock <jspurlock@google.com> Remove concept of system bar from window manager.

It was already hardcoded to false, this change removes the dead code.

Change-Id: I5e543344e60f69cb9882a70ba29f7c09404ad9fc
ayoutlib/bridge/src/android/view/IWindowManagerImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
04fe6ebb9f919f196ec06a19bebc09b8e943f95b 31-May-2013 Adam Powell <adamp@google.com> Fix a bug resolving the correct icon/logo in action bars

Remove some abstraction-breaking magic in ActionBarView and replace it
with proper resolution of the icon/logo when creating a window. The
old implementation relied on the ActionBarView's context being an
Activity.

Bug 9171554

Change-Id: Idbbb1942622195dcb55e8119f2d64287b07bb509
ayoutlib/bridge/src/android/view/IWindowManagerImpl.java
3d05476b1049bc35727a5432de7af99dd8e0a8c2 24-May-2013 Deepanshu Gupta <deepanshu@google.com> am fc691f9d: am 417e512b: Merge "Add missing native methods." into jb-mr2-dev

* commit 'fc691f9df0392a661c4d1708c905f82d50c17f27':
Add missing native methods.
fc691f9df0392a661c4d1708c905f82d50c17f27 24-May-2013 Deepanshu Gupta <deepanshu@google.com> am 417e512b: Merge "Add missing native methods." into jb-mr2-dev

* commit '417e512ba1d099583c41bd7595f2124ca77c2aee':
Add missing native methods.
279c00e8e0abb20f7e10577c77937c058da080bf 24-May-2013 Deepanshu Gupta <deepanshu@google.com> Add missing native methods.

Change-Id: I7b34e2ec0164520efc658053a80f307791a992b1
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
ayoutlib/bridge/src/android/os/Looper_Accessor.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/libcore/icu/ICU_Delegate.java
19849d3c9a9def039f25323f95f98902e3feac60 21-May-2013 Dianne Hackborn <hackbod@google.com> Fix build.

Change-Id: I3dc503a3cd30276ac10582db44732d96b68230ee
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java
3b9831f6a2f991fb492d052cc07817db402f2340 08-May-2013 Dima Zavin <dima@android.com> Merge "aapt: move qsort_r_compat here as it is sole client"
60e510af804b5b583d835a0f1f1e676d08b812bc 08-May-2013 Mathias Agopian <mathias@google.com> desperate attempt to fix linux build.

working on the assumption that the ordering in
LOCAL_STATIC_LIBRARIES matters.

Change-Id: Ibf5b706652049b195bd66c84c9a5fa1122454ca6
bbtool/Android.mk
1f5762e646bed2290934280464832782766ee68e 07-May-2013 Mathias Agopian <mathias@google.com> libutils clean-up

Change-Id: I11ee943da23a66828455a9770fc3c5ceb4bbcaa9
apt/Android.mk
apt/Package.cpp
apt/Resource.cpp
apt/StringPool.h
apt/WorkQueue.cpp
apt/WorkQueue.h
apt/ZipFile.cpp
823abb63145c7a7db2b766cf7bb816cbdac1de66 07-May-2013 Dima Zavin <dima@android.com> aapt: move qsort_r_compat here as it is sole client

This code is only used on the host for MacOS X compatibility.
Apparently, glibc and Apple's libc disagree on the parameter
ordering.

Change-Id: I214edcf2870b6ac88316306ac5af43f1dadf9b2e
Signed-off-by: Dima Zavin <dima@android.com>
apt/Android.mk
apt/StringPool.cpp
apt/qsort_r_compat.c
apt/qsort_r_compat.h
0974061e941f3aa8c3c5c71ca996be5f93a6a865 08-May-2013 Xavier Ducrohet <xav@android.com> am 1181564f: am 42fb3abd: DO NOT MERGE. cherrypick from I3653f67ee321eac37cb8a6d228b1ef6d104ff0be

* commit '1181564fc482171c4c9a84b3c7c1f06ca6eaf2b6':
DO NOT MERGE. cherrypick from I3653f67ee321eac37cb8a6d228b1ef6d104ff0be
1181564fc482171c4c9a84b3c7c1f06ca6eaf2b6 08-May-2013 Xavier Ducrohet <xav@android.com> am 42fb3abd: DO NOT MERGE. cherrypick from I3653f67ee321eac37cb8a6d228b1ef6d104ff0be

* commit '42fb3abd4b7463626983c1a2768788c901f2e71a':
DO NOT MERGE. cherrypick from I3653f67ee321eac37cb8a6d228b1ef6d104ff0be
42fb3abd4b7463626983c1a2768788c901f2e71a 21-Dec-2012 Xavier Ducrohet <xav@android.com> DO NOT MERGE. cherrypick from I3653f67ee321eac37cb8a6d228b1ef6d104ff0be

Add single crunch command to aapt. do not merge.

Previously the crunch command would work on a full res folder
and output a full res folder (with only the drawables). This
was only used in the SDK.

The incremental logic is moved to the SDK build system so we
change the crunch command (or rather add a new one) to only
crunch a single file.

(cherry picked from commit b1f6ad82dd8d1702617a757a88430604b3131fac)

Change-Id: Ifa0dceed93708658f950322f36c13b6ebe7ab0f3
apt/Bundle.h
apt/Command.cpp
apt/Main.cpp
apt/Main.h
f1301d86fb7f414330b08dd9514436e65ba69ceb 30-Apr-2013 Jeff Sharkey <jsharkey@android.com> Merge commit 'b3f66877' into afdmerge

Change-Id: I319863cf23b2e6eacfa4508f7b111fba7b1cbc24
21675166345646f5bb278af487e69604290f09b0 30-Apr-2013 Christopher Tate <ctate@android.com> am bd1730de: Merge "Document the \'aapt dump strings\' command"

* commit 'bd1730dec7356e042ee885ff4a63b40f36733062':
Document the 'aapt dump strings' command
2120f87cded0ce6777b02ee6eaf4c494ad0260f4 29-Apr-2013 Ying Wang <wangying@google.com> am 9e69a2ce: am 03ce5b53: Fix build.

* commit '9e69a2ced4e11f74ee979390c3f58ec4318a16c3':
Fix build.
b566ebdc928e5920bb243a6cfecdf1bd05e143e0 29-Apr-2013 Kenny Root <kroot@google.com> am f266c6b9: am f99177f3: Merge "Update preloaded classes" into jb-mr2-dev

* commit 'f266c6b93f44fcc674d4c5686af0c1d1b782dab0':
Update preloaded classes
7bb9471ea7841dee087857b0123725bfceb83bb3 29-Apr-2013 Bjorn Bringert <bringert@android.com> Merge "Allow compiling aapt for the device"
08822df147f7794559870d6de01f9a5cea6f1cd4 20-Dec-2012 MÃ¥rten Kongstad <marten.kongstad@sonymobile.com> Document the 'aapt dump strings' command

Update the usage page for aapt to mention 'strings' as a valid
subcommand to 'dump'.

Change-Id: Iadb2b8ce36951ff36ffbf6b5ea349ba1e2b12582
apt/Main.cpp
03ce5b536647853cbfa65357760f3fb246b85e36 27-Apr-2013 Ying Wang <wangying@google.com> Fix build.

Change-Id: I1fedbbb521305e02502ddb23a96b5ee96fa43b7b
reload/Policy.java
f99177f3944e06fc7a1a516a0b703794e39af5f1 27-Apr-2013 Kenny Root <kroot@google.com> Merge "Update preloaded classes" into jb-mr2-dev
9787b80ea8331bce9be4c72b3dfb48c3e82f76a4 26-Apr-2013 Kenny Root <kroot@google.com> Update preloaded classes

Bug: 5213043
Change-Id: I272500ce7f6ea6bfbc624c9705f8c8b8ef1aa0ad
reload/Policy.java
reload/Record.java
5ae02e92e4ea2621ae6be6076e304a972793e2f3 26-Apr-2013 Jeff Brown <jeffbrown@google.com> am eb6403e9: resolved conflicts for merge of bfdd2566 to jb-mr2-dev-plus-aosp

* commit 'eb6403e95d601b62be7b4610599e72fd329f2666':
Generate SDK docs for v7 support library packages.
fb903a45d7b924c1dfacadaa99ebdf93fd8a1de4 18-Mar-2013 Bjorn Bringert <bringert@android.com> Allow compiling aapt for the device

Changes:

- The static device version of libandroidfw now includes
the extra functions needed by aapt. I could only find
a few host tools that use the static library, so this is
hopefully not a problem.

- The pseudolocalization code is moved into aapt.
It was previously in libhost, but only used by aapt.

Change-Id: Ib393ebb7dcebee8abbb628cbe5255ea1679674ac
apt/Android.mk
apt/XMLNode.cpp
apt/pseudolocalize.cpp
apt/pseudolocalize.h
caf7b0a155f6adef1b9af6cbf7370460c55e3a3f 26-Apr-2013 Jeff Brown <jeffbrown@google.com> Generate SDK docs for v7 support library packages.

This change required fixing some bugs in how AAPT handles
qualified symbols such as "android:layout_height"
when generating JavaDoc links. The links were being
generated using the package name of the generated R file
rather than the package name of the referenced symbol.
These broken links caused the JavaDoc build to fail.

Bug: 8175766
Change-Id: I52fbef27825a25abca960cb44b59c2132267e9d6
apt/Resource.cpp
faebd8f0795b7d275fb4e503533c8c0c4a9acc21 18-May-2012 Chet Haase <chet@google.com> First draft of Scenes & Transitions feature

This checkin has preliminary API (in flux, definitely changes still
to be made) and implementation for a new "Scenes & Transitions" feature.
The current implementation allows you to define different Scenes
(via layout resource IDs or callbacks) and Transitions to be used when
changing to those scenes. By default, scene changes will use AutoTransition,
which generally does the right thing.

There are no overview docs or tutorials yet. The best way to learn how things
work is to see the code for the various tests in
frameworks/base/tests/TransitionTests.

Expect the API to change. Expect the implementation to change (mostly to add
more functionality). Expect bugs, but tell me if things do not work
as expected.

Change-Id: Ib025a9f565678b225afa4759325cf6d496cc7215
apt/Resource.cpp
974dc1f4f8ffc03760d76928a031193894893c7d 13-Apr-2013 Xavier Ducrohet <xav@android.com> am ade20f49: am a068eedd: Revert "Make --non-constant-id generates non final IDs for styleable."

* commit 'ade20f49a1a0226c06a6ae5d8074c9c1cc14a152':
Revert "Make --non-constant-id generates non final IDs for styleable."
a068eeddc9d47af1a12afbe6efe7d00e8e903b9f 13-Apr-2013 Xavier Ducrohet <xav@android.com> Revert "Make --non-constant-id generates non final IDs for styleable."

This reverts commit 8730f46ae5ba9021a0e01c068ffc6b552b6c4510.
apt/Resource.cpp
b2d17bc5b4789ce0fc9627ff10a95e22465fb9a6 13-Apr-2013 Xavier Ducrohet <xav@android.com> am 95637018: am 629b1c4f: Merge "Make --non-constant-id generates non final IDs for styleable." into jb-mr2-dev

* commit '95637018052655783a25e8123c5b6f898c4171e6':
Make --non-constant-id generates non final IDs for styleable.
8730f46ae5ba9021a0e01c068ffc6b552b6c4510 13-Apr-2013 Xavier Ducrohet <xav@android.com> Make --non-constant-id generates non final IDs for styleable.

This was already done for all other types of resources, but not
for styleable (or the constants for the styleable array indices).

This fixes this. This only affects the SDK as this is used by the
SDK toolchain only.

Change-Id: Idfc2f7915be2b0e88590f38fd660610ffc7e160c
apt/Resource.cpp
28af35e8cdc601c7ab9c7287d9e72fdc331e8a9d 10-Apr-2013 Ying Wang <wangying@google.com> resolved conflicts for merge of a976bddd to master

Change-Id: I64e1cbfb0eee891ce4d1eee40eefdcedcc501f7f
d685894212e6dbeac1fda4996903c1da115d49a6 10-Apr-2013 Ying Wang <wangying@google.com> Add liblog

Bug: 8580410
Change-Id: I746aa8258866508c3a725d0773faf4518096548f
apt/Android.mk
bbtool/Android.mk
alidatekeymaps/Android.mk
b437a79b050e8928ce7187899b7754f049008085 09-Apr-2013 Jeff Brown <jeffbrown@google.com> resolved conflicts for merge of 21dffd5d to master

Change-Id: I37c48dee471c9d43f19c1fe4a01f70db53e2441f
3a2854bcee08e3af3ca1b042c1fef6ca68f8c70a 09-Apr-2013 Jeff Brown <jeffbrown@google.com> Merge "Queues, queues, queues and input." into jb-mr2-dev
f9e989d5f09e72f5c9a59d713521f37d3fdd93dd 05-Apr-2013 Jeff Brown <jeffbrown@google.com> Queues, queues, queues and input.

Redesigned how ViewRootImpl delivers input events to views,
the IME and to native activities to fix several issues.

The prior change to make IME input event delegation use
InputChannels failed to take into account that InputMethodManager
is a singleton attached to the main looper whereas UI may be
attached to any looper. Consequently interactions with the
InputChannel might occur on the wrong thread. Fixed this
problem by checking the current thread and posting input
events or callbacks to the correct looper when necessary.

NativeActivity has also been broken for a while because the
default event handling logic for joysticks and touch navigation
was unable to dispatch events back into the native activity.
In particular, this meant that DPad synthesis from touch navigation
would not work in any native activity. The plan is to fix
this problem by passing all events through ViewRootImpl as usual
then forwarding them to native activity as needed. This should
greatly simplify IME pre-dispatch and system key handling
and make everything more robust overall.

Fixed issues related to when input events are synthesized.
In particular, added a more robust mechanism to ensure that
synthetic events are canceled appropriately when we discover
that events are no longer being resynthesized (because the
application or IME is handling or dropping them).

The new design is structured as a pipeline with a chain of
responsibility consisting of InputStage objects. Each InputStage
is responsible for some part of handling each input event
such as dispatching to the view hierarchy or to the IME.
As a stage processes an input event, it has the option of
finishing the event, forwarding the event to the next stage
or handling the event asynchronously. Some queueing logic
takes care to ensure that events are forwarded downstream in
the correct order even if they are handled out of order
by a given stage.

Cleaned up the InputMethodManager singleton initialization logic
to make it clearer that it must be attached to the main looper.
We don't actually need to pass this looper around.

Deleted the LatencyTimer class since no one uses it and we have
better ways of measuring latency these days using systrace.

Added a hidden helper to Looper to determine whether the current
thread is the indicated Looper thread.

Note: NativeActivity's IME dispatch is broken by this patch.
This will be fixed later in another patch.

Bug: 8473020
Change-Id: Iac2a1277545195a7a0137bbbdf04514c29165c60
ayoutlib/bridge/src/android/view/inputmethod/InputMethodManager_Accessor.java
ayoutlib/bridge/src/android/view/inputmethod/InputMethodManager_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
c85336fd3323d0836b869faf427f70bee37e57f2 05-Apr-2013 Nick Kralevich <nnk@google.com> am ecc5b436: am 745a42bb: Merge "aapt: add support for optional uses-permission" into jb-mr2-dev

* commit 'ecc5b4363571688cb257c2bc9c5e24653efb86f4':
aapt: add support for optional uses-permission
745a42bbb9db8d54af5381ef5fe41828bf6fc352 05-Apr-2013 Nick Kralevich <nnk@google.com> Merge "aapt: add support for optional uses-permission" into jb-mr2-dev
1bcc3d691fd1cb68abced62caf3024e2bb228561 03-Apr-2013 Nick Kralevich <nnk@google.com> aapt: add support for optional uses-permission

Applications can request a permission with android:required="false".
For example:

<uses-permission android:name="android.permission.READ_PHONE_STATE" android:required="false" />

Make aapt understand such permissions.

Bug: 8522021
Change-Id: I7d3af64e7c3eca608316d5bea19c4ea639dd2b7a
apt/Command.cpp
c849fbcf3ddd3cbb08840c72f7f325294c5d2802 02-Apr-2013 Brian Colonna <bcolonna@google.com> resolved conflicts for merge of 5856ee4b to master

Change-Id: I60ba85bc246b9cf25d467b2099535aad47f82ca7
b1b9a8ac07ea7d438eda613f4c798dd8b10a66ce 29-Mar-2013 Brian Colonna <bcolonna@google.com> FUL now restarts when flipping tablet 180 (bug 7484464)

When a tablet rotates, FUL must be stopped and restarted in a new
position. 90 degree rotations cause a configuration change, causing
FUL to be automatically reconstructed in the new location. However,
a 180 degree rotation is not a configuration change, so FUL was not
restarting. A 180 degree rotation happens more often than one might
think. If you set the tablet down and later picked it up in the
opposite orientation, FUL would not work prior to this fix.

This change adds a rotation watcher to KeyguardFaceUnlockView. It
watches for 180 degree rotations and stops and restarts FUL
accordingly.

The rotation watcher callback must be unregistered when
KeyguardFaceUnlockView is recreated (as during 90 degree rotation
changes), otherwise the number of rotation watcher callbacks will keep
growing and they will never go away. This is a problem not just
because there are many callbacks hanging around, but also because the
old callbacks end up trying to access biometric unlock views that no
longer exist, resulting in crashes. So, a simple function was added
to the window manager to unregister a rotation watcher.

Change-Id: Ie1ef20a9a22b8f4e39918987dff2b8ad444fcfd1
ayoutlib/bridge/src/android/view/IWindowManagerImpl.java
96f2fef2460adcf815baa1c2a74e417451fe1237 27-Mar-2013 Dianne Hackborn <hackbod@google.com> am 483ac9a7: am b404ecc9: Merge "Fix build." into jb-mr2-dev

* commit '483ac9a779af452d7ef4007d0e24c569ee894557':
Fix build.
f3d46ce88f0777dddfbecebc9bd7f2f216206365 27-Mar-2013 Dianne Hackborn <hackbod@google.com> Fix build.

Change-Id: I51b87ee5f0b7f396aad7e239893d9f0764f04bb6
ayoutlib/bridge/src/android/view/IWindowManagerImpl.java
124af2d816c5337000e60c4d5a9c6b0319e5a3e6 19-Mar-2013 Craig Mautner <cmautner@google.com> Update layoutlib to latest interface.

Fix build..

Change-Id: I3504e8b8e8431ad76333e852cf42494b2404f8ad
ayoutlib/bridge/src/android/view/IWindowManagerImpl.java
5c14d36c5980e3c56e367857620b387eee4358bd 05-Mar-2013 Dianne Hackborn <hackbod@google.com> am 892e0782: am ad4a174b: Merge "Fix build." into jb-mr2-dev

* commit '892e07829414fda01594f52c54352c8dbbd37499':
Fix build.
4ec6cc51087f310acf6f933ae2b69f1520b78453 05-Mar-2013 Dianne Hackborn <hackbod@google.com> Fix build.

Change-Id: Iaa70b05a3cfd372518ec35aa8bcea2f9d78b8292
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowSession.java
2e5528c5e0f354c7b780ca5ab436809efd611dcc 26-Feb-2013 Craig Mautner <cmautner@google.com> Merge "Revert ActivityManager changes for tasks. DO NOT MERGE" into jb-mr2-dev
2ad920759b1981eaf526fd37a314fbc5a3ed90ae 26-Feb-2013 Craig Mautner <cmautner@google.com> Revert ActivityManager changes for tasks. DO NOT MERGE

Keeping all activity=>task changes in master and removing them
from jb-mr2.

Revert "Update histories simultaneously."
Revert "Add null check to setAppGroupId."
Revert "Fix crashing bug in validator."
Revert "Switch topRunning* and moveTaskTo*"
Revert "Begin switch over to task based history."
Revert "Reset and reuse Iterators and don't new() one."
Revert "Remove AppWindowToken lists."
Revert "Fix build."
Revert "Remove unused App methods."
Revert "Stop using AppToken movement and start using Task."
Revert "Replace access to mAppTokens with AppTokenIterator"
Revert "Refactor setAppOpVisibility implementation."
Revert "Add AppWindowTokens to TaskList."
Revert "Make ActivityStack.mHistory private."
Revert "Migrate AppWindowToken lists into DisplayContent."

Change-Id: I5722c9a4956dccb52864207e2967690bc58e4ebb
ayoutlib/bridge/src/android/view/IWindowManagerImpl.java
ec559ff78caa16cffcc7b9d688fe911e8945e17d 26-Feb-2013 Dianne Hackborn <hackbod@google.com> Fix typo.

Change-Id: I71c8458e02dc9b9a4c59e51ded37b57a930038f9
apt/Command.cpp
c4aad01cbbb69c916ef323693e1fd0560b0eccba 23-Feb-2013 Dianne Hackborn <hackbod@google.com> Formalize overscan metrics.

The window manager now maintains and reports a new formal
"overscan insets" for each window, much like the existing
content and visible insets. This is used to correctly
position the various UI elements in the various combination
of layout options. In particular, this allows us to have
an activity that is using fitSystemWindows to have the content
of its UI extend out to the visible content part of the screen
while still positioning its fixed UI elements inside the
standard content rect (and the entire window extending all
the way into the overscan area to fill the screen as desired).

Okay, maybe that is not written so clearly. Well, it made
my head hurt too, so suffer!

The key thing is that windows now need to know about three
rectangles: the overall rectangle of the window, the rectangle
inside of the overscan area, and the rectangle inside of the
content area. The FLAG_LAYOUT_IN_OVERSCAN option controls
whether the second rectangle is pushed out to fill the entire
overscan area.

Also did some improvements to debug dumping in the window
manager.

Change-Id: Ib2368c4aff5709d00662c799507c37b6826929fd
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindow.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowSession.java
29ae06633d6e63fdb29f229f75de758a542c6b66 21-Feb-2013 Jim Miller <jaggies@google.com> am ec6156f9: Merge "Fix the build."

* commit 'ec6156f9e884ba85c76a9c4683f83f18b3f64afa':
Fix the build.
ef04a9b7e1dee38f191a8f70be89a1542ccbe367 21-Feb-2013 Jim Miller <jaggies@google.com> Fix the build.

Change-Id: If53878937fe1ca01ad8db9f9d201d0f9aaaec81b
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
4f7fb00f6cb74ef506e65994fb04af3280e958fc 19-Feb-2013 Dianne Hackborn <hackbod@google.com> am ee973c27: Fix build.

* commit 'ee973c27e339a23e0b93d816a97b33954af66bea':
Fix build.
ee973c27e339a23e0b93d816a97b33954af66bea 19-Feb-2013 Dianne Hackborn <hackbod@google.com> Fix build.

Change-Id: I277de38a70f3a2e5c1997a3fe5c2e825692ae9e1
ayoutlib/bridge/src/android/view/IWindowManagerImpl.java
34ab0a4a181cf9a9267625af59a3b52bd2a7b56e 16-Feb-2013 Laurent Tu <laurentt@google.com> am 7c93839d: Revert "Tentative fix for aidl import issue"

* commit '7c93839d7b41727c11925b034d4ec84491d3dee1':
Revert "Tentative fix for aidl import issue"
7c93839d7b41727c11925b034d4ec84491d3dee1 16-Feb-2013 Laurent Tu <laurentt@google.com> Revert "Tentative fix for aidl import issue"

Fix build.

This reverts commit 4f115e08cb68aaf77693f3f4598f0eb5f7634777.

Change-Id: Ic4f51e3492f54afec5f0eeb48e08491eb47f3c04
idl/Type.cpp
1662cf99b6a596d7fd3b9a57bbcb6b66ae0d1ebd 16-Feb-2013 Laurent Tu <laurentt@google.com> am 8acb27c5: Merge "Tentative fix for aidl import issue"

* commit '8acb27c505c610b4027ec3d140ccc7722ab4faa3':
Tentative fix for aidl import issue
8acb27c505c610b4027ec3d140ccc7722ab4faa3 16-Feb-2013 Laurent Tu <laurentt@google.com> Merge "Tentative fix for aidl import issue"
4f115e08cb68aaf77693f3f4598f0eb5f7634777 15-Feb-2013 Laurent Tu <laurentt@google.com> Tentative fix for aidl import issue

Fix issue when aidl generation doesn't use the right type when
it is a suffix of a pre-declared type.

eg. android.location.Location and foo.android.location.Location. The
aidl generation will never use foo.android.location.Location.

The tentative fix reverses the order in which Namespace.Search iterates
through the known types.

A better fix would be to annotate the types that are declared in the
aidl import statements to be prioritary in Namespace.Search. Lmk if I
you agree with this approach and think that this is worth the work.
Thanks!

Change-Id: I97dd1a1d417075accf1d61f9aba5aba3dea175c6
idl/Type.cpp
102f7110435415cf22187dcf6c01e599e544d5ce 14-Feb-2013 Craig Mautner <cmautner@google.com> am 534d136a: Merge "Remove unused App methods."

# Via Android (Google) Code Review (1) and Craig Mautner (1)
* commit '534d136aa66fb13f7c1b482513627de45c218c29':
Remove unused App methods.
b0c0b1fd70e3edeb724e2b2fb2c7063eb943f05e 14-Feb-2013 Craig Mautner <cmautner@google.com> Remove unused App methods.

Now that the Task methods have replaced the App methods remove
the App methods.

Change-Id: I0e7432f2c6f99708759ed8c871d20eb5bd38c3c2
ayoutlib/bridge/src/android/view/IWindowManagerImpl.java
c932760f667cf56ca7a1aeffde505745dc3632e1 14-Feb-2013 Chris Craik <ccraik@google.com> Merge "Revert "Merge remote-tracking branch 'goog/master-chromium' into 'goog/master'" DO NOT MERGE"
7c1a49f5f5ed6613d736464bf5001b777e89ced2 13-Feb-2013 Chris Craik <ccraik@google.com> Revert "Merge remote-tracking branch 'goog/master-chromium' into 'goog/master'" DO NOT MERGE

This reverts commit 6c0307dd0aefe9a08794b155fc03ee60ebd14f25, reversing
changes made to a2cd828b749c444d55c2c41c7dbb85088ff94b9f.

Conflicts:
packages/SystemUI/res/values-sv/strings.xml

Change-Id: Ia178efe8b14751583d47b2826bfe3d3d5463dd2e
ayoutlib/bridge/src/android/graphics/Typeface_Delegate.java
b47e6c77b34da8bde5d706e5a25a413b8cc2e0ba 13-Feb-2013 Dianne Hackborn <hackbod@google.com> Merge "Implement issue #6646859: 4K!!!! 4K!!!! 4K!!!!"
4f0dd02d00107fedda0fe42978ed98855dc53b85 13-Feb-2013 Xavier Ducrohet <xav@android.com> am 36ee5485: am 5d5c05de: am b7a4aed9: am f70b8c1c: Merge "Fix DateFormat for layoutlib." into jb-mr1.1-dev

# Via Android Git Automerger (3) and others
* commit '36ee5485b85e34008dc31e0f7bace1b2516c5db5':
Fix DateFormat for layoutlib.
36ee5485b85e34008dc31e0f7bace1b2516c5db5 13-Feb-2013 Xavier Ducrohet <xav@android.com> am 5d5c05de: am b7a4aed9: am f70b8c1c: Merge "Fix DateFormat for layoutlib." into jb-mr1.1-dev

# Via Android Git Automerger (2) and others
* commit '5d5c05dee9911eaf8add2d4298641e60f2a113d5':
Fix DateFormat for layoutlib.
5d5c05dee9911eaf8add2d4298641e60f2a113d5 13-Feb-2013 Xavier Ducrohet <xav@android.com> am b7a4aed9: am f70b8c1c: Merge "Fix DateFormat for layoutlib." into jb-mr1.1-dev

# Via Android (Google) Code Review (1) and others
* commit 'b7a4aed94eb02731057fdf78eb7bafc8ececadc9':
Fix DateFormat for layoutlib.
b7a4aed94eb02731057fdf78eb7bafc8ececadc9 13-Feb-2013 Xavier Ducrohet <xav@android.com> am f70b8c1c: Merge "Fix DateFormat for layoutlib." into jb-mr1.1-dev

# Via Android (Google) Code Review (1) and Xavier Ducrohet (1)
* commit 'f70b8c1cebbf873031bc92bb6ae3be813830d300':
Fix DateFormat for layoutlib.
56a2301c7a1169a0692cadaeb48b9a6385d700f5 13-Feb-2013 Dianne Hackborn <hackbod@google.com> Implement issue #6646859: 4K!!!! 4K!!!! 4K!!!!

Change-Id: Ib05a2eb6a03db50074805a437a3639a7d10684a0
apt/AaptAssets.cpp
47a021f7649799187e2d30d4d43e2363fd8f6bd3 12-Feb-2013 Xavier Ducrohet <xav@android.com> Fix DateFormat for layoutlib.

Change-Id: I389c9d106b93b9f81dd3614398a5b66ba2b39a70
ayoutlib/bridge/src/android/text/format/DateFormat_Delegate.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
23e500d168e8d649305445f6c1d2b49d8d2c00fd 06-Feb-2013 Derek Sollenberger <djsollen@google.com> Merge "Merge remote-tracking branch 'goog/master-chromium' into 'goog/master'"
961321fe4ed4431a6362d729d9e4ea26bdecde61 06-Feb-2013 Dianne Hackborn <hackbod@google.com> App ops: add op for writing settings.

Also fix a build.

And fix a bug that I think was introduced in the multi-user work
that removed the permission check for writing to settings...!

Change-Id: I5945682faa789ffc78fd3546c0df7d03693f106d
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
5cf6f8adfa2c0f83e09bdb4da9fc65f52e916292 29-Jan-2013 Svetoslav <svetoslavganov@google.com> am 573a18cc: Merge "Fixing the build"

# Via Android (Google) Code Review (1) and Svetoslav (1)
* commit '573a18ccd883d18046dea600855d34f5c9a57fa8':
Fixing the build
f5f7d9751a43b699b6e1c2e41ea0519bc54e39cd 29-Jan-2013 Svetoslav <svetoslavganov@google.com> Fixing the build

Change-Id: I8d47c7094efc8ff458cdac58a761d5f187c8fc32
ayoutlib/bridge/src/android/view/IWindowManagerImpl.java
c152e16b07b3eb607d018a740f507af635db1e9d 19-Jan-2013 Dianne Hackborn <hackbod@google.com> am 8fea4e72: Merge "Rework ParceledListSlice to be much easier to use."

* commit '8fea4e72e4dcff9fa76168b9e26cf5907102f70b':
Rework ParceledListSlice to be much easier to use.
d8e1dbb6bc1fbaf4f2e38c3ba92ced94270deaac 18-Jan-2013 Dianne Hackborn <hackbod@google.com> Rework ParceledListSlice to be much easier to use.

Take advantage of this to return better information about
packages filtered by permissions -- include the permissions
they have in the requested array.

Also fix issue #8026793 (Contact picture shows default pic
while searching for a contact in qsb) by using the base
package name of the Context when reporting the app name
of an operation. Otherwise you could make a resource-only
context for another application and do calls through that
and get reported as the wrong app.

Change-Id: I5e0488bf773acea5a3d22f245641828e1a106fb8
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
73d94a30a25aec25e27aa1d0a328f033465461c0 17-Jan-2013 Justin Koh <justinkoh@google.com> am ba1992f8: Merge "Remove doSingleCrunch call DO NOT MERGE" into jb-mr1-aah-dev

* commit 'ba1992f8e9e50ca58f007ff528d2f6d2c2b18223':
Remove doSingleCrunch call DO NOT MERGE
3944abbb506bb94d8e70b8b62f30225777f50648 16-Jan-2013 Justin Koh <justinkoh@google.com> Remove doSingleCrunch call DO NOT MERGE

Remove doSingleCrunch call as it's breaking jb-mr1-aah-dev.

Change-Id: I0d8ee55344792fd868e74e07f31641a85e71168a
apt/Command.cpp
7ed6c6d83b3301280a2150f0697a2a631a0168ad 16-Jan-2013 Dianne Hackborn <hackbod@google.com> am 35654b61: More work on App Ops service.

* commit '35654b61e8fe7bc85afcb076ddbb590d51c5865f':
More work on App Ops service.
35654b61e8fe7bc85afcb076ddbb590d51c5865f 15-Jan-2013 Dianne Hackborn <hackbod@google.com> More work on App Ops service.

Implemented reading and writing state to retain information
across boots, API to retrieve state from it, improved location
manager interaction to monitor both coarse and fine access
and only note operations when location data is being delivered
back to app (not when it is just registering to get the data at
some time in the future).

Also implement tracking of read/write ops on contacts and the
call log. This involved tweaking the content provider protocol
to pass over the name of the calling package, and some
infrastructure in the ContentProvider transport to note incoming
calls with the app ops service. The contacts provider and call
log provider turn this on for themselves.

This also implements some of the mechanics of being able to ignore
incoming provider calls... all that is left are some new APIs for
the real content provider implementation to be involved with
providing the correct behavior for query() (return an empty
cursor with the right columns) and insert() (need to figure out
what URI to return).

Change-Id: I36ebbcd63dee58264a480f3d3786891ca7cbdb4c
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContentProvider.java
4feaa4f945c1dd46cc12c8451755c7d7d77f4c2b 16-Jan-2013 Xavier Ducrohet <xav@android.com> am b7de2194: resolved conflicts for merge of c71c678e to master

* commit 'b7de2194d54eb81b1db4b50c171ddd0339831155':
Fix the single crunch command to return the right error code.
b7de2194d54eb81b1db4b50c171ddd0339831155 16-Jan-2013 Xavier Ducrohet <xav@android.com> resolved conflicts for merge of c71c678e to master

Change-Id: I9e1a6a1151af00f0a13e2010776276b240e0ac3a
c71c678e9b6a4278337b69f2c60c0fbe9988bf93 15-Jan-2013 Xavier Ducrohet <xav@android.com> am a4e10cc7: am 6080cc5f: resolved conflicts for merge of dd52dfed to jb-mr1.1-ub-dev

* commit 'a4e10cc746caea514216f436e2065b3bbefb25ef':
Fix the single crunch command to return the right error code.
a4e10cc746caea514216f436e2065b3bbefb25ef 15-Jan-2013 Xavier Ducrohet <xav@android.com> am 6080cc5f: resolved conflicts for merge of dd52dfed to jb-mr1.1-ub-dev

* commit '6080cc5fd7c332c79098a50605c0c37d99d4c481':
Fix the single crunch command to return the right error code.
6080cc5fd7c332c79098a50605c0c37d99d4c481 15-Jan-2013 Xavier Ducrohet <xav@android.com> resolved conflicts for merge of dd52dfed to jb-mr1.1-ub-dev

Change-Id: I839981af97e54c39f0ea0b8141a4dd02959263a0
dd52dfed52404490d51ca5ed43c2192cbc25a7a7 15-Jan-2013 Xavier Ducrohet <xav@android.com> am de3b69e0: Merge "Fix the single crunch command to return the right error code." into jb-mr1-dev

* commit 'de3b69e0512c00158333a223f6c53c9eac7b3d34':
Fix the single crunch command to return the right error code.
c75d3f5c10bf6d7718ef69c6bbc1cdf64cd8ff04 15-Jan-2013 Xavier Ducrohet <xav@android.com> Fix the single crunch command to return the right error code.

Casting from status_t to int doesn't work for return values
if the lower 8 bits are all 0.

Change-Id: I88e910dfe46cb72acd1595352e71da3c8eff4ca9
apt/Command.cpp
3cd80d949ca88fbef4d8da495992ac8855ad069c 05-Jan-2013 Tor Norbye <tnorbye@google.com> am 72c6137a: Handle empty flag attributes, such as gravity=""

* commit '72c6137a7aa5e5ada6a4aeca52f33d060742beb6':
Handle empty flag attributes, such as gravity=""
72c6137a7aa5e5ada6a4aeca52f33d060742beb6 05-Jan-2013 Tor Norbye <tnorbye@google.com> Handle empty flag attributes, such as gravity=""

Without this, an empty string will be passed into
XmlUtils.convertValueToInt, which throws an
index out of range exception.

Change-Id: Ibd1a140e207653b205852087f33ccb87fbbb9bbc
ayoutlib/bridge/src/android/content/res/BridgeTypedArray.java
afa4d8bfafdd42b75dc15d31c0962c252f304138 03-Jan-2013 Xavier Ducrohet <xav@android.com> am 22d7cf23: Add single crunch command to aapt. do not merge.

* commit '22d7cf239d8a9b009ea7adf86d8826a8a8116d03':
Add single crunch command to aapt. do not merge.
22d7cf239d8a9b009ea7adf86d8826a8a8116d03 21-Dec-2012 Xavier Ducrohet <xav@android.com> Add single crunch command to aapt. do not merge.

Previously the crunch command would work on a full res folder
and output a full res folder (with only the drawables). This
was only used in the SDK.

The incremental logic is moved to the SDK build system so we
change the crunch command (or rather add a new one) to only
crunch a single file.

(cherry picked from commit b1f6ad82dd8d1702617a757a88430604b3131fac)

Change-Id: I3653f67ee321eac37cb8a6d228b1ef6d104ff0be
apt/Bundle.h
apt/Command.cpp
apt/Main.cpp
apt/Main.h
b71f5b3c9a426dab2b1331d1aaa6c7f886b143df 02-Jan-2013 Xavier Ducrohet <xav@android.com> am 6fb9a983: Merge "Add single crunch command to aapt."

* commit '6fb9a983cefd9d0b75c2c68c161c03667afe339e':
Add single crunch command to aapt.
b1f6ad82dd8d1702617a757a88430604b3131fac 21-Dec-2012 Xavier Ducrohet <xav@android.com> Add single crunch command to aapt.

Previously the crunch command would work on a full res folder
and output a full res folder (with only the drawables). This
was only used in the SDK.

The incremental logic is moved to the SDK build system so we
change the crunch command (or rather add a new one) to only
crunch a single file.

Change-Id: I635ee3e871d035b9db2fb593802d914e48241abf
apt/Bundle.h
apt/Command.cpp
apt/Main.cpp
apt/Main.h
2fa54cef47887808d006f473a7d4f8dd5fb76704 19-Dec-2012 Derek Sollenberger <djsollen@google.com> Merge "Update framework to support r5967 of Skia." into master-chromium
330dd534848562515c6c67cb3de13067e86866a1 18-Dec-2012 John Spurlock <jspurlock@google.com> Remove remaining doc references to StyledAttributes.

It appears StyledAttributes was renamed to TypedArray
prior to fw 1.0. Leaving references to the old name
around in the public docs is confusing.

Deliberating leaving...
tests/coretests/src/android/widget/LabelView.java
... as is - it's clearly unused.

Change-Id: I3f66e5f9cbe945d9d86530d37b88369b401f054d
ayoutlib/bridge/src/android/content/res/BridgeTypedArray.java
2ec5093e5a908cea532e571aead6a5c024c553f7 15-Dec-2012 Svetoslav Ganov <svetoslavganov@google.com> Fixing the build

Change-Id: I01349d65ac5915da090cfb018f99e0a508f9d5ad
ayoutlib/bridge/src/android/view/IWindowManagerImpl.java
ca79cf69d09efa0c327e9b1237d86a119aea5da7 14-Aug-2012 Derek Sollenberger <djsollen@google.com> Update framework to support r5967 of Skia.

bug: 6906025
Change-Id: Iefdb830ec3aa2ab3472c1c142484a7aa21788a15
ayoutlib/bridge/src/android/graphics/Typeface_Delegate.java
f9ae5f75af259437391e41dac7f3c4461c495dd9 04-Dec-2012 Dianne Hackborn <hackbod@google.com> am 23307cbb: am e0a676a3: Merge "Fix issue #7649590: Background windows sometimes not being hidden for secondary users" into jb-mr1.1-dev

* commit '23307cbb6b432b658b0fd7437dacfedd6298af94':
Fix issue #7649590: Background windows sometimes not being hidden for secondary users
23307cbb6b432b658b0fd7437dacfedd6298af94 04-Dec-2012 Dianne Hackborn <hackbod@google.com> am e0a676a3: Merge "Fix issue #7649590: Background windows sometimes not being hidden for secondary users" into jb-mr1.1-dev

* commit 'e0a676a3bb0e7b9aced9359a021e4c5d2ffef752':
Fix issue #7649590: Background windows sometimes not being hidden for secondary users
bb4ca5271a806c94a59d98c5c718db7b89728246 03-Dec-2012 Dianne Hackborn <hackbod@google.com> Fix issue #7649590: Background windows sometimes not being hidden for secondary users

There are two things going on here:

(1) In secondary users, some times theme information such as whether
the window is full screen opaque was not being retrieved, so the window
manager didn't know that it could hide the windows behind the app.
This would just be a performance problem, except that:

(2) There appear to be a number of applications that declare that they
are full screen opaque, when in fact they are not. Instead they are
using window surfaces with an alpha channel, and setting some pixels
in their window to a non-opaque alpha level. This will allow you to
see whatever is behind the app. If the system happens to completely
remove the windows behind the app, and somebody is filling the frame
buffer with black, then you will see what the app intends -- those
parts of its UI blended with black. If one of those cases doesn't
hold (and though we have never guaranteed they would, in practice this
is generally what happens), then you will see something else.

At any rate, if nothing else than for performance reasons, we need to
fix issue #1.

It turns out what is happening here is that the AttributeCache used
by the activity manager and window manager to retreive theme and other
information about applications has not yet been updated for multi-user.

One of the things we retrieve from this is the theme information telling
the window manager whether an application's window should be treated
as full screen opaque, allowing it to hide any windows behind it. In
the current implementation, the AttributeCache always retrieves this
information about the application as the primary user (user 0).

So, if you have an application that is installed on a secondary user but
not installed on the primary user, when the AttributeCache tries to retrieve
the requested information for it, then from the perspective of the primary user
it considers the application not installed, and is not able to retrieve that
info.

The change here makes AttributeCache multi-user aware, keeping all of its
data separately per-user, and requiring that callers now provide the user
they want to retrieve information for. Activity manager and window manager
are updated to be able to pass in the user when needed. This required some
fiddling of the window manager to have that information available -- in
particular it needs to be associated with the AppWindowToken.

Change-Id: I4b50b4b3a41bab9d4689e61f3584778e451343c8
ayoutlib/bridge/src/android/view/IWindowManagerImpl.java
152e9bb81aa5b2ab4637f4b2dae04b3ce89fa891 13-Oct-2012 Svetoslav Ganov <svetoslavganov@google.com> Refactoring of the screen magnification feature.

1. The screen magnification feature was implemented entirely as a part of the accessibility
manager. To achieve that the window manager had to implement a bunch of hooks for an
external client to observe its internal state. This was problematic since it dilutes
the window manager interface and allows code that is deeply coupled with the window
manager to reside outside of it. Also the observer callbacks were IPCs which cannot
be called with the window manager's lock held. To avoid that the window manager had
to post messages requesting notification of interested parties which makes the code
consuming the callbacks to run asynchronously of the window manager. This causes timing
issues and adds unnecessary complexity.

Now the magnification logic is split in two halves. The first half that is responsible
to track the magnified portion of the screen and serve as a policy which windows can be
magnified and it is a part of the window manager. This part exposes higher level APIs
allowing interested parties with the right permissions to control the magnification
of a given display. The APIs also allow a client to be registered for callbacks on
interesting changes such as resize of the magnified region, etc. This part servers
as a mediator between magnification controllers and the window manager.

The second half is a controller that is responsible to drive the magnification
state based on touch interactions. It also presents a highlight when magnified to
suggest the magnified potion of the screen. The controller is responsible for auto
zooming out in case the user context changes - rotation, new actitivity. The controller
also auto pans if a dialog appears and it does not interesect the magnified frame.

bug:7410464

2. By design screen magnification and touch exploration work separately and together. If
magnification is enabled the user sees a larger version of the widgets and a sub section
of the screen content. Accessibility services use the introspection APIs to "see" what
is on the screen so they can speak it, navigate to the next item in response to a
gesture, etc. Hence, the information returned to accessibility services has to reflect
what a sighted user would see on the screen. Therefore, if the screen is magnified
we need to adjust the bounds and position of the infos describing views in a magnified
window such that the info bounds are equivalent to what the user sees.

To improve performance we keep accessibility node info caches in the client process.
However, when magnification state changes we have to clear these caches since the
bounds of the cached infos no longer reflect the screen content which just got smaller
or larger.

This patch propagates not only the window scale as before but also the X/Y pan and the
bounds of the magnified portion of the screen to the introspected app. This information
is used to adjust the bounds of the node infos coming from this window such that the
reported bounds are the same as the user sees not as the app thinks they are. Note that
if magnification is enabled we zoom the content and pan it along the X and Y axis. Also
recomputed is the isVisibleToUser property of the reported info since in a magnified
state the user sees a subset of the window content and the views not in the magnified
viewport should be reported as not visible to the user.

bug:7344059

Change-Id: I6f7832c7a6a65c5368b390eb1f1518d0c7afd7d2
ayoutlib/bridge/src/android/view/IWindowManagerImpl.java
fac7b0a60306d851d903730ccc408a0272e866db 29-Nov-2012 Christopher Tate <ctate@google.com> am 5f958e9b: am 67b38c44: Cache resource ID lookups in aapt

* commit '5f958e9bfc793b3b653dfc88418bbd7745e633e1':
Cache resource ID lookups in aapt
67b38c44e8b04b97e357664804d593823b2a34ed 17-Nov-2012 Christopher Tate <ctate@google.com> Cache resource ID lookups in aapt

This speeds up certain workloads considerably, particularly
those involved in buildling apps via the SDK. Windows-based
use should particularly benefit from the change.

(cherry picked from commit d8dde13a63565dcd72bcf03a5088407b737ba793)

Change-Id: I33835bc64ade77688d41e8bfcd371b0a5f59d8fd
apt/Android.mk
apt/ResourceIdCache.cpp
apt/ResourceIdCache.h
apt/ResourceTable.cpp
68d1b63e6c55599503b6dd4d8fdb57ba2bebfc14 28-Nov-2012 Christopher Tate <ctate@google.com> am e659cea6: am d51ffbea: am faeabc7b: Merge "Cache resource ID lookups in aapt"

* commit 'e659cea645c55fb6ecc744881e288007d53fc9a2':
Cache resource ID lookups in aapt
d8dde13a63565dcd72bcf03a5088407b737ba793 17-Nov-2012 Christopher Tate <ctate@google.com> Cache resource ID lookups in aapt

This speeds up certain workloads considerably, particularly
those involved in buildling apps via the SDK. Windows-based
use should particularly benefit from the change.

Change-Id: I29f4b3a77400b201ee219729cc28a5e359c0c5e8
apt/Android.mk
apt/ResourceIdCache.cpp
apt/ResourceIdCache.h
apt/ResourceTable.cpp
08bb2316f12743fb43d18af94248c5e8caecfa85 09-Nov-2012 Jim Miller <jaggies@google.com> am 061b4fae: am a2bf6181: am 2c29deaa: am 6be441c5: Merge "Add mechanism to kick keyguard to show the assistant" into jb-mr1-lockscreen-dev

* commit '061b4fae3daf40c90b46e16b12e7f22142eb498c':
Add mechanism to kick keyguard to show the assistant
061b4fae3daf40c90b46e16b12e7f22142eb498c 09-Nov-2012 Jim Miller <jaggies@google.com> am a2bf6181: am 2c29deaa: am 6be441c5: Merge "Add mechanism to kick keyguard to show the assistant" into jb-mr1-lockscreen-dev

* commit 'a2bf6181dfca0f93461fc041f2bd2444551a4515':
Add mechanism to kick keyguard to show the assistant
d97b09b0f31152bd05ba69ca9249bcaf33d05e14 09-Nov-2012 Jim Miller <jaggies@google.com> am bef82757: am c7dc250d: am fe7e94a0: am 088fb915: Merge "Add isSafeModeEnabled() API to WindowManagerService" into jb-mr1-lockscreen-dev

* commit 'bef827572ce9644253ea42ab91b11b8107d2300f':
Add isSafeModeEnabled() API to WindowManagerService
bef827572ce9644253ea42ab91b11b8107d2300f 09-Nov-2012 Jim Miller <jaggies@google.com> am c7dc250d: am fe7e94a0: am 088fb915: Merge "Add isSafeModeEnabled() API to WindowManagerService" into jb-mr1-lockscreen-dev

* commit 'c7dc250d5a3dab93ff87e9986a71ae58ff124399':
Add isSafeModeEnabled() API to WindowManagerService
a2bf6181dfca0f93461fc041f2bd2444551a4515 08-Nov-2012 Jim Miller <jaggies@google.com> am 2c29deaa: am 6be441c5: Merge "Add mechanism to kick keyguard to show the assistant" into jb-mr1-lockscreen-dev

* commit '2c29deaa2650091d9206b8fa93f8a447ee247d52':
Add mechanism to kick keyguard to show the assistant
4eeb4f664ac6b5901a8e874dcf70c0382295f792 08-Nov-2012 Jim Miller <jaggies@google.com> Add mechanism to kick keyguard to show the assistant

Fixes bug 7499778

Change-Id: Ic9ea514feb489feeee6716f40bdb9792842f9515
ayoutlib/bridge/src/android/view/IWindowManagerImpl.java
7b172a49a90ea6784dbfe0002474f9d4fd4ace1a 07-Nov-2012 Kenny Root <kroot@google.com> am 58ed5d74: am 768d9e1a: Merge "Correct executable bit for source files"

* commit '58ed5d748c0b9b64845975ef5844ad313de7c3f6':
Correct executable bit for source files
58ed5d748c0b9b64845975ef5844ad313de7c3f6 07-Nov-2012 Kenny Root <kroot@google.com> am 768d9e1a: Merge "Correct executable bit for source files"

* commit '768d9e1a72ceee7d4a5f608776b87b62d6ce4a04':
Correct executable bit for source files
c7dc250d5a3dab93ff87e9986a71ae58ff124399 07-Nov-2012 Jim Miller <jaggies@google.com> am fe7e94a0: am 088fb915: Merge "Add isSafeModeEnabled() API to WindowManagerService" into jb-mr1-lockscreen-dev

* commit 'fe7e94a094746b608eb926fadc3ee1446bbb0d58':
Add isSafeModeEnabled() API to WindowManagerService
3a084af2e90849aaa8beb3a610189e3399c63ea0 07-Nov-2012 Kenny Root <kroot@google.com> Correct executable bit for source files

Many media files and source code files were marked as executable in Git.
Remove those.

Also a shell script and python script were not marked as executable.

Change-Id: Ieb51bafb46c895a21d2e83696f5a901ba752b2c5
idl/AST.cpp
idl/AST.h
idl/Type.cpp
idl/Type.h
ayoutlib/bridge/src/android/util/Log_Delegate.java
ayoutlib/create/src/com/android/tools/layoutlib/annotations/Nullable.java
ayoutlib/create/src/com/android/tools/layoutlib/annotations/VisibleForTesting.java
ayoutlib/create/src/com/android/tools/layoutlib/create/DependencyFinder.java
bfec0a8616bc197ee3b7b71be6fed1939d0c3c4d 06-Nov-2012 Jim Miller <jaggies@google.com> Add isSafeModeEnabled() API to WindowManagerService

This adds a means of determining when the device is in safe mode,
as required by keyguard to disabled some features.

Change-Id: I31d357e6738c92e1837f9e0263e5f3f4de66315a
ayoutlib/bridge/src/android/view/IWindowManagerImpl.java
32d7f8cb867c9ef730d8fc78bccebed1ab7ac269 19-Oct-2012 Maurice Chu <mochu@google.com> Merge "Enhance AIDL to take an explicit id for methods"
fcc93e734be9fe4608fb5a6818163104cdec3fb5 19-Oct-2012 Xavier Ducrohet <xav@android.com> am 135b5ba5: Layoutlib: Read and close XML files as soon as possible. do not merge.

* commit '135b5ba52431b147d51a81b807784009cd0510dd':
Layoutlib: Read and close XML files as soon as possible. do not merge.
135b5ba52431b147d51a81b807784009cd0510dd 18-Oct-2012 Xavier Ducrohet <xav@android.com> Layoutlib: Read and close XML files as soon as possible. do not merge.

Because passing an InputStream to KXML does not close the
stream after the file has been parsed, the files are staying
locked on windows until the gc and finalizers are run.

This change preload the XML files and close their stream,
and then pass the content in a stream to the parser.

(cherry picked from commit c48b0b940d632b9862ff6aa32665e37fe9e50845)

Change-Id: I1b225454c166026c1aab6290c55ac8279e8862d5
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/ParserFactory.java
dc8ae9f758e034d63104a48daf4d8014fe5dc13a 19-Oct-2012 Xavier Ducrohet <xav@android.com> am 26d76606: am d8149b03: Merge "Layoutlib: Read and close XML files as soon as possible." into jb-mr1-dev

* commit '26d76606aff48680fc61f9decaeddff3a568ca58':
Layoutlib: Read and close XML files as soon as possible.
26d76606aff48680fc61f9decaeddff3a568ca58 19-Oct-2012 Xavier Ducrohet <xav@android.com> am d8149b03: Merge "Layoutlib: Read and close XML files as soon as possible." into jb-mr1-dev

* commit 'd8149b03a8676a49f6ca500eecafe79fadf046a7':
Layoutlib: Read and close XML files as soon as possible.
02822d059031d539f4b4b69ae0ee6c4ad52388f2 18-Oct-2012 Maurice Chu <mochu@google.com> Enhance AIDL to take an explicit id for methods

This adds an annotation to methods in AIDL of the form
"void myMethod() = 3;" to explicitly set the onTransact
id for the method. Either all methods must have explicitly
annotated id's or none of them should be explicitly annotated.
There is error checking in the AIDL compiler
for duplicate id's and id's outside of the valid range.

Bug: 7353910
Change-Id: I868045e3f112c9a279c573cea368a621116cbf77
idl/aidl.cpp
idl/aidl_language.h
idl/aidl_language_l.l
idl/aidl_language_y.y
idl/generate_java_binder.cpp
c48b0b940d632b9862ff6aa32665e37fe9e50845 18-Oct-2012 Xavier Ducrohet <xav@android.com> Layoutlib: Read and close XML files as soon as possible.

Because passing an InputStream to KXML does not close the
stream after the file has been parsed, the files are staying
locked on windows until the gc and finalizers are run.

This change preload the XML files and close their stream,
and then pass the content in a stream to the parser.

Change-Id: Iabe27989dc616ec9e7de88e52b1ec3af9f007f7c
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/ParserFactory.java
64b3de296cdbc8c02e2890f8853409c6d49cddb1 18-Oct-2012 Xavier Ducrohet <xav@android.com> am 434cd38f: Update layoutlib for jb mr1. do not merge.

* commit '434cd38f96a4a87220a8218901622f31e567354a':
Update layoutlib for jb mr1. do not merge.
434cd38f96a4a87220a8218901622f31e567354a 17-Oct-2012 Xavier Ducrohet <xav@android.com> Update layoutlib for jb mr1. do not merge.

Status bar displayed on all devices.
Update logic for displaying nav bar to whether or not
device has soft button.

Update navigation buttons to new look.
Remove battery and signal from navigation bar.

(cherry picked from commit 891b703f7b1e0e396d16477cc66a286da7161b49)

Change-Id: Id7cc9ad4255d2c4d2e6461a565dfe2cc17e12e75
ayoutlib/bridge/resources/bars/hdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/hdpi/ic_sysbar_back_default.png
ayoutlib/bridge/resources/bars/hdpi/ic_sysbar_home.png
ayoutlib/bridge/resources/bars/hdpi/ic_sysbar_home_default.png
ayoutlib/bridge/resources/bars/hdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/hdpi/ic_sysbar_recent_default.png
ayoutlib/bridge/resources/bars/mdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/mdpi/ic_sysbar_back_default.png
ayoutlib/bridge/resources/bars/mdpi/ic_sysbar_home.png
ayoutlib/bridge/resources/bars/mdpi/ic_sysbar_home_default.png
ayoutlib/bridge/resources/bars/mdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/mdpi/ic_sysbar_recent_default.png
ayoutlib/bridge/resources/bars/navigation_bar.xml
ayoutlib/bridge/resources/bars/phone_system_bar.xml
ayoutlib/bridge/resources/bars/status_bar.xml
ayoutlib/bridge/resources/bars/xhdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/xhdpi/ic_sysbar_back_default.png
ayoutlib/bridge/resources/bars/xhdpi/ic_sysbar_home.png
ayoutlib/bridge/resources/bars/xhdpi/ic_sysbar_home_default.png
ayoutlib/bridge/resources/bars/xhdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/xhdpi/ic_sysbar_recent_default.png
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/FakeActionBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/NavigationBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/PhoneSystemBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/StatusBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/TabletSystemBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/TitleBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderDrawable.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
d5a68ad8b73e2a3d6fcd74cdc11407d3b50cee94 18-Oct-2012 Xavier Ducrohet <xav@android.com> am 441f0672: am 9c474738: Merge "Update layoutlib for jb mr1." into jb-mr1-dev

* commit '441f0672ed65feead06c4a05d7e6bf894ab2a982':
Update layoutlib for jb mr1.
441f0672ed65feead06c4a05d7e6bf894ab2a982 18-Oct-2012 Xavier Ducrohet <xav@android.com> am 9c474738: Merge "Update layoutlib for jb mr1." into jb-mr1-dev

* commit '9c474738a29f77359a461035855d6e9b3935ade1':
Update layoutlib for jb mr1.
891b703f7b1e0e396d16477cc66a286da7161b49 17-Oct-2012 Xavier Ducrohet <xav@android.com> Update layoutlib for jb mr1.

Status bar displayed on all devices.
Update logic for displaying nav bar to whether or not
device has soft button.

Update navigation buttons to new look.
Remove battery and signal from navigation bar.

Change-Id: I8241d71269a17126218a3062ba727e379a8e6c25
ayoutlib/bridge/resources/bars/hdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/hdpi/ic_sysbar_back_default.png
ayoutlib/bridge/resources/bars/hdpi/ic_sysbar_home.png
ayoutlib/bridge/resources/bars/hdpi/ic_sysbar_home_default.png
ayoutlib/bridge/resources/bars/hdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/hdpi/ic_sysbar_recent_default.png
ayoutlib/bridge/resources/bars/mdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/mdpi/ic_sysbar_back_default.png
ayoutlib/bridge/resources/bars/mdpi/ic_sysbar_home.png
ayoutlib/bridge/resources/bars/mdpi/ic_sysbar_home_default.png
ayoutlib/bridge/resources/bars/mdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/mdpi/ic_sysbar_recent_default.png
ayoutlib/bridge/resources/bars/navigation_bar.xml
ayoutlib/bridge/resources/bars/phone_system_bar.xml
ayoutlib/bridge/resources/bars/status_bar.xml
ayoutlib/bridge/resources/bars/tablet_system_bar.xml
ayoutlib/bridge/resources/bars/xhdpi/ic_sysbar_back.png
ayoutlib/bridge/resources/bars/xhdpi/ic_sysbar_back_default.png
ayoutlib/bridge/resources/bars/xhdpi/ic_sysbar_home.png
ayoutlib/bridge/resources/bars/xhdpi/ic_sysbar_home_default.png
ayoutlib/bridge/resources/bars/xhdpi/ic_sysbar_recent.png
ayoutlib/bridge/resources/bars/xhdpi/ic_sysbar_recent_default.png
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/FakeActionBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/NavigationBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/PhoneSystemBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/StatusBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/TabletSystemBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/TitleBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderDrawable.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
50e137c7df4d9781f92a26afc1bdba1d817c703d 16-Oct-2012 Xavier Ducrohet <xav@android.com> am 136bd7c6: am 477687c1: Merge "Fix SDK layout rendering in Eclipse." into jb-mr1-dev

* commit '136bd7c6aef8767dc208811ad87f90956333e78f':
Fix SDK layout rendering in Eclipse.
136bd7c6aef8767dc208811ad87f90956333e78f 16-Oct-2012 Xavier Ducrohet <xav@android.com> am 477687c1: Merge "Fix SDK layout rendering in Eclipse." into jb-mr1-dev

* commit '477687c1eb1919c54e2bffba2a740df3b4af6668':
Fix SDK layout rendering in Eclipse.
6dfd0b39a63559999a769f93d5cdb48abe675344 15-Oct-2012 Xavier Ducrohet <xav@android.com> Fix SDK layout rendering in Eclipse.

Change-Id: I0e9e85632012c0929b987ee9d0ccf7c25eece322
ayoutlib/bridge/src/android/os/SystemClock_Delegate.java
ayoutlib/bridge/src/android/view/Choreographer_Delegate.java
ayoutlib/bridge/src/android/view/Display_Delegate.java
ayoutlib/bridge/src/android/view/IWindowManagerImpl.java
ayoutlib/bridge/src/android/view/WindowManagerGlobal_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/view/WindowManagerImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
337aa27a6307e0f40705ee676551dda4bf6cb894 07-Oct-2012 Craig Mautner <cmautner@google.com> am 8ee7ac22: am 33877e15: Merge "Adds showWhenLocked attribute to Activities." into jb-mr1-dev

* commit '8ee7ac22e6aec5df5405a3e2130d593c50bc39b2':
Adds showWhenLocked attribute to Activities.
8ee7ac22e6aec5df5405a3e2130d593c50bc39b2 07-Oct-2012 Craig Mautner <cmautner@google.com> am 33877e15: Merge "Adds showWhenLocked attribute to Activities." into jb-mr1-dev

* commit '33877e15b8bfc50bd874027689a4794aa93b923d':
Adds showWhenLocked attribute to Activities.
33877e15b8bfc50bd874027689a4794aa93b923d 07-Oct-2012 Craig Mautner <cmautner@google.com> Merge "Adds showWhenLocked attribute to Activities." into jb-mr1-dev
5962b12bedc4a1d0354816c1cd6b06ba04f6d807 05-Oct-2012 Craig Mautner <cmautner@google.com> Adds showWhenLocked attribute to Activities.

The new attribute allows an Activity such as the alarm to appear
on all users screens.

Bug: 7213805 fixed.
Change-Id: If7866b13d88c04af07debc69e0e875d0adc6050a
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
4bb6d07a8b93e37b20299374141118c07e7bc80c 06-Oct-2012 Jeff Brown <jeffbrown@google.com> am 513b8ea1: am 3f1246a2: Merge "Coordinate screen on with the window manager." into jb-mr1-dev

* commit '513b8ea16fdedd7b6debd718798c0220edd61d7f':
Coordinate screen on with the window manager.
513b8ea16fdedd7b6debd718798c0220edd61d7f 05-Oct-2012 Jeff Brown <jeffbrown@google.com> am 3f1246a2: Merge "Coordinate screen on with the window manager." into jb-mr1-dev

* commit '3f1246a29b58cf78ebe674ec0905ad1795027aac':
Coordinate screen on with the window manager.
c38c9be031ddad5cf551b55458889f11e01dc5b2 04-Oct-2012 Jeff Brown <jeffbrown@google.com> Coordinate screen on with the window manager.

Bug: 7267457
Change-Id: Ic2c322253639e1f0b2e4e72a7b145025d0240f93
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
451d49b34c8399a3479ca96addcc11857b6afb3e 05-Oct-2012 Adam Cohen <adamcohen@google.com> am a39c5c36: am 327424d6: Merge "Plumbing to allow keyguard to be shown with user switcher (issue 7175023)" into jb-mr1-dev

* commit 'a39c5c369af24cc25f77b9ac97dfffae41c73eb6':
Plumbing to allow keyguard to be shown with user switcher (issue 7175023)
a39c5c369af24cc25f77b9ac97dfffae41c73eb6 05-Oct-2012 Adam Cohen <adamcohen@google.com> am 327424d6: Merge "Plumbing to allow keyguard to be shown with user switcher (issue 7175023)" into jb-mr1-dev

* commit '327424d69b99213e872e91f05feba2d0a137d6c7':
Plumbing to allow keyguard to be shown with user switcher (issue 7175023)
f752202bee88e31ce765483ba2efa6999ae9c9ad 04-Oct-2012 Adam Cohen <adamcohen@google.com> Plumbing to allow keyguard to be shown with user switcher (issue 7175023)

-> Also reduced calls to lockNow, and moved this call in ActivityManagerService

Change-Id: I9ba34ca902f7c0f71fa4ec302104688ca8d11f55
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
85486bd33de1f3665f158df636217166c83199f5 04-Oct-2012 Dianne Hackborn <hackbod@google.com> am cd09cb8f: am 6fb7fd3a: Merge "Fix issue #7267494, issue #7212347" into jb-mr1-dev

* commit 'cd09cb8fb79442aa22018db9134ef1ef22059360':
Fix issue #7267494, issue #7212347
cd09cb8fb79442aa22018db9134ef1ef22059360 04-Oct-2012 Dianne Hackborn <hackbod@google.com> am 6fb7fd3a: Merge "Fix issue #7267494, issue #7212347" into jb-mr1-dev

* commit '6fb7fd3a0939413d8968fc0d404ed499d7f7dc52':
Fix issue #7267494, issue #7212347
c428aae6429c3fd5e2037c3793af399d9f6e23bf 04-Oct-2012 Dianne Hackborn <hackbod@google.com> Fix issue #7267494, issue #7212347

7267494 Calendar is not syncing
Check for whether a content provider is dead before returning
it. This is kind-of a band-aid, but probably the right thing
to do; I'm just not sure exactly the full details of why this
problem is happening. Hopefully this "fixes" it, though I don't
have a way to repro to tell.

7212347 System power off dialog is only visible to user 0
Make it visible. Also turn on some battery debugging stuff and
clean it up so we can just keep it.

Change-Id: I5add25bf2a763c8dfe1df23bc5c753a9ea5d157a
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java
13176e639cca469268dfb99128b7cdff2d75d098 02-Oct-2012 Jeff Brown <jeffbrown@google.com> am cd781ce2: am cb6f950f: Merge "New internal API to eliminate poke locks." into jb-mr1-dev

* commit 'cd781ce2ebc104cf83d630889ae330a980635c9e':
New internal API to eliminate poke locks.
cd781ce2ebc104cf83d630889ae330a980635c9e 02-Oct-2012 Jeff Brown <jeffbrown@google.com> am cb6f950f: Merge "New internal API to eliminate poke locks." into jb-mr1-dev

* commit 'cb6f950f15919794d26a55c20090fe5dacd11e4a':
New internal API to eliminate poke locks.
1e3b98d47df596d0c4eadbdf60143709f8465b28 01-Oct-2012 Jeff Brown <jeffbrown@google.com> New internal API to eliminate poke locks.

Added a new WindowManager.LayoutParams inputFeatures flag
to disable automatic user activity behavior when an input
event is sent to a window.

Added a new WindowManager.LayoutParams field userActivityTimeout.

Bug: 7165399
Change-Id: I204eafa37ef26aacc2c52a1ba1ecce1eebb0e0d9
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java
9370592e23cd3dd6dbf514fa21f4c17b76d60911 01-Oct-2012 Jeff Brown <jeffbrown@google.com> am 5d359a92: am 5e3dcf72: Merge "Remove clearUserActivityTimeout()." into jb-mr1-dev

* commit '5d359a92658d01b0220f77eb294d6124848739bc':
Remove clearUserActivityTimeout().
5d359a92658d01b0220f77eb294d6124848739bc 01-Oct-2012 Jeff Brown <jeffbrown@google.com> am 5e3dcf72: Merge "Remove clearUserActivityTimeout()." into jb-mr1-dev

* commit '5e3dcf7210bed65d8f9aec40d9da078daf76dead':
Remove clearUserActivityTimeout().
843b014aca849a80fe1b2193dc53228f7a8525bd 01-Oct-2012 Jeff Brown <jeffbrown@google.com> am 489c1e9f: am 7f813202: Merge "Get rid of preventScreenOn()." into jb-mr1-dev

* commit '489c1e9f82250770004ec9080778546b040f6146':
Get rid of preventScreenOn().
edce6a797878792de2b0bde4360f3171b9e9d9d2 01-Oct-2012 Jeff Brown <jeffbrown@google.com> Remove clearUserActivityTimeout().

This function is not implemented and not needed.

Bug: 7165399
Change-Id: Ib1c50fabad6292ccf670404ba70aeb1242c4614d
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java
489c1e9f82250770004ec9080778546b040f6146 29-Sep-2012 Jeff Brown <jeffbrown@google.com> am 7f813202: Merge "Get rid of preventScreenOn()." into jb-mr1-dev

* commit '7f813202cb08a829b59e17be749ffee4a2f482b8':
Get rid of preventScreenOn().
120664816a9bf325b618d8dd40febae2e3636ec8 29-Sep-2012 Jeff Brown <jeffbrown@google.com> Get rid of preventScreenOn().

Bug: 7165399
Change-Id: I1968265ecd74fff4d85efd2ca03b1983425ea518
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java
ff7564ca186447e2445bb0af2a66fec43b1a838f 27-Sep-2012 Jeff Brown <jeffbrown@google.com> am 0c9bbf4e: Merge "Make DreamManagerService more robust." into jb-mr1-dev

* commit '0c9bbf4e13f2be6a4b930da2379c77e06a68c2cb':
Make DreamManagerService more robust.
62c82e4d92cc0b856059f905d81885f7808a0e7d 26-Sep-2012 Jeff Brown <jeffbrown@google.com> Make DreamManagerService more robust.

Clearly isolated the DreamManagerService and DreamController
responsibilities. DreamManagerService contains just enough logic to
manage the global synchronous behaviors. All of the asynchronous
behaviors are in DreamController.

Added a new PowerManager function called nap() to request the device
to start napping. If it is a good time to nap, then the
PowerManagerService will call startDream() on the DreamManagerService
to start dreaming.

Fixed a possible multi-user issue by explicitly tracking for
which user a dream service is being started and stopping dreams
when the current user changes. The user id is also passed to
bindService() to ensure that the dream has the right environment.

Fix interactions with docks and the UI mode manager. It is
important that we always send the ACTION_DOCK_EVENT broadcast
to the system so that it can configure audio routing and the like.
When docked, the UI mode manager starts a dock app if there is
one, otherwise it starts a dream.

This change resolves issues with dreams started for reasons other
than a user activity timeout.

Bug: 7204211
Change-Id: I3193cc8190982c0836319176fa2e9c4dcad9c01f
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java
f7243dcc616bc9bd84fa519356babb15d6f17e7d 06-Sep-2012 Xavier Ducrohet <xav@android.com> Add --error-on-failed-insert option to aapt. do not merge.

The new SDK build system give the ability to insert
versionCode/Name and min/targetSdkVersion in the manifest
but aapt won't replace those if they already exist.

The main problem is that aapt doesn't actually fail when
it doesn't replace them, making the output not what the
developer wanted.

This patch set adds an option to aapt to make it return
an error if the insert failed because the attribute
already existed.

Cherry-pick from 7714a2429b192c88e134ff67b969121bbaeb5457

Change-Id: I8938ec1238da407a8562c974e9598db39001ffd9
apt/Bundle.h
apt/Main.cpp
apt/Resource.cpp
0122a3db313d3a7b55e0dee5eae1d7798c0d55be 26-Sep-2012 Xavier Ducrohet <xav@android.com> Fix writing text version of styleable IDs. do not merge.

(cherry picked from commit d16047434bca24b2811de7ea9d22de6ee0f87f79)

Change-Id: Ic679080d5157daf77c35516c8f682bd13e2b4d96
apt/Resource.cpp
4649d03b96f576c4a7d5d4aa7d7d637a6ae091aa 26-Sep-2012 Xavier Ducrohet <xav@android.com> am 6c6ddbff: Fix writing text version of styleable IDs. do not merge.

* commit '6c6ddbff890afb2133f6da79237cf581f00c13ba':
Fix writing text version of styleable IDs. do not merge.
6c6ddbff890afb2133f6da79237cf581f00c13ba 26-Sep-2012 Xavier Ducrohet <xav@android.com> Fix writing text version of styleable IDs. do not merge.

(cherry picked from commit d16047434bca24b2811de7ea9d22de6ee0f87f79)

Change-Id: Ia1fc343e0649b175d290357f63eebec0dd1ae14a
apt/Resource.cpp
253f76357dc9acdb329f321190eca4f0b049b4af 26-Sep-2012 Xavier Ducrohet <xav@android.com> am fb34490f: Merge "Fix writing text version of styleable IDs."

* commit 'fb34490f4dca7aac623fb9a80fe9a2371107a786':
Fix writing text version of styleable IDs.
d16047434bca24b2811de7ea9d22de6ee0f87f79 26-Sep-2012 Xavier Ducrohet <xav@android.com> Fix writing text version of styleable IDs.

Change-Id: I3f2614689a597de3fd46628c020cf649a808c82f
apt/Resource.cpp
ca94050705ff1886e622a09c2691a76e92c0f9d8 25-Sep-2012 Jean-Baptiste Queru <jbq@google.com> Merge into jb-mr1-dev

Change-Id: I5a9970a011de789aaeb1c4c4ed58ae750071b135
6d51571835737c7502a2e111ee9dc2527ebad984 21-Sep-2012 Jeff Sharkey <jsharkey@android.com> Allow acquiring ContentProviders across users.

Otherwise services like SystemUI will always open content://-style
Uris as USER_OWNER. Surfaces through createPackageContextAsUser()
which points all ContentResolver operations towards a given user.

Start using in RemoteViews, so that Notifications correctly resolve
image Uris to the sending user. Also add user support for "content"
shell tool.

Bug: 7202982
Change-Id: I8cb7fb8a812e825bb0b5833799dba87055ff8699
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
dbf30edf7647939966747c27a65d00cd52d32fda 19-Sep-2012 Kenny Root <kroot@google.com> Update preloaded-classes for JB-MR1

Bug: 5213043
Change-Id: I13fa58fded8e47d2f11d1fbe6724bd81ce35276a
reload/Record.java
f43f5c7aaa617e740e6e2775c85926b97abaf5b1 11-Sep-2012 Xavier Ducrohet <xav@android.com> Add --output-text-symbols option to aapt. do not merge.

Library projects in the SDK are built using --non-constant-id
to generate a temporary R.java class.
When the library is packaged with the application to generate an
apk, the R class is recreated with the proper IDs due to all the
resources coming from the app and all the libraries.

However for large apps with many libraries (each with their own
R class in their package), this means a lot of unnecessary IDs:
all R classes contains all the IDs including for resources from
by projects they don't have access through the dependency graph.

For really large apps (X,000 resources), with lots of libraries
(10+), this can generate tens of thousands of resources, which
can trigger dalvik's limit of 65K fields and methods per dex
files.

This changes lets aapt generate not only the R class but a simple
text file containing the list of all those IDs so that it is
easier to parse back. The SDK build system will not ask aapt
to generate the R class of the libraries (through the
--extra-packages option), instead it will then read this
file to know what IDs are needed for each library and generate
a much smaller R class for each library (using the same text
file output from compiling all the resources to get the final
integer value).

Chery-picked from f5de650ff1e161ea135c828e43515895343d2c0f

Change-Id: I0e08ceb6e4ceb3feb169ce17df21dd35a2505e7f
apt/Bundle.h
apt/Main.cpp
apt/Resource.cpp
a41d5db2350108c1d2eceb83b677faed6b7893a8 17-Sep-2012 Xavier Ducrohet <xav@android.com> am 79c95c3b: am 5de96035: am 31820a35: Merge "Add --output-text-symbols option to aapt."

* commit '79c95c3b50ff332f9c92430fd10a15eb648a0b02':
Add --output-text-symbols option to aapt.
9ff22e41d05aa66bede1e72767d67dcc2f2d500e 17-Sep-2012 Xavier Ducrohet <xav@android.com> am 8a67598e: am cc9747ed: am d7252571: Merge "Add --error-on-failed-insert option to aapt."

* commit '8a67598eb780560b7efe4e1d9944c7cbcf83bbb1':
Add --error-on-failed-insert option to aapt.
5de9603529ee01a416b5fa31074197565fde4482 17-Sep-2012 Xavier Ducrohet <xav@android.com> am 31820a35: Merge "Add --output-text-symbols option to aapt."

* commit '31820a35b2cf864a8dcb71d43e6fd21d54f49a2d':
Add --output-text-symbols option to aapt.
cc9747ed45302956a3ec9dd21f7b950b837dbfdd 17-Sep-2012 Xavier Ducrohet <xav@android.com> am d7252571: Merge "Add --error-on-failed-insert option to aapt."

* commit 'd72525718ea7ef3e1f97cf557365b143c8919a5b':
Add --error-on-failed-insert option to aapt.
f5de650ff1e161ea135c828e43515895343d2c0f 11-Sep-2012 Xavier Ducrohet <xav@android.com> Add --output-text-symbols option to aapt.

Library projects in the SDK are built using --non-constant-id
to generate a temporary R.java class.
When the library is packaged with the application to generate an
apk, the R class is recreated with the proper IDs due to all the
resources coming from the app and all the libraries.

However for large apps with many libraries (each with their own
R class in their package), this means a lot of unnecessary IDs:
all R classes contains all the IDs including for resources from
by projects they don't have access through the dependency graph.

For really large apps (X,000 resources), with lots of libraries
(10+), this can generate tens of thousands of resources, which
can trigger dalvik's limit of 65K fields and methods per dex
files.

This changes lets aapt generate not only the R class but a simple
text file containing the list of all those IDs so that it is
easier to parse back. The SDK build system will not ask aapt
to generate the R class of the libraries (through the
--extra-packages option), instead it will then read this
file to know what IDs are needed for each library and generate
a much smaller R class for each library (using the same text
file output from compiling all the resources to get the final
integer value).

Change-Id: I4db959fec372cf3ead9950e4b2b82fa1ae7eed2d
apt/Bundle.h
apt/Main.cpp
apt/Resource.cpp
7714a2429b192c88e134ff67b969121bbaeb5457 06-Sep-2012 Xavier Ducrohet <xav@android.com> Add --error-on-failed-insert option to aapt.

The new SDK build system give the ability to insert
versionCode/Name and min/targetSdkVersion in the manifest
but aapt won't replace those if they already exist.

The main problem is that aapt doesn't actually fail when
it doesn't replace them, making the output not what the
developer wanted.

This patch set adds an option to aapt to make it return
an error if the insert failed because the attribute
already existed.

Change-Id: I8938ec1238da407a8562c974e9598db39001ffd9
apt/Bundle.h
apt/Main.cpp
apt/Resource.cpp
9d9ece3c1e16001b63244459cdf4b428f4272d2e 11-Sep-2012 Dianne Hackborn <hackbod@google.com> Animations for user switching.

The window manager now has a facility to provide a full-screen
animation, which the activity manager uses every time a user
switch happens.

The current animation is just a simple dumb slide until we get
a design from UX.

Also some cleanup: moved the portrait task animations to the
default config so we always have an animation for them, and finally
got the java symbol stuff out of public.xml.

Change-Id: I726f77422b2ef5f2d98f961f8da003e045f0ebe8
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
e3e5349874fd1534cafe6f8c1cd28bf4f53181c3 10-Sep-2012 Elliott Hughes <enh@google.com> am 61d09810: am 3150feef: am bfe1ab82: Merge "Fix aapt to get expat header files from the approved location."

* commit '61d09810a7b478810adc15af2495136255377e25':
Fix aapt to get expat header files from the approved location.
3150feef0b27ad34370904eb12875805f6c84e8a 10-Sep-2012 Elliott Hughes <enh@google.com> am bfe1ab82: Merge "Fix aapt to get expat header files from the approved location."

* commit 'bfe1ab825731d365fef169deab646d7ceeafc998':
Fix aapt to get expat header files from the approved location.
ee15e1547531919effd77fa546daffaef94691a4 09-Sep-2012 Elliott Hughes <enh@google.com> Fix aapt to get expat header files from the approved location.

Change-Id: Ic7c796e048cfe98ee355c18b3708fee5ea716e2e
apt/Android.mk
apt/StringPool.h
01fcb728940c12498ab2c7503fe86a849725ea12 07-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Use "ldrtl" and "ldltr" config qualifiers for RTL / LTR resources" into jb-mr1-dev
4b15ab66a064ba4fae3bb1ff474d8b5fc38e5490 07-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> Fixing the build

Change-Id: I123b128f5d9e50653d8d4ed73ea07920b370b0fb
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
1cf70bbf96930662cab0e699d70b62865766ff52 06-Aug-2012 Svetoslav Ganov <svetoslavganov@google.com> Screen magnification - feature - framework.

This change is the initial check in of the screen magnification
feature. This feature enables magnification of the screen via
global gestures (assuming it has been enabled from settings)
to allow a low vision user to efficiently use an Android device.

Interaction model:

1. Triple tap toggles permanent screen magnification which is magnifying
the area around the location of the triple tap. One can think of the
location of the triple tap as the center of the magnified viewport.
For example, a triple tap when not magnified would magnify the screen
and leave it in a magnified state. A triple tapping when magnified would
clear magnification and leave the screen in a not magnified state.

2. Triple tap and hold would magnify the screen if not magnified and enable
viewport dragging mode until the finger goes up. One can think of this
mode as a way to move the magnified viewport since the area around the
moving finger will be magnified to fit the screen. For example, if the
screen was not magnified and the user triple taps and holds the screen
would magnify and the viewport will follow the user's finger. When the
finger goes up the screen will clear zoom out. If the same user interaction
is performed when the screen is magnified, the viewport movement will
be the same but when the finger goes up the screen will stay magnified.
In other words, the initial magnified state is sticky.

3. Pinching with any number of additional fingers when viewport dragging
is enabled, i.e. the user triple tapped and holds, would adjust the
magnification scale which will become the current default magnification
scale. The next time the user magnifies the same magnification scale
would be used.

4. When in a permanent magnified state the user can use two or more fingers
to pan the viewport. Note that in this mode the content is panned as
opposed to the viewport dragging mode in which the viewport is moved.

5. When in a permanent magnified state the user can use three or more
fingers to change the magnification scale which will become the current
default magnification scale. The next time the user magnifies the same
magnification scale would be used.

6. The magnification scale will be persisted in settings and in the cloud.

Note: Since two fingers are used to pan the content in a permanently magnified
state no other two finger gestures in touch exploration or applications
will work unless the uses zooms out to normal state where all gestures
works as expected. This is an intentional tradeoff to allow efficient
panning since in a permanently magnified state this would be the dominant
action to be performed.

Design:

1. The window manager exposes APIs for setting accessibility transformation
which is a scale and offsets for X and Y axis. The window manager queries
the window policy for which windows will not be magnified. For example,
the IME windows and the navigation bar are not magnified including windows
that are attached to them.

2. The accessibility features such a screen magnification and touch
exploration are now impemented as a sequence of transformations on the
event stream. The accessibility manager service may request each
of these features or both. The behavior of the features is not changed
based on the fact that another one is enabled.

3. The screen magnifier keeps a viewport of the content that is magnified
which is surrounded by a glow in a magnified state. Interactions outside
of the viewport are delegated directly to the application without
interpretation. For example, a triple tap on the letter 'a' of the IME
would type three letters instead of toggling magnified state. The viewport
is updated on screen rotation and on window transitions. For example,
when the IME pops up the viewport shrinks.

4. The glow around the viewport is implemented as a special type of window
that does not take input focus, cannot be touched, is laid out in the
screen coordiates with width and height matching these of the screen.
When the magnified region changes the root view of the window draws the
hightlight but the size of the window does not change - unless a rotation
happens. All changes in the viewport size or showing or hiding it are
animated.

5. The viewport is encapsulated in a class that knows how to show,
hide, and resize the viewport - potentially animating that.
This class uses the new animation framework for animations.

6. The magnification is handled by a magnification controller that
keeps track of the current trnasformation to be applied to the screen
content and the desired such. If these two are not the same it is
responsibility of the magnification controller to reconcile them by
potentially animating the transition from one to the other.

7. A dipslay content observer wathces for winodw transitions, screen
rotations, and when a rectange on the screen has been reqeusted. This
class is responsible for handling interesting state changes such
as changing the viewport bounds on IME pop up or screen rotation,
panning the content to make a requested rectangle visible on the
screen, etc.

8. To implement viewport updates the window manger was updated with APIs
to watch for window transitions and when a rectangle has been requested
on the screen. These APIs are protected by a signature level permission.
Also a parcelable and poolable window info class has been added with
APIs for getting the window info given the window token. This enables
getting some useful information about a window. There APIs are also
signature protected.

bug:6795382

Change-Id: Iec93da8bf6376beebbd4f5167ab7723dc7d9bd00
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowSession.java
8a802dbdabdfd27692c2e38b2c3adafe95566106 05-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Use "ldrtl" and "ldltr" config qualifiers for RTL / LTR resources

- we cannot use "rtl" / "ltr" qualifiers as they can conflict with ISO-639 Alpha-3
codespace which uses 3 letters for identifying a language code (and could use either
"rtl" or "ltr" strings for defining a language in the future).

- we are using instead "ldrtl" for RTL and "ldltr" for LTR resources. Those qualifiers
are defined by more than 3 chars and outside of what is defined into ISO-639. They
are also more understandable as "ld" prefix is for "layoutdirection"

Change-Id: Id43e948103707e09bef63ebd54ac1779dde58e72
apt/AaptAssets.cpp
de66e670a7753283fd5cdc75c2cd42c93cd499c0 05-Sep-2012 Xavier Ducrohet <xav@android.com> Merge "Add some new native deletage to layoutlib." into jb-mr1-dev
035ce2ca92742894f7f906c93d7d217c647aa19a 05-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Add support for "-rtl" in resources" into jb-mr1-dev
5eb51defe39f765d6ebe868dba7f187f7dd990f6 04-Sep-2012 Xavier Ducrohet <xav@android.com> Add some new native deletage to layoutlib.

Change-Id: Ib53df6c944ecd9680bf929afe03b08bcaa61ad70
ayoutlib/bridge/src/android/os/SystemClock_Delegate.java
ayoutlib/bridge/src/android/util/FloatMath_Delegate.java
20e809870d8ac1e5b848f2daf51b2272ef89bdfc 01-Sep-2012 Dianne Hackborn <hackbod@google.com> Add registering for explicit users.

New API to register as an explicit user, which allows you to
also select ALL to see broadcasts for all users.

New BroadcastReceiver API to find out which user the broadcast
was sent to.

Use this in app widget service to handle per-user package broadcasts
and boot completed broadcasts correctly.

Change-Id: Ibbe28993bd4aa93900c79e412026c27863019eb8
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
a492c3a7b2c18426fd0cb4d017eacbc368195dc5 24-Aug-2012 Jeff Brown <jeffbrown@google.com> Initial draft of high-level multi-display APIs.

This patch introduces the ability to create a Context that
is bound to a Display. The context gets its configuration and
metrics from that display and is able to provide a WindowManager
that is bound to the display.

To make it easier to use, we also add a new kind of Dialog
called a Presentation. Presentation takes care of setting
up the context as needed and watches for significant changes
in the display configuration. If the display is removed,
then the presentation simply dismisses itself.

Change-Id: Idc54b4ec84b1ff91505cfb78910cf8cd09696d7d
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
5ac72a29593ab9a20337a2225df52bdf4754be02 30-Aug-2012 Dianne Hackborn <hackbod@google.com> Improve multi-user broadcasts.

You can now use ALL and CURRENT when sending broadcasts, to specify
where the broadcast goes.

Sticky broadcasts are now correctly separated per user, and registered
receivers are filtered based on the requested target user.

New Context APIs for more kinds of sending broadcasts as users.

Updating a bunch of system code that sends broadcasts to explicitly
specify which user the broadcast goes to.

Made a single version of the code for interpreting the requested
target user ID that all entries to activity manager (start activity,
send broadcast, start service) use.

Change-Id: Ie29f02dd5242ef8c8fa56c54593a315cd2574e1c
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
7767eac3232ba2fb9828766813cdb481d6a97584 24-Aug-2012 Dianne Hackborn <hackbod@google.com> Keep track of whether an app is installed for each user.

This add a new per-user state for an app, indicating whether
it is installed for that user.

All system apps are always installed for all users (we still
use disable to "uninstall" them).

Now when you call into the package manager to install an app,
it will only install the app for that user unless you supply
a flag saying to install for all users. Only being installed
for the user is just the normal install state, but all other
users have marked in their state for that app that it is not
installed.

When you call the package manager APIs for information about
apps, uninstalled apps are treated as really being not visible
(somewhat more-so than disabled apps), unless you use the
GET_UNINSTALLED_PACKAGES flag.

If another user calls to install an app that is already installed,
just not for them, then the normal install process takes place
but in addition that user's installed state is toggled on.

The package manager will not send PACKAGE_ADDED, PACKAGE_REMOVED,
PACKAGE_REPLACED etc broadcasts to users who don't have a package
installed or not being involved in a change in the install state.
There are a few things that are not quite right with this -- for
example if you go through a full install (with a new apk) of an
app for one user who doesn't have it already installed, you will
still get the PACKAGED_REPLACED messages even though this is
technically the first install for your user. I'm not sure how
much of an issue this is.

When you call the existing API to uninstall an app, this toggles
the installed state of the app for that user to be off. Only if
that is the last user user that has the app uinstalled will it
actually be removed from the device. Again there is a new flag
you can pass in to force the app to be uninstalled for all users.

Also fixed issues with cleaning external storage of apps, which
was not dealing with multiple users. We now keep track of cleaning
each user for each package.

Change-Id: I00e66452b149defc08c5e0183fa673f532465ed5
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
5f7979993979466c79ab4f38d83c6f2aca361662 16-Jun-2012 Fabrice Di Meglio <fdimeglio@google.com> Add support for "-rtl" in resources

- fix bug #7035019 Need to have "-rtl" support for Resource

Change-Id: Ic82145c2ac672729d8a6c695a5f343276a1a0a2c
apt/AaptAssets.cpp
apt/AaptAssets.h
apt/ResourceTable.cpp
98365d7663cbd82979a5700faf0050220b01084d 20-Aug-2012 Jeff Brown <jeffbrown@google.com> Refactor for multi-display support.

Split WindowManagerImpl into two parts, the WindowManager
interface implementation remains where it is but the global
communications with the window manager are now handled by
the WindowManagerGlobal class. This change greatly simplifies
the challenge of having separate WindowManager instances
for each Context.

Removed WindowManagerImpl.getDefault(). This represents the
bulk of this change. Most of the usages of this method were
either to perform global functions (now handled by WindowManagerGlobal)
or to obtain the default display (now handled by DisplayManager).

Explicitly associate each new window with a display and make
the Display object available to the View hierarchy.

Add stubs for some new display manager API features.

Start to split apart the concepts of display id and layer stack.
since they operate at different layers of abstraction.
While it's true that each logical display uniquely corresponds to a
surface flinger layer stack, it is not necessarily the case that
they must use the same ids. Added Display.getLayerStack()
and started using it in places where it was relatively easy to do.

Change-Id: I29ed909114dec86807c4d3a5059c3fa0358bea61
ayoutlib/bridge/src/android/view/AttachInfo_Accessor.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
d2ae85d41ec1651dd1bf4c33fe31833ba5c5cff5 17-Aug-2012 Michael Jurka <mikejurka@google.com> Merge "Adding a thumbnail scale down animation" into jb-mr1-dev
79af1dd54c16cde063152922b42c96d72ae9eca8 17-Aug-2012 Dianne Hackborn <hackbod@google.com> Switch public APIs to use new UserHandle class for identifying users.

Gets rid of "yet another integer" confusion.

Change-Id: Id07ea7307aea7c62f0087c6663a1f1c08e2e5dee
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
50a94b86307793ca9d4d8f8564e5f2ba78fdde14 16-Aug-2012 Adam Powell <adamp@google.com> Allow multiple 'parcelable' declarations in aidl files

This solves a problem with declaring multiple Parcelable static inner
classes.

Change-Id: I5e42b412d6d937df19a388988be5aa58a8dbc3e4
idl/aidl.cpp
832cb229cd748505c90f74ae8154fc3557d61a73 13-Apr-2012 Michael Jurka <mikejurka@google.com> Adding a thumbnail scale down animation

Recents animation will temporarily look a bit
wrong, but a subsequent change will fix this.
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
9630704ed3b265f008a8f64ec60a33cf9dcd3345 28-Jul-2012 Jeff Brown <jeffbrown@google.com> Power manager rewrite.

The major goal of this rewrite is to make it easier to implement
power management policies correctly. According, the new
implementation primarily uses state-based rather than event-based
triggers for applying changes to the current power state.

For example, when an application requests that the proximity
sensor be used to manage the screen state (by way of a wake lock),
the power manager makes note of the fact that the set of
wake locks changed. Then it executes a common update function
that recalculates the entire state, first looking at wake locks,
then considering user activity, and eventually determining whether
the screen should be turned on or off. At this point it may
make a request to a component called the DisplayPowerController
to asynchronously update the display's powe state. Likewise,
DisplayPowerController makes note of the updated power request
and schedules its own update function to figure out what needs
to be changed.

The big benefit of this approach is that it's easy to mutate
multiple properties of the power state simultaneously then
apply their joint effects together all at once. Transitions
between states are detected and resolved by the update in
a consistent manner.

The new power manager service has is implemented as a set of
loosely coupled components. For the most part, information
only flows one way through these components (by issuing a
request to that component) although some components support
sending a message back to indicate when the work has been
completed. For example, the DisplayPowerController posts
a callback runnable asynchronously to tell the PowerManagerService
when the display is ready. An important feature of this
approach is that each component neatly encapsulates its
state and maintains its own invariants. Moreover, we do
not need to worry about deadlocks or awkward mutual exclusion
semantics because most of the requests are asynchronous.

The benefits of this design are especially apparent in
the implementation of the screen on / off and brightness
control animations which are able to take advantage of
framework features like properties, ObjectAnimator
and Choreographer.

The screen on / off animation is now the responsibility
of the power manager (instead of surface flinger). This change
makes it much easier to ensure that the animation is properly
coordinated with other power state changes and eliminates
the cause of race conditions in the older implementation.

The because of the userActivity() function has been changed
so that it never wakes the device from sleep. This change
removes ambiguity around forcing or disabling user activity
for various purposes. To wake the device, use wakeUp().
To put it to sleep, use goToSleep(). Simple.

The power manager service interface and API has been significantly
simplified and consolidated. Also fixed some inconsistencies
related to how the minimum and maximum screen brightness setting
was presented in brightness control widgets and enforced behind
the scenes.

At present the following features are implemented:

- Wake locks.
- User activity.
- Wake up / go to sleep.
- Power state broadcasts.
- Battery stats and event log notifications.
- Dreams.
- Proximity screen off.
- Animated screen on / off transitions.
- Auto-dimming.
- Auto-brightness control for the screen backlight with
different timeouts for ramping up versus ramping down.
- Auto-on when plugged or unplugged.
- Stay on when plugged.
- Device administration maximum user activity timeout.
- Application controlled brightness via window manager.

The following features are not yet implemented:

- Reduced user activity timeout for the key guard.
- Reduced user activity timeout for the phone application.
- Coordinating screen on barriers with the window manager.
- Preventing auto-rotation during power state changes.
- Auto-brightness adjustment setting (feature was disabled
in previous version of the power manager service pending
an improved UI design so leaving it out for now).
- Interpolated brightness control (a proposed new scheme
for more compactly specifying auto-brightness levels
in config.xml).
- Button / keyboard backlight control.
- Change window manager to associated WorkSource with
KEEP_SCREEN_ON_FLAG wake lock instead of talking
directly to the battery stats service.
- Optionally support animating screen brightness when
turning on/off instead of playing electron beam animation
(config_animateScreenLights).

Change-Id: I1d7a52e98f0449f76d70bf421f6a7f245957d1d7
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java
756220bd1912535840388a6743830d2e59ad4964 15-Aug-2012 Dianne Hackborn <hackbod@google.com> Add API to create new contexts with custom configurations.

This allows you to, say, make a Context whose configuration
is set to a different density than the actual density of the device.

The main API is Context.createConfigurationContext(). There is
also a new API on ContextThemeWrapper that allows you to apply
an override context before its resources are retrieved, which
addresses some feature requests from developers to be able to
customize the context their app is running in.

Change-Id: I88364986660088521e24b567e2fda22fb7042819
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
c386ee56b995ec6562c4a20238ace2297562834b 08-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am c1c55afb: am e67f8c8c: Merge "Normalize output from aapt d xmltree"

* commit 'c1c55afb474dd85a6205bc8ab94065f3ac38aa77':
Normalize output from aapt d xmltree
c1c55afb474dd85a6205bc8ab94065f3ac38aa77 08-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am e67f8c8c: Merge "Normalize output from aapt d xmltree"

* commit 'e67f8c8c279e20fff5f426eccd062b709e6280ed':
Normalize output from aapt d xmltree
e67f8c8c279e20fff5f426eccd062b709e6280ed 08-Aug-2012 Jean-Baptiste Queru <jbq@google.com> Merge "Normalize output from aapt d xmltree"
537915828b45693e846a126292e026c5b4f05152 08-Aug-2012 Dianne Hackborn <hackbod@google.com> Merge "More mult-user API work." into jb-mr1-dev
7d19e0242faac8017033dabb872cdf1542fa184c 08-Aug-2012 Dianne Hackborn <hackbod@google.com> More mult-user API work.

- You can now use android:singleUser with receivers and providers.
- New API to send ordered broadcasts as a user.
- New Process.myUserHandle() API.

For now I am trying out "user handle" as the name for the numbers
representing users.

Change-Id: I754c713ab172494bb4251bc7a37a17324a2e235e
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
b14c215eb2dd617214d867d38449eb1d1214d41c 07-Aug-2012 Elliott Hughes <enh@google.com> am 4b4b4438: am 33c5670b: Merge "Fewer warnings in aidl generated code."

* commit '4b4b44381b133e9ab7418806c046774b7fd31393':
Fewer warnings in aidl generated code.
4b4b44381b133e9ab7418806c046774b7fd31393 07-Aug-2012 Elliott Hughes <enh@google.com> am 33c5670b: Merge "Fewer warnings in aidl generated code."

* commit '33c5670b315810f1f3dc66fe8cd38f7b3e05f3ac':
Fewer warnings in aidl generated code.
b327c41e125a3be15a6c6c4dba318fe1b2392605 07-Aug-2012 Elliott Hughes <enh@google.com> Fewer warnings in aidl generated code.

Bug: http://code.google.com/p/android/issues/detail?id=19196
Change-Id: If054e60c19dc73fe32f55d0fa1054309565a6de6
idl/generate_java_binder.cpp
758143ecfedbe08cc6c4fed0ad8ad7a854194ca4 07-Aug-2012 Svetoslav Ganov <svetoslavganov@google.com> Window position not reported if the window is not moved.

1.If a window is shown but never moved the window window
is never notified for its current location. Therefore,
accessibility nodes do not contain correct bounds in
screen coordinates.

bug:6926295

Change-Id: I7df18b095d33ecafffced75aba9e4f4693b0c393
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindow.java
b49a065d9904567624a088857ecd1626fad91511 04-Aug-2012 Craig Mautner <cmautner@google.com> Fix build with density methods.

Change-Id: I95c0a4f12db40f200a3a004394763beaef904232
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
437a0fbd57662e1d9d260da6f62ff83da2769a7e 02-Aug-2012 Craig Mautner <cmautner@google.com> Merge "Introduce multiple displays with DisplayContent." into jb-mr1-dev
59c009776dae5ccbdfb93d7151ff2065ca049dc3 30-Jul-2012 Craig Mautner <cmautner@google.com> Introduce multiple displays with DisplayContent.

Fix a couple of bugs that turned up.
Remove touch/focus from display. Add iterators for access.
Respond to comments. Remove TODOs, and some deviceId parameters.

Change-Id: Idcdb4f1979aa7b14634d450fd0333d6eff26994d
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
908aecc3a63c5520d5b11da14a9383f885b7d126 01-Aug-2012 Dianne Hackborn <hackbod@google.com> Start moving away from DisplayMetrics.DENSITY_DEVICE.

This puts in most of the infrastructure needed to allow us to
switch between different densities at run time. The main remaining
uses of the global are to initialize the Bitmap object (not sure
what to do about that since it doesn't have anything passed in
the constructor to get this information from), and being able to
load drawables if we need a different density than what was preloaded
by zygote.

Change-Id: Ifdbfd6b7a5c59e6aa22e63b95b78d96af3d96848
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
39df578acddb739d7608e458533904bf5814c0da 27-Jul-2012 Craig Mautner <cmautner@google.com> Fix build.

Change-Id: I52bbebae38912a4fb71c96174b3d4d8eb6be10c1
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowSession.java
aa871b0ff0fb38112a1693e80e1146cecc5db21d 26-Jul-2012 Jeff Brown <jeffbrown@google.com> Fix build.

Change-Id: Ife2fd58447205407e41ce3d27e28a705b744bede
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
fa25bf5382467b1018bd9af7f1cb30a23d7d59f7 24-Jul-2012 Jeff Brown <jeffbrown@google.com> Add display manager skeleton.

The purpose of this change is to remove direct reliance on
SurfaceFlinger for describing the size and characteristics of
displays.

This patch also starts to make a distinction between logical displays
and physical display devices. Currently, the window manager owns
the concept of a logical display whereas the new display
manager owns the concept of a physical display device.

Change-Id: I7e0761f83f033be6c06fd1041280c21500bcabc0
ayoutlib/bridge/src/android/view/Display_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
212dfccc74e37521f771a52c8209b049fe984793 20-Jul-2012 Xavier Ducrohet <xav@android.com> am be925017: am b71393bd: Merge "Fix aapt -G to properly support class attr in fragment." into jb-dev

* commit 'be925017201ad547a72e8d1e333dbc7eae3fc76f':
Fix aapt -G to properly support class attr in fragment.
be925017201ad547a72e8d1e333dbc7eae3fc76f 19-Jul-2012 Xavier Ducrohet <xav@android.com> am b71393bd: Merge "Fix aapt -G to properly support class attr in fragment." into jb-dev

* commit 'b71393bd34a48eeb622292e78f43b99e374a5e3a':
Fix aapt -G to properly support class attr in fragment.
095cd2e2d14e4fe25b66df54861fb66000a25adc 19-Jul-2012 Xavier Ducrohet <xav@android.com> Fix aapt -G to properly support class attr in fragment.

The code added attributes android:name and class to a
KeyedVector under the same key (fragment) so the 2nd
add (android:name) removed class with was never checked.

This replace the value type in the KeyedVector to be
Vector<NamespaceAttributePair> instead of just
NamespaceAttributePair.

Change-Id: I009b8a8cca878191661c2a63bb14c967d230498d
apt/Resource.cpp
c9c9a48e7bafae63cb35a9aa69255e80aba83988 16-Jul-2012 Svetoslav Ganov <svetoslavganov@google.com> Removing a workaround for incorrect window position on window move.

1. The window manager was not notifying a window when the latter
has been moved. This was causing incorrect coordinates of the
nodes reported to accessibility services. To workaround that
we have carried the correct window location when making a
call from the accessibility layer into a window. Now the
window manager notifies the window when it is moved and the
workaround is no longer needed. This change takes it out.

2. The left and right in the attach info were not updated properly
after a report that the window has moved.

3. The accessibility manager service was calling directly methods
on the window manager service without going through the interface
of the latter. This leads to unnecessary coupling and in the
long rung increases system complexity and reduces maintability.

bug:6623031

Change-Id: Iacb734b1bf337a47fad02c827ece45bb2f53a79d
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
54059cd38de24bbffc2525b56955535df73bf1eb 11-Jul-2012 Xavier Ducrohet <xav@android.com> am 15c15eaa: Merge "Replace LruCache implementation for layoutlib. do not merge." into jb-dev

* commit '15c15eaac51c0c375d18fb70cd1bd066d87b034e':
Replace LruCache implementation for layoutlib. do not merge.
105b78bb310a75dc44e0baa49fe7d20341cc0f15 11-Jul-2012 Craig Mautner <cmautner@google.com> Add missing interface method.

Fix broken build.

Change-Id: I6644df218e11a35330a985bdcb9ace33723330f5
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindow.java
54a18ef7ad9da65a95f4d383952ae6268f8a4f34 10-Jul-2012 Xavier Ducrohet <xav@android.com> Replace LruCache implementation for layoutlib. do not merge.

The android version depends on a custom version of LinkedHashMap
which is not present on desktop VMs. This new implementation is done
in a way that minimizes the difference between the two.

Also some minor fixes.

(cherry picked from commit 01b6c755dbcf24e71192dc44757e2eea2a426091)

Change-Id: Idc7bca820e472e281a3024a5b610fd55606cf428
ayoutlib/bridge/src/android/util/LruCache.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
01b6c755dbcf24e71192dc44757e2eea2a426091 10-Jul-2012 Xavier Ducrohet <xav@android.com> Replace LruCache implementation for layoutlib.

The android version depends on a custom version of LinkedHashMap
which is not present on desktop VMs. This new implementation is done
in a way that minimizes the difference between the two.

Also some minor fixes.

Change-Id: Ib27b0419f9d0e6ba4d4abb26b2ccd968af59eba8
ayoutlib/bridge/src/android/util/LruCache.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
429dad687bcb5f00587e8b91b3a614502907aaa1 08-Jul-2012 Shachar Shemesh <lingnu@gmail.com> Normalize output from aapt d xmltree

When using aapt dump xmltree to dump an XML which has a content element with newlines, the output contains a
newline. This makes it very difficult, sometimes impossible, to understand what is part of the content, and
what is the meta-data.

We now pass XML content through the same normalizer used for other tags.

Change-Id: I327321520fac563eb32aecaf796f2473866697fc
apt/XMLNode.cpp
a4b7f2f75e7803193429ec1179fb5e2eb1c6fbda 21-May-2012 Dianne Hackborn <hackbod@google.com> Use two fingers to work some magic...

Change-Id: Ibcb3dbd3d158c22da8277e544d81fb47eadccd49
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowSession.java
cee303fac4324d32e78e3d174e256f39d70d820f 22-Jun-2012 Jean-Baptiste Queru <jbq@google.com> am cc6cf51b: am 8c71784e: Merge "Initialize mJunkPath to false"

* commit 'cc6cf51b80eabd199f797f40b76f7980c343962b':
Initialize mJunkPath to false
cc6cf51b80eabd199f797f40b76f7980c343962b 22-Jun-2012 Jean-Baptiste Queru <jbq@google.com> am 8c71784e: Merge "Initialize mJunkPath to false"

* commit '8c71784e9e83e914135e996591aa7903edd2fd96':
Initialize mJunkPath to false
dbcfed9e2cad3175109aca4b55bbe41da7238a4f 22-Jun-2012 Haitao Feng <haitao.feng@intel.com> Initialize mJunkPath to false

Change-Id: Ib48bb1d91736d27f055528c3ba275237ff5ada07
apt/Bundle.h
752e7b3bf624f72261bb789c5a6e8d34b419c8f1 20-Jun-2012 Xavier Ducrohet <xav@android.com> am 58a8d8d2: am 0e302bc8: Merge "Disable debug output in SDK layoutlib." into jb-dev

* commit '58a8d8d2d4b15cd4abf010680181359823ebfda4':
Disable debug output in SDK layoutlib.
58a8d8d2d4b15cd4abf010680181359823ebfda4 20-Jun-2012 Xavier Ducrohet <xav@android.com> am 0e302bc8: Merge "Disable debug output in SDK layoutlib." into jb-dev

* commit '0e302bc884fa4b25eb391d625f2fb0eddc25d9b7':
Disable debug output in SDK layoutlib.
4d7f301f94b9d2dda0ef109e9991ad2d77442f75 20-Jun-2012 Xavier Ducrohet <xav@android.com> Disable debug output in SDK layoutlib.

Bug: 6697442

Change-Id: I9741761342ea220c158aa124089430b0db80bf7e
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
89e1ad05e7cca990f46d5b13b8b5892de1736faa 14-Jun-2012 Raphael Moll <raphael@google.com> am bce1011d: resolved conflicts for merge of 8cf489c1 to jb-dev-plus-aosp

* commit 'bce1011dd2a371c587d2e39ad8c3d446b63049d0':
Layoutlib Create: Find dependencies.
bce1011dd2a371c587d2e39ad8c3d446b63049d0 14-Jun-2012 Raphael Moll <raphael@google.com> resolved conflicts for merge of 8cf489c1 to jb-dev-plus-aosp

Change-Id: I06608e3c122b8f321429d457c51aa2213dd238b4
8cf489c1f509ad2414a887035ad3d6996d1931a3 14-Jun-2012 Raphael Moll <ralf@android.com> am 0f160c95: Merge "Layoutlib Create: Find dependencies."

* commit '0f160c95122276c40ca84afe6fcd2b9cd800e35c':
Layoutlib Create: Find dependencies.
4306096a4351030cab4ea413b5e87460b60a84bf 13-Jun-2012 Raphael Moll <ralf@android.com> Layoutlib Create: Find dependencies.

Usage: layoutlib_create --list-deps /path/to/layoutlib.jar

Prints:
- all classes found in the Jar and the types they use (the dependencies).
- all the dependencies missing from the Jar and what uses them.

Change-Id: I8b2674df127e1494feed7a653282e88e4d2f5494
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
ayoutlib/create/src/com/android/tools/layoutlib/create/DependencyFinder.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Log.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
b1add0b8f251e237297ff7bad6a1107ef7d760f2 12-Jun-2012 Dianne Hackborn <hackbod@google.com> am 6892f1ec: am 0f6471ac: Merge "Fix issue #6641368: can\'t launch gallery" into jb-dev

* commit '6892f1ec9670432f1cab71813592077bea991a8b':
Fix issue #6641368: can't launch gallery
6892f1ec9670432f1cab71813592077bea991a8b 12-Jun-2012 Dianne Hackborn <hackbod@google.com> am 0f6471ac: Merge "Fix issue #6641368: can\'t launch gallery" into jb-dev

* commit '0f6471ace77387560988964ed0679f843bba6f1f':
Fix issue #6641368: can't launch gallery
2bd8d0403be62df679f0f94ab4d84c9ae9a2e918 11-Jun-2012 Dianne Hackborn <hackbod@google.com> Fix issue #6641368: can't launch gallery

This is a revert of 1db36528b12395b9ed9bf8a1005a6d4ace737627,
but with comments added so I don't make this mistake again. :)

Change-Id: I053216279e3721f08f32f561bb989736ef619f82
apt/Command.cpp
f22eb96301aa1c4e0f7ac317daa64a617c21855c 06-Jun-2012 Jean-Baptiste Queru <jbq@google.com> am c9fe6568: am 9e22d9c5: Merge "Fix "Too many open files" error for aapt built with Mac OS X SDK 10.6."

* commit 'c9fe6568f3e7e4d9dc6da072afc929b9a81001ed':
Fix "Too many open files" error for aapt built with Mac OS X SDK 10.6.
c9fe6568f3e7e4d9dc6da072afc929b9a81001ed 06-Jun-2012 Jean-Baptiste Queru <jbq@google.com> am 9e22d9c5: Merge "Fix "Too many open files" error for aapt built with Mac OS X SDK 10.6."

* commit '9e22d9c514457c4b163d03b9241e4e28b1698368':
Fix "Too many open files" error for aapt built with Mac OS X SDK 10.6.
41bdb03ffb81d7bcbf6fa35d7b40e196635c86f3 31-May-2012 Ying Wang <wangying@google.com> Fix "Too many open files" error for aapt built with Mac OS X SDK 10.6.

With SDK 10.6 without _DARWIN_UNLIMITED_STREAMS aapt sometimes fails
right away with the error "Too many open files" when calling fopen().

Change-Id: Ifa7bd8a9530d706aa47f98be8186f1aefe943d76
apt/Android.mk
f6447b1878290960883314c8faa5ff705390f216 05-Jun-2012 Ying Wang <wangying@google.com> Merge "Fix "Too many open files" error for aapt built with Mac OS X SDK 10.6."
0eedd4be12c7bdcfe84ab28aa5fc0d07cb9334e7 05-Jun-2012 Tor Norbye <tnorbye@google.com> am 9f374b9d: am 44ff9b8f: am 36ac43ba: Merge "Tweak default ignore-assets path"

* commit '9f374b9de5a557a7977b24d41f45c3464cfff8c1':
Tweak default ignore-assets path
9f374b9de5a557a7977b24d41f45c3464cfff8c1 05-Jun-2012 Tor Norbye <tnorbye@google.com> am 44ff9b8f: am 36ac43ba: Merge "Tweak default ignore-assets path"

* commit '44ff9b8f9294e015031fc9293974604771e5efdd':
Tweak default ignore-assets path
44ff9b8f9294e015031fc9293974604771e5efdd 05-Jun-2012 Tor Norbye <tnorbye@google.com> am 36ac43ba: Merge "Tweak default ignore-assets path"

* commit '36ac43ba9982a78b4a047c8970776505a3fab4da':
Tweak default ignore-assets path
71ebf2830494e353dee797424bd2ebbc4fea2ff3 04-Jun-2012 Dianne Hackborn <hackbod@google.com> am fcd73824: am dd251cab: Merge "Fix build." into jb-dev

* commit 'fcd738240a7d716e21721514202caa5bfb2dcb98':
Fix build.
fcd738240a7d716e21721514202caa5bfb2dcb98 04-Jun-2012 Dianne Hackborn <hackbod@google.com> am dd251cab: Merge "Fix build." into jb-dev

* commit 'dd251cab5b6e5b590cc0aeae8be8f885a7794e72':
Fix build.
bb47cf66ec72adff895d0e8b94c26f5d438be49a 04-Jun-2012 Dianne Hackborn <hackbod@google.com> Fix build.

Change-Id: I41415fed99d98406bc033289428bde59475c2917
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
e0219c8baa9d63b3794f90ab772f1c19ecb74ec4 04-Jun-2012 Tor Norbye <tnorbye@google.com> Tweak default ignore-assets path

Add .DS_Store to the list of ignored files that are silently
ignored (other dot-files are ignored but aapt emits a "(skipping <x>)"
message.)

Also, add a "!" prefix to the *~ pattern for Emacs/Vim/Gedit backup
files.

Finally, move the !*.scc pattern up in front of the .* pattern, such
that it doesn't match the earlier .* pattern (which is verbose, unlike
!*.scc).

Change-Id: Id3e96490f1802486aea8c58366d43e9d413971b8
apt/AaptAssets.cpp
3df4e1a2f1b4f0eb110c8983107b7c7fa21ed338 02-Jun-2012 Jean-Baptiste Queru <jbq@google.com> am 0748a569: Merge "aapt: Remove terminal pointer incrementaion"

* commit '0748a5698776d1a9693a5449ffc983af26cc533b':
aapt: Remove terminal pointer incrementaion
0748a5698776d1a9693a5449ffc983af26cc533b 02-Jun-2012 Jean-Baptiste Queru <jbq@google.com> Merge "aapt: Remove terminal pointer incrementaion"
8c8297f295be46e5ffefff73edbcd00e1848055f 31-May-2012 Ying Wang <wangying@google.com> Fix "Too many open files" error for aapt built with Mac OS X SDK 10.6.

With SDK 10.6 without _DARWIN_UNLIMITED_STREAMS aapt sometimes fails
right away with the error "Too many open files" when calling fopen().

Change-Id: Ifa7bd8a9530d706aa47f98be8186f1aefe943d76
apt/Android.mk
ce783749b191a58e4fed9a397066376915c1db65 30-May-2012 Dianne Hackborn <hackbod@google.com> am f3b4c93e: am ae5811c7: Merge "Fix (mostly) issue #5109947: Race condition between retrieving a..." into jb-dev

* commit 'f3b4c93e0da9af2db9e16864faa734cf70fecfe3':
Fix (mostly) issue #5109947: Race condition between retrieving a...
f3b4c93e0da9af2db9e16864faa734cf70fecfe3 30-May-2012 Dianne Hackborn <hackbod@google.com> am ae5811c7: Merge "Fix (mostly) issue #5109947: Race condition between retrieving a..." into jb-dev

* commit 'ae5811c71405878b09eace395ec2b28e54eeb427':
Fix (mostly) issue #5109947: Race condition between retrieving a...
6ae8d1821822296df0606c9cd1c46708cc21cb58 23-May-2012 Dianne Hackborn <hackbod@google.com> Fix (mostly) issue #5109947: Race condition between retrieving a...

...content provider and updating its oom adj

This introduces the concept of an "unstable" reference on a content
provider. When holding such a reference (and no normal stable ref),
the content provider dying will not cause the client process to be
killed.

This is used in ContentResolver.query(), .openAssetFileDescriptor(),
and .openTypedAssetFileDescriptor() to first access the provider
with an unstable reference, and if at the point of calling into the
provider we find it is dead then acquiring a new stable reference
and doing the operation again. Thus if the provider process dies
at any point until we get the result back, our own process will not
be killed and we can safely retry the operation.

Arguably there is still the potential for a race -- if somehow the
provider is killed way late by the OOM killer after the query or
open has returned -- but this should now be *extremely* unlikely.
We also continue to have the issue with the other calls, but these
are much less critical, and the same model can't be used there (we
wouldn't want to execute two insert operations for example).

The implementation of this required some significant changes to the
underlying plumbing of content providers, now keeping track of the
two different reference counts, and managing them appropriately. To
facilitate this, the activity manager now has a formal connection
object for a client reference on a content provider, which hands to
the application when opening the provider.

These changes have allowed a lot of the code to be cleaned up and
subtle issues closed. For example, when a process is crashing, we
now have a much better idea of the state of content provider clients
(olding a stable ref, unstable ref, or waiting for it to launch), so
that we can correctly handle each of these.

The client side code is also a fair amount cleaner, though in the
future there is more than should be done. In particular, the two
ProviderClientRecord and ProviderRefCount classes should be combined
into one, part of which is exposed to the ContentResolver internal
API as a reference on a content provider with methods for updating
reference counts and such. Some day we'll do that.

Change-Id: I87b10d1b67573ab899e09ca428f1b556fd669c8c
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContentResolver.java
98a0607a314a7a6023fabdafaa8e470a1e800c09 22-May-2012 Ying Wang <wangying@google.com> Merge "Fix length of pattern." DO NOT MERGE.

After skipping * with "token++", the length should decrease by 1 as
well.

(merged from 996b073e813ba1a22a13282ccdebb664f14ba898)

Change-Id: Ie6232ef603bb31e25e03b926e6c1bb92ac34902d
apt/AaptAssets.cpp
bb5a8fd908a53e5d0fdaf84548d3b835b2ccc426 24-May-2012 Manuel Roman <manuelroman@google.com> am 9d98a089: Check result handler is not null

* commit '9d98a089756b692eefeae7f92cca15e121196e0c':
Check result handler is not null
9d98a089756b692eefeae7f92cca15e121196e0c 23-May-2012 Manuel Roman <manuelroman@google.com> Check result handler is not null

If caller passes a null result handler to the proxy methods, we need
to check it when getting the result. Otherwise we try to invoke a method
on a null object

Change-Id: Ic2f456c36cb542b782b6a6d0d4d607ccf0987496
idl/generate_java_rpc.cpp
b50a64878e0af817baf7f1ce491f6c08e55d9419 22-May-2012 Ying Wang <wangying@google.com> am ac9f5057: am 996b073e: Fix length of pattern.

* commit 'ac9f50573dad2050d261850f1accbcea383cc6f0':
Fix length of pattern.
ac9f50573dad2050d261850f1accbcea383cc6f0 22-May-2012 Ying Wang <wangying@google.com> am 996b073e: Fix length of pattern.

* commit '996b073e813ba1a22a13282ccdebb664f14ba898':
Fix length of pattern.
996b073e813ba1a22a13282ccdebb664f14ba898 22-May-2012 Ying Wang <wangying@google.com> Fix length of pattern.

After skipping * with "token++", the length should decrease by 1 as
well.

Change-Id: I132eb7d12bb756f2f713c607e92741ca834aef81
apt/AaptAssets.cpp
b1b0058346190d6194afc7a87dd7d19cc6fd02c5 21-May-2012 Dianne Hackborn <hackbod@google.com> am 72669b5f: am 13a0271c: Merge "Add aapt support for generating proguard rules for onClick methods." into jb-dev

* commit '72669b5f4663937b09d33f9d951f0b86a03fa98b':
Add aapt support for generating proguard rules for onClick methods.
b80866a44e0e6fd46ea42615d4cff2d4289ee832 21-May-2012 Raphael Moll <ralf@android.com> am f67f834a: am 8748399f: am 61394501: Merge "Support a new ANDROID_AAPT_IGNORE env var."

* commit 'f67f834a9cb7ee9b743e79af85cb42bd45b5aa23':
Support a new ANDROID_AAPT_IGNORE env var.
3a00a28ddfee17a4f7d73e02329f25a2eb923bab 21-May-2012 Elliott Hughes <enh@google.com> am a4cae284: am 4b51e293: Merge "Fix the preloaded-classes tool for JellyBean." into jb-dev

* commit 'a4cae2847eb086742ff9d3b24a469242bd9ddae1':
Fix the preloaded-classes tool for JellyBean.
9c06ac09c3530c5f0bc0b47a3350eedb5b539c35 21-May-2012 Raphael Moll <ralf@android.com> Merge "Merge "AAPT: support a new --ignore-assets flag."" into jb-dev
6c255a3a378143af59021d29b4980b28f1ab4544 08-May-2012 Raphael Moll <ralf@android.com> Merge "AAPT: support a new --ignore-assets flag."

AAPT has a fixed built-in list of files and directories
to ignore when parsing resource files. Over the years we
always had developers requiring specific patterns.

Added a command-line option for it:
aapt di --ignore-assets "foo*:*.blah"

If the env var ANDROID_AAPT_IGNORE is set, it is parsed
to find which file/directory patterns to ignore.

Otherwise a default is used that matches the current behavior.

SDK Bug: 5343 24067

(cherry-pick from AOSP 90897ed87bce639bf6bb2ccf15fbabb59b131bab)

Change-Id: Ia4caa2a8188c8c1df143f884e459b8182645995f
apt/AaptAssets.cpp
apt/AaptAssets.h
apt/Main.cpp
72669b5f4663937b09d33f9d951f0b86a03fa98b 19-May-2012 Dianne Hackborn <hackbod@google.com> am 13a0271c: Merge "Add aapt support for generating proguard rules for onClick methods." into jb-dev

* commit '13a0271cb81d497edbf93f3d6ecf4b9b8da4ee69':
Add aapt support for generating proguard rules for onClick methods.
9275197d35a99c3f187d18d0eda6ead3b8a32603 19-May-2012 Dianne Hackborn <hackbod@google.com> Add aapt support for generating proguard rules for onClick methods.

Also fix Activity menu inflater when using the dark on light
theme wrapper to still be able to find onClick listeners.

Change-Id: Ie206db26d1df96041bc477804e476b02ad99dc9d
apt/Resource.cpp
f67f834a9cb7ee9b743e79af85cb42bd45b5aa23 19-May-2012 Raphael Moll <ralf@android.com> am 8748399f: am 61394501: Merge "Support a new ANDROID_AAPT_IGNORE env var."

* commit '8748399f6f999d21eef9226baadb20f71dfb61ea':
Support a new ANDROID_AAPT_IGNORE env var.
38e34874a89b6e71464bfa3e89480252000765ad 19-May-2012 Jean-Baptiste Queru <jbq@google.com> am 2a9b85d7: am c0f17383: Merge "Move kxml2 to prebuilts/misc"

* commit '2a9b85d7ccdd3b8e6be90454cdcb4be3b032cd64':
Move kxml2 to prebuilts/misc
a4cae2847eb086742ff9d3b24a469242bd9ddae1 19-May-2012 Elliott Hughes <enh@google.com> am 4b51e293: Merge "Fix the preloaded-classes tool for JellyBean." into jb-dev

* commit '4b51e293d86d60dc651c409ae0e25078a2170740':
Fix the preloaded-classes tool for JellyBean.
613945011ef9f79388a1cf21acf514154e2d5af2 18-May-2012 Raphael Moll <ralf@android.com> Merge "Support a new ANDROID_AAPT_IGNORE env var."
c0f17383579cf49f897fdd1d55aaf44b8d6be0da 18-May-2012 Jean-Baptiste Queru <jbq@google.com> Merge "Move kxml2 to prebuilts/misc"
98e00add5544df3d8fc1804bc0be825b2238701c 18-May-2012 Elliott Hughes <enh@google.com> Fix the preloaded-classes tool for JellyBean.

Bug: 5213043
Change-Id: I8178ca04da0bd72a90244983be5e8ecfbc1b0573
reload/Record.java
e4b1c08abf88c55e71c0afab4c3c853d96d5d26c 15-May-2012 Dianne Hackborn <hackbod@google.com> am 095c2d31: am 4286d6d1: Fix build.

* commit '095c2d315d3bdf4cdb61439d427413c0bd7796e1':
Fix build.
6917b2a10d9b701282fbfb85be48eeb7e7877882 15-May-2012 Dianne Hackborn <hackbod@google.com> am 2da87ec3: am 2a7a6ca0: Merge "Implement new window cropping." into jb-dev

* commit '2da87ec32e72c2c25998e2444155c00074cfbd40':
Implement new window cropping.
095c2d315d3bdf4cdb61439d427413c0bd7796e1 15-May-2012 Dianne Hackborn <hackbod@google.com> am 4286d6d1: Fix build.

* commit '4286d6d115385391b75db8e6c4e397008ef9b3db':
Fix build.
2da87ec32e72c2c25998e2444155c00074cfbd40 15-May-2012 Dianne Hackborn <hackbod@google.com> am 2a7a6ca0: Merge "Implement new window cropping." into jb-dev

* commit '2a7a6ca00ab176105b5bbfa6b17bb0dcd058d517':
Implement new window cropping.
4286d6d115385391b75db8e6c4e397008ef9b3db 14-May-2012 Dianne Hackborn <hackbod@google.com> Fix build.

Change-Id: I53263d509559c70100cd78ad49f225f0dafd8891
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowSession.java
85afd1b6f871d471fdff1980134676a5f1690525 13-May-2012 Dianne Hackborn <hackbod@google.com> Implement new window cropping.

The window manager now performs the crop internally, evaluating
it every animation from, to be able to update it along with
the surface position.

Change-Id: I960a2161b9defb6fba4840fa35aee4e411c39b32
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindow.java
e5c511a1cceffd17b8edb355f2c19a7498a5e229 10-May-2012 Michael Jurka <mikejurka@google.com> am bf1b5fa9: am 421dceb0: Merge "Making transition out of recents look better" into jb-dev

* commit 'bf1b5fa944158044a595706924b935b5577ec0f0':
Making transition out of recents look better
58d4f2e36f4091272c40d59fb3b7b80ee792ba57 10-May-2012 Dianne Hackborn <hackbod@google.com> am e2e03913: am dd79ae6b: Merge "Add infrastructure for accessing "unstable" content providers." into jb-dev

* commit 'e2e0391389fce1a9fd9d5c5442ba1901b6d96211':
Add infrastructure for accessing "unstable" content providers.
bf1b5fa944158044a595706924b935b5577ec0f0 10-May-2012 Michael Jurka <mikejurka@google.com> am 421dceb0: Merge "Making transition out of recents look better" into jb-dev

* commit '421dceb0a4fd8f20349a0de277f82b56e71cb90b':
Making transition out of recents look better
421dceb0a4fd8f20349a0de277f82b56e71cb90b 10-May-2012 Michael Jurka <mikejurka@google.com> Merge "Making transition out of recents look better" into jb-dev
e2e0391389fce1a9fd9d5c5442ba1901b6d96211 10-May-2012 Dianne Hackborn <hackbod@google.com> am dd79ae6b: Merge "Add infrastructure for accessing "unstable" content providers." into jb-dev

* commit 'dd79ae6b7201b68dbe2a223d2f371ea1a473f6c4':
Add infrastructure for accessing "unstable" content providers.
90897ed87bce639bf6bb2ccf15fbabb59b131bab 08-May-2012 Raphael Moll <ralf@android.com> Support a new ANDROID_AAPT_IGNORE env var.

AAPT has a fixed built-in list of files and directories
to ignore when parsing resource files. Over the years we
always had developers requiring specific patterns.
If the env var ANDROID_AAPT_IGNORE is set, it is parsed
to find which file/directory patterns to ignore.
Otherwise a default is used that matches the current behavior.

Added a command-line option for it:
aapt di --ignore-assets "foo*:*.blah"

SDK Bug: 5343 24067

Change-Id: Ia4caa2a8188c8c1df143f884e459b8182645995f
apt/AaptAssets.cpp
apt/AaptAssets.h
apt/Main.cpp
21385cd83d7d7938b57a4acbaa236dd4c7804ed4 03-May-2012 Michael Jurka <mikejurka@google.com> Making transition out of recents look better

- Fading out recents first, then scaling up app
thumbnail
- Fade Recents out over 130ms
- Delay the window animation for 200ms first,
then animate for 200ms (previously we didn't delay
and then animated for 300ms)

Bug: 6390075

Change-Id: Ia8c753bf7ee03d2acef6eb2772b28d88fe10a682
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
652b6d1e591f6684cda4b93d4712920f287991b4 10-May-2012 Dianne Hackborn <hackbod@google.com> Add infrastructure for accessing "unstable" content providers.

We have an API and some stuff that purports to this, but no real
implementation yet.

Change-Id: I93555440014a50fdf79fa3f65318d90fb82265b4
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContentResolver.java
30600306592b571a455cfbc89e609522a5a158ab 09-May-2012 Xavier Ducrohet <xav@android.com> am 50e657e6: am 024d3b23: Merge "Add missing native method to Canvas_Delegate." into jb-dev

* commit '50e657e66ce6663fdff929cd365a3daf87cef9ae':
Add missing native method to Canvas_Delegate.
8fd851709fae7bb48aa513ebcf2285a8cdb28dce 09-May-2012 Jeff Brown <jeffbrown@google.com> am a394efa3: am 947f1c8d: Merge "Move CancellationSignal to android.os package." into jb-dev

* commit 'a394efa33531ce36c432872ec56ad0c93a9999e7':
Move CancellationSignal to android.os package.
f3f107140cb1b937d45e14dda6d18fcf78ca9948 09-May-2012 Elliott Hughes <enh@google.com> am fbb7b072: am 6d6d186c: Merge "The \'localize\' tool is dead." into jb-dev

* commit 'fbb7b072d87f15fce2b694054a27a8ec5db3daaf':
The 'localize' tool is dead.
1c08c1b0f1e3dbaa6c53c78054ae0ce17547f4a6 09-May-2012 Jeff Brown <jeffbrown@google.com> am e8e94a07: am 41a4704b: Merge "Small tweaks to orientation." into jb-dev

* commit 'e8e94a0743eae912658865645db75619533449b3':
Small tweaks to orientation.
50e657e66ce6663fdff929cd365a3daf87cef9ae 09-May-2012 Xavier Ducrohet <xav@android.com> am 024d3b23: Merge "Add missing native method to Canvas_Delegate." into jb-dev

* commit '024d3b2374497c86b55298a8dc4f2fbe258ce7ea':
Add missing native method to Canvas_Delegate.
a394efa33531ce36c432872ec56ad0c93a9999e7 09-May-2012 Jeff Brown <jeffbrown@google.com> am 947f1c8d: Merge "Move CancellationSignal to android.os package." into jb-dev

* commit '947f1c8db00bd3805838ff49a5f4d220df507b47':
Move CancellationSignal to android.os package.
fbb7b072d87f15fce2b694054a27a8ec5db3daaf 09-May-2012 Elliott Hughes <enh@google.com> am 6d6d186c: Merge "The \'localize\' tool is dead." into jb-dev

* commit '6d6d186cd1a5df5fff73c8a731a81a9da3fea13b':
The 'localize' tool is dead.
e8e94a0743eae912658865645db75619533449b3 09-May-2012 Jeff Brown <jeffbrown@google.com> am 41a4704b: Merge "Small tweaks to orientation." into jb-dev

* commit '41a4704b09f98723f4ddec895c9f2e651a5c0c8e':
Small tweaks to orientation.
f18c68b83f4919cf903e249da056acb470b683af 09-May-2012 Xavier Ducrohet <xav@android.com> Add missing native method to Canvas_Delegate.

Change-Id: I86288c942004e5489eacc43ba5e112cf56f94487
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
05b50149ab3b3da19343155fa591eb5b47f246b8 09-May-2012 Xavier Ducrohet <xav@android.com> Fix classpath of eclipse projects for layoutlib.

This is due to the prebuilts reorg.

Change-Id: I6afa82d7ac64286aa89b4b1cfb4af59e4c7000ce
ayoutlib/bridge/.classpath
ayoutlib/bridge/tests/.classpath
947f1c8db00bd3805838ff49a5f4d220df507b47 08-May-2012 Jeff Brown <jeffbrown@google.com> Merge "Move CancellationSignal to android.os package." into jb-dev
6d6d186cd1a5df5fff73c8a731a81a9da3fea13b 08-May-2012 Elliott Hughes <enh@google.com> Merge "The 'localize' tool is dead." into jb-dev
a7771df3696954f0e279407e8894a916a7cb26cc 08-May-2012 Jeff Brown <jeffbrown@google.com> Move CancellationSignal to android.os package.

Bug: 6427830
Change-Id: I39451bb1e1d4a8d976ed1c671234f0c8c61658dd
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContentProvider.java
daf5d894ef71c5674e83b11de8b408e3bdabe4c7 08-May-2012 Jeff Brown <jeffbrown@google.com> Small tweaks to orientation.

Improved threshold for detecting external acceleration.

Bug: 5976859
Change-Id: Iaf2298fba8eda72d1cacbb2f3aea72f460a9262f
rientationplot/README.txt
rientationplot/orientationplot.py
436bbd1a6c227148c294117e725e03be75e01ebf 08-May-2012 Elliott Hughes <enh@google.com> The 'localize' tool is dead.

Change-Id: I6486e50fd1d2f82dd040371a308a2a756beadb64
ocalize/Android.mk
ocalize/Configuration.cpp
ocalize/Configuration.h
ocalize/Perforce.cpp
ocalize/Perforce.h
ocalize/Perforce_test.cpp
ocalize/SourcePos.cpp
ocalize/SourcePos.h
ocalize/Values.cpp
ocalize/Values.h
ocalize/ValuesFile.cpp
ocalize/ValuesFile.h
ocalize/ValuesFile_test.cpp
ocalize/XLIFFFile.cpp
ocalize/XLIFFFile.h
ocalize/XLIFFFile_test.cpp
ocalize/XMLHandler.cpp
ocalize/XMLHandler.h
ocalize/XMLHandler_test.cpp
ocalize/XMLNode.h
ocalize/file_utils.cpp
ocalize/file_utils.h
ocalize/localize.cpp
ocalize/localize.h
ocalize/localize_test.cpp
ocalize/log.h
ocalize/merge_res_and_xliff.cpp
ocalize/merge_res_and_xliff.h
ocalize/merge_res_and_xliff_test.cpp
ocalize/res_check.cpp
ocalize/res_check.h
ocalize/test.cpp
ocalize/testdata/config.xml
ocalize/testdata/import.xliff
ocalize/testdata/merge.xliff
ocalize/testdata/merge_en_current.xml
ocalize/testdata/merge_en_old.xml
ocalize/testdata/merge_xx_current.xml
ocalize/testdata/merge_xx_old.xml
ocalize/testdata/pseudo.xliff
ocalize/testdata/res/values-zz-rZZ/strings.xml
ocalize/testdata/res/values/strings.xml
ocalize/testdata/strip_xliff.xliff
ocalize/testdata/values/strings.xml
ocalize/testdata/xliff1.xliff
ocalize/testdata/xml.xml
ocalize/xmb.cpp
ocalize/xmb.h
cf08a248878320296c3fc283b1baff390bf0e172 04-May-2012 Jeff Brown <jeffbrown@google.com> am a08dc5de: Merge "Remove obsolete tool." into jb-dev

* commit 'a08dc5de8d039a4fd0a8c1286147c6afd01d2edf':
Remove obsolete tool.
fd1d99f5dd1749a8cecb4a98cddb91e911323eb8 04-May-2012 Jeff Brown <jeffbrown@google.com> Remove obsolete tool.

Change-Id: I750ad12e9ebc41d9e620942f3df09c7660340715
akekeycodes/Android.mk
akekeycodes/makekeycodes.cpp
3e2d59146df9e9e325dcc65018bb130b03242bbc 01-May-2012 Jean-Baptiste Queru <jbq@google.com> resolved conflicts for merge of 13c04786 to jb-dev-plus-aosp

Change-Id: Ib7aa5a768f4606beb2a4387811cfed7c00cbc111
39b58ba2b299e1c97e13535aae9add530d942c7b 01-May-2012 Jean-Baptiste Queru <jbq@google.com> resolved conflicts for merge of bc2fb7b9 to jb-dev-plus-aosp

Change-Id: I5386585e473201268c6ed8b05e0a16569d434ea2
b2228eb7141354089f974a4db3b5224a0ad75fd4 01-May-2012 Jean-Baptiste Queru <jbq@google.com> Merge "Runtime resource overlay: clean-up."
9e3bc3f61df541271c8a1dfc5564cab853951aec 01-May-2012 Jean-Baptiste Queru <jbq@google.com> Merge "Build overlay packages just like regular packages."
bda124453d58d8b55d9026e4c5e7ae8c804e995a 01-May-2012 Jean-Baptiste Queru <jbq@google.com> Move kxml2 to prebuilts/misc

Change-Id: Ie4b45d2073f26d8313843f9860cf658e288c850b
ayoutlib/bridge/.classpath
ayoutlib/bridge/tests/.classpath
5c58de3a523a384c47b0b1e0f5dd9728a74cd9f7 29-Apr-2012 Dianne Hackborn <hackbod@google.com> Add system insets to windows.

This will be used to determine which parts of a window a completely
hidden by system UI elements (status bar, nav bar, system bar) so
that they can be clipped out from rendering.

Change-Id: I2c6c6ac67dbdfeed82d2c089ef806fb483165bd9
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindow.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowSession.java
79c6346100b555a8a3d51b3b1c34dbbe99305b9a 28-Apr-2012 Dianne Hackborn <hackbod@google.com> Merge "When a window is first shown only draw once while animating." into jb-dev
a36b7ab04650b598ea08de1f95bb34c5e694167c 28-Apr-2012 Jeff Brown <jeffbrown@google.com> Merge "Work around build break in layoutlib." into jb-dev
96ff709fe25632f6e27fa4c13c7d75dbbcfa38e0 28-Apr-2012 Jeff Brown <jeffbrown@google.com> Work around build break in layoutlib.

Bug: 6413563
Change-Id: Ia7101fba87f3784fd8159c75e4289f642913d099
ayoutlib/bridge/src/android/animation/AnimationThread.java
12d3a94397c33fdb773a1eaaaa13cab80bf0c571 27-Apr-2012 Dianne Hackborn <hackbod@google.com> When a window is first shown only draw once while animating.

On some hardware allocating a new graphics buffer is quite
expensive, which blocks updates to the UI. This can cause
glitches when performing window animations.

To reduce these glitches, the view hierarchy will now only
allow itself to be drawn once if its window is being shown
while the window manager is animating, not resuming draws
until it is told that the animation is done.

Change-Id: Ie15192f6fddbd0931b022a72c76ddd55ca266d84
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindow.java
002f53770a7f6850eab4d7e381e91dc94d28968f 26-Apr-2012 Ying Wang <wangying@google.com> Apply --extra-packages in case --custom-pacakge is also specified.

Cherry-picked from master.

Change-Id: I2d67b8821afdf064f4186ccd8def1b65f9a7dc88
apt/Command.cpp
cb092e2b7fa46477651c8b8733d50307b0de9d6d 24-Apr-2012 Xavier Ducrohet <xav@android.com> Fix Paint_Delegate with missing native method.

Change-Id: I39638dcb323fdd1ec3cb58dcad05757145d09026
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
ayoutlib/create/.classpath
68c33ca7ce1f142eb5f1e1f90118aeba4c9db1e3 19-Apr-2012 Dianne Hackborn <hackbod@google.com> Add new API to find smallest/largest screen size.

Change-Id: I790801fceaf84ee2e3b1c9d32828285ad3231d0e
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
420489ca1f92b290f4737fb675bfd3db9cdbed29 18-Apr-2012 Jeff Brown <jeffbrown@google.com> Merge "Support loading keyboard layout overlays from resources."
6ec6f79e1ac1714e3b837796e99f07ff88f66601 18-Apr-2012 Jeff Brown <jeffbrown@google.com> Support loading keyboard layout overlays from resources.

Added the concept of a keyboard layout overlay, which is
a key character map file that has "type OVERLAY".

Added support for loading keyboard layout overlays from
resources dynamically. The layouts are reloaded whenever they
are changed in the Settings application or an application
is installed. This is somewhat more aggressive than necessary
so we might want to optimize it later.

Before system-ready, the input system uses just the generic
keyboard layouts that are included on the device system image.
After system-ready, it considers the user's selected keyboard
layout overlay and attempts to load it as necessary. We need to
wait until system-ready before doing this because we need to
be in a state where it is safe to start applications or access
their resources.

Bug: 6110399
Change-Id: Iae0886d3356649b0d2440aa00910a888cedd8323
alidatekeymaps/Main.cpp
ac76e72272c957dc7609aa68224efa2d32c23cd0 17-Apr-2012 Dianne Hackborn <hackbod@google.com> Merge "Add new scale-up window manager animation."
eabfb3a36e9469c5e219f92b39b7200104319185 17-Apr-2012 Dianne Hackborn <hackbod@google.com> Add new scale-up window manager animation.

Like zoom thumbnail, but without the thumbnail.

Change-Id: I9486dd204398b87c9e70ff0d05d03f4a22449cd6
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
4aa14b912fa7b0e8f2f1deb3e66dab4668de1e12 14-Apr-2012 Dianne Hackborn <hackbod@google.com> Add new aapt dump badging output explaining implicit badging.

New uses-implied-feature and uses-implied-permission tell you
about any features or permissions that aapt is automatically
adding to your app, and why it is doing so.

Change-Id: I45edb055408e1259699c994f956166ce67e8db5d
apt/Command.cpp
9f25b7fdf216c9ef0bd2322cd223eeaf0d60f77f 10-Apr-2012 Jeff Brown <jeffbrown@google.com> Request key maps from input manager service.

Instead of each application loading the KeyCharacterMap from
the file system, get them from the input manager service as
part of the InputDevice object.

Refactored InputManager to be a proper singleton instead of
having a bunch of static methods.

InputManager now maintains a cache of all InputDevice objects
that it has loaded. Currently we never invalidate the cache
which can cause InputDevice to return stale motion ranges if
the device is reconfigured. This will be fixed in a future change.

Added a fake InputDevice with ID -1 to represent the virtual keyboard.

Change-Id: If7a695839ad0972317a5aab89e9d1e42ace28eb7
alidatekeymaps/Main.cpp
4527a9242127c28ad9472ec3b7677b444b3ef215 11-Apr-2012 Dan Morrill <morrildl@google.com> Merge "Adding a line for android-debuggable to 'dump badging' if AndroidManifest.xml is configured as such. This is to be used by e.g. Play Store to warn the developer that they are about to publish a security hole."
29d6fa9d8b651b6940e6f3f9182f5b72c404c739 06-Apr-2012 Dianne Hackborn <hackbod@google.com> Merge "Implement call log permission compatibility."
31b0e0e86ad061cd8005e80817bcad017e2d56dd 06-Apr-2012 Dianne Hackborn <hackbod@google.com> Implement call log permission compatibility.

If a pre-JellyBean application requests read/write contacts, it
will implicitly be given read/write call log.

Change-Id: I029db4b09fda737bb8fba4e1611355ebdbbfd34f
apt/Command.cpp
ac14351e16e1258f1cb54e2bf772b8be004eb2b8 06-Apr-2012 Jeff Brown <jeffbrown@google.com> Move some APIs from window manager to input manager.

Simplified input injection API down to just one call.

Removed all input state reading API. It was only used by the
window manager policy and required a permission that applications
could not obtain. READ_INPUT_STATE is now unused and deprecated.

Change-Id: I41278141586ddee9468cae0fb59ff0dced6cbc00
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
5459c43b83c3a9d0406f01deffaadd2ef458518c 05-Apr-2012 Dianne Hackborn <hackbod@google.com> Merge "Clean up status bar, system bar, navigation bar management."
f87d19621dc2a30232bba1f51862a0b671eb9729 04-Apr-2012 Dianne Hackborn <hackbod@google.com> Clean up status bar, system bar, navigation bar management.

The status bar and navigation bar are two completely separate
elements, with their own semantics. The system bar now classifies
itself as a navigation bar, since that is really how it behaves.

This required rewriting the HDMI resizing code, so that it is
all done by PhoneWindowManager since that is what is responsible
for the size of the navigation bar (and thus now system bar). This
actually gets rid of a fair amount of code, and means we can also
do the same thing for a pure navigation bar.

Likewise the system bar now has the navigation bar ability to be
hidden when requested by system UI flags. To get the behavior
we want on Xoom, we only allow the nav bar to be hidden when it
will help provide a better aspect ratio for showing widescreen
videos.

Finally the nav/system bar now animates when hidden and shown.

Change-Id: Ie927154b68376a0b61802f99171ff56b8da92e7a
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
ec4a50428d5f26a22df3edaf7e5b08f41d5cb54b 04-Apr-2012 Amith Yamasani <yamasani@google.com> Embed layout padding in nine patch images

- Added a new custom PNG chunk that carries the layout padding ints.
- Extract the padding ticks from .9.png images and store in the chunk.
- Load the padding information at runtime into Bitmap and NinePatchDrawable.

- The new chunk is ordered first so that it doesn't cause a problem in older
versions of the platform.

Bug: 6087201

Change-Id: I5de46167a1d44b3ec21065b0c165e594b1dc8399
apt/Images.cpp
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
b6ec11ef372a498c4d5fd2317a015b808495a2ed 03-Apr-2012 Dan Morrill <morrildl@google.com> Adding a line for android-debuggable to 'dump badging' if AndroidManifest.xml
is configured as such. This is to be used by e.g. Play Store to warn the
developer that they are about to publish a security hole.

Change-Id: Ib6f8537462cbc00ed0504435bdeee2aae0c5b69b
apt/Command.cpp
c4293c14083d833bb5d13dc19e73daed8cbbb4ea 30-Jan-2012 Nobuhiro Hayashi <nobuhiro.hayashi@gmail.com> aapt: Remove terminal pointer incrementaion

When initialization, 'end' pointer refers terminal
character in a string. But it is incremented in
while loop. It occurs the access to non-secure memory.

Issue detail
http://code.google.com/p/android/issues/detail?id=24896

Change-Id: I751d1154d797738c87a66374a66933528c045be5
apt/ResourceTable.cpp
fbd0509f4746ae1ebca4ab91fc55ebd234ba9d3d 24-Mar-2012 Xavier Ducrohet <xav@android.com> Merge "Add Delegate for ViewRootImpl#isInTouchMode to prevent IPC call in Eclipse."
22f700a1b8fb9d2ac7b261e30a46a040928c23bc 24-Mar-2012 Xavier Ducrohet <xav@android.com> Add Delegate for ViewRootImpl#isInTouchMode to prevent IPC call in Eclipse.

Also fix some new/removed method from BitmapFactory.

Change-Id: I606bd8bee6ff1e2c6c9472b4672175bfdaff45de
ayoutlib/bridge/src/android/graphics/BitmapFactory_Delegate.java
ayoutlib/bridge/src/android/view/ViewRootImpl_Delegate.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
8078d8c8a282ca81344febe7256f63b1e805e3aa 20-Mar-2012 Dianne Hackborn <hackbod@google.com> Add new thumbnail animation.

Use it for recent tasks switching.

Not perfect yet by far, but something.

Also fix issue #6186758: Twitter crashes after tapping on a tweet on JRM75D

Change-Id: I49bf6c94aafde875ac652dedaf96d6c08cc9e7d2
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
a982dc05d7ca919c07f50e446549ef9dceadf6bd 23-Mar-2012 Colin Cross <ccross@android.com> frameworks/base: move Zip* from libandroidfw to libutils

ZipUtils is needed by build/tools, move it from libandroidfw
(frameworks/base) to libutils (frameworks/native).

Change-Id: I2b4b7adcdf68eb25ee7cba5dd3b69eadf0523af3
apt/ZipFile.cpp
fe75d62eba3935d2d1a4a7790fc7459ded241ad3 19-Mar-2012 Jeff Brown <jeffbrown@google.com> Use qsort_r_compat() as a portable wrapper for qsort_r().

Change-Id: Ie79f81625947f4e95122047605d994c86e872e74
apt/StringPool.cpp
apt/StringPool.h
80a6b33be276eb6c808fce13debb4bb7a489cdad 19-Mar-2012 Jeff Brown <jeffbrown@google.com> Fix build break on glibc, for real.

Change-Id: I8bbec237229b05f96c708d41f3c4da17e2a90e2b
apt/StringPool.h
46fc395386f2277a0425b2c46be08fd91f6554f4 19-Mar-2012 Jeff Brown <jeffbrown@google.com> Fix build break on glibc hosts.

Change-Id: Ida70bec6ea972d042982428353cbbc33cde25136
apt/StringPool.cpp
c0f7366a15655c6973ea21029f1997f24c006cca 17-Mar-2012 Jeff Brown <jeffbrown@google.com> aapt: Preprocess images in parallel.

Currently hardcoded to use up to 4 threads.

This change substantially reduces the amount of time spent
preprocessing framework resources to just a few seconds.

Change-Id: I02fdd283fb529a152aeb22ac87f278779fd77983
apt/Bundle.h
apt/Images.cpp
apt/Images.h
apt/Resource.cpp
c9fd9263feedac32e4f5b1f13a3246347efdc25f 17-Mar-2012 Jeff Brown <jeffbrown@google.com> Use quicksort to sort the string pool.

The current implementation of Vector::sort uses insertion sort
on the assumption that the data is mostly sorted. It isn't.

This change brings the total time spent sorting packages by config
down to 500ms from about 93 seconds.

Bug: 6186278
Change-Id: Iec8da11e09297acd6c73733d063b0fa9dacf69f7
apt/StringPool.cpp
apt/StringPool.h
61361f376b47d45966b1ca0d24d51622304c93c3 16-Mar-2012 Jeff Brown <jeffbrown@google.com> Add some comments about StringPool sort order.

Change-Id: I57f24d46328a6bfef883819eaf95c03114d573bb
apt/StringPool.cpp
bf02b984738f6be5cc2e2d66b12aff7af99eb79e 17-Mar-2012 Jeff Brown <jeffbrown@google.com> Merge "Remove dead code in StringPool."
4eb7fbb250feb34a7fe0df1eb2f4b76945d65c8b 17-Mar-2012 Jeff Brown <jeffbrown@google.com> Merge "Make StringPool entry types trivially movable."
345b7eb8749d6954942fd4e961fff9f2f854934c 16-Mar-2012 Jeff Brown <jeffbrown@google.com> Remove dead code in StringPool.

The sorted string pool option was no longer used.
Neither were strings with associated identifiers.

Change-Id: Ic5f6368637fbeedfda873d63f4ad0f3ea9d0d603
apt/ResourceTable.cpp
apt/StringPool.cpp
apt/StringPool.h
apt/XMLNode.cpp
8a9cfcc85260eadcc2c17c4a8911c6d93b642f39 16-Mar-2012 Jeff Brown <jeffbrown@google.com> Make StringPool entry types trivially movable.

Change-Id: If93957a840a0f1cae2e6ef291eeeb1b0c7c20958
apt/StringPool.h
5d701eddcf7f4abd5867ec3bf2091916d5ebbdf1 16-Mar-2012 Xavier Ducrohet <xav@android.com> LayoutLib: Properly support attr ns when used in styles.

Change-Id: I885864588928589d7c9a34b94339917c5be47fa5
ayoutlib/bridge/src/android/content/res/BridgeResources.java
ayoutlib/bridge/src/android/content/res/BridgeTypedArray.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeRenderSession.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
a421f6c0ba8c354e2a81830e6402654bbf732780 22-Feb-2012 Xavier Ducrohet <xav@android.com> Fix sdk layout rendering in JB.

Since JB, com.android.internal.R does not contain all the resources,
instead only the ones that are accessed through Java.
This means we need to dynamically generate IDs for resources that are
private and only accessed from other XML resources. This is done
through the DynamicIdMap class.

Also add a PolicyManager and a PowerManager since those are now
needed by ViewRootImpl?!?

Change-Id: If2ae8ad79502fa084d852664a44aefd46e01aec6
ayoutlib/bridge/src/com/android/internal/policy/PolicyManager.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/util/DynamicIdMap.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
a4972e951bf2bdb7afdafee95b3ab0c15b8bacae 14-Mar-2012 Dianne Hackborn <hackbod@google.com> Add new "options" argument to all startActivity APIs.

This will be used to allow new features to be requested... such as,
say, a special kind of animation. Right now there are no options
defined.

Change-Id: I4eb6f27275cdd4bf186f6da316ab93a2372ad4b7
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
7924512aa12c6af37d90e8ccfcdf04eb78a294a3 12-Mar-2012 Dianne Hackborn <hackbod@google.com> Add new READ_EXTERNAL_STORAGE permission.

Also adds some initial compatibility code for dealing with it.

Change-Id: I104bff11798349e4aaa6da9b7be787b257daa1bb
apt/Command.cpp
583fcb9175cd0c614f096db633d9e784ab7e1f54 09-Mar-2012 Romain Guy <romainguy@google.com> Merge "Dispatch screen state change events to Views Bug #6120957"
bb9908b828a8cfd5965553be66faa6af89973697 08-Mar-2012 Romain Guy <romainguy@google.com> Dispatch screen state change events to Views
Bug #6120957

Using this new callback, views can interrupt and resume their
animations or other periodic tasks based on the current state
of the display.

Change-Id: I398f4abd421e9c5f207107bf1009a7b92cf45daa
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindow.java
a0b29f556519653c9749cebff4af43e68b4d59ce 08-Mar-2012 Ben Gruver <bgruv@google.com> Merge "Fix an issue where a non-styled string could be made into a styled string"
731f018928ea122e5367eb23bc6c94cde0e53b2d 08-Mar-2012 Romain Guy <romainguy@google.com> Merge "Fix the build"
e0cf12fc4d5c9de464f899522a9e2ca77dbb865a 08-Mar-2012 Romain Guy <romainguy@google.com> Fix the build

Change-Id: Ia86ba9b1c432ab3f8107557e95b12c9eedc4d9f7
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindow.java
db6e67d8ec081f43bcf14155741e268a38915719 08-Mar-2012 Ben Gruver <bgruv@google.com> Fix an issue where a non-styled string could be made into a styled string

If a styled version of an otherwise identical string is encountered before
a non-styled version, aapt merges the two, effectively making the
non-styled string have a spurious style.

Change-Id: I424a61c0c83c59e0b9c8939e457402efd06a7a4f
apt/StringPool.cpp
59eb5fd509c98a371b8824f6b13cf29981a4f063 07-Mar-2012 Ben Gruver <bgruv@google.com> Fix up getAttributeFlags() function

In addition to a couple of minor clean-up items, this fixes an issue that can
rarely cause incorrect parsing of attribute flag values, when there is a '|'
character in the few bytes past the end of the attribute value being parsed.

Change-Id: I6050b1c2db60720c7c0ab7df9eba8cfc629b320e
apt/ResourceTable.cpp
aeb17f17ffd8d3384dfed223e40010b4abac4cc5 27-Feb-2012 Xavier Ducrohet <xav@android.com> am 77fdcbff: am f038868d: am 44e63a21: Support rendering layout that use the new res-auto namespace.

* commit '77fdcbff8b458dd3430b38e60aee1a28ca92a738':
Support rendering layout that use the new res-auto namespace.
77fdcbff8b458dd3430b38e60aee1a28ca92a738 25-Feb-2012 Xavier Ducrohet <xav@android.com> am f038868d: am 44e63a21: Support rendering layout that use the new res-auto namespace.

* commit 'f038868d74af534effceaa8f1d932f9576f4f647':
Support rendering layout that use the new res-auto namespace.
a097f50bc6c8394b4806cf9f7cc67ac78744cf59 25-Feb-2012 Xavier Ducrohet <xav@android.com> am 44e63a21: Support rendering layout that use the new res-auto namespace.

* commit '44e63a218cf8fcab9b4418246a512bd0b0c9157b':
Support rendering layout that use the new res-auto namespace.
f038868d74af534effceaa8f1d932f9576f4f647 25-Feb-2012 Xavier Ducrohet <xav@android.com> am 44e63a21: Support rendering layout that use the new res-auto namespace.

* commit '44e63a218cf8fcab9b4418246a512bd0b0c9157b':
Support rendering layout that use the new res-auto namespace.
44e63a218cf8fcab9b4418246a512bd0b0c9157b 25-Feb-2012 Xavier Ducrohet <xav@android.com> Support rendering layout that use the new res-auto namespace.

Change-Id: I9b89c965dc8c9458e74c15ab8ff765e16e1b32c2
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeConstants.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
cb581bbe2e1fd2a55b70a516fbaac53da0108c28 25-Feb-2012 Dianne Hackborn <hackbod@google.com> resolved conflicts for merge of 34706a4c to master

Change-Id: I4dd24f3b917aa7e3d2c4b0fae51e951dfcf88ba8
34706a4c81b82319a79a1b5ffa9084ed92a6e284 25-Feb-2012 Dianne Hackborn <hackbod@google.com> am e65a9ab1: am 5786f5cf: Merge "Fix build." into ics-mr1

* commit 'e65a9ab1ea42d1f6190bee844ee666b7910d71ef':
Fix build.
46c2c10c2045408e0106928e71d066e9d1540f06 25-Feb-2012 Dianne Hackborn <hackbod@google.com> am 5786f5cf: Merge "Fix build." into ics-mr1

* commit '5786f5cf1b248b79f938b3fa3c5d534159261f09':
Fix build.
e65a9ab1ea42d1f6190bee844ee666b7910d71ef 25-Feb-2012 Dianne Hackborn <hackbod@google.com> am 5786f5cf: Merge "Fix build." into ics-mr1

* commit '5786f5cf1b248b79f938b3fa3c5d534159261f09':
Fix build.
5786f5cf1b248b79f938b3fa3c5d534159261f09 25-Feb-2012 Dianne Hackborn <hackbod@google.com> Merge "Fix build." into ics-mr1
b69b2c01b4de8a161d6c39e7428ffd25c36eb8cc 25-Feb-2012 Dianne Hackborn <hackbod@google.com> Fix build.

Change-Id: Id3262bff0df598ecc81a4346dee9febd3aaa60c9
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeIInputMethodManager.java
54c8c3d920ee863716638483602a011943da6484 24-Feb-2012 Xavier Ducrohet <xav@android.com> am b3c780f1: am 816b873d: Move the automatic namespace outside of the res namespace. do not merge.

* commit 'b3c780f16c37d2fb41a4eb211ea062b4c0b4e366':
Move the automatic namespace outside of the res namespace. do not merge.
38b9ca514bdcfbf277f216a29a9f219521836625 24-Feb-2012 Xavier Ducrohet <xav@android.com> am 816b873d: Move the automatic namespace outside of the res namespace. do not merge.

* commit '816b873df1ab98d0e79913cf589b7b1fbaf14e85':
Move the automatic namespace outside of the res namespace. do not merge.
f2ba32d2d7e7ff6211906fe9ba9979511f29502d 24-Feb-2012 inazaruk <ievgenii.nazaruk@gmail.com> am eed8d0b3: Fix for issue 9656 - custom xml attributes in Android Libraries. do not merge.

* commit 'eed8d0b3af8e76d6146ce4ed3fbe6ef7e172c8cd':
Fix for issue 9656 - custom xml attributes in Android Libraries. do not merge.
b3c780f16c37d2fb41a4eb211ea062b4c0b4e366 24-Feb-2012 Xavier Ducrohet <xav@android.com> am 816b873d: Move the automatic namespace outside of the res namespace. do not merge.

* commit '816b873df1ab98d0e79913cf589b7b1fbaf14e85':
Move the automatic namespace outside of the res namespace. do not merge.
816b873df1ab98d0e79913cf589b7b1fbaf14e85 24-Feb-2012 Xavier Ducrohet <xav@android.com> Move the automatic namespace outside of the res namespace. do not merge.

(cherry picked from commit d9fe8018ffbf94f18a840005e688ad1d712f0225)

Change-Id: I48ca78d5fccc75392b3f1cf9525890e5145293c4
apt/XMLNode.cpp
eed8d0b3af8e76d6146ce4ed3fbe6ef7e172c8cd 23-May-2011 inazaruk <ievgenii.nazaruk@gmail.com> Fix for issue 9656 - custom xml attributes in Android Libraries. do not merge.

Added support for predefined namespace http://schemas.android.com/apk/res/auto
that aapt tool recognizes and treats as namespace with package name
taken from current application's AndroidManifest.xml, //manifest/package attribute.

Signed-off-by: inazaruk <ievgenii.nazaruk@gmail.com>

(cherry picked from commit e348909c1966c3d192841cc131a32be6ed90da18)

Change-Id: I4bff836c42a309bac36e5d1ce1899131b3c4c194
apt/XMLNode.cpp
d9fe8018ffbf94f18a840005e688ad1d712f0225 24-Feb-2012 Xavier Ducrohet <xav@android.com> Move the automatic namespace outside of the res namespace.

Change-Id: I107ee94af0a13f008ef4a8844a9038b84f97a247
apt/XMLNode.cpp
111a7a107cc0d1d37c50e760996dfe9863d099d0 23-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am 0842a226: am fe99051c: am 0e25e4cd: am 63e43ba5: Merge "Fix for issue 9656 - custom xml attributes in Android Libraries"

* commit '0842a2262d03fc98e42541cb38f51a341d346ae0':
Fix for issue 9656 - custom xml attributes in Android Libraries
0842a2262d03fc98e42541cb38f51a341d346ae0 23-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am fe99051c: am 0e25e4cd: am 63e43ba5: Merge "Fix for issue 9656 - custom xml attributes in Android Libraries"

* commit 'fe99051c78994e0cc5153468eeba6f75f3e04b8e':
Fix for issue 9656 - custom xml attributes in Android Libraries
fe99051c78994e0cc5153468eeba6f75f3e04b8e 23-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am 0e25e4cd: am 63e43ba5: Merge "Fix for issue 9656 - custom xml attributes in Android Libraries"

* commit '0e25e4cd292dbc6bce330a876dedb7154e5cd847':
Fix for issue 9656 - custom xml attributes in Android Libraries
0e25e4cd292dbc6bce330a876dedb7154e5cd847 23-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am 63e43ba5: Merge "Fix for issue 9656 - custom xml attributes in Android Libraries"

* commit '63e43ba56a95708c229eec539a544967f1bbb7d7':
Fix for issue 9656 - custom xml attributes in Android Libraries
63e43ba56a95708c229eec539a544967f1bbb7d7 23-Feb-2012 Jean-Baptiste Queru <jbq@google.com> Merge "Fix for issue 9656 - custom xml attributes in Android Libraries"
5e6c2194774eb5449889f3a9f984897bf0f06b1c 23-Feb-2012 Xavier Ducrohet <xav@android.com> am f8e737cb: am 22701ec5: am 503247f2: Merge "Make sure resource references are resolved." into ics-mr1

* commit 'f8e737cb61ab86b90ec318591fbcfec40fac63cf':
Make sure resource references are resolved.
f8e737cb61ab86b90ec318591fbcfec40fac63cf 22-Feb-2012 Xavier Ducrohet <xav@android.com> am 22701ec5: am 503247f2: Merge "Make sure resource references are resolved." into ics-mr1

* commit '22701ec5b11f6138e6298814fff5f09da82df144':
Make sure resource references are resolved.
a61f470dcc30662996483e586700d63aa94bcd67 22-Feb-2012 Xavier Ducrohet <xav@android.com> am 503247f2: Merge "Make sure resource references are resolved." into ics-mr1

* commit '503247f213ef2894324a22e7608101e90a7fe8fb':
Make sure resource references are resolved.
22701ec5b11f6138e6298814fff5f09da82df144 22-Feb-2012 Xavier Ducrohet <xav@android.com> am 503247f2: Merge "Make sure resource references are resolved." into ics-mr1

* commit '503247f213ef2894324a22e7608101e90a7fe8fb':
Make sure resource references are resolved.
cbc69718cb8c637426bc1a642a13a1880d843a45 21-Feb-2012 Mathias Agopian <mathias@google.com> another attempt at fixing the linux build

Change-Id: Iac20439fd6eea4682859112e72f051294bc87ef6
apt/Android.mk
c3f979f6fecb8b46e9315fddb2a1f344bf1f1447 21-Feb-2012 Xavier Ducrohet <xav@android.com> Make sure resource references are resolved.

XmlPullAttribute can query for attributes and return them in a given
format. We need to make sure they are first resolved before
trying to convert them to int/float/boolean/...

Change-Id: I2aaced022a0382e501978c396e49d6191d53bdc8
ayoutlib/bridge/src/android/util/BridgeXmlPullAttributes.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
83c64e6b624a876436d2ef5d2f173b10407e27b4 21-Feb-2012 Mathias Agopian <mathias@google.com> frameworks/base refactoring

create the new libandroidfw from parts of libui and libutils

Change-Id: I1584995616fff5d527a2aba63921b682a6194d58
apt/Android.mk
bbtool/Android.mk
alidatekeymaps/Android.mk
b13b9bdad2baf6ad1ec2e56b6b7598fa20f55fc4 18-Feb-2012 Mathias Agopian <mathias@google.com> frameworks/base refactoring.

step 2: move libutils headers to their new home: androidfw

Change-Id: I14624ba23db92a81f2cb929f104386e1fab293ef
apt/AaptAssets.h
apt/Images.cpp
apt/ResourceTable.cpp
apt/StringPool.h
apt/ZipFile.cpp
bbtool/Main.cpp
5bf842b22e79d779d82d5a1cc84b57b7ff7bd846 18-Feb-2012 Jeff Brown <jeffbrown@google.com> Fix build break.

Change-Id: I0bc8ac6e76ff28bd4c3585afbd6b3aa1930bf710
alidatekeymaps/Main.cpp
4a7571bc0bd6d675d6964595407f0c184c51d9ac 18-Feb-2012 Jeff Brown <jeffbrown@google.com> Merge "frameworks/base refactoring."
b93a03f841d93498bfea6cc92a22faa34bce1337 18-Feb-2012 Mathias Agopian <mathias@google.com> frameworks/base refactoring.

First step. Move libui includes to their new home: androidfw.

Change-Id: Ic042b52fdba72f30edc3cc6339bf30b4c1b99662
akekeycodes/makekeycodes.cpp
17a452f00c188173f48d0d490d98750cbb4529ca 17-Feb-2012 Mike Lockwood <lockwood@google.com> Revert "Revert "The com.android.athome api classes are moving android.support.place.""

This reverts commit 9dede89795a88268ab735a1b28e628f2a77922fe.
idl/Type.cpp
idl/generate_java_rpc.cpp
abfac6a55984fc7f0cf044371104c4e1b0b65fbf 17-Feb-2012 Mike Lockwood <lockwood@google.com> Merge "Revert "The com.android.athome api classes are moving android.support.place.""
9dede89795a88268ab735a1b28e628f2a77922fe 17-Feb-2012 Mike Lockwood <lockwood@google.com> Revert "The com.android.athome api classes are moving android.support.place."

to fix the build

This reverts commit 1aeecce8e9fe2749d1ad7ec86e40fe5a892f8f05
idl/Type.cpp
idl/generate_java_rpc.cpp
20e1907beb12e05baaafc31cccc20f77297c7525 17-Feb-2012 Mike Lockwood <lockwood@google.com> Merge "The com.android.athome api classes are moving android.support.place."
1aeecce8e9fe2749d1ad7ec86e40fe5a892f8f05 12-Dec-2011 Joe Onorato <joeo@google.com> The com.android.athome api classes are moving android.support.place.

Change-Id: Ibb9b8cfc8e7d0676df43359f5abaaed5e9e1112d
idl/Type.cpp
idl/generate_java_rpc.cpp
249e3ed5400e5c7ab2e9aa8017f612d79d2e8089 08-Feb-2012 MÃ¥rten Kongstad <marten.kongstad@sonyericsson.com> Runtime resource overlay: clean-up.

This is a combination of three minor clean-up tasks:

- Generate correct idmap even if name lookup fails:

Any resources following a resource with a spec but no actual values
would receive an incorrect ID in the idmap due to an accumulating offset
error. To combat this, a dummy value is inserted in the idmap whenever
a resource with a spec but no values is encountered.

- Optimize pruning of padding zeroes in idmaps:

Earlier, trailing zeroes were iteratively popped from the end of each
type block of an idmap. This commit instead tracks where to make the
cut, and does so with a single function call.

- aapt: warn about resources which lack values:

The resource framework assumes every resource to have a value for
at least one valid configuration. However, if multiple resource
directories are used (several -S options to aapt), the list of
configurations is limited by dpi (-c option to aapt) and a resource
is only available in discarded dpi configurations, aapt will create
a resource entry where each configuration lack an actual value. This
commit lets aapt emit a warning whenever this has happened.

Change-Id: Ic7451b7f4adfef5bfa6b0d7e64e057f317a2cdaa
apt/ResourceTable.cpp
a175a5b7ea3682cb58cca7f9726d0b8171cd549d 16-Feb-2012 Jeff Brown <jeffbrown@google.com> Encapsulate the ViewRootImpl's handler.

This change makes it much easier to make sense of the messages that
get posted to the ViewRootImpl's handler by encapsulating their point
of dispatch within the ViewRootImpl itself.

As part of this change, the View.AttachInfo now carries a reference
to the ViewRootImpl itself, which simplifies some code that used
to try to find the ViewRootImpl by getting the root view's parent.

In principle, it might have been nice to hide the ViewRootImpl from
the View hierarchy but in practice the two were coupled in many ways.

Change-Id: I51ebccdf5f8c8c505cd6f17cdf594174d041dc54
ayoutlib/bridge/src/android/view/AttachInfo_Accessor.java
68de7f5439cad8ba3d378adc8a68cef7127cfc9b 13-Feb-2012 Ramanan Rajeswaran <ramanan@google.com> DO NOT MERGE

Revert "Add xxhdpi; fix ActivityManager.getLauncherLargeIconSize() etc."

This reverts commit c1496d2d9a496e4aba817a58ecb9e07fe55cdba5.

Change-Id: If60df742b19c925cc99b20d01108b84415b124ad
apt/AaptAssets.cpp
84affb8ae6477c46c75f834b73daa13b2a751c21 26-Jan-2012 Dianne Hackborn <hackbod@google.com> Add xxhdpi; fix ActivityManager.getLauncherLargeIconSize() etc.

Change-Id: I519d6cdc527a402d93b98df17a64fc1da52ad598
apt/AaptAssets.cpp
352b8d03c63585f4eaec09d2e39a4d173be83164 13-Feb-2012 Ramanan Rajeswaran <ramanan@google.com> am 8046e294: Merge "DO NOT MERGE" into ics-scoop

* commit '8046e294c545b8e3712bff7925b024639936d5bf':
DO NOT MERGE
9d29031417bd2256a287969271edcd57c0cbd9c2 13-Feb-2012 Ramanan Rajeswaran <ramanan@google.com> DO NOT MERGE

Revert "Add xxhdpi; fix ActivityManager.getLauncherLargeIconSize() etc."

This reverts commit c1496d2d9a496e4aba817a58ecb9e07fe55cdba5.

Change-Id: If60df742b19c925cc99b20d01108b84415b124ad
apt/AaptAssets.cpp
d1f88de2c496423e483760654a4381b563dc1e1d 13-Feb-2012 Dianne Hackborn <hackbod@google.com> am c1496d2d: Add xxhdpi; fix ActivityManager.getLauncherLargeIconSize() etc.

* commit 'c1496d2d9a496e4aba817a58ecb9e07fe55cdba5':
Add xxhdpi; fix ActivityManager.getLauncherLargeIconSize() etc.
c1496d2d9a496e4aba817a58ecb9e07fe55cdba5 26-Jan-2012 Dianne Hackborn <hackbod@google.com> Add xxhdpi; fix ActivityManager.getLauncherLargeIconSize() etc.

Change-Id: I519d6cdc527a402d93b98df17a64fc1da52ad598
apt/AaptAssets.cpp
01060b08fbf258d21d344b38d9967b9ef0b50fd5 04-Jan-2012 Manuel Roman <manuelroman@google.com> Modified the constructor of EndpointBase

We introduced changes to the Endpoint lifecycle.
Modified the AIDL compiler to take into account the
changes. Just affected the constructor, which needs
now an extra parameter: placeInfo
idl/generate_java_rpc.cpp
7dc2973951e9d25e26cdc5a90297ac6c69e43083 17-Dec-2011 Jason Simmons <jsimmons@google.com> Add a getEndpointInfo accessor to AIDL-generated RPC proxy classes
idl/generate_java_rpc.cpp
c3a7bb6563288373b4b6531ab5c8abfc3d048a77 05-Dec-2011 Joe Onorato <joeo@google.com> Use the new get/putFlattenable methods on RpcData.

They handle null correctly.
idl/Type.cpp
0a7eaecf6457f9a186b2f2d5c0dbadc8b87e03b9 18-Nov-2011 Joe Onorato <joeo@google.com> Don't try to unmarshal void return types when there are out parameters being returned.
idl/generate_java_rpc.cpp
fcb310f93680b87943c90a321e2beedcb8c528b8 09-Nov-2011 Joe Onorato <joeo@google.com> For events, require that the parameters be marked in.

(because they won't work otherwise)
idl/aidl.cpp
79824179b8ceb77d4ddb392a7c104e873d61ccc8 08-Nov-2011 Joe Onorato <joeo@google.com> Support putting Flattenables in Lists.
idl/Type.cpp
idl/Type.h
6e0f981e864be5365b07a8cdc6f23e983d7f7352 07-Nov-2011 Joe Onorato <joeo@google.com> Was generating code that uses the wrong RpcData.
idl/Type.cpp
28087c63d83b51dfd6533040b2ca5edae0bc278a 13-Oct-2011 Joe Onorato <joeo@google.com> Update aidl for new Broker API.
idl/generate_java_rpc.cpp
a1c6d909c22e196ef62ddb065fc7821deda8a602 10-Oct-2011 Joe Onorato <joeo@google.com> aidl: All flattenable types now must also be parcelable.

This is more a limitation of the grammar than anything else triggering laziness on my part.
idl/Type.cpp
idl/Type.h
idl/aidl.cpp
idl/aidl_language.h
idl/aidl_language_y.y
idl/generate_java_rpc.cpp
95a766ddcd0feda233882012b755947b2588352c 10-Oct-2011 Joe Onorato <joeo@google.com> Update aidl to new APIs.
idl/generate_java_rpc.cpp
6c0236c53a30ea9fef28ee7c95a4dce2fa5ce2e1 10-Oct-2011 Joe Onorato <joeo@google.com> Suport RpcData as a parcelable type.
idl/Type.cpp
idl/Type.h
b71287f42e7cc164d932562d5ff1ee44e1ae4ade 06-Oct-2011 Manuel Roman <manuelroman@google.com> Modified AIDL to support authentication

We need to pass an RpcContext with information
such as the caller's certificate. I also modified
the compiler so it does not use Container anymore
and uses Context
idl/Type.h
idl/generate_java_rpc.cpp
22a7cb8d4941bfb0a6d843cac7e21257ee12d683 27-Sep-2011 Tim Kilbourn <tkilbourn@google.com> Fix PresenterClass by adding a _listener field
idl/generate_java_rpc.cpp
e24dbeafe64278408b3342fcb77756bc7d091791 24-Sep-2011 Joe Onorato <joeo@google.com> add presenters to aidl.
idl/Type.cpp
idl/Type.h
idl/aidl.cpp
idl/generate_java_rpc.cpp
21d524ea8aac9d728480f934c47613a1312f4a26 15-Sep-2011 Joe Onorato <joeo@google.com> Generate fallthrough for unhandled actions in RPC methods.
idl/generate_java_rpc.cpp
7db766c3fec2795b08d237f29b972f474983684b 16-Sep-2011 Joe Onorato <joeo@google.com> Support custom flattenable types for RPC.
idl/AST.h
idl/Type.cpp
idl/Type.h
idl/aidl.cpp
idl/aidl_language.h
idl/aidl_language_l.l
idl/aidl_language_y.y
idl/generate_java_rpc.cpp
1eb720446dec3248ba102c4635bf113d450d0d73 06-Sep-2011 Joe Onorato <joeo@google.com> Add RpcData as a built-in marshallable type.
idl/Type.cpp
idl/Type.h
05ffbe7c020c59ee4fa7e13e04641c954d591951 03-Sep-2011 Joe Onorato <joeo@google.com> Add the full suite of RpcData types.
idl/AST.cpp
idl/AST.h
idl/Type.cpp
idl/Type.h
idl/generate_java_rpc.cpp
fdfe2ff8c60c367a4eb7cecb4cbe1d62b41a8c20 31-Aug-2011 Joe Onorato <joeo@google.com> Checkpoint adding @home RPC support to aidl
idl/AST.cpp
idl/AST.h
idl/Android.mk
idl/Type.cpp
idl/Type.h
idl/aidl.cpp
idl/aidl_language.h
idl/aidl_language_l.l
idl/aidl_language_y.y
idl/generate_java.cpp
idl/generate_java.h
idl/generate_java_binder.cpp
idl/generate_java_rpc.cpp
688bd47fccf1a1373e6287bc49b5b33fad12b7f3 09-Feb-2012 satok <satok@google.com> Add an api to switch to the next IME and subtype

Bug: 5975302

Change-Id: I48aa4220159c65f456d61a324efcdf0a1ceec91c
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeIInputMethodManager.java
1644c6d7f4931d0b4fe7ea77c63b016af01a46d3 07-Feb-2012 Dianne Hackborn <hackbod@google.com> Only generate private symbols that are needed.

Change-Id: Icc4c86638db8429a387bf87c934cc712f807e213
apt/AaptAssets.cpp
apt/AaptAssets.h
apt/Command.cpp
apt/Resource.cpp
apt/ResourceTable.cpp
c761d8b0086f9e92eb1e4b3a5683ae6afb84036a 07-Feb-2012 MÃ¥rten Kongstad <marten.kongstad@sonyericsson.com> Build overlay packages just like regular packages.

Previously, building overlay packages required passing aapt its -o flag.
This commit decouples the idmap generation code from the effects of the
-o flag.

Since this commit renders the -o flag obsolete, support for the flag was
removed from aapt as well.

Change-Id: Ied2e0ab8cb800e49623f0a2044b06cd4935473d5
apt/Bundle.h
apt/Main.cpp
apt/ResourceTable.cpp
c8a0b8e6bccc604d3670d72cab0691ab6b8302c1 07-Feb-2012 Xavier Ducrohet <xav@android.com> Fix a setBackgroundDrawable in layoutlib.

Change-Id: Id5f3ec8cc6863fa5929743ef4014c331633efce9
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
3ef9b7afdd2f0f03a85660cfc80f142f8aacfbb3 07-Feb-2012 Xavier Ducrohet <xav@android.com> am 331bb0c3: Setup ActionBars in layoutlib the same way the platform does it. do not merge.

* commit '331bb0c393d5e2ea2485102dcddbb8c2d42654d2':
Setup ActionBars in layoutlib the same way the platform does it. do not merge.
b1f95c6a938f6eaaa7a3fd28574a14647178059b 07-Feb-2012 Xavier Ducrohet <xav@android.com> am 331bb0c3: Setup ActionBars in layoutlib the same way the platform does it. do not merge.

* commit '331bb0c393d5e2ea2485102dcddbb8c2d42654d2':
Setup ActionBars in layoutlib the same way the platform does it. do not merge.
331bb0c393d5e2ea2485102dcddbb8c2d42654d2 06-Feb-2012 Xavier Ducrohet <xav@android.com> Setup ActionBars in layoutlib the same way the platform does it. do not merge.

Instead of using a simple ImageView for the icon, this uses the platform
layout/action_bar_home which uses a custom class to position and resize
the icon (and also supports the Up icon that we don't yet support).

This ensures that the icon is properly positionned and sized like
on devices.

(cherry picked from commit 7396348dfcfb45b7ad055f4c18cabbe5e8270d26)

Change-Id: Ifd3bc318089b70ba843519523e366e59d434e919
ayoutlib/bridge/resources/bars/action_bar.xml
ayoutlib/bridge/src/android/graphics/Matrix_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/FakeActionBar.java
7396348dfcfb45b7ad055f4c18cabbe5e8270d26 06-Feb-2012 Xavier Ducrohet <xav@android.com> Setup ActionBars in layoutlib the same way the platform does it.

Instead of using a simple ImageView for the icon, this uses the platform
layout/action_bar_home which uses a custom class to position and resize
the icon (and also supports the Up icon that we don't yet support).

This ensures that the icon is properly positionned and sized like
on devices.

Change-Id: I57432afa82d257bb043247001320b368045d7f55
ayoutlib/bridge/resources/bars/action_bar.xml
ayoutlib/bridge/src/android/graphics/Matrix_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/FakeActionBar.java
3d4db0dc1803252b924076f7d10d8e806af71824 06-Feb-2012 Xavier Ducrohet <xav@android.com> am c205a9d6: am f8aea993: Make aapt ignore tools-related data.

* commit 'c205a9d68c23e9ade2cbe28bba0f257d84d23a97':
Make aapt ignore tools-related data.
b54f371cc4cfd32acf0fec35885a1da64accec9e 06-Feb-2012 Xavier Ducrohet <xav@android.com> am f8aea993: Make aapt ignore tools-related data.

* commit 'f8aea99385df8373b6edd6d5dd1d15b7b36b525b':
Make aapt ignore tools-related data.
f0c10920f9ca6e7ed42be680df9dcf56a3c83488 06-Feb-2012 Xavier Ducrohet <xav@android.com> am f8aea993: Make aapt ignore tools-related data.

* commit 'f8aea99385df8373b6edd6d5dd1d15b7b36b525b':
Make aapt ignore tools-related data.
f8aea99385df8373b6edd6d5dd1d15b7b36b525b 03-Feb-2012 Xavier Ducrohet <xav@android.com> Make aapt ignore tools-related data.

This patchset introduces a new standard namespace http://schemas.android.com/tools
which will be used for tools specific XML attributes.
Any attributes using this namespace will not be compiled into the binary XML file.

The namespace node is also not written at all, and its string is not collected
to ensure that there is no impact on the devices.

(cherry picked from commit a5d5e9d906583ebeb590ca200ca9840302a5cd1a)

Change-Id: I62937b8bc34c07ac544930aa8eadd7797e0179d5
apt/XMLNode.cpp
edc3c653875bcda60457f42b96876365ffce9bff 06-Feb-2012 Xavier Ducrohet <xav@android.com> Merge "Make aapt ignore tools-related data."
ec99f609cc2db862db307f7ba56a2400c58403a0 03-Feb-2012 Jeff Brown <jeffbrown@google.com> Merge "Rename CancellationSignal using preferred spelling."
4c1241df8f8b7fd5ec3dff6c7e0f66271248e76e 03-Feb-2012 Jeff Brown <jeffbrown@google.com> Rename CancellationSignal using preferred spelling.

Bug: 5943637
Change-Id: I12a339f285f4db58e79acb5fd8ec2fc1acda5265
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContentProvider.java
a5d5e9d906583ebeb590ca200ca9840302a5cd1a 03-Feb-2012 Xavier Ducrohet <xav@android.com> Make aapt ignore tools-related data.

This patchset introduces a new standard namespace http://schemas.android.com/tools
which will be used for tools specific XML attributes.
Any attributes using this namespace will not be compiled into the binary XML file.

The namespace node is also not written at all, and its string is not collected
to ensure that there is no impact on the devices.

Change-Id: I3e75d44cda54e1fa7b5cdc56b3eb27db80fe7761
apt/XMLNode.cpp
46d43ccfd8cef75b4315828073c094cf1efb05ff 03-Feb-2012 Xavier Ducrohet <xav@android.com> Make Layoutlib compile on Java 6.

Change-Id: Ic8f0e321c6c218de83664fc01f253a07fa80852c
ayoutlib/bridge/.settings/README.txt
ayoutlib/bridge/.settings/org.eclipse.jdt.core.prefs
ayoutlib/bridge/src/android/animation/AnimationThread.java
ayoutlib/bridge/src/android/graphics/BitmapShader_Delegate.java
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/Gradient_Delegate.java
ayoutlib/bridge/src/android/graphics/LinearGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/NinePatch_Delegate.java
ayoutlib/bridge/src/android/graphics/RadialGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/SweepGradient_Delegate.java
ayoutlib/bridge/src/android/view/SurfaceView.java
ayoutlib/bridge/src/com/android/internal/textservice/ITextServicesManager_Stub_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeIInputMethodManager.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeLayoutParamsMapAttributes.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindow.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowSession.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParser.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/FakeAdapter.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/FakeExpandableAdapter.java
ayoutlib/create/.settings/README.txt
ayoutlib/create/.settings/org.eclipse.jdt.core.prefs
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
ayoutlib/create/src/com/android/tools/layoutlib/create/MethodAdapter.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
6c997a9e880e08c354ffd809bd62df9e25e9c4d4 31-Jan-2012 Dianne Hackborn <hackbod@google.com> aapt now sorts the strings in the resource string pool.

In our current environment with very many translations, this can
save a lot of RAM -- for example over 200K in Gmail just by sorting
the strings in the Gmail .apk (not the framework).

Also add a new aapt command to print the contents of the resource
table string pool.

Change-Id: I1da037b3e2c377b890833ff57ab158965314ac48
apt/AaptAssets.h
apt/Bundle.h
apt/Command.cpp
apt/Resource.cpp
apt/ResourceTable.cpp
apt/ResourceTable.h
apt/StringPool.cpp
apt/StringPool.h
2d2d7d6f42fe22ecc2b1dc8bb96a19e503a61a20 28-Jan-2012 Jeff Brown <jeffbrown@google.com> Merge "Implement a cancelation mechanism for queries."
75ea64fc54f328d37b115cfb1ded1e45c30380ed 26-Jan-2012 Jeff Brown <jeffbrown@google.com> Implement a cancelation mechanism for queries.

Added new API to enable cancelation of SQLite and content provider
queries by means of a CancelationSignal object. The application
creates a CancelationSignal object and passes it as an argument
to the query. The cancelation signal can then be used to cancel
the query while it is executing.

If the cancelation signal is raised before the query is executed,
then it is immediately terminated.

Change-Id: If2c76e9a7e56ea5e98768b6d4f225f0a1ca61c61
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContentProvider.java
d96e3dfa02b203b1fc826e80d6f9aa074ba9c250 26-Jan-2012 Dianne Hackborn <hackbod@google.com> Add xxhdpi; fix ActivityManager.getLauncherLargeIconSize() etc.

Change-Id: I519d6cdc527a402d93b98df17a64fc1da52ad598
apt/AaptAssets.cpp
d3fe9abfb9a6a21a18abde6a98dceb423c04ebef 21-Jan-2012 Jim Miller <jaggies@google.com> am ab9601cd: am 230a7092: Merge "Fix 5863053: Add method to lock screen immediately." into ics-mr1

* commit 'ab9601cdbb95ae94088750eff9a926a572c1a4d6':
Fix 5863053: Add method to lock screen immediately.
d2f0dcd182fbc0423d206919e81f3845fb9b8155 20-Jan-2012 Romain Guy <romainguy@google.com> Merge "Remove unused code"
68fc1dfce050f1406f751e71cadd1b9fdb0f825c 20-Jan-2012 Romain Guy <romainguy@google.com> Remove unused code

Change-Id: Ife0a43f3cfe64a1e74401b10bf74d37cbeefb5af
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
12b7da69957ef894ce5134989e38479c64308ea1 20-Jan-2012 Jean-Baptiste Queru <jbq@google.com> am 6df477be: Merge "Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF)"

* commit '6df477be186233e36fc370c4d2db6c1ed928a740':
Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF)
f3f650db96d40014a0203393c585c368b0dd7a9a 20-Jan-2012 Jean-Baptiste Queru <jbq@google.com> am a826f9e2: Merge "Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF)"

* commit 'a826f9e2c4f6329d8d48c927f6e942e78ffaf92f':
Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF)
08d3c6e5ba5c3e5fcc386b07efa709325d45b9ff 20-Jan-2012 Jean-Baptiste Queru <jbq@google.com> am 4f367f33: Merge "Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF)"

* commit '4f367f3387887c538c81c34cc8becaea6fa5e430':
Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF)
7ae84204c14b4abff70fcc19c3c33de2591df34b 20-Jan-2012 Jean-Baptiste Queru <jbq@google.com> am ba7f0d2a: Merge "Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF)"

* commit 'ba7f0d2a03643ce429421b81febf18fd50473070':
Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF)
97aa8ee81198234aedffceaf71ad216b96323393 20-Jan-2012 Jean-Baptiste Queru <jbq@google.com> Merge ee4618bc

Change-Id: Ie1dc6ad38e7c30636d80f6caef11cf6673144940
c6aacce37191e1cc79cfeba13b39899f59c68c3b 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF)

Change-Id: I1de629b4632a4b3187ca1a28d6416daccd35f924
apt/ZipFile.cpp
a51f0e707f1f3142358aa919ea60ad2842803139 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF)

Change-Id: I8fbdfa7a7581f481968dbb65aa40f7042936d7cb
apt/ZipEntry.cpp
apt/ZipFile.cpp
933e85615059b85a87747da57288384541cc56da 04-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF)

Change-Id: I26f76452ac49e2890b14d133c065493d8df0fb4a
apt/ZipEntry.cpp
1afd5bab4e0eaba8b5bc2ab5c7b556cd602cf2e7 20-Dec-2011 Steve Block <steveblock@google.com> Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF)

Change-Id: I44f267700356967dc51e8f85ebf457dc85cfb229
apt/ZipEntry.cpp
apt/ZipFile.cpp
06ade6ae1bd015e8b8ad0685847911213c93cc5b 20-Oct-2011 Steve Block <steveblock@google.com> Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF)

Change-Id: I5321ebd12e9c6248a108529e82c4e1af2a4405e3
apt/ZipEntry.cpp
apt/ZipFile.cpp
5bf2802ad9de237ccc014489dd36ff4baadadfaa 19-Jan-2012 Xavier Ducrohet <xav@android.com> Fix broken drawCircle LayoutLib.

Change-Id: I5e23bbe0119e385fa2f77854a8f88128351d3759
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
3bb3d41adbd78ab690378531d37aec369c79ead7 19-Jan-2012 Jim Miller <jaggies@google.com> am 230a7092: Merge "Fix 5863053: Add method to lock screen immediately." into ics-mr1

* commit '230a709285abc5dfd92f05d91a8997d52a59d3c7':
Fix 5863053: Add method to lock screen immediately.
93c518e4f8abd98f87cda1712b30a5a86cfa60dd 18-Jan-2012 Jim Miller <jaggies@google.com> Fix 5863053: Add method to lock screen immediately.

This fixes a bug where the device fails to lock when DevicePolicyManagerService
requests the device to be locked and the screen was off because the user hit
the power button.

The change allows DPMS to directly invoke screen lock, bypasssing the screen state.

Change-Id: Iecdda6fc61e9c519119de495be23c69c3b983921
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
5aa73ae58f049379a97bc86add541f27170c02a4 14-Jan-2012 Jeff Brown <jeffbrown@google.com> Improve heuristics for orientation detection.

1. Except as otherwise indicated, orientation change happens once
the predicted rotation has been stable for 40ms. Noise is
suppressed by a low-pass filter with a 200ms time constant which
seems to be about as small as is practical given the quality
of the sensor data.

2. If the magnitude exceeds a threshold (excessive noise or freefall),
resets the predicted orientation.
Doesn't happen very often even when shaking the device.
This heuristic mainly protects the detector from spurious tilt due
to inaccurate determination of the gravity vector.

3. If the device was previously in a flat posture (on a table for at
least 1000ms), then it must move out of that posture for at least
500ms before the next orientation change will happen.
This heuristic suppresses most spurious rotations that happen while
picking up the device.

4. If the device is tilted away from the user by 20 degrees within
a span of 300ms, the device is said to be swinging and at least
300ms must elapse after the device stops swinging before the
next orientation change will happen.
This heuristic suppresses some but not all spurious rotations that
happen while putting down a device. Unfortunately, this heuristic
sometimes triggers a false positive when turning the device very
rapidly due to accelerometer noise. The 300ms pause is a compromise
so that occasional mispredicted swings don't significantly delay
the rotation.

Bug: 5796249
Change-Id: Id7b36c4c563e35b70d6a7ac36d04f3c3d6ea5811
rientationplot/orientationplot.py
6e5d9dfc5fd4de369b74e40844230210685d84f7 11-Jan-2012 Jason Simmons <jsimmons@google.com> Merge "Add a getEndpointInfo accessor to AIDL-generated RPC proxy classes" into ics-aah
3762c311729fe9f3af085c14c5c1fb471d994c03 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/157220

Bug: 5449033
Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
apt/ZipFile.cpp
74366c06ff6cad7038c17c9041d25979975ce55e 06-Jan-2012 Dan Morrill <morrildl@google.com> Merge "Minor tweak to console output."
e74763e26f760e8de23a4edfbe599a166ef6bb53 06-Jan-2012 Dan Morrill <morrildl@google.com> Minor tweak to console output.

Change-Id: I494910eda1d02f6bcff945b9a13c83767f2248b6
apt/Command.cpp
8564c8da817a845353d213acd8636b76f567b234 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/157065

Bug: 5449033
Change-Id: I00a4b904f9449e6f93b7fd35eac28640d7929e69
apt/ZipEntry.cpp
apt/ZipFile.cpp
6215d3ff4b5dfa52a5d8b9a42e343051f31066a5 04-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/156801

Bug: 5449033
Change-Id: Ib08fe86d23db91ee153e9f91a99a35c42b9208ea
apt/ZipEntry.cpp
f545558a2d622af64c631266d8804cec53baec02 04-Jan-2012 Manuel Roman <manuelroman@google.com> Merge "Modified the constructor of EndpointBase" into ics-aah
a8744b7cdf2463c7e412cf49ba6cfcad799c4aca 04-Jan-2012 Manuel Roman <manuelroman@google.com> Modified the constructor of EndpointBase

We introduced changes to the Endpoint lifecycle.
Modified the AIDL compiler to take into account the
changes. Just affected the constructor, which needs
now an extra parameter: placeInfo

Change-Id: I936e8e0ee512a1f7015a029be48042b7b98b7ffb
idl/generate_java_rpc.cpp
5baa3a62a97544669fba6d65a11c07f252e654dd 20-Dec-2011 Steve Block <steveblock@google.com> Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/156016

Bug: 5449033
Change-Id: I4c4e33bb9df3e39e11cd985e193e6fbab4635298
apt/ZipEntry.cpp
apt/ZipFile.cpp
20e0cef180397d9d98a51f1a6b8f14d6d4e83ab2 17-Dec-2011 Jason Simmons <jsimmons@google.com> Add a getEndpointInfo accessor to AIDL-generated RPC proxy classes

Change-Id: I1de957db3eceebc466d8ce23e2a80a0fcf4c917c
idl/generate_java_rpc.cpp
44fcb83b38b062a650ddf556fe7f5e34905df9ea 15-Dec-2011 Joe Onorato <joeo@google.com> Add a new ui mode for "appliance"

The idea is that this is a device which is more-or-less headless. It
might have some limited interaction capabilities, but it's not something
that you want to rely on having.

Change-Id: Ib92f53a120bf83de781728011721a4859def7d9f
apt/AaptAssets.cpp
68e616840bcbb14990552fd99f955a8e1216dc2e 15-Dec-2011 Joe Onorato <joeo@google.com> Add a new ui mode for "appliance"

The idea is that this is a device which is more-or-less headless. It
might have some limited interaction capabilities, but it's not something
that you want to rely on having.

Change-Id: Icc9f674299f8dbe2b736a5622a4965904d27e49c
apt/AaptAssets.cpp
ecc11a36cb3259e863f1be7165d3178b83306ed9 13-Dec-2011 Joe Onorato <joeo@google.com> Merge "The com.android.athome api classes are moving android.support.place." into ics-aah
f72abe344a1c0c1149a104adf7ee3ecb91dafb0a 12-Dec-2011 Raphael <raphael@google.com> am 2ace3b01: Merge "Merge "AAPT fix printf %zd crash on Windows". Do not merge." into ics-mr1

* commit '2ace3b01ab9447ce9fda2f578e31c1c11f4837cb':
Merge "AAPT fix printf %zd crash on Windows". Do not merge.
0c86196fe1c4ede51249ebb439ecd31ecd2acbd1 12-Dec-2011 Joe Onorato <joeo@google.com> The com.android.athome api classes are moving android.support.place.

Change-Id: Ibb9b8cfc8e7d0676df43359f5abaaed5e9e1112d
idl/Type.cpp
idl/generate_java_rpc.cpp
7c3bef85dab709326e052fec1fdc8b32e47c811e 28-Oct-2011 Raphael <raphael@google.com> Merge "AAPT fix printf %zd crash on Windows". Do not merge.

There's no printf %zd on Mingw/Cygwin so the verbose
printf crashes aapt.

SDK bugs: 20395, 20986

Bug: 5742142

(cherry picked from commit f51125d8429ffa71c57ba6fbdca9effc72642a9b)

Change-Id: I7545734ce8ce4a1f3e95f8a255daa8a909f870a1
apt/Resource.cpp
apt/StringPool.cpp
063a44e541335819b673fb1c20a338bbcaf3a3f5 08-Dec-2011 Kenny Root <kroot@google.com> Add aapt support for implicitly-granted permissions

Bug: 2363582
Bug: 2877343
Change-Id: Iff7b496fb845e45fe1be2317089a96f7d63ed223
apt/Command.cpp
e98ae0a050d6ce4b3e2aec7c070a87922086c256 06-Dec-2011 Tor Norbye <tnorbye@google.com> Merge "Upgrade layoutlib generation code to use ASM 4.0"
96e942dabeeaaa9ab6df3a870668c6fe53d930da 01-Dec-2011 Jeff Brown <jeffbrown@google.com> Use a Choreographer to schedule animation and drawing.

Both animations and drawing need to march to the beat of
the same drum, but the animation system doesn't know
abgout the view system and vice-versa so neither one
can drive the other.

We introduce the Choreographer as a drummer to keep
everyone in time and ensure a magnificent performance.

This patch enabled VSync based animations and drawing by
default. Two system properties are provided for testing
purposes to control the behavior.

"debug.choreographer.vsync": Enables vsync based animation
timing. Defaults to true. When false, animations are
timed by posting delayed messages to a message queue in
the same way they used to be before this patch.

"debug.choreographer.animdraw": Enables the use of the animation
timer to drive drawing such that drawing is synchronized with
animations (in other words, with vsync or the timing loop).
Defaults to true. When false, layout traversals and drawing
are posted to the message queue for execution without any delay or
synchronization in the same way they used to be before this patch.

Stubbed out part of the layoutlib animation code because it
depends on the old timing loop (opened bug 5712395)

Change-Id: I186d9518648e89bc3e809e393e9a9148bbbecc4d
ayoutlib/bridge/src/android/animation/AnimationThread.java
f7270ba9083e5b0069f73fc88aec439ab439275b 05-Dec-2011 Tor Norbye <tnorbye@google.com> Upgrade layoutlib generation code to use ASM 4.0

Change-Id: I46b3854a05677dc7cadd217efb001dbb25631fbd
ayoutlib/create/.classpath
ayoutlib/create/Android.mk
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
ayoutlib/create/src/com/android/tools/layoutlib/create/ClassHasNativeVisitor.java
ayoutlib/create/src/com/android/tools/layoutlib/create/DelegateClassAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/create/DelegateMethodAdapter2.java
ayoutlib/create/src/com/android/tools/layoutlib/create/RenameClassAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/create/StubMethodAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/create/TransformClassAdapter.java
c286560534f67f6587b393b295ee996c9d3e10d2 05-Dec-2011 Joe Onorato <joeo@google.com> Use the new get/putFlattenable methods on RpcData.

They handle null correctly.

Change-Id: I8eebf43e1791ea0f99f3d4ee1beb74aa4c977115
idl/Type.cpp
c0b7f65ae0594e19d1272e5caf2d83638041d19c 29-Nov-2011 Dianne Hackborn <hackbod@google.com> am 496f6e2a: am b54980d1: Merge "Fix issue #5588689: Black camera preview after coming back from gmail" into ics-mr1

* commit '496f6e2ad656c5bb8a277e191554d16abd290b58':
Fix issue #5588689: Black camera preview after coming back from gmail
5e3064c67fc56440a7d199aab00ea5f74dca5039 29-Nov-2011 Dianne Hackborn <hackbod@google.com> am b54980d1: Merge "Fix issue #5588689: Black camera preview after coming back from gmail" into ics-mr1

* commit 'b54980d1d4d903f68cdfa952256afff01902cd94':
Fix issue #5588689: Black camera preview after coming back from gmail
6d05fd3c795088ac60f86382df5a66d631e8a0cb 19-Nov-2011 Dianne Hackborn <hackbod@google.com> Fix issue #5588689: Black camera preview after coming back from gmail

Make surface management between SurfaceView and the window manager
much more controlled, to ensure that SurfaceView always gets to report
the current surface is destroyed before the window manager actually
destroys it.

Also a small tweak to allow windows that have a wallpaper background
to still have a preview window. This makes launching home after it
has been killed feel much more responsive.

Change-Id: I0d22cf178a499601a770cb1dbadef7487e392d85
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowSession.java
6980de4ef9a67ed6227eecf5b059a8d2e3d470d2 18-Nov-2011 Joe Onorato <joeo@google.com> Don't try to unmarshal void return types when there are out parameters being returned.

Change-Id: Ib7d2a5609167a076dd7ee8e10e8a55056789517e
idl/generate_java_rpc.cpp
2037c2585c4e00a11d85731a6a6a2152589dde63 09-Nov-2011 Joe Onorato <joeo@google.com> For events, require that the parameters be marked in.

(because they won't work otherwise)

Change-Id: I77f370ca1bc381ea07fc2854d2a90d8138ca1796
idl/aidl.cpp
44c620da02fd55f589b910863da892972f01ebc5 08-Nov-2011 Joe Onorato <joeo@google.com> Support putting Flattenables in Lists.

Change-Id: I683ec1823286d7f2ac03683a1cdad6413d2445b1
idl/Type.cpp
idl/Type.h
ab26b50134e4936ab1dbf316bc5e00307df94ee0 07-Nov-2011 Joe Onorato <joeo@google.com> Was generating code that uses the wrong RpcData.

Change-Id: I7984ac8306d7e293c6e4ccb75c5f03c508e465af
idl/Type.cpp
f1d897d996eccf272364fe8733e552d799606901 04-Nov-2011 Joe Onorato <joeo@google.com> Merge "This should fix the build for now." into ics-aah
6e5cb4b38a96bc1ba2fe760b5e3d61a93e011ce6 04-Nov-2011 Joe Onorato <joeo@google.com> This should fix the build for now.

I can't reproduce the real problem.

Change-Id: I851d42eed6f5eb5e9b2b53859e97b43438676cc8
idl/Type.cpp
fc0bd56e72344405cb78ee6fd6a309b60d58d3b9 03-Nov-2011 Joe Onorato <joeo@google.com> Merge "Add some extra debug information because this error is only happening on the build server." into ics-aah
0ee2431b27b0a0a81ad2f967723dee627a8517a9 03-Nov-2011 Joe Onorato <joeo@google.com> Add some extra debug information because this error is only happening on the build server.

Change-Id: I0703fffbe9701bf6614030e948a8e6cbfc3647be
idl/aidl.cpp
8836c55818937ba00f186075eb7efb6462191113 01-Nov-2011 Tor Norbye <tnorbye@google.com> Set theme-tag in render log when failing to find style

Change-Id: I20461a7113eb25469deca13dca870936bdb33a29
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
8f3580e9da652f5bda3ee4746c8cd633f11243ca 19-Oct-2011 Joe Onorato <joeo@google.com> Revert "Treat parcelables as flattenables for now, until the sdk contains a newer aidl."

Change-Id: I8f588d160888550ee79564afe6935fd0f78bc1f7
idl/aidl_language_y.y
47f2f8340f2a1390d3b346adf6b8ca8e93079cad 18-Oct-2011 Joe Onorato <joeo@google.com> Treat parcelables as flattenables for now, until the sdk contains a newer aidl.

Change-Id: Ic673aaa41fc9f430fdb7bda8963297452c9471da
idl/aidl_language_y.y
adfe8d28bfeed90d07f4947a0d4b02d4ba196598 13-Oct-2011 Joe Onorato <joeo@google.com> Update aidl for new Broker API.

Change-Id: Ibb92fb85eea5e9c9aeaf8ef1d2a5ef19fbf68021
idl/generate_java_rpc.cpp
94ca1b9978c209c71a78d592ba2495a9a292d3ba 10-Oct-2011 Joe Onorato <joeo@google.com> aidl: All flattenable types now must also be parcelable.

This is more a limitation of the grammar than anything else triggering laziness on my part.

Change-Id: I5ad949c6d8378870e40a15cf6e975e318cfeece5
idl/Type.cpp
idl/Type.h
idl/aidl.cpp
idl/aidl_language.h
idl/aidl_language_y.y
idl/generate_java_rpc.cpp
abd8c0709109941533e366ee7aae78a380c1be2a 10-Oct-2011 Joe Onorato <joeo@google.com> Update aidl to new APIs.

Change-Id: If7a39bec6478ee2a2c1493c744fa5afe9757c88d
idl/generate_java_rpc.cpp
11987cdbb31426cba926ea2dda3c17cc3d53929e 10-Oct-2011 Joe Onorato <joeo@google.com> Suport RpcData as a parcelable type.

Change-Id: I5721fe5b33f52edfb06f4c9cd4f8c97d234e9fc7
idl/Type.cpp
idl/Type.h
9e2df9748834aa40bf3e3ba813fe7f433bd2e7d2 06-Oct-2011 Manuel Roman <manuelroman@google.com> Modified AIDL to support authentication

We need to pass an RpcContext with information
such as the caller's certificate. I also modified
the compiler so it does not use Container anymore
and uses Context

Change-Id: Ib54b774f9c7b5cb3e0a014ce91548b817efcb72b
idl/Type.h
idl/generate_java_rpc.cpp
923a41816c5290f86de87f76e571065c9ce0f5d9 27-Sep-2011 Tim Kilbourn <tkilbourn@google.com> Fix PresenterClass by adding a _listener field

Change-Id: I22578bba4d66d032f67ceec3e7232de13be4f175
idl/generate_java_rpc.cpp
827af24a3ec43dc93bff21ffb45c573e102f8204 24-Sep-2011 Joe Onorato <joeo@google.com> add presenters to aidl.

Change-Id: I23c0bb085f3bfd27ca3b7f53e26cb704f8ddac1a
idl/Type.cpp
idl/Type.h
idl/aidl.cpp
idl/generate_java_rpc.cpp
acff08262d5947c630d29e544439112ebdf79e48 16-Sep-2011 Joe Onorato <joeo@google.com> Support custom flattenable types for RPC.

Change-Id: I5c29043baba792ce99d2e9d48bc96d4837b2a808
idl/AST.h
idl/Type.cpp
idl/Type.h
idl/aidl.cpp
idl/aidl_language.h
idl/aidl_language_l.l
idl/aidl_language_y.y
idl/generate_java_rpc.cpp
de81fcb590edb68bc3b3bef33ddcd6391974afa3 15-Sep-2011 Joe Onorato <joeo@google.com> Generate fallthrough for unhandled actions in RPC methods.

Change-Id: I08031c5a89f467691fc02cb4d44e49be3e48ed58
idl/generate_java_rpc.cpp
ef6ab2dcebda5c0044dceaa6fb27a4540e0fe4bc 06-Sep-2011 Joe Onorato <joeo@google.com> Add RpcData as a built-in marshallable type.

Change-Id: I12e74da51c5972a4c5eb73656dcf6f3bb0104443
idl/Type.cpp
idl/Type.h
1f44bba3b68ab4a6e45955847d6010285bb74923 03-Sep-2011 Joe Onorato <joeo@google.com> Add the full suite of RpcData types.

Change-Id: I0ce17d46b21cbfe04ff7bd77dd71be70dc7f80ac
idl/AST.cpp
idl/AST.h
idl/Type.cpp
idl/Type.h
idl/generate_java_rpc.cpp
ae7f32e97d2ee62af7ee904849b0dd7a665ae28a 31-Aug-2011 Joe Onorato <joeo@google.com> Checkpoint adding @home RPC support to aidl

Change-Id: I908950ec4892438b1d253475833e153b5a566fdc
idl/AST.cpp
idl/AST.h
idl/Android.mk
idl/Type.cpp
idl/Type.h
idl/aidl.cpp
idl/aidl_language.h
idl/aidl_language_l.l
idl/aidl_language_y.y
idl/generate_java.cpp
idl/generate_java.h
idl/generate_java_binder.cpp
idl/generate_java_rpc.cpp
f51125d8429ffa71c57ba6fbdca9effc72642a9b 28-Oct-2011 Raphael <raphael@google.com> AAPT fix printf %zd crash on Windows.

There's no printf %zd on Mingw/Cygwin so the verbose
printf crashes aapt.

SDK bugs: 20395, 20986

Change-Id: I5b8ac36749263205a19f1448b1aaca90d5a2e06d
apt/Resource.cpp
apt/StringPool.cpp
71f2cf116aab893e224056c38ab146bd1538dd3e 20-Oct-2011 Steve Block <steveblock@google.com> Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/143865

Bug: 5449033
Change-Id: I0122812ed6ff6f5b59fe4a43ab8bff0577adde0a
apt/ZipEntry.cpp
apt/ZipFile.cpp
9a7822497fa38539fdf9dacc6860c436e2925251 24-Oct-2011 Joe Onorato <joeo@google.com> The API doesn't need a container here, all it needs is a Context.

Change-Id: Id270a8cf4ce3b30dd470a5e11b966aaa14fb70c0
idl/generate_java_rpc.cpp
6937988227359c154b65c2e476918ac47f7fb392 24-Oct-2011 Joe Onorato <joeo@google.com> Parcelables are flattenable for now.

Change-Id: I439bba75a5a4dbb9350ffbfccb12b4fb97568712
idl/aidl_language_y.y
9c782794efc7e776965427afe3ff9016b68ae3ac 21-Oct-2011 Iliyan Malchev <malchev@google.com> am 64ef6b47: add -ldl to host executables

* commit '64ef6b47e020da5370af8897638a0a778fa52b74':
add -ldl to host executables
64ef6b47e020da5370af8897638a0a778fa52b74 20-Oct-2011 Iliyan Malchev <malchev@google.com> add -ldl to host executables

This fixes the build on Linux when RefBase is compiled with reference tracking
enabled.

Change-Id: I3e931e0b463ce836f6fdb30c37068d77144631a3
Signed-off-by: Iliyan Malchev <malchev@google.com>
apt/Android.mk
ocalize/Android.mk
bbtool/Android.mk
alidatekeymaps/Android.mk
dffcf2a9d239f1f9cf628678ae54ee024a324603 20-Oct-2011 Daniel Sandler <dsandler@android.com> am 22522289: am 84e825a8: Merge "Add hasNavigationBar() to the window manager." into ics-mr0

* commit '22522289fc0fda5c5fdd8c74e72c9f1f84e421f1':
Add hasNavigationBar() to the window manager.
0c4ccff36930ff4f0292b94ad51e164c9fa060a3 19-Oct-2011 Daniel Sandler <dsandler@android.com> Add hasNavigationBar() to the window manager.

It is no longer sufficient to check the value of
internal.R.bool.config_showNavigationBar to determine if a
navigation bar (separate from the status bar) is shown on a
device, because the emulator needs to be able to override
this value (now possible by setting qemu.hw.mainkeys to "1"
or "0", for navbar or no navbar, respectively).

This logic is now contained in PhoneWindowManager, and any
clients wishing to know whether the system has a software
nav bar should consult the new hasNavigationBar() method.

Bug: 5404945
Change-Id: I119d32a8c84b88b2ef46f63244e7f11dc5de0359
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
2be34eece26072ee8dcc6c0ec7ba5a5ebd342490 19-Oct-2011 Joe Onorato <joeo@google.com> Revert "Treat parcelables as flattenables for now, until the sdk contains a newer aidl."

This reverts commit 234b5a2b98471c663811f4b2b44a98028fa8e623.
idl/aidl_language_y.y
234b5a2b98471c663811f4b2b44a98028fa8e623 18-Oct-2011 Joe Onorato <joeo@google.com> Treat parcelables as flattenables for now, until the sdk contains a newer aidl.

Change-Id: I91ab1a57805c883ceebe097ac7ce7d6575d4083b
idl/aidl_language_y.y
f88287f0281f55aba6b26383ac5e748266522bda 17-Oct-2011 Dianne Hackborn <hackbod@google.com> am 4bb7572e: am bd9d2bcd: Whoops, remove left-over debug output.

* commit '4bb7572e7660172a53bb9e309fd646928400acc0':
Whoops, remove left-over debug output.
8b2c1a8912e4e5eba9d6161f2b10ab97133386ec 17-Oct-2011 Dianne Hackborn <hackbod@google.com> am c831f6c9: am e6b68036: New aapt feature to do smarter filtering of configurations.

* commit 'c831f6c9799e13d7fde167abfa9c03eb5ab0827c':
New aapt feature to do smarter filtering of configurations.
bd9d2bcdebfa66a0f71fa67aa256dcae4ccd93da 16-Oct-2011 Dianne Hackborn <hackbod@google.com> Whoops, remove left-over debug output.

Change-Id: Ib30571b22a6750629f975319a403d38de5e9462c
apt/AaptAssets.cpp
e6b680364dd992907a8d2037685a2e500d188dfb 14-Oct-2011 Dianne Hackborn <hackbod@google.com> New aapt feature to do smarter filtering of configurations.

This adds a --preferred-configurations flag that specifies the
specific configurations you would like to have.

It is smarter than "-c" because it will avoid stripping a
configuration if that would result in there being no value
for the resource.

It is dumber than "-c" because it can't process as many kinds
of resources. It is really only intended for bitmaps and use
with density configs.

This required re-arranging AaptAssets to group files together
by config again, like they used to be. I think this hasn't
broken anything. Hopefully.

Change-Id: I4e9d12ff6e6dbd1abb8fd4cb1814c6674b19d0e5
apt/AaptAssets.cpp
apt/AaptAssets.h
apt/Android.mk
apt/Bundle.h
apt/Command.cpp
apt/Images.cpp
apt/Main.cpp
apt/Package.cpp
apt/Resource.cpp
apt/ResourceFilter.cpp
apt/ResourceFilter.h
apt/ResourceTable.cpp
apt/ResourceTable.h
f2608b71add2665ddb0c5d9a2181f881321c5f89 14-Oct-2011 Manuel Roman <manuelroman@google.com> Merge changes I3a51e45a,I73b21022,I6a3984f9 into ics-aah

* changes:
Update aidl for new Broker API.
aidl: All flattenable types now must also be parcelable.
Update aidl to new APIs.
c7ec1dc21ae33a976817cc2deefdcb9065c1803b 13-Oct-2011 Joe Onorato <joeo@google.com> Update aidl for new Broker API.

Change-Id: I3a51e45a054082a530b5af8aa063da6f674e89bc
idl/generate_java_rpc.cpp
01b2e96bc29402fd6da29a0ae62fc4a83ab5472e 10-Oct-2011 Jeff Brown <jeffbrown@google.com> am 184b44e7: Merge "Fix ownership of CursorWindows across processes. Bug: 5332296"

* commit '184b44e79406e5f7e4f68673277c9637c6451b55':
Fix ownership of CursorWindows across processes. Bug: 5332296
9e35e44b426c011524a6b6f2322bf23aca0c3637 10-Oct-2011 Joe Onorato <joeo@google.com> aidl: All flattenable types now must also be parcelable.

This is more a limitation of the grammar than anything else triggering laziness on my part.

Change-Id: I73b21022388c54e516d7e1cddfd4895d351cd194
idl/Type.cpp
idl/Type.h
idl/aidl.cpp
idl/aidl_language.h
idl/aidl_language_y.y
idl/generate_java_rpc.cpp
d2183654e03d589b120467f4e98da1b178ceeadb 09-Oct-2011 Jeff Brown <jeffbrown@google.com> Fix ownership of CursorWindows across processes.
Bug: 5332296

Ensure that there is always an owner for each CursorWindow
and that references to each window are acquired/released
appropriately at all times.

Added synchronization to CursorToBulkCursorAdaptor to
prevent the underlying Cursor and CursorWindow from being
remotely accessed in ways that might violate invariants,
resulting in leaks or other problems.

Ensured that CursorToBulkCursorAdaptor promptly releases
its references to the Cursor and CursorWindow when closed
so they don't stick around longer than they should, even
if the remote end hangs onto the IBulkCursor for some reason.

CursorWindow respects Parcelable.FLAG_WRITE_RETURN_VALUE
as an indication that one reference to the CursorWindow is
being released. Correspondingly, CursorToBulkCursorAdaptor
acquires a reference to the CursorWindow before returning
it to the caller. This change also prevents races from
resulting in the transfer of an invalid CursorWindow over
the wire.

Ensured that BulkCursorToCursorAdaptor promptly releases
its reference to the IBulkCursor when closed and throws
on attempts to access the cursor while closed.

Modified ContentProviderNative to handle both parts of
the wrapping and unwrapping of Cursors into IBulkCursors.
This makes it a lot easier to ensure that the right
things happen on both ends. Also, it turns out that
the only caller of IContentProvider.bulkQuery was
ContentProviderNative itself so there was no need
to support bulkQuery on ContentProviderProxy and it was
just getting in the way.

Implement CloseGuard on CursorWindow.

Change-Id: Ib3c8305d3cc62322f38a06698d404a2989bb6ef9
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContentProvider.java
0d2a6b6cf5a541c534f3f0e4c1e1fc2899c86b5f 10-Oct-2011 Joe Onorato <joeo@google.com> Update aidl to new APIs.

Change-Id: I6a3984f9173573a256a60794b7482fab093a2635
idl/generate_java_rpc.cpp
afcb6e6fc58f3732f7ea861eaf145d6e6e7d7528 10-Oct-2011 Joe Onorato <joeo@google.com> Suport RpcData as a parcelable type.

Change-Id: I101d2a38c51135854f5fc2f51afdc07893ae56ad
idl/Type.cpp
idl/Type.h
d27233fde4cf7759a27f80ca5975e180f026a5a3 09-Oct-2011 Manuel Roman <manuelroman@google.com> Merge "Modified AIDL to support authentication" into ics-aah
2c5eb269bb047d3fdfc05e852f158563a3de6df8 06-Oct-2011 Manuel Roman <manuelroman@google.com> Modified AIDL to support authentication

We need to pass an RpcContext with information
such as the caller's certificate. I also modified
the compiler so it does not use Container anymore
and uses Context

Change-Id: Ie1d247e8cac21f7f207a87b2eb77f3d1dd7215d4
idl/Type.h
idl/generate_java_rpc.cpp
3c32c7a92e66d934256b8c37eebc81a8b01775a1 07-Oct-2011 Dianne Hackborn <hackbod@google.com> am 85b9edf2: Merge "Fix issue #5371530: SYSTEMUI_FLAG_HIDE_NAVIGATION reasserts itself immediately"

* commit '85b9edf2da0534bc53d139bb88cda8866d265afe':
Fix issue #5371530: SYSTEMUI_FLAG_HIDE_NAVIGATION reasserts itself immediately
85b9edf2da0534bc53d139bb88cda8866d265afe 07-Oct-2011 Dianne Hackborn <hackbod@google.com> Merge "Fix issue #5371530: SYSTEMUI_FLAG_HIDE_NAVIGATION reasserts itself immediately"
9a230e01a1237749a8a19a5de8d46531b0c8ca6a 06-Oct-2011 Dianne Hackborn <hackbod@google.com> Fix issue #5371530: SYSTEMUI_FLAG_HIDE_NAVIGATION reasserts itself immediately

This cleans up how ui flags are managed between the client and window manager.
It still reports the global UI mode state to the callback, but we now only clear
certain flags when the system goes out of a state (currently this just means the
hide nav bar mode), and don't corrupt other flags in the application when the
global state changes.

Also introduces a sequence number between the app and window manager, to avoid
using bad old data coming from the app during these transitions.

Change-Id: I40bbd12d9b7b69fc0ff1c7dc0cb58a933d4dfb23
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindow.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowSession.java
71d4111cf82aeda768223becda99ef15af346acb 06-Oct-2011 Jeff Brown <jeffbrown@google.com> am 1a7ae634: Merge "Fix build."

* commit '1a7ae63490939fbbb7c021f8f20078822f72549b':
Fix build.
2447871b99e6b10a68985f037420eb77cabe4d29 06-Oct-2011 Jeff Brown <jeffbrown@google.com> Fix build.

Change-Id: I7bb00b8ee0da952f3697b23dccf32dde55733b7a
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
4db605c99c6a03e13ccb40142d5afbf3879c860e 05-Oct-2011 Xavier Ducrohet <xav@android.com> am a11630fc: Merge "LayoutLib: fix support for textScaleX."

* commit 'a11630fc715dad9618942de423049aafc8ad9999':
LayoutLib: fix support for textScaleX.
085cbcfca72183bdc2be4ccbe9233bb64c8bccc1 05-Oct-2011 Xavier Ducrohet <xav@android.com> am e5493f31: Merge "Layoutlib: Typeface support for loading fonts manually."

* commit 'e5493f31152ebb2e9c9818699ba6f853a9a59894':
Layoutlib: Typeface support for loading fonts manually.
fea27fd1500980552deaf8c9e9f8f1395a5d2e01 05-Oct-2011 Xavier Ducrohet <xav@android.com> am 0bb83a28: Merge "Layoutlib now parses system_fonts.xml instead of its own."

* commit '0bb83a28395cddd22e1fa1e806def6498dedd709':
Layoutlib now parses system_fonts.xml instead of its own.
d410bfb2001e7960a27fe6adb9d56f229e70fe5c 05-Oct-2011 Xavier Ducrohet <xav@android.com> LayoutLib: fix support for textScaleX.

Change-Id: I821191a40012e9727b4a3573d580483c3ae1de48
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
14094097329b3bdcbf26392141111d74c8b89718 04-Aug-2011 Xavier Ducrohet <xav@android.com> Layoutlib: Typeface support for loading fonts manually.

If the font being loaded is a system font, then we can find the font
file and manually load it.

Change-Id: I95473b1f1b88df64316b77c41ed05d4d09ab61ed
ayoutlib/bridge/src/android/graphics/Typeface_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/FontLoader.java
178006a0e05b41b4c4de93aec30368a9102ca140 05-Oct-2011 Xavier Ducrohet <xav@android.com> Layoutlib now parses system_fonts.xml instead of its own.

Also parse fallback_fonts.
This lets layoutlib automatically use the same fonts as the base
platforms, for instance it now uses the new ICS fonts.

Change-Id: Id6e778dc0e3f2a9112601e0eaf8499a9713ec433
ayoutlib/bridge/src/android/graphics/Typeface_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/FontLoader.java
6e49deeee3b87339ea22207601b19b642c0e896a 03-Oct-2011 Xavier Ducrohet <xav@android.com> am 7b1c30df: Merge "Layoutlib: add support for ITextServicesManager."

* commit '7b1c30dfda65adfaf15fc03daf800b8d99a86f79':
Layoutlib: add support for ITextServicesManager.
f1dee199a009fec5e3a5d1469f654098261f8b06 01-Oct-2011 Xavier Ducrohet <xav@android.com> Layoutlib: add support for ITextServicesManager.

This include a fix in layoutlib_create to properly handle
delegating a static method of an inner class (was broken and
only worked on non static method).

Added a few comments here and there to *_Accessor classes so
that it's a bit more obvious what they are for and how they are
used.

Change-Id: Ifc31dd1a006393bb0c08e22b6a17f500dd62e090
ayoutlib/bridge/src/android/content/res/Resources_Theme_Delegate.java
ayoutlib/bridge/src/android/graphics/Typeface_Accessor.java
ayoutlib/bridge/src/android/os/Looper_Accessor.java
ayoutlib/bridge/src/android/view/AttachInfo_Accessor.java
ayoutlib/bridge/src/android/view/ViewConfiguration_Accessor.java
ayoutlib/bridge/src/android/view/inputmethod/InputMethodManager_Accessor.java
ayoutlib/bridge/src/com/android/internal/textservice/ITextServicesManager_Stub_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
ayoutlib/create/src/com/android/tools/layoutlib/create/DelegateMethodAdapter2.java
8e01daf339992319c78eb0c83ac996665085ae55 30-Sep-2011 Xavier Ducrohet <xav@android.com> am 58b91575: Merge "LayoutLib: Fix native delegate for Display."

* commit '58b91575494157892b580611c1ebc019feddb341':
LayoutLib: Fix native delegate for Display.
58b91575494157892b580611c1ebc019feddb341 30-Sep-2011 Xavier Ducrohet <xav@android.com> Merge "LayoutLib: Fix native delegate for Display."
387d078e64f3bcc8284732287bc3f26fce856a88 30-Sep-2011 Xavier Ducrohet <xav@android.com> LayoutLib: Fix native delegate for Display.

Change-Id: If097cae2309d340162b3bac1d0f6a2289635adca
ayoutlib/bridge/src/android/view/Display_Delegate.java
df5dd6f1c4f04de8d71d1b0ff726e915ee9c98d7 30-Sep-2011 Kenny Root <kroot@google.com> am b1955c96: Merge "Add package-verifier to aapt dump badging"

* commit 'b1955c96cc6754ccad98af33d67205e57b8213cc':
Add package-verifier to aapt dump badging
56088a55ca6c9277f09040a7883117cb127e1e56 29-Sep-2011 Kenny Root <kroot@google.com> Add package-verifier to aapt dump badging

Print out the package-verifier information when printing out badging.

Change-Id: I9c79c163261d5d4f1094bda76d90b3ff6e1ce540
apt/Command.cpp
a3d91027beb162b3886b51f9962b0b5c5e68acef 29-Sep-2011 Eric Fischer <enf@google.com> am 4f217d5a: am a94489b4: Merge "Don\'t lose product variant strings that also vary between locales." into ics-factoryrom

* commit '4f217d5acecab35c046d9b9d9c74f0336a0a8cbd':
Don't lose product variant strings that also vary between locales.
4f217d5acecab35c046d9b9d9c74f0336a0a8cbd 29-Sep-2011 Eric Fischer <enf@google.com> am a94489b4: Merge "Don\'t lose product variant strings that also vary between locales." into ics-factoryrom

* commit 'a94489b4394350b1727437818cd4f6d845e97dc0':
Don't lose product variant strings that also vary between locales.
914f7e683a01f15f8830810c49eaecc31bc554a6 28-Sep-2011 Eric Fischer <enf@google.com> Don't lose product variant strings that also vary between locales.

Localized strings with product variants were not being included in the APK,
apparently because the check to ensure that a different variation of the
string had not already been included in the APK was matching the version
of it from the default, untranslated configuration.

Now check to make sure that the string not only exists but also exists in
the correct configuration.

Bug 5372711

Change-Id: I52975570b75e0f11827dc6bcf1cb4a987d0541aa
apt/ResourceTable.cpp
apt/ResourceTable.h
b8a6f22e1b2b73b7ca4570ed3ce94ccea6b1c9ce 27-Sep-2011 Tim Kilbourn <tkilbourn@google.com> Fix PresenterClass by adding a _listener field

Change-Id: If5c4fab3bd9b5a42f066c183365aeeec65c87cbc
idl/generate_java_rpc.cpp
8487eed5b48dc6b998ddde78bb98c64f4c4cdd1d 24-Sep-2011 Joe Onorato <joeo@google.com> Merge "add presenters to aidl." into ics-aah
e415ecb47952879665b08aacf40988f518f8bda3 24-Sep-2011 Joe Onorato <joeo@google.com> add presenters to aidl.

Change-Id: I7c3187a5f619f9dd49104b3a131696a32248eb85
idl/Type.cpp
idl/Type.h
idl/aidl.cpp
idl/generate_java_rpc.cpp
c976aec6182c8dd67d01263de9412159ef617c6d 24-Sep-2011 Jeff Brown <jeffbrown@google.com> am 4c253119: Merge "Prevent unintended rotations. Bug: 4981385"

* commit '4c253119db0ce753e46ec3809b54b9e357d363db':
Prevent unintended rotations. Bug: 4981385
4c253119db0ce753e46ec3809b54b9e357d363db 24-Sep-2011 Jeff Brown <jeffbrown@google.com> Merge "Prevent unintended rotations. Bug: 4981385"
c0347aa19f354a8e1ff4fcd5372b134c0c7c16ad 24-Sep-2011 Jeff Brown <jeffbrown@google.com> Prevent unintended rotations.
Bug: 4981385

Changed the orientation listener to notify the policy whenever
its proposed orientation changes, and changes the window manager
to notify the orientation listener when the actual orientation
changes. This allows us to better handle the case where the
policy has rejected a given proposal at one time (because the
current application forced orientation) but might choose
to accept the same proposal at another time.

It's important that the proposal always be up to date. A proposal
becomes irrelevant as soon as the phone posture changes such
that we can no longer determine the orientation with confidence
(such as when a device is placed flat on a table).

Simplified the orientation filtering. Now we just wait 200ms
for the device to be still before issuing a proposal. The idea
is that if the device is moving around a lot, we assume that
the device is being picked up or put down or otherwise in
the process of being moved. We don't want to change the rotation
until that's all settled down. However, we do want to tolerate
a certain amount of environmental noise.

(The previous confidence algorithm was also designed along
these lines but it was less direct about waiting for things
to settle. Instead it simply made orientation changes take
longer than usual while unsettled, but the extra delay was often
too much or too little. This one should be easier to tune.)

Change-Id: I09e6befea1f0994b6b15d424f3182859c0d9a530
rientationplot/orientationplot.py
0ba3f30655309b7dafa4ec5159c5573139d088fe 23-Sep-2011 Dianne Hackborn <hackbod@google.com> am a982ad19: Merge "Fix issue #5173952: Opening a Notification From Lock Screen..."

* commit 'a982ad19d2aee54f714fa3ad9ee4ddbac08dc0fe':
Fix issue #5173952: Opening a Notification From Lock Screen...
90c52de28691ca0bbbf7c039ef20f85ce46882cc 23-Sep-2011 Dianne Hackborn <hackbod@google.com> Fix issue #5173952: Opening a Notification From Lock Screen...

...Should Skip Unsecure Lockscreen (ICS)

Also while I am in there, clean up logging of intent objects to include
even less sensitive information, while showing the true Intent in dump
output (since apps can't get to that).

Change-Id: I35fed714645b21e4304ba38a11ebb9c4c963538e
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
088663e8467dd60e3aa39c24b96d5a564c667062 22-Sep-2011 Jeff Brown <jeffbrown@google.com> am a829e166: Merge "Handle orientation changes more systematically. Bug: 4981385"

* commit 'a829e16681903e6a41901145195f88bf9d952f88':
Handle orientation changes more systematically. Bug: 4981385
01a98ddbdfbaf1f0d2bc602537e6e314364902a3 21-Sep-2011 Jeff Brown <jeffbrown@google.com> Handle orientation changes more systematically.
Bug: 4981385

Simplify the orientation changing code path in the
WindowManager. Instead of the policy calling setRotation()
when the sensor determined orientation changes, it calls
updateRotation(), which figures everything out. For the most
part, the rotation actually passed to setRotation() was
more or less ignored and just added confusion, particularly
when handling deferred orientation changes.

Ensure that 180 degree rotations are disallowed even when
the application specifies SCREEN_ORIENTATION_SENSOR_*.
These rotations are only enabled when docked upside-down for
some reason or when the application specifies
SCREEN_ORIENTATION_FULL_SENSOR.

Ensure that special modes like HDMI connected, lid switch,
dock and rotation lock all cause the sensor to be ignored
even when the application asks for sensor-based orientation
changes. The sensor is not relevant in these modes because
some external factor (or the user) is determining the
preferred rotation.

Currently, applications can still override the preferred
rotation even when there are special modes in play that
might say otherwise. We could tweak this so that some
special modes trump application choices completely
(resulting in a letter-boxed application, perhaps).
I tested this sort of tweak (not included in the patch)
and it seems to work fine, including transitions between
applications with varying orientation.

Delete dead code related to animFlags.

Handle pausing/resuming orientation changes more precisely.
Ensure that a deferred orientation change is performed when
a drag completes, even if endDragLw() is not called because the
drag was aborted before the drop happened. We pause
the orientation change in register() and resume in unregister()
because those methods appear to always be called as needed.

Change-Id: If0a31de3d057251e581fdee64819f2b19e676e9a
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
0ca2a36d8dd783e7ba5abffd5929c0e33c6ba91d 16-Sep-2011 Joe Onorato <joeo@google.com> Support custom flattenable types for RPC.
idl/AST.h
idl/Type.cpp
idl/Type.h
idl/aidl.cpp
idl/aidl_language.h
idl/aidl_language_l.l
idl/aidl_language_y.y
idl/generate_java_rpc.cpp
4742c0cd30b6e76361cc72182339f0a30efceee2 15-Sep-2011 Joe Onorato <joeo@google.com> Generate fallthrough for unhandled actions in RPC methods.

Change-Id: I2913b20577dd47e000aa6b7403352ee492e6191a
idl/generate_java_rpc.cpp
c1abc36cf06737a133a95674066b50550f56932b 19-Sep-2011 Dianne Hackborn <hackbod@google.com> am ce801c4a: Fix build.

* commit 'ce801c4a1b1137ca2fd51ede6818722793c79ea4':
Fix build.
ce801c4a1b1137ca2fd51ede6818722793c79ea4 19-Sep-2011 Dianne Hackborn <hackbod@google.com> Fix build.

Change-Id: Ife2b4b207270f8017d3acd80c76eaf1c7a50986d
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
27eee580d116a3950f4d40601cf5633e07985d65 06-Sep-2011 Joe Onorato <joeo@google.com> Add RpcData as a built-in marshallable type.

Change-Id: I7daf6e8ed61ad5bda1275fd48ae24b650a8a9743
idl/Type.cpp
idl/Type.h
ec12dc01af0a612ff9e8915ac27575ffa1309571 03-Sep-2011 Joe Onorato <joeo@google.com> Merge "Add the full suite of RpcData types." into ics-aah
a1426e61f4004ed8744f81366d15c209fa7cf9b7 03-Sep-2011 Joe Onorato <joeo@google.com> Add the full suite of RpcData types.

Change-Id: I2798207a5bbce8fbb5980f2aa131d4e1f408839f
idl/AST.cpp
idl/AST.h
idl/Type.cpp
idl/Type.h
idl/generate_java_rpc.cpp
4ef47c22ece8445f0727ab9b640ed49cf79ba7ea 02-Sep-2011 satok <satok@google.com> am ee5e77ca: Make setAdditionalInputMethodSubtypes async

* commit 'ee5e77cafec2eae70890abdcc1646ed39b06eddd':
Make setAdditionalInputMethodSubtypes async
ee5e77cafec2eae70890abdcc1646ed39b06eddd 02-Sep-2011 satok <satok@google.com> Make setAdditionalInputMethodSubtypes async

Bug: 5120261
Change-Id: Ic7869cfaa5361531e08d58d7dfa5ba0feab0613e
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeIInputMethodManager.java
6acfc0d3dadf33724d4ac32db3065a70a7b11303 02-Sep-2011 Jason Simmons <jsimmons@google.com> resolved conflicts for merge of 912a8b70 to ics-aah

Change-Id: I3b08f30c4ee2f078be1586957417680a671807b8
7add83bbb52d8783be9c3c68dc3dd4d7f2fead54 31-Aug-2011 Joe Onorato <joeo@google.com> Checkpoint adding @home RPC support to aidl

Change-Id: I85534bd58aabdc58a05b76e49f5580196fefcec9
idl/AST.cpp
idl/AST.h
idl/Android.mk
idl/Type.cpp
idl/Type.h
idl/aidl.cpp
idl/aidl_language.h
idl/aidl_language_l.l
idl/aidl_language_y.y
idl/generate_java.cpp
idl/generate_java.h
idl/generate_java_binder.cpp
idl/generate_java_rpc.cpp
18fff11e15dc1b4fe53cb37fa39637aa3fb9bc36 25-Aug-2011 Xavier Ducrohet <xav@android.com> Add new dependency generation option to aidl.

The SDK build system does not provide an output file
and instead uses the -o<FOLDER> option and lets aidl figure
out the intermediary folders that represents the packages,
and the filename based on the input file (and its package).

Because of this the -d<FILE> option to generate a dependency
file is not convenient.

Instead the new option, -a (no parameters), automatically generate
a dependency files next to the output file.

Also, when compiling parcelable aidl files, without the -b option,
a dependency file is still generated. This is used by the SDK build
system since it cannot parse the file separately and instead tries
to compile every .aidl file.
The generation of this dependency file (which shows no output) allows
to know when any type of aidl file has been compiled.

Change-Id: If81dc7e1e0a780592c94d1850a1d1b094d6e7908
idl/aidl.cpp
idl/options.cpp
idl/options.h
29aae6f36e565b8f2a99f2193597b964bb800ee8 19-Aug-2011 Dianne Hackborn <hackbod@google.com> Fix issue #4279860: previous UI flashes before showing lock screen...

...(when turning display on after recently turning it off)

Also clean up when we decide to turn the screen on to improve that
transition. There are still problems here with turning it on
before the wallpaper gets dispayed.

Change-Id: I2bc56c12e5ad75a1ce5a0546f43a845bf0823e66
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
8433c36a98c9f45c37d2c60afc8a6a27514ddf2b 22-Aug-2011 Xavier Ducrohet <xav@android.com> LayoutLib: add native delegate for set/getHinting in Paint.

Change-Id: I1758f8ce861240d72113aa23dcbef5a52abade56
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
1797d6086f9acbea582cac6d484e749abafa1868 18-Aug-2011 Xavier Ducrohet <xav@android.com> am d98e1be2: am f4750724: am 9d829f98: am 21e6e2de: Merge "Change generated dependency file names"

* commit 'd98e1be20e1cca5c36c7e0344500d4a5574568aa':
Change generated dependency file names
d98e1be20e1cca5c36c7e0344500d4a5574568aa 18-Aug-2011 Xavier Ducrohet <xav@android.com> am f4750724: am 9d829f98: am 21e6e2de: Merge "Change generated dependency file names"

* commit 'f4750724cf8db972a052cb388dc9a39fc7aa6dd6':
Change generated dependency file names
f4750724cf8db972a052cb388dc9a39fc7aa6dd6 18-Aug-2011 Xavier Ducrohet <xav@android.com> am 9d829f98: am 21e6e2de: Merge "Change generated dependency file names"

* commit '9d829f98dc19edecb2305b61b9c79517c4f95383':
Change generated dependency file names
b711f3f7ee0544685ef26a1a4b4755d5a6233dba 16-Aug-2011 Josiah Gaskin <josiahgaskin@google.com> Change generated dependency file names

This changes the name of the generated dependency files to R.java.d
and <ApkName>.ap_.d respectively.

Change-Id: I17e18770fc0d0a5d31c7b37b40ac1949f45ef13a
apt/Command.cpp
apt/Package.cpp
apt/Resource.cpp
7f9f99ea11051614a7727dfb9f9578b518e76e3c 11-Aug-2011 Xavier Ducrohet <xav@android.com> Make some methods/fields package private so that layoutlib can access them.

Change-Id: I4aeadfbaf8a4f6a459fa19937c21ac23d9e5fb64
ayoutlib/bridge/src/android/animation/AnimationThread.java
ayoutlib/bridge/src/android/content/res/BridgeAssetManager.java
ayoutlib/bridge/src/android/content/res/BridgeResources.java
ayoutlib/bridge/src/android/content/res/BridgeTypedArray.java
ayoutlib/bridge/src/android/content/res/TypedArray_Delegate.java
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
ayoutlib/bridge/src/android/graphics/Typeface_Accessor.java
ayoutlib/bridge/src/android/os/Looper_Accessor.java
ayoutlib/bridge/src/android/os/SystemClock_Delegate.java
ayoutlib/bridge/src/android/util/BridgeXmlPullAttributes.java
ayoutlib/bridge/src/android/view/AttachInfo_Accessor.java
ayoutlib/bridge/src/android/view/BridgeInflater.java
ayoutlib/bridge/src/android/view/Display_Delegate.java
ayoutlib/bridge/src/android/view/LayoutInflater_Delegate.java
ayoutlib/bridge/src/android/view/ViewConfiguration_Accessor.java
ayoutlib/bridge/src/android/view/inputmethod/InputMethodManager_Accessor.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeAssetManager.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindow.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParser.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeXmlPullAttributes.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/PhoneSystemBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/AnimationThread.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/PlayAnimationThread.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderDrawable.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
ea670054d6c5b59b8481cbf796e6a1cd9f38b672 09-Aug-2011 Philip Milne <pmilne@google.com> Implement native println_native in android.util.Log for LayoutLib

Change-Id: I2ab83a131468490cf789bf17f9c12b6360e953a4
ayoutlib/bridge/src/android/util/Log_Delegate.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
dfee59afb3e4cdcde38f6338f9360655de76da92 06-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5011824 - New Holo overflow menu for physical menu key devices

The new Holo-style overflow menu now appears from the edge of the screen
where the device's physical menu key can be found. The policy determining
this lives in getPreferredOptionsPanelGravity() in WindowManagerService.

Change-Id: I8851a2265547156591e82044e50b5cfc58d3eefa
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
162c1dcd5e635d17d8425936d7729d0ae5ed1a62 04-Aug-2011 Xavier Ducrohet <xav@android.com> Layoutlib: implement Resources.getBoolean(int).

Change-Id: I44cee203bb9a8fabaebfd689fc20ec2f2a9b3561
ayoutlib/bridge/src/android/content/res/BridgeResources.java
569ed054042f0350e898b4352694b792b0fdef9b 02-Aug-2011 Xavier Ducrohet <xav@android.com> Layoutlib: simple comment fix.

Change-Id: I402f6b465706e8edd14e512a973d087a14abbfe3
ayoutlib/bridge/src/android/content/res/BridgeResources.java
d2f664d42cc29507b01a98622298b69131463825 30-Jul-2011 Xavier Ducrohet <xav@android.com> Misc layoutlib fix in preparation of the access change in framework code.

Change-Id: I873adb7345514be6daa5c4fea4ebabb515f203e2
ayoutlib/bridge/src/android/content/res/BridgeResources.java
ayoutlib/bridge/src/android/content/res/BridgeTypedArray.java
ayoutlib/bridge/src/android/graphics/BitmapFactory_Delegate.java
ayoutlib/bridge/src/android/view/LayoutInflater_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
395c86f7f659e3ffc834689576cc738b517d3b9e 28-Jul-2011 Xavier Ducrohet <xav@android.com> am 6abf2f50: am 0b45ca88: am cd01ad7c: am 20339b24: Merge "Remove Debug Code"

* commit '6abf2f501e60132a5369ad5b15b388912c8e9e5b':
Remove Debug Code
6abf2f501e60132a5369ad5b15b388912c8e9e5b 28-Jul-2011 Xavier Ducrohet <xav@android.com> am 0b45ca88: am cd01ad7c: am 20339b24: Merge "Remove Debug Code"

* commit '0b45ca8884acfd2e9ccdcb3fbe641a46b116bda0':
Remove Debug Code
0b45ca8884acfd2e9ccdcb3fbe641a46b116bda0 28-Jul-2011 Xavier Ducrohet <xav@android.com> am cd01ad7c: am 20339b24: Merge "Remove Debug Code"

* commit 'cd01ad7cc7813e3067826945c2a472602f1d3509':
Remove Debug Code
20339b24394be06c5bfe5157a4b35adc48f665eb 28-Jul-2011 Xavier Ducrohet <xav@android.com> Merge "Remove Debug Code"
7a09ccfb5052dc555d54ef77177083616e8f1b69 28-Jul-2011 Josiah Gaskin <josiahgaskin@google.com> Remove Debug Code

This change removes debugging code from FileFinder.
This code was considered harmful because it uses the std::cout
from <iostream>.

Change-Id: Iad9b5e8a631883bd4854abdb29bc6df8a5b4a056
apt/FileFinder.cpp
3d5a703db83265f7914eed8580de986106abfad2 28-Jul-2011 Jeff Brown <jeffbrown@google.com> Merge "Report the external display size to the input reader."
388432ac4326fc16e69f45784ee76aa1a6260272 28-Jul-2011 Kenny Root <kroot@google.com> Merge "Change ZipFile flags anonymous enum"
bc68a59c024bdb745dac8e2ec7408a9f30595f1a 25-Jul-2011 Jeff Brown <jeffbrown@google.com> Report the external display size to the input reader.

The input reader needs this information so that it knows how to
interpolate touches on an external touch screen.

Changed Display so that it asks the WindowManager what the real
display size is (as opposed to the raw display size). This means
it now takes into the forced display size set by
adb shell am display-size.

Replaced all calls to getRealWidth() / getRealHeight() /
getRealMetrics() in the WindowManager and replaced them with direct
usages of the mCurDisplayWidth / mCurDisplayHeight so that the WM
doesn't end up making a reentrant Binder call into itself.

Fixed the table status bar HeightReceiver so that it updates the
height on all configuration changes since it is possible that the
display size changed independently of an external HDMI display
being plugged / unplugged.

Improved the Display class documentation to make the distinctions
betweeen the various sizes clearer.

Change-Id: I3f75de559d3ebffed532ab46c4ae52c5e7f1da2b
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
4f727fbdc302946b9b677e2518350dd3574d198a 26-Jul-2011 Xavier Ducrohet <xav@android.com> am ed07215e: am 55775e5f: am e70b2b8f: am 9bcf26ea: Merge "Layoutlib_create flag -p: don\'t change all accesses to public."

* commit 'ed07215e482cae1ffedbba707284821b3afc310f':
Layoutlib_create flag -p: don't change all accesses to public.
af2872d1e324ed67b44b4f44e2d83b1f0d985027 25-Jul-2011 Kenny Root <kroot@google.com> Change ZipFile flags anonymous enum

The arguments that ZipFile takes were apparently meant to be a typed
enum, but the name of the type was taken out because it creates invalid
conversion warnings in C++ since this is an invalid use of enum.

Just change the typedef enum to an anonymous enum so we get rid of the
compiler warnings. It will be implicitly converted to int instead.

Change-Id: Ie72c4c235c8f9ee8fd1b795e1010b77c55e983de
apt/ZipFile.h
ed07215e482cae1ffedbba707284821b3afc310f 25-Jul-2011 Xavier Ducrohet <xav@android.com> am 55775e5f: am e70b2b8f: am 9bcf26ea: Merge "Layoutlib_create flag -p: don\'t change all accesses to public."

* commit '55775e5f34af8d7c22ab3212c253b3a7d34a6f8a':
Layoutlib_create flag -p: don't change all accesses to public.
55775e5f34af8d7c22ab3212c253b3a7d34a6f8a 22-Jul-2011 Xavier Ducrohet <xav@android.com> am e70b2b8f: am 9bcf26ea: Merge "Layoutlib_create flag -p: don\'t change all accesses to public."

* commit 'e70b2b8fe0c265171f3a367a66c99b36c62567c7':
Layoutlib_create flag -p: don't change all accesses to public.
e70b2b8fe0c265171f3a367a66c99b36c62567c7 22-Jul-2011 Xavier Ducrohet <xav@android.com> am 9bcf26ea: Merge "Layoutlib_create flag -p: don\'t change all accesses to public."

* commit '9bcf26ea7aa108ce4bf4e973b4774d3e60eebafe':
Layoutlib_create flag -p: don't change all accesses to public.
9bcf26ea7aa108ce4bf4e973b4774d3e60eebafe 22-Jul-2011 Xavier Ducrohet <xav@android.com> Merge "Layoutlib_create flag -p: don't change all accesses to public."
3a8801e0599cfd8f12750d65ee309e20a33e04f6 21-Jul-2011 Xavier Ducrohet <xav@android.com> am b3ab070e: am 3a2d1c23: am ddb8e3b2: am 9bac0a9f: Merge "Fix to compile for windows"

* commit 'b3ab070edb17f00a4b2d0f511ca539c885b28b6f':
Fix to compile for windows
b3ab070edb17f00a4b2d0f511ca539c885b28b6f 21-Jul-2011 Xavier Ducrohet <xav@android.com> am 3a2d1c23: am ddb8e3b2: am 9bac0a9f: Merge "Fix to compile for windows"

* commit '3a2d1c2351c0b4eeb4dc4d91d1c334b9f8ba00ed':
Fix to compile for windows
3a2d1c2351c0b4eeb4dc4d91d1c334b9f8ba00ed 21-Jul-2011 Xavier Ducrohet <xav@android.com> am ddb8e3b2: am 9bac0a9f: Merge "Fix to compile for windows"

* commit 'ddb8e3b24b2fe3e4371ca8c1239748f5c71910f6':
Fix to compile for windows
ddb8e3b24b2fe3e4371ca8c1239748f5c71910f6 21-Jul-2011 Xavier Ducrohet <xav@android.com> am 9bac0a9f: Merge "Fix to compile for windows"

* commit '9bac0a9f93976ff341fc9c46b3a85be767119a88':
Fix to compile for windows
9102165fd8be64bdc9110d0839a84fcdfa5b68cb 21-Jul-2011 Josiah Gaskin <josiahgaskin@google.com> Fix to compile for windows

This change includes a workaround for dirent.h on windows not
including d_type.

Change-Id: Ieaa3f298d2e6b32f2d8367384a1d02a2f5d06cca
apt/FileFinder.cpp
apt/FileFinder.h
ac1fe6f8460448d379721677a064868e103a2260 21-Jul-2011 Xavier Ducrohet <xav@android.com> am 84be06e4: resolved conflicts for merge of ea9e6d24 to honeycomb-plus-aosp

* commit '84be06e4ce0778fbf0c1ac72f94795ef8433439b':
Added Caching for PreProcessed PNGs
84be06e4ce0778fbf0c1ac72f94795ef8433439b 21-Jul-2011 Xavier Ducrohet <xav@android.com> resolved conflicts for merge of ea9e6d24 to honeycomb-plus-aosp

Change-Id: I8e047147a4d2c899b6654c03a5f32b04d929e602
e53365f6f145303b8c7a0613189ad415959dd697 21-Jul-2011 Xavier Ducrohet <xav@android.com> am a125c937: resolved conflicts for merge of 2c311be7 to honeycomb-plus-aosp

* commit 'a125c937de06b1cc43368743592f47513eb88b76':
Add generation of dependency file for .ap_ package
a125c937de06b1cc43368743592f47513eb88b76 21-Jul-2011 Xavier Ducrohet <xav@android.com> resolved conflicts for merge of 2c311be7 to honeycomb-plus-aosp

Change-Id: I806c7b4ae95f66df621587e52497dd8739a115fe
ea9e6d24a458c06df6237fddd22b6165b2f92cb5 21-Jul-2011 Xavier Ducrohet <xav@android.com> am b582af31: am 0bc12a0b: Merge "Added Caching for PreProcessed PNGs"

* commit 'b582af31c74a58922120fdb747c1a3b867d95e90':
Added Caching for PreProcessed PNGs
b582af31c74a58922120fdb747c1a3b867d95e90 21-Jul-2011 Xavier Ducrohet <xav@android.com> am 0bc12a0b: Merge "Added Caching for PreProcessed PNGs"

* commit '0bc12a0b13719976aff95a801d88e48c64510d11':
Added Caching for PreProcessed PNGs
2c311be720341e3249887e592bbc1881008b02bd 21-Jul-2011 Xavier Ducrohet <xav@android.com> am 30824495: am 1e24ccbd: Merge "Add generation of dependency file for .ap_ package"

* commit '3082449508a8c574d0476fdb988f98d9554637ae':
Add generation of dependency file for .ap_ package
3082449508a8c574d0476fdb988f98d9554637ae 21-Jul-2011 Xavier Ducrohet <xav@android.com> am 1e24ccbd: Merge "Add generation of dependency file for .ap_ package"

* commit '1e24ccbdd56a45c8bb5f2eba94af5aecd2d02554':
Add generation of dependency file for .ap_ package
8a39da80b33691b0c82458c3b7727e13ff71277e 07-Jun-2011 Josiah Gaskin <josiahgaskin@google.com> Added Caching for PreProcessed PNGs

Added a cache management system for pre-processed PNG files
along with unit tests. The cache system will be used if
the --no-crunch flag is passed to AAPT during the package
phase. The cache can be updated by a call to 'aapt crunch'
(see usage statement). Also put in benchmarking code.

Change-Id: I58271fb2ee2f5f9075fd74d4ff6f15e7afabd05c
apt/Android.mk
apt/Bundle.h
apt/CacheUpdater.h
apt/Command.cpp
apt/CrunchCache.cpp
apt/CrunchCache.h
apt/DirectoryWalker.h
apt/FileFinder.cpp
apt/FileFinder.h
apt/Images.cpp
apt/Images.h
apt/Main.cpp
apt/Main.h
apt/Package.cpp
apt/Resource.cpp
apt/tests/CrunchCache_test.cpp
apt/tests/FileFinder_test.cpp
apt/tests/MockCacheUpdater.h
apt/tests/MockDirectoryWalker.h
apt/tests/MockFileFinder.h
caed59d90db8626462baaec351e66b2a3280dc34 20-Jul-2011 Raphael Moll <ralf@android.com> Layoutlib_create flag -p: don't change all accesses to public.

Change-Id: Icb1709ed0cb275a5a51ca34030695a5e94091499
ayoutlib/create/src/com/android/tools/layoutlib/create/DelegateClassAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
ayoutlib/create/src/com/android/tools/layoutlib/create/TransformClassAdapter.java
af64556de0064eeb5a4d4e6d634c3f074f5f40ce 20-Jul-2011 Xavier Ducrohet <xav@android.com> Layoutlib: misc fix + start of AndroidBidi support.

Change-Id: If2ce0b683da8cce01679322d503eed8dd474e521
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/text/AndroidBidi_Delegate.java
ayoutlib/bridge/src/android/view/inputmethod/InputMethodManager_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeIInputMethodManager.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
c810fffe1ffda8876c083f10b5f2b3b197768809 19-Jul-2011 Xavier Ducrohet <xav@android.com> am 9139868b: am ba6c98db: am 82943ecf: am d40c93f6: Merge "Add dependency generation to Aapt for R.java"

* commit '9139868b6c5cb29b3665984225dceb0193fec31d':
Add dependency generation to Aapt for R.java
e242042b81bc88c6231caf4628d0c7364b29abad 19-Jul-2011 Xavier Ducrohet <xav@android.com> am bf31250b: am d5431ed5: am 2e659ae5: am 42755155: Merge "Copy once-created R.java into library projects"

* commit 'bf31250ba0858a2e72a3906a1f0216846683bc2e':
Copy once-created R.java into library projects
9139868b6c5cb29b3665984225dceb0193fec31d 19-Jul-2011 Xavier Ducrohet <xav@android.com> am ba6c98db: am 82943ecf: am d40c93f6: Merge "Add dependency generation to Aapt for R.java"

* commit 'ba6c98db8f21016f81ecac35bb0ea3c433044bb7':
Add dependency generation to Aapt for R.java
bf31250ba0858a2e72a3906a1f0216846683bc2e 19-Jul-2011 Xavier Ducrohet <xav@android.com> am d5431ed5: am 2e659ae5: am 42755155: Merge "Copy once-created R.java into library projects"

* commit 'd5431ed5505a42e5e33c8bf7cc2ff72792979be9':
Copy once-created R.java into library projects
ba6c98db8f21016f81ecac35bb0ea3c433044bb7 19-Jul-2011 Xavier Ducrohet <xav@android.com> am 82943ecf: am d40c93f6: Merge "Add dependency generation to Aapt for R.java"

* commit '82943ecfe2c4266cf3db50326240825fefcaa38f':
Add dependency generation to Aapt for R.java
d5431ed5505a42e5e33c8bf7cc2ff72792979be9 19-Jul-2011 Xavier Ducrohet <xav@android.com> am 2e659ae5: am 42755155: Merge "Copy once-created R.java into library projects"

* commit '2e659ae59c17a0c0584d35b8c400a294c9d49e12':
Copy once-created R.java into library projects
82943ecfe2c4266cf3db50326240825fefcaa38f 19-Jul-2011 Xavier Ducrohet <xav@android.com> am d40c93f6: Merge "Add dependency generation to Aapt for R.java"

* commit 'd40c93f61ca5b3f2351b8db716f67b58f1625e85':
Add dependency generation to Aapt for R.java
2e659ae59c17a0c0584d35b8c400a294c9d49e12 19-Jul-2011 Xavier Ducrohet <xav@android.com> am 42755155: Merge "Copy once-created R.java into library projects"

* commit '42755155d6e8ddc3201b08def2bf262a64fa25f2':
Copy once-created R.java into library projects
03589cc65355220e0a4a0c816189a9fa25cc81fc 28-Jun-2011 Josiah Gaskin <josiahgaskin@google.com> Add generation of dependency file for .ap_ package

Make Aapt generate a dependency file in the same directory as the
output ap_ file if the --generate-dependencies flag is set.
This dependency file can then be read by the ant exec loop task
to see whether to repackage resources.

Change-Id: I763679414daf76369700aa599c26dcf78d4de099
apt/AaptAssets.cpp
apt/AaptAssets.h
apt/Command.cpp
apt/Main.cpp
apt/Main.h
apt/Package.cpp
apt/Resource.cpp
apt/ZipFile.h
91e88122cf28a48fd2e2260da7d3d87dd437227a 18-Jul-2011 satok <satok@google.com> Enable IMEs to set additional subtypes in background

Bug: 4591792

Change-Id: I7e61a576c56d1a3a56001bdf2fd51ad3801add01
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeIInputMethodManager.java
49062e3b4cae08e41a0fee5002eee50d58a827db 14-Jul-2011 Elliott Hughes <enh@google.com> Merge "Fix aidl to cope with multiple collection types per method."
37b3cc3bbe33df61f227bcf253aa67a4be441233 13-Jul-2011 Xavier Ducrohet <xav@android.com> am 9163a4a6: am aa4b1d8b: am d292d2a0: Merge 36a3a392 from mr1.

* commit '9163a4a686fc25fefc77d5b41c24a4538486a48e':
Merge 36a3a392 from mr1.
b9eba866b203b28e58f35598023f49b4b58a0635 13-Jul-2011 Elliott Hughes <enh@google.com> Fix aidl to cope with multiple collection types per method.

Bug: http://code.google.com/p/android/issues/detail?id=18497
Change-Id: I152416022524d2860cb16b46c4812c5be6bdcbad
idl/Type.cpp
idl/Type.h
idl/aidl.cpp
idl/generate_java.cpp
96131eef3869f2be1300e1620f5c3874b41bb534 12-Jul-2011 Xavier Ducrohet <xav@android.com> LayoutLib: updated fake accessbility manager and ensure there's an InputMethodManager

We had replaced the accessibility Manager but it lacked some new API. Obvisouly
this is fragile and should be fixed, but this works for now.

After fixing this there was another issue with the lack of InputMethodManager.
To fix this I had to create an implementation of IInputMethodManager which
normally comes from a binder object.

I may want to do a similar trick with the accessibility manager later.

Change-Id: I28c6494e333f39072f348d0199124efac93256a5
ayoutlib/bridge/src/android/view/accessibility/AccessibilityManager.java
ayoutlib/bridge/src/android/view/inputmethod/InputMethodManager_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeIInputMethodManager.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
0a49635b171f3ba366b1a7ebf28791c4661829bd 12-Jul-2011 Xavier Ducrohet <xav@android.com> LayoutLib: Delegate for Display and IWindowManager implementation.

This allows ViewConfiguration to be properly implemented which is now
required for the rendering to happen.

Change-Id: I55629689fa8f5f874b43fcac2aa0789ce02d58f4
ayoutlib/bridge/src/android/view/Display_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
ayoutlib/bridge/tests/.classpath
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
77eaa10949dd47532e262f8e74ad5a1536a4952e 11-Jul-2011 Xavier Ducrohet <xav@android.com> new button graphics for layoutlib.

Change-Id: I12a6bf9df87552321452ca3344449814cd3102bb
ayoutlib/bridge/resources/bars/hdpi/ic_sysbar_back_default.png
ayoutlib/bridge/resources/bars/hdpi/ic_sysbar_home_default.png
ayoutlib/bridge/resources/bars/hdpi/ic_sysbar_recent_default.png
ayoutlib/bridge/resources/bars/mdpi/ic_sysbar_back_default.png
ayoutlib/bridge/resources/bars/mdpi/ic_sysbar_home_default.png
ayoutlib/bridge/resources/bars/mdpi/ic_sysbar_recent_default.png
ayoutlib/bridge/resources/bars/xhdpi/ic_sysbar_back_default.png
ayoutlib/bridge/resources/bars/xhdpi/ic_sysbar_home_default.png
ayoutlib/bridge/resources/bars/xhdpi/ic_sysbar_recent_default.png
9163a4a686fc25fefc77d5b41c24a4538486a48e 11-Jul-2011 Xavier Ducrohet <xav@android.com> am aa4b1d8b: am d292d2a0: Merge 36a3a392 from mr1.

* commit 'aa4b1d8ba9d5e317b67638b764d92d17fb810aa0':
Merge 36a3a392 from mr1.
d292d2a03134eaca8b51b6313610b4b78de53c83 08-Jul-2011 Xavier Ducrohet <xav@android.com> Merge 36a3a392 from mr1.

Protect against OOB index in BridgeTypedArray.

Change-Id: I40be1e039f9eb36c182b6522bd50d6ed98e15b5c
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
842725fc642b7ba2c087cc81796973b838c23c76 29-Jun-2011 Xavier Ducrohet <xav@android.com> am 4d825e1f: Merge "Bring in more layout lib changes from hc-mr1." into gingerbread

* commit '4d825e1f3bb6b52ecbea6f0c4aa2081b7f1edc89':
Bring in more layout lib changes from hc-mr1.
9bce27a9ce916bdf363667ee67fc0ce50c533aa3 29-Jun-2011 Xavier Ducrohet <xav@android.com> am 4753498d: Merge "CherryPick 06942bc4 from hc-mr1. do not merge." into gingerbread

* commit '4753498d5c1ac3cf93b0730e77946a95b6913a82':
CherryPick 06942bc4 from hc-mr1. do not merge.
155cf6c1e191bb03fe24db8663715862d8e6a43d 29-Jun-2011 Xavier Ducrohet <xav@android.com> am 9918ffb0: Merge "CherryPick 988eeeb5 from hc-mr1. do not merge." into gingerbread

* commit '9918ffb07f47430e22f6e53576d59b599f5a3534':
CherryPick 988eeeb5 from hc-mr1. do not merge.
9bf34ca6f85309c65b0ebdf614cb8266401b49ba 14-Jun-2011 Josiah Gaskin <josiahgaskin@google.com> Add dependency generation to Aapt for R.java

Make Aapt generate a dependency file in the location specified
by RClassDir for R.java if the --generate-dependencies flag is set.
This dependency file is then read by the ant exec loop task
to see whether to recreate R.java.

Change-Id: I7152dac86b6ea0e448ef65e3a95694afe233c789
apt/AaptAssets.cpp
apt/AaptAssets.h
apt/Bundle.h
apt/Command.cpp
apt/Main.cpp
apt/Main.h
apt/Resource.cpp
apt/ZipFile.h
ce89f1531ed8b96b8b790b3f8b18dd4cf483f7f0 09-Jun-2011 Josiah Gaskin <josiahgaskin@google.com> Copy once-created R.java into library projects

This change adds functionality in Aapt to allow specification of
library projects to copy the generated R.java file into rather
than regenerating the file for each library project.

Change-Id: I05939d1dc875bd875be9298ca47cb639235070c6
apt/Bundle.h
apt/Command.cpp
apt/Main.cpp
b02367778d451e38509ca1fc3fbc1d01dce6af1e 23-Jun-2011 Raphael Moll <ralf@android.com> am f9705ef6: am 2b5f2d01: am e2b41b0d: Merge "Laoutlib_creator: keep original of delegate methods."

* commit 'f9705ef6d3f1502991dd312bfdbfb93cb07fe672':
Laoutlib_creator: keep original of delegate methods.
f9705ef6d3f1502991dd312bfdbfb93cb07fe672 23-Jun-2011 Raphael Moll <ralf@android.com> am 2b5f2d01: am e2b41b0d: Merge "Laoutlib_creator: keep original of delegate methods."

* commit '2b5f2d01558ba338042f486c754f63873c4061fe':
Laoutlib_creator: keep original of delegate methods.
2b5f2d01558ba338042f486c754f63873c4061fe 23-Jun-2011 Raphael Moll <ralf@android.com> am e2b41b0d: Merge "Laoutlib_creator: keep original of delegate methods."

* commit 'e2b41b0d5c8db85a60cd190c7094052db61114b2':
Laoutlib_creator: keep original of delegate methods.
98e1e18c1cc1ec98a20dbdf0e6497614aacf3d0a 22-Jun-2011 Brian Carlstrom <bdc@google.com> Fix build.

git cherry-pick --no-commit 22a614142aacce13fc46a0e524dbfb6ca56bf237

Change-Id: I1409bc3dd1f1b3027c12355e8b6aeffa2d857c83
ayoutlib/bridge/src/libcore/icu/ICU_Delegate.java
e86c5b2e9fe79f2a6f4187b6a4f2769c0b64168b 21-Jun-2011 Xavier Ducrohet <xav@android.com> Merge "Add missing delegate to the layoutlib."
3523325159c083140ba51d36f46270f6adddad77 21-Jun-2011 Brett Chabot <brettchabot@android.com> Merge "Include testdata in layoutlib-tests."
fc511683b6647295cb645a0118d1b0afd575b3c3 21-Jun-2011 Xavier Ducrohet <xav@android.com> Add missing delegate to the layoutlib.

Change-Id: I8de5c1093052c40c0cd327a4d02b01651d3b76b5
ayoutlib/bridge/src/libcore/icu/ICU_Delegate.java
ayoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParserTest.java
45ccfa5870517374d06e1eec9f61947d8c00cb0d 21-Jun-2011 Ying Wang <wangying@google.com> Output Proguard options for also overlay layouts.

Change-Id: I7bfac476247bd7b532510e295cb1a3e61e9af88b
apt/Resource.cpp
865c3bef54228a353fd449a093b0c8d155618296 18-Jun-2011 Raphael Moll <ralf@android.com> Laoutlib_creator: keep original of delegate methods.

For specific methods, Layoublib_create can rewrite the implementation
of a method to invoke a delegate instead of the original code. This
allows layoutlib to implement native code or override existing behavior.

This patch also 'saves' the original implementation of a rewritten
method so that the delegate can access the original implementation
as needed. Obviously this is only done for non-native methods.

Given a non-native SomeClass.MethodName, we generate 2 methods:
- A copy of the original method named "SomeClass.MethodName_original".
The content is the original method as-is from the reader.
- A brand new implementation of SomeClass.MethodName which calls to a
non-existing method named "SomeClass_delegate.MethodName".
The implementation of this 'delegate' method is done in layoutlib_brigde.

Change-Id: I5ca2cd3ac55991a8e8a51c417e75ee447bf9e9e6
ayoutlib/create/README.txt
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
ayoutlib/create/src/com/android/tools/layoutlib/create/DelegateClassAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/create/DelegateMethodAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/create/DelegateMethodAdapter2.java
ayoutlib/create/src/com/android/tools/layoutlib/create/StubMethodAdapter.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/DelegateClassAdapterTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/dataclass/OuterClass.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/dataclass/OuterClass_Delegate.java
01f0fd84d085f90ca73e9091618ab3d98b5e1c4a 18-Jun-2011 Brett Chabot <brettchabot@android.com> Include testdata in layoutlib-tests.

Change-Id: I79fff895a13d171079b59db54d4b9d2bec555b3c
ayoutlib/bridge/tests/Android.mk
ayoutlib/bridge/tests/res/com/android/layoutlib/testdata/layout1.xml
ayoutlib/bridge/tests/src/com/android/layoutlib/testdata/layout1.xml
ea5f0d0543a2ea78ecb0aa3d080098942ba3a4df 10-Jun-2011 Xavier Ducrohet <xav@android.com> Bring in more layout lib changes from hc-mr1.

fe051bb2 : Change the way the layoutlib instantiate its XmlPullParser.

A lot of the init code was duplicated so I made a ParserFactory class.

Also created an extension of the KXmlPullParser to override toString().
This allows easier debugging when dealing with multiple parsers (which
is always the case).

Also added some (disabled) debugging printf to deal with parser stack
as it can be tricky figuring out which parsers are in the stack at
which point.

8969147c : Fix case where the int[] attrs doesn't directly match a styleable.

In the case of the FastScroller the int[] is a custom mix of attr
instead of a int[] that exists as R.styleable.foo.

This makes our reflection based mechanism used to find the styleable
fail, so instead we search for each attribute separately (like
we probably should have done from the beginning).

0c264b35: Fix various cases of getDimension to report error if unit is missing.

if getDimention###() is called for a string that has no unit,
then an error is output through LayoutLog, but the rendering keeps
going by using dp as a default.

0beb7eea: Make (Bridge)TypedArray.getInteger() call out to getInt()

Only getInt() resolved attribute flags/enum and I'm not sure why
there's two to begin with.

Change-Id: I015111263d2a2bee76834978ae71eef79defdae3
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParser.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/PhoneSystemBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/TitleBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/ParserFactory.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
ayoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParserTest.java
d6465e10c27140647e02be8160d900d6e7e78441 08-Jun-2011 Xavier Ducrohet <xav@android.com> CherryPick 06942bc4 from hc-mr1. do not merge.

Layoutlib - use the new getParser callback when possible.

Change-Id: I72b867aa573fcc07d610f139da3c90b1b654633c
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
6b62c82848b9823a26fc107deef8227d9cd516a6 08-Jun-2011 Xavier Ducrohet <xav@android.com> CherryPick 988eeeb5 from hc-mr1. do not merge.

Support for custom declare-styleable attr with enum/flag in layoutlib.

Change-Id: I8a5b7cc629d61996ffade9aabd9d4d10961eb411
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
4bd44535feac75fffd2c941183de02c983523f43 16-Jun-2011 Dianne Hackborn <hackbod@google.com> am 810dc598: am f1c5dbbd: am abd4dffc: Merge "New orientation handling. Only impacts SDK (aapt dump badging)." into honeycomb-mr2

* commit '810dc5980c504a89974c07fcbd28a2b5dffb47de':
New orientation handling. Only impacts SDK (aapt dump badging).
810dc5980c504a89974c07fcbd28a2b5dffb47de 16-Jun-2011 Dianne Hackborn <hackbod@google.com> am f1c5dbbd: am abd4dffc: Merge "New orientation handling. Only impacts SDK (aapt dump badging)." into honeycomb-mr2

* commit 'f1c5dbbd457bb14d3673508aaba497cdc328a1ef':
New orientation handling. Only impacts SDK (aapt dump badging).
abd4dffc86202d48e50bd21807574fa861854dca 16-Jun-2011 Dianne Hackborn <hackbod@google.com> Merge "New orientation handling. Only impacts SDK (aapt dump badging)." into honeycomb-mr2
9340ab4a213093bd59c79159011d131c9cd6996f 16-Jun-2011 Xavier Ducrohet <xav@android.com> am 0be8522b: am d1abd94f: am 04ce8111: Bring in more layout lib changes from hc-mr1.

* commit '0be8522b430aca8d90023d7c7e5ef510aa48adc7':
Bring in more layout lib changes from hc-mr1.
0be8522b430aca8d90023d7c7e5ef510aa48adc7 16-Jun-2011 Xavier Ducrohet <xav@android.com> am d1abd94f: am 04ce8111: Bring in more layout lib changes from hc-mr1.

* commit 'd1abd94f57c0162186c57aea98790e8fa281e0a2':
Bring in more layout lib changes from hc-mr1.
04ce81113107d2bfa0b8248b13145b4cf24cb943 10-Jun-2011 Xavier Ducrohet <xav@android.com> Bring in more layout lib changes from hc-mr1.

fe051bb2 : Change the way the layoutlib instantiate its XmlPullParser.

A lot of the init code was duplicated so I made a ParserFactory class.

Also created an extension of the KXmlPullParser to override toString().
This allows easier debugging when dealing with multiple parsers (which
is always the case).

Also added some (disabled) debugging printf to deal with parser stack
as it can be tricky figuring out which parsers are in the stack at
which point.

8969147c : Fix case where the int[] attrs doesn't directly match a styleable.

In the case of the FastScroller the int[] is a custom mix of attr
instead of a int[] that exists as R.styleable.foo.

This makes our reflection based mechanism used to find the styleable
fail, so instead we search for each attribute separately (like
we probably should have done from the beginning).

0c264b35: Fix various cases of getDimension to report error if unit is missing.

if getDimention###() is called for a string that has no unit,
then an error is output through LayoutLog, but the rendering keeps
going by using dp as a default.

0beb7eea: Make (Bridge)TypedArray.getInteger() call out to getInt()

Only getInt() resolved attribute flags/enum and I'm not sure why
there's two to begin with.
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParser.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/FakeActionBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/PhoneSystemBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/TabletSystemBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/TitleBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/ParserFactory.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
ayoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParserTest.java
f77ae6e65a7ab47e7ab0ee1536d708b6e56fe45b 16-Jun-2011 Dianne Hackborn <hackbod@google.com> New orientation handling. Only impacts SDK (aapt dump badging).

This is a new way of determining whether an application requires
specific orientations, done by looking at any requirements in its
activity tags. Note that this won't catch all possible issues,
because applications can still force an orientation through Java
APIs, but the vast majority of applications that actually require
a specific orientation should be doing it this way because it the
easiest way and the only way to cleanly launch into the app from
a different orientation without doing some serious activity tricks.

Change-Id: I11d32104f6bc3d2a72aeeff1ca150b8f1c9f5588
apt/Command.cpp
66743a1ec0dddadec7cd8f026f9b6a2239f515be 15-Jun-2011 Xavier Ducrohet <xav@android.com> Fix changed native method delegates in layoutlib for ICS.

Change-Id: I49306868cd8a41b6b7d919c3e8b108d5c014530e
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
ayoutlib/bridge/src/libcore/icu/ICU_Delegate.java
711516d140390aeec9e3eefb8fdb2681c3454980 14-Jun-2011 Dianne Hackborn <hackbod@google.com> resolved conflicts for merge of 77fc8b80 to master

Change-Id: I014f9a886d6f05607d2a5d101ad2052a6841ee8d
77fc8b8066709a1d09a159901fd65c49b5e6eaa5 14-Jun-2011 Dianne Hackborn <hackbod@google.com> am 6c0533f9: am c5193c62: Merge "Add new landscape and portrait orientation features." into honeycomb-mr2

* commit '6c0533f994e7991b3bd60cab48362e8e2e6d86f0':
Add new landscape and portrait orientation features.
e289bff0ec2b1af4ba773e0c8d49d5fd46eb9921 14-Jun-2011 Dianne Hackborn <hackbod@google.com> Add new landscape and portrait orientation features.

Updates aapt to know about these. Also updates aapt badging to:

- No longer crash due to the change to how we match unspecified
configuration resources.
- Report the new "smallest screen" supported screen configs.
- Infer old screen size buckets based on new smallest width attrs.
- Report all of the different labels and icons in an app.

Change-Id: I7376042b817391bd070f549cebbc7f03be4635c8
apt/Command.cpp
ef42dace44f7009b99afe532be2a6fffc802bc41 10-Jun-2011 Dianne Hackborn <hackbod@google.com> am f14dff12: am c6adfed6: am f795e9a8: Okay *now* really enforce the limit on non-public styles.

* commit 'f14dff1219d2a87340dccad657f666f5451d8c6e':
Okay *now* really enforce the limit on non-public styles.
173e4c79b4eced0e155c8b31496eb3815ed3571c 10-Jun-2011 Dianne Hackborn <hackbod@google.com> am 9980043e: am 820caf7b: am 8821ba86: Ummm... f*, stop breaking the build.

* commit '9980043e930f877c4cd066de2b3d57dce4fc926e':
Ummm... f*, stop breaking the build.
6b592723c9a9fc816a8ab75c935e8cd20ff65a0e 10-Jun-2011 Dianne Hackborn <hackbod@google.com> resolved conflicts for merge of f51ded0f to master

Change-Id: Ida356524a68aeb2b9b0013dfbb6ab4bd11e616e2
2dcb6e80b999d93409e66bbd01b94a419c22013c 10-Jun-2011 Xavier Ducrohet <xav@android.com> am 48305f32: am 2e0f7118: am 8ee28811: Merge changes Idbb70f53,I10426a3f into honeycomb-mr2

* commit '48305f327ff3839ddbfa5a6fb42a57150a69480c':
Merge 06942bc4 from hc-mr1.
Merge 988eeeb5 from hc-mr1.
f14dff1219d2a87340dccad657f666f5451d8c6e 10-Jun-2011 Dianne Hackborn <hackbod@google.com> am c6adfed6: am f795e9a8: Okay *now* really enforce the limit on non-public styles.

* commit 'c6adfed6dcea8482e482db58bd396ea8de08426a':
Okay *now* really enforce the limit on non-public styles.
9980043e930f877c4cd066de2b3d57dce4fc926e 10-Jun-2011 Dianne Hackborn <hackbod@google.com> am 820caf7b: am 8821ba86: Ummm... f*, stop breaking the build.

* commit '820caf7b04f1e5c83599437e9e783e91322eb4f9':
Ummm... f*, stop breaking the build.
f795e9a86d4f62e5314ef95978c3ea17d90975db 10-Jun-2011 Dianne Hackborn <hackbod@google.com> Okay *now* really enforce the limit on non-public styles.

Change-Id: Ie8df6acf7cc3dec00f615b2fa9a5122ec79a0aae
apt/ResourceTable.cpp
8821ba860693f5206c56ae727a4231e4d6f0a735 09-Jun-2011 Dianne Hackborn <hackbod@google.com> Ummm... f*, stop breaking the build.

Change-Id: I6a42cb60e7cebda6d17222e6af1f327889323c40
apt/ResourceTable.cpp
f51ded0f8f593d17af82946eb65c05fc04f688b4 10-Jun-2011 Dianne Hackborn <hackbod@google.com> am a8d7ea06: am 220cd77d: Merge "Enforce public resource restriction on bag parents." into honeycomb-mr2

* commit 'a8d7ea067cf22baeee2ff0a33e5a8c5a35936942':
Enforce public resource restriction on bag parents.
426431adcc220b6adfbe1d9530247f897e60fa36 09-Jun-2011 Dianne Hackborn <hackbod@google.com> Enforce public resource restriction on bag parents.

Need to put some more styles in the SDK to avoid breaking apps.

Also, welcome Android 3.2.

Change-Id: Ia31d07c9b1b91ad868d8630437fdc1b5ae24f37d
apt/ResourceTable.cpp
apt/ResourceTable.h
48305f327ff3839ddbfa5a6fb42a57150a69480c 09-Jun-2011 Xavier Ducrohet <xav@android.com> am 2e0f7118: am 8ee28811: Merge changes Idbb70f53,I10426a3f into honeycomb-mr2

* commit '2e0f71181792780b55826bcc562ae79951e76f1b':
Merge 06942bc4 from hc-mr1.
Merge 988eeeb5 from hc-mr1.
45b662e1bcff23dc59fb3a47bc32c99e63b2ac35 08-Jun-2011 Xavier Ducrohet <xav@android.com> Merge 06942bc4 from hc-mr1.

Layoutlib - use the new getParser callback when possible.

Change-Id: Idbb70f5391addd539afa5c2f5b55c70beefed223
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
beb5fb622b71693c21b6fab562a98e7000c64273 08-Jun-2011 Xavier Ducrohet <xav@android.com> Merge 988eeeb5 from hc-mr1.

Support for custom declare-styleable attr with enum/flag in layoutlib.

Change-Id: I10426a3f2c76bed207c03fab7885b4269337a70f
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
f18e311ee5d35db0cae96f0b216a88e5b42604dc 08-Jun-2011 Xavier Ducrohet <xav@android.com> am abc83871: am f6e47999: am 2a6dc7f1: Merge "Import the Layoutlib from hc-mr1." into honeycomb-mr2

* commit 'abc838716816107754ab0479242d03807ce79fc2':
Import the Layoutlib from hc-mr1.
abc838716816107754ab0479242d03807ce79fc2 07-Jun-2011 Xavier Ducrohet <xav@android.com> am f6e47999: am 2a6dc7f1: Merge "Import the Layoutlib from hc-mr1." into honeycomb-mr2

* commit 'f6e479993e7c85265692829990ceb3879fbce424':
Import the Layoutlib from hc-mr1.
67f09cd090adae6365ca36546b0a517e51255876 07-Jun-2011 Xavier Ducrohet <xav@android.com> am d6ce6791: Merge "Cherrypick d1ed33c4 from hc-mr1. do not merge." into gingerbread

* commit 'd6ce6791f26fd0a7cf89ded2847011a4894013e1':
Cherrypick d1ed33c4 from hc-mr1. do not merge.
ab3f5779aecb46d7ddfb141f9b0ff8fc0eaed17f 07-Jun-2011 Xavier Ducrohet <xav@android.com> am ee1b4976: Merge changes I035c48b9,Ib302af47,Iebda5ea6 into gingerbread

* commit 'ee1b497648a0c3c03b09c4739619f23315d491fb':
Cherrypick 5b61ea6b from hc-mr1
LayoutLib: enable the LAYOUT_ONLY capability.
Merge dba35f1b from honeycomb-mr1. do not merge.
fb93ce9684120a36862b5b5e67b1865a652907e9 04-Jun-2011 Xavier Ducrohet <xav@android.com> Import the Layoutlib from hc-mr1.

This is squash commit of all the missing patches.

Change-Id: Ie081c46a173290646deddbde503a720d50c4400f
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/os/HandlerThread_Delegate.java
ayoutlib/bridge/src/android/view/LayoutInflater_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
ayoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParserTest.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
156a211b21fbaeb6391162a056390b9cd8748fae 04-Jun-2011 Xavier Ducrohet <xav@android.com> Cherrypick d1ed33c4 from hc-mr1. do not merge.

Fix zombie threads in the Layoutlib.

Some widgets can create (indirectly) HandlerThread which are started
but never stopped.

This patch use the delegate methods to override the thread run method
to record which threads are started to be able to call quit() on them
after a render.

Note that we should really fix layoutlib_create to be able to call
the default implementation from a delegate to remove code duplication.

Change-Id: Iaf5432623e9704bb3114a8e0583c8553282c205e
ayoutlib/bridge/src/android/os/HandlerThread_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
21726044a934f3f4f9827a05bbc8db2477220fa1 04-Jun-2011 Xavier Ducrohet <xav@android.com> Cherrypick 5b61ea6b from hc-mr1

Fix drawCircle in layoutlib.

Change-Id: I035c48b925cad246ed821e9e59a93d37174982ef
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
8a7d44e8248cf7078da6094068b039dacc0a3971 03-Jun-2011 Dianne Hackborn <hackbod@google.com> resolved conflicts for merge of 54cb63e2 to master

Change-Id: I5b741a1781e3f76c03fc1534ffce871117effd10
f174cd86bd70c1f1322cc15f42d5fd87223933a0 03-Jun-2011 Xavier Ducrohet <xav@android.com> LayoutLib: enable the LAYOUT_ONLY capability.

Change-Id: Ib302af47d2a83a7ac3def6256bf0b892823f594f
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
8f17523dcac41f5a8962cfb61265c71ad0c0e463 02-Jun-2011 Xavier Ducrohet <xav@android.com> Merge dba35f1b from honeycomb-mr1. do not merge.

Change-Id: Iebda5ea67fd40cac76a8ca3fe3c3cd4ee95ddebe
LayoutLib: Properly configure KXmlParser to read UTF8
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
ayoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParserTest.java
e348909c1966c3d192841cc131a32be6ed90da18 23-May-2011 inazaruk <ievgenii.nazaruk@gmail.com> Fix for issue 9656 - custom xml attributes in Android Libraries

Added support for predefined namespace http://schemas.android.com/apk/res/auto
that aapt tool recognizes and treats as namespace with package name
taken from current application's AndroidManifest.xml, //manifest/package attribute.

Signed-off-by: inazaruk <ievgenii.nazaruk@gmail.com>

Change-Id: I4b24a7265511e416cc7e02b5bb8a08ef32b598eb
apt/XMLNode.cpp
54cb63e26e41b80c013b8665878b9c7c7fb328c1 27-May-2011 Dianne Hackborn <hackbod@google.com> am 528c49f1: am b96cbbd1: Add "tv" density for 720p screens.

* commit '528c49f112dce5f9687f30a9751e783196eca0c6':
Add "tv" density for 720p screens.
b96cbbd11c4590bec846212c33361e02293f18b5 27-May-2011 Dianne Hackborn <hackbod@google.com> Add "tv" density for 720p screens.

Change-Id: I028969b007f2fceea66947d77a2ae31ef1d1a630
apt/AaptAssets.cpp
7d0fb57044576fd4bbaf9683997bab288c3b759c 25-May-2011 Jeff Brown <jeffbrown@google.com> am 16330e24: am 94e838f6: Merge "Improve VelocityTracker numerical stability. (DO NOT MERGE)" into honeycomb-mr2

* commit '16330e249663fed890df0e95fce4016c2971120a':
Improve VelocityTracker numerical stability. (DO NOT MERGE)
228e4716278f450a95be5addacc3c6c940668493 24-May-2011 Xavier Ducrohet <xav@android.com> am 34f5991e: Merge 6103e22c from honeycomb-mr1. do not merge.

* commit '34f5991ebe8b203f1720caf95889c15dd131d86e':
Merge 6103e22c from honeycomb-mr1. do not merge.
e2c7715c772d5121397591b532d04a31b3ffcc99 24-May-2011 Dianne Hackborn <hackbod@google.com> resolved conflicts for merge of bbca8133 to master

Change-Id: I81493674dceab848e41d380a77a37e5a9be06db6
34f5991ebe8b203f1720caf95889c15dd131d86e 24-May-2011 Xavier Ducrohet <xav@android.com> Merge 6103e22c from honeycomb-mr1. do not merge.

LayoutLib: custom styles override the default style instead of replacing it.

Intead of reading either the custom or the default style for a widget, we
read both and use the values from the custom style if it exists, or
from the default style otherwise.

Change-Id: Ibcec2e9b1e8a95295ab26ede145c287ff2f30be4
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
af83d4ecff0ad1638a1a0f3a3f9805468ed710b4 24-May-2011 Xavier Ducrohet <xav@android.com> am c7b87766: Merge 2402ad60 from honeycomb-mr1. do not merge.

* commit 'c7b87766b21fe5cf2f644efa8753b936d413dc9a':
Merge 2402ad60 from honeycomb-mr1. do not merge.
c7b87766b21fe5cf2f644efa8753b936d413dc9a 24-May-2011 Xavier Ducrohet <xav@android.com> Merge 2402ad60 from honeycomb-mr1. do not merge.

LayoutLib: Fix Canvas_Delegate.native_concat().

Change-Id: I863c43d65a929816ac7c9e69addcc647dac1878b
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
5b2b4d9c0a56c4b5e869c828a6c36a1b9e27d61b 15-Mar-2011 Jeff Brown <jeffbrown@google.com> Improve VelocityTracker numerical stability. (DO NOT MERGE)

Replaced VelocityTracker with a faster and more accurate
native implementation. This avoids the duplicate maintenance
overhead of having two implementations.

The new algorithm requires that the sample duration be at least
10ms in order to contribute to the velocity calculation. This
ensures that the velocity is not severely overestimated when
samples arrive in bursts.

The new algorithm computes the exponentially weighted moving
average using weights based on the relative duration of successive
sample periods.

The new algorithm is also more careful about how it handles
individual pointers going down or up and their effects on the
collected movement traces. The intent is to preserve the last
known velocity of pointers as they go up while also ensuring
that other motion samples do not count twice in that case.

Bug: 4086785
Change-Id: I95054102397c4b6a9076dc6a0fc841b4beec7920
elocityplot/velocityplot.py
bbca81334e3603c7328dc526bd63032b23d5261d 24-May-2011 Dianne Hackborn <hackbod@google.com> am 4bb78889: am 40277df7: Merge "Add "television" mode." into honeycomb-mr2

* commit '4bb78889d04594c01a6af7f6d38c1764e9f575f9':
Add "television" mode.
e360bb6bd8ea84b8d37604fc11dfc744b18fb0de 21-May-2011 Dianne Hackborn <hackbod@google.com> Add "television" mode.

Change-Id: Ida1fdb61b036a8b489dbeda196fb4bc82e651b2b
apt/AaptAssets.cpp
5b9ec6871afaf40325abe602cd1d29ddbd88cbb9 23-May-2011 Xavier Ducrohet <xav@android.com> am 4c1e73b6: Merge e57aa434 from honeycomb-mr1. do not merge.

* commit '4c1e73b69a13a4f24a8fc123f599a9e9d8505525':
Merge e57aa434 from honeycomb-mr1. do not merge.
041fd74beade4e95cff6157af9dadbf9a99b7fcf 23-May-2011 Xavier Ducrohet <xav@android.com> am f791863f: Merge "Merge 05b7b69c from honeycomb-mr1. do not merge." into gingerbread

* commit 'f791863f0ac67ab6abd7410d5807d716cffc5b72':
Merge 05b7b69c from honeycomb-mr1. do not merge.
9d9a7466cd051748ba656acd39265099294c4153 23-May-2011 Xavier Ducrohet <xav@android.com> am bb43828a: Merge "Merge 2fae858d from Honeycomb-mr1. do not merge." into gingerbread

* commit 'bb43828aa749e71d4e52ba69db01b83c83a755b5':
Merge 2fae858d from Honeycomb-mr1. do not merge.
4c1e73b69a13a4f24a8fc123f599a9e9d8505525 20-May-2011 Xavier Ducrohet <xav@android.com> Merge e57aa434 from honeycomb-mr1. do not merge.

LayoutLib: Fix issue where <include> with no layout params wouldn't display.

The issue is that the layout params from the root element of the included
layout should be used but this failed because loading the layout params
from the <include> tag didn't throw a RuntimeException in our modified
code (BridgeTypedArray).

Because we don't want to throw exception in general we only throw it
when reading the layout params of an include node which is pretty crappy,
but works for now.

Change-Id: I83ccf956e8b476f34dfc9a70aebae2288d53746e
ayoutlib/bridge/src/android/view/LayoutInflater_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
161e67ff3ba26408eea09221734ad2e29a1eed11 20-May-2011 Dianne Hackborn <hackbod@google.com> resolved conflicts for merge of 06a8ceac to master

Change-Id: Id51574c825affddfac14ad7214c5496d6a3d6e69
06a8ceacb0dc2713cb0bb2c93d2a750f2a58db68 20-May-2011 Dianne Hackborn <hackbod@google.com> am c851ea56: am 69cb8757: Add new "-swNNNdp" resource qualifier.

* commit 'c851ea5672f6e042c2e89b2a2ce4a2467e1fcd2a':
Add new "-swNNNdp" resource qualifier.
69cb87576ba163b61bb0e6477a3b7c57a9b11d40 20-May-2011 Dianne Hackborn <hackbod@google.com> Add new "-swNNNdp" resource qualifier.

Change-Id: I0101e88ca9d8d44138bdcaf571f24b0352f4f6ce
apt/AaptAssets.cpp
apt/AaptAssets.h
apt/ResourceTable.cpp
d9af22e204e7f4c364c346b6c1bac900a2c4ccca 17-May-2011 Xavier Ducrohet <xav@android.com> Merge 05b7b69c from honeycomb-mr1. do not merge.

Change-Id: I1aca5774dec2e18ab5f9e860f6fd90b481b2857c
LayoutLib: support the new baseline/margin query API.
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/MockView.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
e172a3fc23412ebc79d6bd93e6d43d4b1c58354b 29-Mar-2011 Xavier Ducrohet <xav@android.com> Merge 2fae858d from Honeycomb-mr1. do not merge.

Change-Id: I648f9ffa9745331ce4104dc4772f78ed933a4909
LayoutLib: implement data binding for most AdapterView
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeRenderSession.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParser.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/BaseAdapter.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/FakeAdapter.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/FakeExpandableAdapter.java
9f23e60b20f0419e6ca5ff55db9d6282596e7fe8 19-May-2011 Xavier Ducrohet <xav@android.com> am a13462a9: am 582841e7: am b18e700c: am aa0834e3: Merge "LayoutLib: support the new baseline/margin query API." into honeycomb-mr1

* commit 'a13462a947e634a6893119146a7271369e509586':
LayoutLib: support the new baseline/margin query API.
a13462a947e634a6893119146a7271369e509586 19-May-2011 Xavier Ducrohet <xav@android.com> am 582841e7: am b18e700c: am aa0834e3: Merge "LayoutLib: support the new baseline/margin query API." into honeycomb-mr1

* commit '582841e734bc85b247df64ac85b6ee09f7375f44':
LayoutLib: support the new baseline/margin query API.
b18e700cb9c1d7090904449fc6878b8eae1d4693 19-May-2011 Xavier Ducrohet <xav@android.com> am aa0834e3: Merge "LayoutLib: support the new baseline/margin query API." into honeycomb-mr1

* commit 'aa0834e3e6c3ceef6f78e3e03d1d27046e5237a0':
LayoutLib: support the new baseline/margin query API.
05b7b69c6c5d418e18db644feed1ec2ca83291cc 17-May-2011 Xavier Ducrohet <xav@android.com> LayoutLib: support the new baseline/margin query API.

Change-Id: I856489df655960820b8eaa4c6179515a5c069b00
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/MockView.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
8c2f85d94145a96f53e9041c609e283be7412a0f 14-May-2011 Xavier Ducrohet <xav@android.com> am d0054160: am 6d040a7f: am 738c5e60: am 2fae858d: LayoutLib: implement data binding for most AdapterView

* commit 'd00541603fbbb4e38264e75a2b6abf8705efeb49':
LayoutLib: implement data binding for most AdapterView
d00541603fbbb4e38264e75a2b6abf8705efeb49 14-May-2011 Xavier Ducrohet <xav@android.com> am 6d040a7f: am 738c5e60: am 2fae858d: LayoutLib: implement data binding for most AdapterView

* commit '6d040a7f20de29a9667dd81bd4de40a9e56fd341':
LayoutLib: implement data binding for most AdapterView
738c5e6072459c772064c96233cf59639bbfe2fd 14-May-2011 Xavier Ducrohet <xav@android.com> am 2fae858d: LayoutLib: implement data binding for most AdapterView

* commit '2fae858db55fc6984ef923a6226b9408c37c72cb':
LayoutLib: implement data binding for most AdapterView
2fae858db55fc6984ef923a6226b9408c37c72cb 29-Mar-2011 Xavier Ducrohet <xav@android.com> LayoutLib: implement data binding for most AdapterView

Change-Id: I27be96ed2c37573eb22cfbb391d96b6137b3df8c
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeRenderSession.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParser.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/BaseAdapter.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/FakeAdapter.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/FakeExpandableAdapter.java
2e4a3236a7634d17f89288e9739a438ecbea0471 13-May-2011 Dianne Hackborn <hackbod@google.com> am 46a282f3: am 0ed2e845: Merge "DO NOT MERGE. Integrate add new screen width/height in "dp" configs." into honeycomb-mr2

* commit '46a282f323bc05606e4fe1eba795bd9ac7c99819':
DO NOT MERGE. Integrate add new screen width/height in "dp" configs.
ebff8f92f13513ce37bd74759eb1db63f2220590 13-May-2011 Dianne Hackborn <hackbod@google.com> DO NOT MERGE. Integrate add new screen width/height in "dp" configs.

You can now specify resource configuration variants "wNNNdp"
and "hNNNdp". These are the minimum screen width/height in "dp"
units. This allows you to do things like have your app adjust
its layout based only on the about of horizontal space available.

This introduces a new configuration change flag for screen size.
Note that this configuration change happens each time the orientation
changes. Applications often say they handle the orientation change
to avoid being restarted at a screen rotation, and this will now
cause them to be restarted. To address this, we assume the app can
handle this new config change if its target SDK version is < ICS.

Change-Id: I4acb73d82677b74092c1da9e4046a4951921f9f4
apt/AaptAssets.cpp
apt/AaptAssets.h
apt/ResourceTable.cpp
779fa1515d0b6cf17a449dc79f83a7c4e70ff0fe 27-Apr-2011 Conley Owens <cco3@android.com> am 4a4d96e7: Merge changes I0ab47e2f,Ib8016996

* commit '4a4d96e7ee682167861434cba05531f04642bf97':
Remove errant tag terminator
Normalize output of XMLtree content
4a4d96e7ee682167861434cba05531f04642bf97 27-Apr-2011 Conley Owens <cco3@android.com> Merge changes I0ab47e2f,Ib8016996

* changes:
Remove errant tag terminator
Normalize output of XMLtree content
461fa8b05dfb4fd334980365e27002a7520e866e 12-Apr-2011 Kenny Root <kroot@google.com> resolved conflicts for merge of 18490fb9 to master

Change-Id: I6c68e6fb0f9c1182a955689bbffc161a8f30bd37
18490fb93e206fd899c3258096cc32f293373c92 12-Apr-2011 Kenny Root <kroot@google.com> resolved conflicts for merge of 87b3c0dc to honeycomb-plus-aosp

Change-Id: Ia1a0024aabf531438203eb9fea3a10dd15eabe53
87b3c0dcc45223ff9d5ab2e39d7b9a6953e03f50 12-Apr-2011 Kenny Root <kroot@android.com> am 08d9d9a4: Merge "Runtime resource overlay, iteration 1."

* commit '08d9d9a46250c4fad66e9b637e8898a3524c4286':
Runtime resource overlay, iteration 1.
7c94b34b5241b548d68a1cb03d10f697386aac65 11-Apr-2011 Shachar Shemesh <lingnu@gmail.com> Normalize output of XMLtree content

Make the output from aapt dump xmltree normalized, so that it is unambigously
displayed regardless of the content of the strings. Previous patch left out
handling of XML element content.

Change-Id: Ib8016996c769f3dde7a87f7ecbdf850333f2426a
apt/XMLNode.cpp
515a08b01851a1ab9386f85dee6d9fd7b65ee7ad 07-Apr-2011 Xavier Ducrohet <xav@android.com> Merge 59aad78e from master. do not merge.

LayoutLib: don't render when shader's local matrix is set to 0 scale.

Change-Id: I02c0ddd856026357f468dcc8b81e0520470118de
ayoutlib/bridge/src/android/graphics/Shader_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/GcSnapshot.java
4754c79a77dc09259dee7e018710a96fe167bb8e 07-Apr-2011 Xavier Ducrohet <xav@android.com> am 59aad78e: LayoutLib: don\'t render when shader\'s local matrix is set to 0 scale.

* commit '59aad78eae14939c169876b2f632d005f382cf7d':
LayoutLib: don't render when shader's local matrix is set to 0 scale.
efa98a29e01dbb4c700fd6af3353413afcb344d9 07-Apr-2011 Xavier Ducrohet <xav@android.com> am 8a18dba4: Merge c5aeac7f from honeycomb.

* commit '8a18dba48c354fc47056b07ddec8a32fda266b6a':
Merge c5aeac7f from honeycomb.
59aad78eae14939c169876b2f632d005f382cf7d 07-Apr-2011 Xavier Ducrohet <xav@android.com> LayoutLib: don't render when shader's local matrix is set to 0 scale.

Change-Id: I7726d87f3dd0475ac662f535a08c6435b8b9ed1f
ayoutlib/bridge/src/android/graphics/Shader_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/GcSnapshot.java
8a18dba48c354fc47056b07ddec8a32fda266b6a 06-Apr-2011 Xavier Ducrohet <xav@android.com> Merge c5aeac7f from honeycomb.

LayoutLib: Fix issue with rendering mode.

When the layout content is embedded inside a decor layout
to emulate system bar (top or bottom) and title bar (or action bar)
then the code computing the full required size based on the RenderingMode
would fail because the decor layout would prevents the content layout to
take as much room as possible.
There is also an issue with the way we know render dialogs as the
dialogs usually as a frame with some padding and the previous measurements
would not take into account the dialog padding when increasing the
screen size.

This fix makes the code measure the size of the content layout in the
normal rendering, and then separately from the root layout with the proper
MeasureSpec to let the content grown. The difference in size is then added
to the screen size.

Bug: http://code.google.com/p/android/issues/detail?id=15892

Change-Id: Ie9a6c5e254b16785f817dcb9fae755d4936880aa
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
b4af69605410efb51a3669e7fcd47891d0695ec0 06-Apr-2011 Xavier Ducrohet <xav@android.com> am d7765e35: am 73dc2602: am c5aeac7f: LayoutLib: Fix issue with rendering mode.

* commit 'd7765e353cdc6f0bb4156841a8436ea28eb20eea':
LayoutLib: Fix issue with rendering mode.
3fc982f41fda1f254bfbc35490d81cd82a0ed90a 31-Mar-2011 Dianne Hackborn <hackbod@google.com> Add new resource configurations for screen width/height in "dp".

You can now specify resource configuration variants "wNNNdp"
and "hNNNdp". These are the minimum screen width/height in "dp"
units. This allows you to do things like have your app adjust
its layout based only on the about of horizontal space available.

This introduces a new configuration change flag for screen size.
Note that this configuration change happens each time the orientation
changes. Applications often say they handle the orientation change
to avoid being restarted at a screen rotation, and this will now
cause them to be restarted. To address this, we assume the app can
handle this new config change if its target SDK version is < ICS.

Change-Id: I22f8afa136b4f274423978c570fa7c9855040496
apt/AaptAssets.cpp
apt/AaptAssets.h
apt/ResourceTable.cpp
c5aeac7f157e3cb9e29ab8c126f74e26493501f5 06-Apr-2011 Xavier Ducrohet <xav@android.com> LayoutLib: Fix issue with rendering mode.

When the layout content is embedded inside a decor layout
to emulate system bar (top or bottom) and title bar (or action bar)
then the code computing the full required size based on the RenderingMode
would fail because the decor layout would prevents the content layout to
take as much room as possible.
There is also an issue with the way we know render dialogs as the
dialogs usually as a frame with some padding and the previous measurements
would not take into account the dialog padding when increasing the
screen size.

This fix makes the code measure the size of the content layout in the
normal rendering, and then separately from the root layout with the proper
MeasureSpec to let the content grown. The difference in size is then added
to the screen size.

Bug: http://code.google.com/p/android/issues/detail?id=15892

Change-Id: Ibb9ca2a67c6c450d10d9f9a8050536e094650f8b
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
57f4b77c89bafedf9468f9a636561c0c193405c9 17-Mar-2011 MÃ¥rten Kongstad <marten.kongstad@sonyericsson.com> Runtime resource overlay, iteration 1.

Runtime resource overlay allows unmodified applications to appear
as if they had been compiled with additional resources defined. See
libs/utils/README for more information.

This commit is the first iteration of runtime resource overlay. It
provides the actual overlay modifications and loading of trusted overlay
packages (ie residing in /vendor) targeting framework-res.apk.

This commit loads exactly one overlay package. The overlay,
if present, must target framework-res.apk and be located at
/vendor/overlay/framework/framework-res.apk.

Change-Id: If26ee7754813004a96c043dba37fbe99fa3919db
apt/Bundle.h
apt/Main.cpp
apt/ResourceTable.cpp
3a90ec4e6b4973f56dae825c967bbee69e6239cf 18-Mar-2011 Xavier Ducrohet <xav@android.com> am c7c8c599: Merge 67450db0 from honeycomb. Do not merge.

* commit 'c7c8c599a636a105db0d2eac3b8b332532a7a40f':
Merge 67450db0 from honeycomb. Do not merge.
c7c8c599a636a105db0d2eac3b8b332532a7a40f 17-Mar-2011 Xavier Ducrohet <xav@android.com> Merge 67450db0 from honeycomb. Do not merge.

Change-Id: I0ca140dd6d9279ff313f930739ad40fbbed4f335
LayoutLib: TypedArray.getDimensionPixelSize can actually return <0
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
f0da151e78d5a48bb5170e41e5919e4bf5ecb055 17-Mar-2011 Xavier Ducrohet <xav@android.com> am 47b42991: am a0215953: am 026d6be2: Merge "LayoutLib: TypedArray.getDimensionPixelSize can actually return <0" into honeycomb-mr1

* commit '47b42991203b7f8e337b1612d601ed120596ef71':
LayoutLib: TypedArray.getDimensionPixelSize can actually return <0
67450db03eac59c93b2b46c7872ce4d7dca47265 17-Mar-2011 Xavier Ducrohet <xav@android.com> LayoutLib: TypedArray.getDimensionPixelSize can actually return <0

Change-Id: I17853dc242e28f0c59916cad1b2a57beed480a57
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
843e29d3751017267b96565c543df0301c31a9f7 16-Mar-2011 Jeff Brown <jeffbrown@google.com> Merge "Improve VelocityTracker numerical stability."
2ed2462aa29c564f5231f317c27b3188da875e52 15-Mar-2011 Jeff Brown <jeffbrown@google.com> Improve VelocityTracker numerical stability.

Replaced VelocityTracker with a faster and more accurate
native implementation. This avoids the duplicate maintenance
overhead of having two implementations.

The new algorithm requires that the sample duration be at least
10ms in order to contribute to the velocity calculation. This
ensures that the velocity is not severely overestimated when
samples arrive in bursts.

The new algorithm computes the exponentially weighted moving
average using weights based on the relative duration of successive
sample periods.

The new algorithm is also more careful about how it handles
individual pointers going down or up and their effects on the
collected movement traces. The intent is to preserve the last
known velocity of pointers as they go up while also ensuring
that other motion samples do not count twice in that case.

Bug: 4086785
Change-Id: I2632321232c64d6b8faacdb929e33f60e64dcdd3
elocityplot/velocityplot.py
b7b877a45f469336703844a928482e6438442567 15-Mar-2011 Xavier Ducrohet <xav@android.com> am 0a98226e: Merge 9d76581f from honeycomb. do not merge.

* commit '0a98226e3c8cda46786558147a0eb6a56c3370c0':
Merge 9d76581f from honeycomb. do not merge.
a82a219a7aaee82d790810f6660924604b7a7e81 15-Mar-2011 Xavier Ducrohet <xav@android.com> am b243aabd: Merge adaa12cd from honeycomb. do not merge.

* commit 'b243aabdaf1ba6fdfc0579c9f949e00d562456ed':
Merge adaa12cd from honeycomb. do not merge.
f89c37295db5df34c014e0791c976cfa94509068 15-Mar-2011 Xavier Ducrohet <xav@android.com> am 48a2a5ad: Merge "Merge 6f2fb570 from honeycomb. do not merge." into gingerbread

* commit '48a2a5ad1b7c4979b1d7baf6add4bc32148a75ae':
Merge 6f2fb570 from honeycomb. do not merge.
405cb57019e0b0b9c2049c2b06537c0f4981fc37 15-Mar-2011 Xavier Ducrohet <xav@android.com> am 14e1f523: Merge "Merge c12b4093 from honeycomb. do not merge." into gingerbread

* commit '14e1f523c673315cbc3167448ce9252b455d252c':
Merge c12b4093 from honeycomb. do not merge.
0a98226e3c8cda46786558147a0eb6a56c3370c0 14-Mar-2011 Xavier Ducrohet <xav@android.com> Merge 9d76581f from honeycomb. do not merge.

LayoutLib: Fix Arc rendering.

Looks like Java2D and Skia go in different directions for angles.

Change-Id: I4d72db56455afe25b4f51f23a9b29d6c438119ba
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/Path_Delegate.java
b243aabdaf1ba6fdfc0579c9f949e00d562456ed 08-Mar-2011 Xavier Ducrohet <xav@android.com> Merge adaa12cd from honeycomb. do not merge.

LayoutLib: fix Capabilities and getDimensionPixelSize

Commented out a Capability that is not in ADT 10.

BridgeTypedArray.getDimensionPixelSize shouldn't call
getDimension since most of the code is duplicated, and
it prevents use from properly detecting malformed attribute
values.

Change-Id: I008334af605a89f240247a13c0024009247ec5af
ayoutlib/bridge/src/android/graphics/Path_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
a738a7d9816248ceafafe3404cd41ba6a4abd09f 15-Mar-2011 Ying Wang <wangying@google.com> Merge "Add screen layout size as one of the resource filtering axes."
4a223cdde591b5f3000a3de071d41c833a387578 14-Mar-2011 Ying Wang <wangying@google.com> Add screen layout size as one of the resource filtering axes.

So that we can add screen layout size such as
"small/normal/large/xlarge" to PRODUCT_LOCALES to filter unwanted
resources. We already handle screen density this way.
Bug: 4086309

Change-Id: I0867e22a825faea0e100d8a0075f0f5cb7c0c964
apt/ResourceTable.cpp
2652b618a86c28fe1914c52dd6a91139c3d9b1e7 08-Mar-2011 Xavier Ducrohet <xav@android.com> Merge 6f2fb570 from honeycomb. do not merge.

LayoutLib: Fix dimension parsing to handle negative value.

Also make TypedArray.getDimensionPixelSize properly
handle negative values (which are not allowed).

Change-Id: I03ffcef5ab7ec7ef95419566776dcc798845fd88
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
f354ad108c794bd4c9d1aa9a4f2a526d9c27e224 08-Mar-2011 Xavier Ducrohet <xav@android.com> Merge c12b4093 from honeycomb. do not merge.

Change-Id: Icfbb70c097d87bf92415c6f0534346adde4c02fe
LayoutLib: Implement some missing add###() method in Path.
ayoutlib/bridge/src/android/graphics/Path_Delegate.java
9d76581faf9eb5f47eff922c14807e51702f363b 14-Mar-2011 Xavier Ducrohet <xav@android.com> LayoutLib: Fix Arc rendering.

Looks like Java2D and Skia go in different directions for angles.

Change-Id: Ia0c9c70cd66c9a0941fa9921fecf8e4e83538af3
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/Path_Delegate.java
adaa12cd9e421edf34e36de8cfacc3e3c334bb64 08-Mar-2011 Xavier Ducrohet <xav@android.com> LayoutLib: fix Capabilities and getDimensionPixelSize

Commented out a Capability that is not in ADT 10.

BridgeTypedArray.getDimensionPixelSize shouldn't call
getDimension since most of the code is duplicated, and
it prevents use from properly detecting malformed attribute
values.

Change-Id: I005b17061590dc0668729af16e896fad815f1973
ayoutlib/bridge/src/android/graphics/Path_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
6f2fb570642189ec2b6068632c25f02391007bb5 08-Mar-2011 Xavier Ducrohet <xav@android.com> LayoutLib: Fix dimension parsing to handle negative value.

Also make TypedArray.getDimensionPixelSize properly
handle negative values (which are not allowed).

Change-Id: I960fc1c9e8ad97852d4a14e4f0f71a2c2034b4e7
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
c12b4093517ac99cabd91a1bb4bdb3bacfe4bcfd 08-Mar-2011 Xavier Ducrohet <xav@android.com> LayoutLib: Implement some missing add###() method in Path.

Change-Id: Ib62b5df0361ba81846483b1e5f8d7cbdbcb57d40
ayoutlib/bridge/src/android/graphics/Path_Delegate.java
648251710162cdaf7371012a1cbb79b9bc5bc0e4 03-Mar-2011 Dianne Hackborn <hackbod@google.com> Fix issue #3485923: Gmail crash

Allow application to try to recover if a surface OOM error
happens on the client side.

Change-Id: I0308bd99647a35e4bcac448340b7fc6330a828f6
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowSession.java
defdae61b1771823ffd42201241846b771e772ea 01-Mar-2011 Xavier Ducrohet <xav@android.com> Add notice files for aapt and aidl.

Change-Id: I51da138475618287760043059790aba87f4c3f35
apt/NOTICE
idl/NOTICE
7b9727558b42aecacd0ea63cf3b3c89e9bfd9e9b 28-Feb-2011 Xavier Ducrohet <xav@android.com> am edbd6139: Merge "Merge 1911a6f7 into gingerbread. do not merge." into gingerbread

* commit 'edbd6139b9d699879db2f14fb03b7b6a38bab9ea':
Merge 1911a6f7 into gingerbread. do not merge.
7719436342611a106df5d379fedf180a5dd0809e 28-Feb-2011 Xavier Ducrohet <xav@android.com> am b732b7b5: am ce57a7f3: am 6504490c: am dff6b8e7: Merge "Add --non-constant-id to aapt."

* commit 'b732b7b5e8192501360edc15fb8c6399d11fb97d':
GpsLocationProvider: Clean up HAL initialization/cleanup sequence
Fixed GSM encoded network initiated position request
Ensuring thread-safe usage of DateFormat.
Fixing infinite loop for zero duration.
Fix for an infinite loop while scrolling lists.
WAPPushManager, WAP Push over SMS message handler
Add --non-constant-id to aapt.
b732b7b5e8192501360edc15fb8c6399d11fb97d 28-Feb-2011 Xavier Ducrohet <xav@android.com> am ce57a7f3: am 6504490c: am dff6b8e7: Merge "Add --non-constant-id to aapt."

* commit 'ce57a7f35344e76689d30f45964d1e37b78280cb':
GpsLocationProvider: Clean up HAL initialization/cleanup sequence
Fixed GSM encoded network initiated position request
Ensuring thread-safe usage of DateFormat.
Fixing infinite loop for zero duration.
Fix for an infinite loop while scrolling lists.
WAPPushManager, WAP Push over SMS message handler
Add --non-constant-id to aapt.
ce57a7f35344e76689d30f45964d1e37b78280cb 28-Feb-2011 Xavier Ducrohet <xav@android.com> am 6504490c: am dff6b8e7: Merge "Add --non-constant-id to aapt."

* commit '6504490cde3ec5d48321d539e654d1f2072b33f9':
GpsLocationProvider: Clean up HAL initialization/cleanup sequence
Fixed GSM encoded network initiated position request
Ensuring thread-safe usage of DateFormat.
Fixing infinite loop for zero duration.
Fix for an infinite loop while scrolling lists.
WAPPushManager, WAP Push over SMS message handler
Add --non-constant-id to aapt.
6504490cde3ec5d48321d539e654d1f2072b33f9 28-Feb-2011 Xavier Ducrohet <xav@android.com> am dff6b8e7: Merge "Add --non-constant-id to aapt."

* commit 'dff6b8e71dda9f5d841fa26408714aec2aef1505':
GpsLocationProvider: Clean up HAL initialization/cleanup sequence
Fixed GSM encoded network initiated position request
Ensuring thread-safe usage of DateFormat.
Fixing infinite loop for zero duration.
Fix for an infinite loop while scrolling lists.
WAPPushManager, WAP Push over SMS message handler
Add --non-constant-id to aapt.
efe18b5e3f02a51a3900d5a0a3687d2b5e315b4c 24-Feb-2011 Xavier Ducrohet <xav@android.com> Merge 1911a6f7 into gingerbread. do not merge.

Change-Id: I6d56644c4ab1a70eb4a6d0d2e5d84ea4aa674041
LayoutLib: move tests to their own project.
ayoutlib/.gitignore
ayoutlib/bridge/.classpath
ayoutlib/bridge/Android.mk
ayoutlib/bridge/tests/.classpath
ayoutlib/bridge/tests/.project
ayoutlib/bridge/tests/Android.mk
ayoutlib/bridge/tests/com/android/layoutlib/bridge/AndroidGraphicsTests.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/NinePatchTest.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/TestDelegates.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/android/BridgeXmlBlockParserTest.java
ayoutlib/bridge/tests/com/android/layoutlib/testdata/button.9.png
ayoutlib/bridge/tests/com/android/layoutlib/testdata/layout1.xml
ayoutlib/bridge/tests/src/android/graphics/Matrix_DelegateTest.java
ayoutlib/bridge/tests/src/com/android/layoutlib/bridge/TestDelegates.java
ayoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParserTest.java
ayoutlib/bridge/tests/src/com/android/layoutlib/testdata/layout1.xml
a4510a75757b82207f677609b970010f59c774ba 25-Feb-2011 Xavier Ducrohet <xav@android.com> LayoutLib: fix incorrect indices in one of the 2 native_drawTextRun methods.

Fixes http://b.android.com/15007

Change-Id: Iff06180def92c5fa25e82520b76192c089edd8cc
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
b052ecaa7e6ce40cec43efe5353b4bb12079aa55 25-Feb-2011 Xavier Ducrohet <xav@android.com> resolved conflicts for merge of 86e43034 to honeycomb-plus-aosp

Change-Id: Ia9ad4c3b79821fef6ab8493f4c93ca58f877f9ce
db1acf52bb6e4b949bcef09f903d662aed9b8a3a 25-Feb-2011 Xavier Ducrohet <xav@android.com> am 1175ef7e: Merge "LayoutLib: Adapt the HC layoutlib to GB. do not merge." into gingerbread

* commit '1175ef7e2e4f68532d8ade672d7f5502d9946ce4':
LayoutLib: Adapt the HC layoutlib to GB. do not merge.
86e43034a6834a274efefaabefc0dbdd1bbc8d35 25-Feb-2011 Xavier Ducrohet <xav@android.com> resolved conflicts for merge of a4350fc0 to gingerbread-plus-aosp

Change-Id: I065af5d555fa2197847ad47c84003dcd11fe26c7
1911a6f7812e3f7dcb83fd4741a297d043a80e46 24-Feb-2011 Xavier Ducrohet <xav@android.com> LayoutLib: move tests to their own project.

Change-Id: I8a9e128e4a17ab57ec7b126a378035d9ce5bc168
ayoutlib/.gitignore
ayoutlib/bridge/.classpath
ayoutlib/bridge/Android.mk
ayoutlib/bridge/tests/.classpath
ayoutlib/bridge/tests/.project
ayoutlib/bridge/tests/Android.mk
ayoutlib/bridge/tests/com/android/layoutlib/bridge/AndroidGraphicsTests.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/NinePatchTest.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/TestDelegates.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/android/BridgeXmlBlockParserTest.java
ayoutlib/bridge/tests/com/android/layoutlib/testdata/button.9.png
ayoutlib/bridge/tests/com/android/layoutlib/testdata/layout1.xml
ayoutlib/bridge/tests/src/android/graphics/Matrix_DelegateTest.java
ayoutlib/bridge/tests/src/com/android/layoutlib/bridge/TestDelegates.java
ayoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParserTest.java
ayoutlib/bridge/tests/src/com/android/layoutlib/testdata/layout1.xml
031d2f8b6db5bf7b249ae1c9a72915bf2d3a8d7b 08-Feb-2011 Xavier Ducrohet <xav@android.com> LayoutLib: Adapt the HC layoutlib to GB. do not merge.

Change-Id: I0b2016987a65fabbc0ce7011514543349e9fb929
ayoutlib/bridge/resources/bars/action_bar.xml
ayoutlib/bridge/resources/bars/mdpi/ic_sysbar_back_default.png
ayoutlib/bridge/resources/bars/mdpi/ic_sysbar_home_default.png
ayoutlib/bridge/resources/bars/mdpi/ic_sysbar_recent_default.png
ayoutlib/bridge/resources/bars/tablet_system_bar.xml
ayoutlib/bridge/src/android/animation/PropertyValuesHolder_Delegate.java
ayoutlib/bridge/src/android/app/Fragment_Delegate.java
ayoutlib/bridge/src/android/graphics/BitmapFactory_Delegate.java
ayoutlib/bridge/src/android/graphics/BitmapShader_Delegate.java
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/ColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/ColorMatrixColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/ComposeShader_Delegate.java
ayoutlib/bridge/src/android/graphics/LightingColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/LinearGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
ayoutlib/bridge/src/android/graphics/PorterDuffColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/RadialGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/Region_Delegate.java
ayoutlib/bridge/src/android/graphics/Shader_Delegate.java
ayoutlib/bridge/src/android/graphics/SweepGradient_Delegate.java
ayoutlib/bridge/src/android/view/LayoutInflater_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeRenderSession.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindow.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowSession.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/FakeActionBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/PhoneSystemBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/TabletSystemBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/AnimationThread.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/GcSnapshot.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/PlayAnimationThread.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderDrawable.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ayoutlib/bridge/src/libcore/icu/ICU_Delegate.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
4b52ec49fee79b0488d6a9eaaa4ea5d74ce90905 08-Feb-2011 Xavier Ducrohet <xav@android.com> LayoutLib: Original import of Honeycomb's layoutlib. do not merge.

frameworks/base.git @ f0a53435f14d23d9555fc46014352ee6a7baa647

Change-Id: Ibc215751693dc7650683b61bb458f7c8beaf8060
ayoutlib/README
ayoutlib/bridge/.classpath
ayoutlib/bridge/Android.mk
ayoutlib/bridge/resources/bars/action_bar.xml
ayoutlib/bridge/resources/bars/hdpi/stat_sys_wifi_signal_4_fully.png
ayoutlib/bridge/resources/bars/hdpi/status_bar_background.9.png
ayoutlib/bridge/resources/bars/mdpi/ic_sysbar_back_default.png
ayoutlib/bridge/resources/bars/mdpi/ic_sysbar_home_default.png
ayoutlib/bridge/resources/bars/mdpi/ic_sysbar_recent_default.png
ayoutlib/bridge/resources/bars/mdpi/stat_sys_wifi_signal_4_fully.png
ayoutlib/bridge/resources/bars/mdpi/status_bar_background.9.png
ayoutlib/bridge/resources/bars/phone_system_bar.xml
ayoutlib/bridge/resources/bars/tablet_system_bar.xml
ayoutlib/bridge/resources/bars/title_bar.xml
ayoutlib/bridge/src/android/animation/PropertyValuesHolder_Delegate.java
ayoutlib/bridge/src/android/app/Fragment_Delegate.java
ayoutlib/bridge/src/android/content/res/Resources_Theme_Delegate.java
ayoutlib/bridge/src/android/graphics/AvoidXfermode_Delegate.java
ayoutlib/bridge/src/android/graphics/Bitmap.java
ayoutlib/bridge/src/android/graphics/BitmapFactory.java
ayoutlib/bridge/src/android/graphics/BitmapFactory_Delegate.java
ayoutlib/bridge/src/android/graphics/BitmapShader.java
ayoutlib/bridge/src/android/graphics/BitmapShader_Delegate.java
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
ayoutlib/bridge/src/android/graphics/BlurMaskFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/Canvas.java
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/ColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/ColorMatrixColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/ComposePathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/ComposeShader.java
ayoutlib/bridge/src/android/graphics/ComposeShader_Delegate.java
ayoutlib/bridge/src/android/graphics/CornerPathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/DashPathEffect.java
ayoutlib/bridge/src/android/graphics/DashPathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/DiscretePathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/DrawFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/EmbossMaskFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/GradientShader.java
ayoutlib/bridge/src/android/graphics/Gradient_Delegate.java
ayoutlib/bridge/src/android/graphics/LayerRasterizer_Delegate.java
ayoutlib/bridge/src/android/graphics/LightingColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/LinearGradient.java
ayoutlib/bridge/src/android/graphics/LinearGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/MaskFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/Matrix.java
ayoutlib/bridge/src/android/graphics/Matrix_Delegate.java
ayoutlib/bridge/src/android/graphics/NinePatch_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint.java
ayoutlib/bridge/src/android/graphics/PaintFlagsDrawFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
ayoutlib/bridge/src/android/graphics/Path.java
ayoutlib/bridge/src/android/graphics/PathDashPathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/PathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/Path_Delegate.java
ayoutlib/bridge/src/android/graphics/PixelXorXfermode_Delegate.java
ayoutlib/bridge/src/android/graphics/PorterDuffColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/PorterDuffXfermode.java
ayoutlib/bridge/src/android/graphics/PorterDuffXfermode_Delegate.java
ayoutlib/bridge/src/android/graphics/RadialGradient.java
ayoutlib/bridge/src/android/graphics/RadialGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/Rasterizer_Delegate.java
ayoutlib/bridge/src/android/graphics/Region_Delegate.java
ayoutlib/bridge/src/android/graphics/Shader.java
ayoutlib/bridge/src/android/graphics/Shader_Delegate.java
ayoutlib/bridge/src/android/graphics/SumPathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/SweepGradient.java
ayoutlib/bridge/src/android/graphics/SweepGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/Typeface.java
ayoutlib/bridge/src/android/graphics/Typeface_Delegate.java
ayoutlib/bridge/src/android/graphics/Xfermode_Delegate.java
ayoutlib/bridge/src/android/os/Build_Delegate.java
ayoutlib/bridge/src/android/os/Handler_Delegate.java
ayoutlib/bridge/src/android/os/SystemClock_Delegate.java
ayoutlib/bridge/src/android/util/FloatMath.java
ayoutlib/bridge/src/android/util/FloatMath_Delegate.java
ayoutlib/bridge/src/android/view/BridgeInflater.java
ayoutlib/bridge/src/android/view/LayoutInflater_Delegate.java
ayoutlib/bridge/src/android/view/View_Delegate.java
ayoutlib/bridge/src/com/android/internal/util/XmlUtils_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeAssetManager.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeConstants.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContentResolver.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeRenderSession.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeResources.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeTypedArray.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeXmlBlockParser.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeXmlPullAttributes.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/FontLoader.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/LayoutResult.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/NinePatchDrawable.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/ResourceHelper.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/ResourceValue.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeAssetManager.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContentProvider.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContentResolver.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeLayoutParamsMapAttributes.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindow.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowSession.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParser.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeXmlPullAttributes.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/FakeActionBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/PhoneSystemBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/TabletSystemBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/TitleBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/AnimationThread.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/DelegateManager.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/FontLoader.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/GcSnapshot.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/PlayAnimationThread.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderDrawable.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/Stack.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/util/Debug.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/util/SparseWeakArray.java
ayoutlib/bridge/src/libcore/icu/ICU_Delegate.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/AndroidGraphicsTests.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/BridgeXmlBlockParserTest.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/NinePatchTest.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/TestClassReplacement.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/TestDelegates.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/android/BridgeXmlBlockParserTest.java
ayoutlib/create/README.txt
ayoutlib/create/src/com/android/tools/layoutlib/annotations/LayoutlibDelegate.java
ayoutlib/create/src/com/android/tools/layoutlib/annotations/Nullable.java
ayoutlib/create/src/com/android/tools/layoutlib/annotations/VisibleForTesting.java
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmGenerator.java
ayoutlib/create/src/com/android/tools/layoutlib/create/ClassHasNativeVisitor.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
ayoutlib/create/src/com/android/tools/layoutlib/create/DelegateClassAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/create/DelegateMethodAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/create/ICreateInfo.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
ayoutlib/create/src/com/android/tools/layoutlib/create/TransformClassAdapter.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/AsmAnalyzerTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/ClassHasNativeVisitorTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/DelegateClassAdapterTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/LogTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/MockLog.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/dataclass/ClassWithNative.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/dataclass/ClassWithNative_Delegate.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/dataclass/OuterClass.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/dataclass/OuterClass_Delegate.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/dataclass/OuterClass_InnerClass_Delegate.java
f0a53435f14d23d9555fc46014352ee6a7baa647 24-Feb-2011 Xavier Ducrohet <xav@android.com> LayoutLib: Add debug mode.

Change-Id: If4263c7dba63a063f84e0c6988c270eb6d291ac3
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/ColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/DrawFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/MaskFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/Matrix_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
ayoutlib/bridge/src/android/graphics/PathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/Path_Delegate.java
ayoutlib/bridge/src/android/graphics/Rasterizer_Delegate.java
ayoutlib/bridge/src/android/graphics/Region_Delegate.java
ayoutlib/bridge/src/android/graphics/Shader_Delegate.java
ayoutlib/bridge/src/android/graphics/Typeface_Delegate.java
ayoutlib/bridge/src/android/graphics/Xfermode_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/DelegateManager.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/util/Debug.java
b2c7dd5986344369f02dfe2965b309153b121127 24-Feb-2011 Xavier Ducrohet <xav@android.com> LayoutLib: downsize the SparseArray when possible.

Change-Id: I570b93ab161414b7729f8d2dce8ddadb706f186b
ayoutlib/bridge/src/com/android/layoutlib/bridge/util/SparseWeakArray.java
c6083f2c9eadb1f8a502ea9806868f5b0148667e 23-Feb-2011 Xavier Ducrohet <xav@android.com> LayoutLib: misc fixes.

- implement some Paint methods that are needed for 2.x
- fix the phone system bar to display the icons on the right.

Change-Id: I3a938b14ec9a449dbc23a33303a3c8405a5369a8
ayoutlib/bridge/resources/bars/phone_system_bar.xml
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/PhoneSystemBar.java
cc4977d0fdaf657907912fd6cc2f9426dc8d2e36 22-Feb-2011 Xavier Ducrohet <xav@android.com> LayoutLib: Hold onto delegate references.

When an object is given a delegate to hold onto, keep
the reference to the delegate instead of its native integer.

Also change the way the finalizer works by not explicitely deleting
the delegate. Instead we want the delegate to be deleted when
nothing holds a reference to it. To do this, instead of using
a regular SparseArray, we use a SparseArray of WeakReferences.
Because the main Java object that "owns" the delegate does not
actually holds a reference to the delegate, we fake this by
having the delegate manager hold a reference to delegates for
the main object. This is added/removed as the object is created
and the native finalized is called.

This makes layoutlib behave more like the JNI code where the native
objects are reference counted, and where the Java object can be
deleted but the delegate it owns is kept around (usually because
another type of delegates hold a reference on it.)

To properly handle the WeakReferences, we need to be able to
regularly clear the SparseArray of WeakReference that were
referencing objects that have been GC'ed.
Since the SparseArray is regularly being compacted (actually only
when items are removed), we use a custom SparseWeakArray (started
as a straight copy of SparseArray) that handles the WeakReference
and takes care of compacting the array by removing deleted indices
and WeakReference that returns null. Since our specific use case
doesn't call actually delete() or remove(), the compacting
only happens when the array needs to be resized.

Change-Id: Iacc5c1ff5b21732b8816fda87eb090da12d034e0
ayoutlib/bridge/src/android/graphics/AvoidXfermode_Delegate.java
ayoutlib/bridge/src/android/graphics/BitmapShader_Delegate.java
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
ayoutlib/bridge/src/android/graphics/BlurMaskFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/ColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/ColorMatrixColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/ComposePathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/ComposeShader_Delegate.java
ayoutlib/bridge/src/android/graphics/CornerPathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/DashPathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/DiscretePathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/DrawFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/EmbossMaskFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/LayerRasterizer_Delegate.java
ayoutlib/bridge/src/android/graphics/LightingColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/LinearGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/MaskFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/Matrix_Delegate.java
ayoutlib/bridge/src/android/graphics/PaintFlagsDrawFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
ayoutlib/bridge/src/android/graphics/PathDashPathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/PathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/Path_Delegate.java
ayoutlib/bridge/src/android/graphics/PixelXorXfermode_Delegate.java
ayoutlib/bridge/src/android/graphics/PorterDuffColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/PorterDuffXfermode_Delegate.java
ayoutlib/bridge/src/android/graphics/RadialGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/Rasterizer_Delegate.java
ayoutlib/bridge/src/android/graphics/Region_Delegate.java
ayoutlib/bridge/src/android/graphics/Shader_Delegate.java
ayoutlib/bridge/src/android/graphics/SumPathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/SweepGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/Typeface_Delegate.java
ayoutlib/bridge/src/android/graphics/Xfermode_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/DelegateManager.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/util/SparseWeakArray.java
8cb6fc184dcb9cc6ab0871de5cf430277d15c8c8 23-Feb-2011 Xavier Ducrohet <xav@android.com> LayoutLib: Import of SparseArray as SparseWeakArray.

This is a straight copy for easy review of the customization.

Change-Id: I351ec570c3e7a025561939ab05c1ae7eded30b38
ayoutlib/bridge/src/com/android/layoutlib/bridge/util/SparseWeakArray.java
6f2fba428ca5e77a26d991ad728e346cc47609ee 19-Feb-2011 Jeff Brown <jeffbrown@google.com> Add new axes for joysticks and mouse wheels.

Added API on InputDevice to query the set of axes available.
Added API on KeyEvent and MotionEvent to convert keycodes and axes
to symbolic name strings for diagnostic purposes.
Added API on KeyEvent to query if a given key code is a gamepad button.
Added a new "axis" element to key layout files to specify the
mapping between raw absolute axis values and motion axis ids.
Expanded the axis bitfield to 64bits to allow for future growth.
Modified the Makefile for keyboard prebuilts to run the keymap
validation tool during the build.
Added layouts for two game controllers.
Added default actions for game pad button keys.
Added more tests.
Fixed a bunch of bugs.

Change-Id: I73f9166c3b3c5bcf4970845b58088ad467525525
alidatekeymaps/Main.cpp
1ca584a2bb5c0f0e747c98f2e930cce8b53421a5 19-Feb-2011 Xavier Ducrohet <xav@android.com> LayoutLib: remove assert in resource resolution.

These code paths were valid in case there's a mismatch
between the style/theme/version of Android

Change-Id: I8cb3b2a3f3a1ef5c37ccec0c8ddbb7add69bfbe0
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
3e87bfa1911de10c3d0692b34eba27f5965710f7 19-Feb-2011 Xavier Ducrohet <xav@android.com> LayoutLib: support defStyleRes in obtainStyledAttributes.

This fix the Spinner rendering.

Change-Id: I20a71d9e07f6c86652a74fba3fc05a027a057ff8
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
f20999965b94bdcc2b1f2c05b587ff405924bc96 19-Feb-2011 Xavier Ducrohet <xav@android.com> LayoutLib: properly handle @null references in more places.

Change-Id: I240298ab79c19ab0e49cb6da19d6b0187493d3b5
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
10df650f0d4bdf086dae9ac29fafd8a1ded06c23 17-Feb-2011 Xavier Ducrohet <xav@android.com> LayoutLib: add support for layout_only render.

Change-Id: I1cd791cf9560156c1ac488f8e454240c84e29cc6
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
d06c1afbb920111d6bb77381560faa1fac5f2d69 15-Feb-2011 Xavier Ducrohet <xav@android.com> Add --non-constant-id to aapt.

This option enbables creating resource constant in the R class
that are not actual constant, but simply static fields.

The goal is to build library projects with these types of
IDs so that the constant does not get inlined in the library
code, since the ID for the library resources only are not
the final values.

The final resource IDs, generated from the main project and
its library(ies), will have proper constant with the final
values.

This allows us to generate binary library bundle (a jar file
and associated resources) that can be distributed. Additionally,
this will let us make the library project support in Eclipse
much more robust and a better user experience overall.

Change-Id: Ibe2f08d68493fde658fc3f7606abf7446f312ad2
apt/Bundle.h
apt/Main.cpp
apt/Resource.cpp
559358fdf65b1b551312526940cb02ec23bf6d9d 14-Feb-2011 Xavier Ducrohet <xav@android.com> am 1858c95e: am 02d2b5a4: LayoutLib: When possible ensure parsers are popped from the stack.

* commit '1858c95e99f81ac46eea93288cb8866260b3d5d8':
LayoutLib: When possible ensure parsers are popped from the stack.
1858c95e99f81ac46eea93288cb8866260b3d5d8 14-Feb-2011 Xavier Ducrohet <xav@android.com> am 02d2b5a4: LayoutLib: When possible ensure parsers are popped from the stack.

* commit '02d2b5a4031c80bfe1012ce2f4f7b3695762abd9':
LayoutLib: When possible ensure parsers are popped from the stack.
02d2b5a4031c80bfe1012ce2f4f7b3695762abd9 14-Feb-2011 Xavier Ducrohet <xav@android.com> LayoutLib: When possible ensure parsers are popped from the stack.

Some parser consumers (seems to be mostly resource inflation)
don't use the pull parser up to the END_DOCUMENT tag, making
the parser not pop itself from the parser stack automatically.

This is likely due to the XML resources being very shallow (1-2 levels
max), and the inflater just reading the content that it expects instead
of parsing till the document is done.

This ensures that *some* parsers are pop'ed from the stack when
used. Some other parsers we don't really control and hope the
user will parse till END_DOCUMENT.

Change-Id: Ie1f5762983fed2b2ae97b896218ae12b493e7ad9
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParser.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
8a80a8555238cc564f445f902aff5231993a8f96 10-Feb-2011 Xavier Ducrohet <xav@android.com> LayoutLib: remove some exceptions.

We need to move away from throwing anything and instead
log errors/warnings.

Change-Id: Ib1af71a90c06e8565fbd0c061ba56f4d19baa3df
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
ayoutlib/bridge/src/android/graphics/Path_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
9a4fe29c8d92014d2d9a848e9116b8cc9d0842f9 10-Feb-2011 Xavier Ducrohet <xav@android.com> LayoutLib: Annotate the custom delegate methods.

Every method implementing a delegate needed by the
layoutlib_create bytecode modification must now be
annotated with LayoutlibDelegate.

The methods in the original source code that are delegated
are already automatically annotated. Now with the implementations
being annotated we can do bi-directional tests and find not
only missing implementations but also dead obsolete code.

This will be useful when backporting to earlier versions of
Android, or when native (non public) method disappear. In fact,
the new test detected one such method in Shader.

Change-Id: I491708b68ac2736ca5669aa86cd5e930a00f9db3
ayoutlib/bridge/src/android/animation/PropertyValuesHolder_Delegate.java
ayoutlib/bridge/src/android/app/Fragment_Delegate.java
ayoutlib/bridge/src/android/content/res/Resources_Theme_Delegate.java
ayoutlib/bridge/src/android/graphics/AvoidXfermode_Delegate.java
ayoutlib/bridge/src/android/graphics/BitmapFactory_Delegate.java
ayoutlib/bridge/src/android/graphics/BitmapShader_Delegate.java
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
ayoutlib/bridge/src/android/graphics/BlurMaskFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/ColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/ColorMatrixColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/ComposePathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/ComposeShader_Delegate.java
ayoutlib/bridge/src/android/graphics/CornerPathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/DashPathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/DiscretePathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/DrawFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/EmbossMaskFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/LayerRasterizer_Delegate.java
ayoutlib/bridge/src/android/graphics/LightingColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/LinearGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/MaskFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/Matrix_Delegate.java
ayoutlib/bridge/src/android/graphics/NinePatch_Delegate.java
ayoutlib/bridge/src/android/graphics/PaintFlagsDrawFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
ayoutlib/bridge/src/android/graphics/PathDashPathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/PathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/Path_Delegate.java
ayoutlib/bridge/src/android/graphics/PixelXorXfermode_Delegate.java
ayoutlib/bridge/src/android/graphics/PorterDuffColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/PorterDuffXfermode_Delegate.java
ayoutlib/bridge/src/android/graphics/RadialGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/Rasterizer_Delegate.java
ayoutlib/bridge/src/android/graphics/Region_Delegate.java
ayoutlib/bridge/src/android/graphics/Shader_Delegate.java
ayoutlib/bridge/src/android/graphics/SumPathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/SweepGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/Typeface_Delegate.java
ayoutlib/bridge/src/android/graphics/Xfermode_Delegate.java
ayoutlib/bridge/src/android/os/Build_Delegate.java
ayoutlib/bridge/src/android/os/Handler_Delegate.java
ayoutlib/bridge/src/android/os/SystemClock_Delegate.java
ayoutlib/bridge/src/android/util/FloatMath_Delegate.java
ayoutlib/bridge/src/android/view/LayoutInflater_Delegate.java
ayoutlib/bridge/src/android/view/View_Delegate.java
ayoutlib/bridge/src/com/android/internal/util/XmlUtils_Delegate.java
ayoutlib/bridge/src/libcore/icu/ICU_Delegate.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/TestClassReplacement.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/TestDelegates.java
f3f608452c080f050e2b5088d421ffe22641531f 10-Feb-2011 Xavier Ducrohet <xav@android.com> LayoutLib: now depends on tools-common-prebuilt.

Change-Id: I11196c2363da378027fb8ca001e7dce0f58f657f
ayoutlib/bridge/.classpath
ayoutlib/bridge/Android.mk
024bbea2155dc37df87b337007a887029f9d1cab 08-Feb-2011 Xavier Ducrohet <xav@android.com> am dc3fc3dc: Merge "LayoutLib: fix the background of title/action bars." into honeycomb

* commit 'dc3fc3dc2717461113a2963c224cb190457599d8':
LayoutLib: fix the background of title/action bars.
abc33e014d4490dc993d1453e2589f538dbd7bbe 08-Feb-2011 Xavier Ducrohet <xav@android.com> LayoutLib: fix the background of title/action bars.

The bars are supposed to sit on top of the window so
that if they are transparent (which is the default case
for the action bar), the window background shows through.

Fix this using a layout to represent the window content
(all but the system bar) in which the title/action bars
and the layout content sits. This layout receives the
windowBackground drawable.

Change-Id: I8072c5ff52f585fa32acb589d8526e1c13cbcd94
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/PhoneSystemBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/TabletSystemBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
5ac5388359652f45fd401dc269ac3e37b52216af 07-Feb-2011 Xavier Ducrohet <xav@android.com> am 4dd2299d: LayoutLib: Update to latest API fix.

* commit '4dd2299d5766bf14479578772a0946c5399a0158':
LayoutLib: Update to latest API fix.
4dd2299d5766bf14479578772a0946c5399a0158 07-Feb-2011 Xavier Ducrohet <xav@android.com> LayoutLib: Update to latest API fix.

Change-Id: I5147010e4f16a5c2ea0b98709c42f7ecd9412ff6
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
80656fb71e98aa5aa2f9d7f010f2db4dfc0c9ff5 07-Feb-2011 Xavier Ducrohet <xav@android.com> am 62a99c0b: Merge "LayoutLib: Handle color state list in methods returning an int." into honeycomb

* commit '62a99c0b3bca70262ab205a5688ff69cbbbaee78':
LayoutLib: Handle color state list in methods returning an int.
62a99c0b3bca70262ab205a5688ff69cbbbaee78 07-Feb-2011 Xavier Ducrohet <xav@android.com> Merge "LayoutLib: Handle color state list in methods returning an int." into honeycomb
d96a7403cda1a873e640b6e6395ddab4c2f9b9f9 07-Feb-2011 Xavier Ducrohet <xav@android.com> LayoutLib: Handle color state list in methods returning an int.

Change-Id: Ia35ea09b992a239873026c7ef1629a01dd2e6cec
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
181e3212625374e7954b0313e3a2782e15d09599 07-Feb-2011 Xavier Ducrohet <xav@android.com> am 83d72da7: Merge "LayoutLib: improved rendering for system/title/action bars." into honeycomb

* commit '83d72da7f69f71fd20bd11fc4f98166532136248':
LayoutLib: improved rendering for system/title/action bars.
13bdc3355c781dc2614f2810a42d3a9e73f5bed9 06-Feb-2011 Xavier Ducrohet <xav@android.com> LayoutLib: improved rendering for system/title/action bars.

Change-Id: I926531e9ad4a7b98e04e23cac3837794f7c89449
ayoutlib/bridge/resources/bars/action_bar.xml
ayoutlib/bridge/resources/bars/hdpi/stat_sys_wifi_signal_4_fully.png
ayoutlib/bridge/resources/bars/hdpi/status_bar_background.9.png
ayoutlib/bridge/resources/bars/mdpi/status_bar_background.9.png
ayoutlib/bridge/resources/bars/phone_system_bar.xml
ayoutlib/bridge/resources/bars/tablet_system_bar.xml
ayoutlib/bridge/resources/bars/title_bar.xml
ayoutlib/bridge/src/android/graphics/BitmapFactory_Delegate.java
ayoutlib/bridge/src/android/graphics/NinePatch_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/PhoneSystemBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/TabletSystemBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
1d009fbd17c52a0f3cdd26582e55abe03b125890 05-Feb-2011 Xavier Ducrohet <xav@android.com> am 35064e5e: Merge "LayoutLib: add implementation of Bridge.renderDrawable()" into honeycomb

* commit '35064e5e3a04bda6211166630ccd49d522a8bd92':
LayoutLib: add implementation of Bridge.renderDrawable()
fd18f573280bbbcc549b35b548580a562bd960e2 05-Feb-2011 Xavier Ducrohet <xav@android.com> LayoutLib: add implementation of Bridge.renderDrawable()

Change-Id: Ic4d96488fd1a2e5b7d24353bebc8fdb24262c1d1
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderDrawable.java
b627f78359ef3b1883f27e6fdf73a882bc3832b0 05-Feb-2011 Xavier Ducrohet <xav@android.com> am b0d34f9c: LayoutLib: split RenderSession\'s base method into RenderAction.

* commit 'b0d34f9c99cbd43e8238c5952b19d032f02dd168':
LayoutLib: split RenderSession's base method into RenderAction.
b0d34f9c99cbd43e8238c5952b19d032f02dd168 05-Feb-2011 Xavier Ducrohet <xav@android.com> LayoutLib: split RenderSession's base method into RenderAction.

This will allow us to create RenderDrawable that extends RenderAction.

Change-Id: If9cd350453ceffae4859a925a7b436502b311f9c
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
1480942d970ce0503fc99125dbf64e5dae0fd706 05-Feb-2011 Xavier Ducrohet <xav@android.com> am 1126422e: LayoutLib: update to the new API.

* commit '1126422ee1f532d8582a4e3b56dbfe505c15e775':
LayoutLib: update to the new API.
1126422ee1f532d8582a4e3b56dbfe505c15e775 05-Feb-2011 Xavier Ducrohet <xav@android.com> LayoutLib: update to the new API.

Change-Id: Ice028933cd2270c81c3d17f7bef7c5a9d14bd802
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
57bb7faf9793329babe04493d89d891ef482ac4f 05-Feb-2011 Xavier Ducrohet <xav@android.com> am 3944b784: Merge "LayoutLib: Replace custom BitmapFactory by a simpler delegate" into honeycomb

* commit '3944b784e980b5e2cad69b2c8eb5dbc7c1fafc4a':
LayoutLib: Replace custom BitmapFactory by a simpler delegate
779c906592b67867fee83a6527d474c333a701ff 05-Feb-2011 Xavier Ducrohet <xav@android.com> LayoutLib: Replace custom BitmapFactory by a simpler delegate

Change-Id: Ie61a0a5b4426e64bb71a22d76d05efa4c0865e5e
ayoutlib/bridge/src/android/graphics/BitmapFactory.java
ayoutlib/bridge/src/android/graphics/BitmapFactory_Delegate.java
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
487742ea06ecde2120c86da4dff95a94eed93555 04-Feb-2011 Xavier Ducrohet <xav@android.com> am 331e93e5: Merge "LayoutLib: render system/title/action bars." into honeycomb

* commit '331e93e5a20227665d2db8a46778b9544b91879a':
LayoutLib: render system/title/action bars.
bbbb8326020368958a3f1d248878329e9d6b10c0 28-Jan-2011 Xavier Ducrohet <xav@android.com> LayoutLib: render system/title/action bars.

Also a few generic fixes in the layoutlib itself to support
this.

Change-Id: Ie3f24c9056bd3cc72f39f8a4f2c0861be15bff55
ayoutlib/bridge/Android.mk
ayoutlib/bridge/resources/bars/action_bar.xml
ayoutlib/bridge/resources/bars/mdpi/ic_sysbar_back_default.png
ayoutlib/bridge/resources/bars/mdpi/ic_sysbar_home_default.png
ayoutlib/bridge/resources/bars/mdpi/ic_sysbar_recent_default.png
ayoutlib/bridge/resources/bars/mdpi/stat_sys_wifi_signal_4_fully.png
ayoutlib/bridge/resources/bars/phone_system_bar.xml
ayoutlib/bridge/resources/bars/tablet_system_bar.xml
ayoutlib/bridge/resources/bars/title_bar.xml
ayoutlib/bridge/src/android/graphics/BitmapFactory.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeRenderSession.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/FakeActionBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/PhoneSystemBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/TabletSystemBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/bars/TitleBar.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
1ea9930e74a3b10186b7691060b6e6cf09f73b07 03-Feb-2011 Xavier Ducrohet <xav@android.com> am 5e76e0ae: Merge "LayoutLib: Fix some rendering issues" into honeycomb

* commit '5e76e0aea28042287553ffa21826f59f601a3d2b':
LayoutLib: Fix some rendering issues
33758ef8c98efb669c65eb9404b99ee5df09c6b5 03-Feb-2011 Xavier Ducrohet <xav@android.com> LayoutLib: Fix some rendering issues

Change-Id: I662a39a783de5bc7f3063f46cedaab11c7e6496e
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ca2f84c8fc9135b6031de3c01b7f657a80223ceb 03-Feb-2011 Xavier Ducrohet <xav@android.com> am a4747d53: Merge "Make TimePicker/DatePicker/CalendarView render in Eclipse." into honeycomb

* commit 'a4747d536e905c3c34ab0d3c1c9c7485d6fac689':
Make TimePicker/DatePicker/CalendarView render in Eclipse.
345f866bfd09476fd62aa10345a0670cc110b63c 02-Feb-2011 Xavier Ducrohet <xav@android.com> Make TimePicker/DatePicker/CalendarView render in Eclipse.

Change-Id: Id5313a6f0f53bf45f6eaabc0e10fcf0660eeac08
ayoutlib/bridge/src/android/content/res/Resources_Theme_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ayoutlib/bridge/src/libcore/icu/ICU_Delegate.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/TestDelegates.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
60e1eb4bfa6205cb2b307f9d2e9858f6e8cbb7ca 31-Jan-2011 Raphael <raphael@google.com> am 03245a8e: Merge "LayoutLib.Create: support Outer_Inner_Delegate renaming." into honeycomb

* commit '03245a8ec46acc7c2b24d3d680ea5b88bd89ce13':
LayoutLib.Create: support Outer_Inner_Delegate renaming.
811820f440b24db200e66874d42331023b7cd389 28-Jan-2011 Raphael <raphael@google.com> LayoutLib.Create: support Outer_Inner_Delegate renaming.

When generating delegates, LayoutLib.Create support renaming
inner classes. Only one level of inner class is supported.

The method Outer$Inner#get(...) generates a call to:
static Outer_Inner_Delegate#get(Outer instance, Outer$Inner instance, ...)

Change-Id: Ie70f2b8e5e5f311ed9c7f26b7f64637ae6157a51
ayoutlib/create/src/com/android/tools/layoutlib/create/DelegateMethodAdapter.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/DelegateClassAdapterTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/dataclass/ClassWithNative.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/dataclass/ClassWithNative_Delegate.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/dataclass/OuterClass.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/dataclass/OuterClass_Delegate.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/dataclass/OuterClass_InnerClass_Delegate.java
371de9695508073fbbde8181eb230e99cb045206 30-Jan-2011 Dianne Hackborn <hackbod@android.com> am a1f5e82f: am a30063d8: am 25eb0464: Merge "Normalize output from aapt d"

* commit 'a1f5e82f37c77af7b1d630b5bca715d1742f1234':
Normalize output from aapt d
a1f5e82f37c77af7b1d630b5bca715d1742f1234 30-Jan-2011 Dianne Hackborn <hackbod@android.com> am a30063d8: am 25eb0464: Merge "Normalize output from aapt d"

* commit 'a30063d80c08434ac3c7316f338c6d54110449ab':
Normalize output from aapt d
25eb04642cb5a72f59a274bbfc92f4f65c6c343e 30-Jan-2011 Dianne Hackborn <hackbod@android.com> Merge "Normalize output from aapt d"
13cd966415a5cf83934868751f19bf69fa4ff9df 30-Jan-2011 Dianne Hackborn <hackbod@android.com> am e802b592: am 2107757d: am bbb5a5ce: Merge "Make AaptGroupEntry::getMncName accept mnc00"

* commit 'e802b59280540ce24ea1db61907a0f1f22f01fad':
Make AaptGroupEntry::getMncName accept mnc00
e802b59280540ce24ea1db61907a0f1f22f01fad 30-Jan-2011 Dianne Hackborn <hackbod@android.com> am 2107757d: am bbb5a5ce: Merge "Make AaptGroupEntry::getMncName accept mnc00"

* commit '2107757dde0b3159119edcc9084fcb9a87985e88':
Make AaptGroupEntry::getMncName accept mnc00
bbb5a5ce1922a168335811b177cd7341350c15cc 29-Jan-2011 Dianne Hackborn <hackbod@android.com> Merge "Make AaptGroupEntry::getMncName accept mnc00"
b353495192ba1acce94b8ab8aeeffe3c9a3bcfac 28-Jan-2011 Xavier Ducrohet <xav@android.com> LayoutLib: update with Pair API.

Change-Id: Iba945153f7544872ea84e3311584223aea740e2e
ayoutlib/bridge/.classpath
ayoutlib/bridge/Android.mk
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeXmlPullAttributes.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
35ea7cd4c0c89122fda0b57af20061645082ffb9 28-Jan-2011 Xavier Ducrohet <xav@android.com> LayoutLib: Update with the new resource map APIs.

Change-Id: I30d83c2bb4569513f4f5e22670cffe938706f105
ayoutlib/bridge/src/android/graphics/Gradient_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeXmlPullAttributes.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/FontLoader.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
16584225125acba18b74920b902c798dfead0328 28-Jan-2011 Xavier Ducrohet <xav@android.com> LayoutLib: Properly compute available space to layouts.

Also display placeholders for status/title/action bars depending
on if the app is a tablet and its theme.

Change-Id: I651c1a2e5cfde165e004c11b236e6df056853dec
ayoutlib/bridge/.classpath
ayoutlib/bridge/Android.mk
ayoutlib/bridge/src/android/graphics/BitmapFactory.java
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeRenderSession.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
31fd1cf7697ef777b41c7a6a20e37ff5d573d732 27-Jan-2011 Xavier Ducrohet <xav@android.com> LayoutLib: put a default image on the quickcontactbadge.

Change-Id: I64b3f4004801ec03f374460384f9a492e66bfaf0
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
5a82d8c58bf91c357c37a82b9f5e5c26f676d847 27-Jan-2011 Xavier Ducrohet <xav@android.com> LayoutLib: properly erase the bitmap when rendering a new session.

This fix the issue where going from a full theme to a dialog theme
would show the dialog on top of the previous rendering.

Change-Id: Ib52b9719f44b04969423547b9de8d039f90b6f46
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeRenderSession.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/AnimationThread.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
7d7016e72431ad7ee595d857a19231c69efeb6de 26-Jan-2011 Xavier Ducrohet <xav@android.com> LayoutLib: return ViewInfo for all merged items + Build init.

android.os.Build is now initialized from the build properties
parsed from the SDK build.prop file.

Change-Id: If16953215ca90fb0beacb51bf405b89a5c8a34fa
ayoutlib/bridge/src/android/graphics/Region_Delegate.java
ayoutlib/bridge/src/android/os/Build_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeRenderSession.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
aaa55d3f45744814907d0809befb49281ced462e 25-Jan-2011 Jeff Brown <jeffbrown@google.com> Merge "New orientation listener." into honeycomb
82b9232565bfececdb643a94cecdd1bd1cb5c643 24-Jan-2011 Xavier Ducrohet <xav@android.com> LayoutLib: Use special view cookie for include-merge case.

All items directly under the <merge> tag now return the view cookie
of the referencing <include> tag using a special class for
easy differentiation in the calling client.

Change-Id: I7a2a4e642be9564f47e256fd1586012497d34792
ayoutlib/bridge/src/android/view/LayoutInflater_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/TestDelegates.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
4519f07e9c6b993fbe7a3d3df24d71d9450a54f1 23-Jan-2011 Jeff Brown <jeffbrown@google.com> New orientation listener.

The objective in this listener is to be more careful about the
signal processing to prevent spurious orientation changes
and to make all of the tweakable factors physically meaningful.

The calibration is defined in terms of time constants and
does not assume a particular discrete sampling rate. This is
useful because it allows us to change the accelerometer sampling
interval if desired without having to change the calibration.
Moreover, the accelerometer sampling interval can vary +/- 20ms
from one sample to the next even in normal circumstances.

Proposed orientation changes are weighted by confidence factors
that vary exponentially in relation to how close the device
is to the ideal orientation change posture (screen is vertical,
angle is exactly at the midpoint of the orientation quadrant,
and no external acceleration beside gravity). When not in an ideal
posture, the device takes proportionally longer to settle into a
new orientation state.

Added a little tool to plot the log output of the
WindowOrientationListener. Check the README for more information
about how to use it.

Change-Id: I787f02d03582ff26367df65eda8d9ce85c5cb343
rientationplot/README.txt
rientationplot/orientationplot.py
4c541b1303b0ee2b9b0d19bee85d3780c5c4c110 24-Jan-2011 Joe Onorato <joeo@google.com> Merge "visibility ("lights out") API." into honeycomb
664644d9e012aa2a28ac96f305b1ce6499ec8806 24-Jan-2011 Joe Onorato <joeo@google.com> visibility ("lights out") API.

1. Views may setSystemUiVisibility() to recommend that
the system chrome (status bar or other UI) show or hide
itself. (This functionality was previously available only
via the FLAG_FULLSCREEN window flag for some SystemUI
implementations.)

2. Views may register a OnSystemUiVisibilityChangedListener
on a view, and find out when the system UI actually
appears or disappears, allowing apps to coordinate the
appearance of their own UI if desired.

Bug: 3241144
Change-Id: Ia1758d94099182d49a1e3688ea2738ae4995b829
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindow.java
02feeb4b2bb6515491cf3dd7ae2b204caac81bae 18-Jan-2011 Josh Stone <cuviper@gmail.com> aapt: Allow raw "%" in unformatted string-arrays

Commit 15fe2cb added format checking for translatable strings, enforcing
the use of positional args. This check can be disabled on <string>
values with translatable="false" or formatted="false". But they didn't
check for those attributes on <string-array>, so some of CM's strings
fail when they're not really format strings, just because they contain
percent signs. (e.g. brightness widget's "Auto/Dim/40%/100%")

So now the formatted/translatable attributes are checked in string-array
too, and we can restore our proper percent signs.

Change-Id: I3478ab7e0b939e61fe0cec20201ac55096264080
apt/ResourceTable.cpp
1240719ae06855d38f1fa159dd73e2109bb9586f 23-Jan-2011 Dianne Hackborn <hackbod@android.com> am bcf2adeb: Merge "aapt: Allow raw "%" in unformatted string-arrays"

* commit 'bcf2adeb10c41becec3baa2bcb8de9212272399a':
aapt: Allow raw "%" in unformatted string-arrays
bf50322a245c430f3b3a1e7ecc299fe0a939daec 18-Jan-2011 Josh Stone <cuviper@gmail.com> aapt: Allow raw "%" in unformatted string-arrays

Commit 15fe2cb added format checking for translatable strings, enforcing
the use of positional args. This check can be disabled on <string>
values with translatable="false" or formatted="false". But they didn't
check for those attributes on <string-array>, so some of CM's strings
fail when they're not really format strings, just because they contain
percent signs. (e.g. brightness widget's "Auto/Dim/40%/100%")

So now the formatted/translatable attributes are checked in string-array
too, and we can restore our proper percent signs.

Change-Id: I3478ab7e0b939e61fe0cec20201ac55096264080
apt/ResourceTable.cpp
8068618ebed021c445db0919843cdb6b9b9e35b5 22-Jan-2011 Jesse Wilson <jessewilson@google.com> Update preloaded-classes for Honeycomb.

We preload classes for two reasons. Classes that are popular can be
shared and can increase the number of apps that can be run concurrently.
Classes that initialize slowly can be initialized at system boot time
by the zygote, decreasing the time to launch a specific app.

To select which classes to preload, I exercised Android's built-in apps
as well as these apps from Market: ESPN score center, Amazon, Flixster,
Twitter, Adobe Reader, Ebay Mobile, Facebook, Solitare (Ken Magic),
Barcode Reader, Google Earth and Square.

A cycle of launching ~460 (non unique) activities in sequence took 9m35s
with the previous preloaded-classes list. The update improves the launch
time of the same sequence to 9m27s: the marginal improvement over the
previous set of preloaded classes is negligible.

http://b/3004763

Change-Id: Ida511ae31eeff6d95d9cb6aacae68b9bb9dd2ebe
reload/Record.java
9d0577ec0c285c055da4c910dcb597fdae5bc5e5 18-Jan-2011 Xavier Ducrohet <xav@android.com> LayoutLib: properly configure ApplicationInfo with targetSdkVersion.

Change-Id: I1bfef890206552843d1a7a8d0564741f2a37494f
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
796992a942f3508a15ee62d34d6c7ec5de045d83 18-Jan-2011 Tor Norbye <tnorbye@google.com> Allow TabHosts to have no children in the tabcontent widget

Replace the code which throws an exception if there are no children in
the FrameLayout that is the tabcontent, with code to add a single
dummy tab.

This makes the TabHost renderable in those scenarios where the real
tabs are added dynamically rather than via XML.

Change-Id: I72442bd7d40eddd875b3507585c1f372fcae3329
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
70552fb92dbc5cb5b1d53b20f92f2a64969a50c4 17-Jan-2011 Xavier Ducrohet <xav@android.com> LayoutLib: Update to use the new RenderResources API.

Change-Id: Ic64eff3f324c4519da89bab10e6d59f0a9341a04
ayoutlib/bridge/src/com/android/ide/common/resources/ResourceResolver.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeXmlPullAttributes.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
87ab45c0fe4db814a7364fce3b88be3a49507e90 17-Jan-2011 Xavier Ducrohet <xav@android.com> Merge "LayoutLib: extract resource resolution into its own class." into honeycomb
fbf097732137a32930d151f7ba6816a5b870c32a 16-Jan-2011 Jeff Brown <jeffbrown@google.com> Support non-rectangular input regions.

This enables the system bar to carve out a region through which
events will be sent to the IME behind it.

Bug: 3238092
Change-Id: I69b855a8d9b5b3ee525266c0861826e53e5b5028
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowSession.java
d1d6fafc7fc63543b10552dadf202dd6fa40fe6b 16-Jan-2011 Xavier Ducrohet <xav@android.com> LayoutLib: extract resource resolution into its own class.

Next step is to make it a jar that will also live in
ADT.
The version in layoutlib will be through a prebuilt jar
file, like ninepatch.

Also add ninepatch.jar inside the layoutlib.jar file.

Change-Id: I4a0cc9f2dd99709de6408386054c6d4abae7c824
ayoutlib/bridge/Android.mk
ayoutlib/bridge/src/com/android/ide/common/resources/ResourceResolver.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeConstants.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeXmlPullAttributes.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
51a7e5447de94791c464cda5cc6ebbf616d73c80 15-Jan-2011 Xavier Ducrohet <xav@android.com> LayoutLib: update logs to use new data bundle

Also change some resource.resolve tags to resource.format

Change-Id: I3f0b0d2eb69a5ec98375e4014a3bb1bfceb8c855
ayoutlib/bridge/src/android/graphics/BitmapFactory.java
ayoutlib/bridge/src/android/graphics/BitmapShader_Delegate.java
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/LinearGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/Matrix_Delegate.java
ayoutlib/bridge/src/android/graphics/NinePatch_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
ayoutlib/bridge/src/android/graphics/Path_Delegate.java
ayoutlib/bridge/src/android/graphics/PorterDuffXfermode_Delegate.java
ayoutlib/bridge/src/android/graphics/RadialGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/Region_Delegate.java
ayoutlib/bridge/src/android/graphics/SweepGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/Typeface_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/GcSnapshot.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
0831b3fae504e8fa94e6b1cc0d4e6c3fccaef231 15-Jan-2011 Xavier Ducrohet <xav@android.com> LayoutLib: Misc fixes.

- Fix resource resolution for framework
resources of type "id" that are dynamically generated
through "@+id/..."

- Proper implementation of setBitmap on a canvas that
already has a bitmap. Transform/clip are kepts but the
existing layers are replaced with the new bitmap

- return a null service for INPUT_METHOD_SERVICE in
Context.getSystemService

Change-Id: I35e46fff50e6492a8995e95427d5f38bc945429d
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/GcSnapshot.java
bbefc8662ac733fd6abfae54d97730506b5e2bd6 14-Jan-2011 Xavier Ducrohet <xav@android.com> LayoutLib: Fix multi-line text rendering.

Stupid indices.

Change-Id: I1dbdd04b8f25a5769de8dc21e6c513cef3e35635
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
918aaa5717fce6081557c82ce1c439b6922737d5 13-Jan-2011 Xavier Ducrohet <xav@android.com> LayoutLib: Use the new log tag constants from LayoutLog

Change-Id: I29dd578ae16405358d3673caf13528be393f0967
ayoutlib/bridge/src/android/graphics/BitmapFactory.java
ayoutlib/bridge/src/android/graphics/BitmapShader_Delegate.java
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/LinearGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/Matrix_Delegate.java
ayoutlib/bridge/src/android/graphics/NinePatch_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
ayoutlib/bridge/src/android/graphics/Path_Delegate.java
ayoutlib/bridge/src/android/graphics/PorterDuffXfermode_Delegate.java
ayoutlib/bridge/src/android/graphics/RadialGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/Region_Delegate.java
ayoutlib/bridge/src/android/graphics/SweepGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/Typeface_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeConstants.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/GcSnapshot.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
310a4d815b693e358d151b9aa2823c5022993f9b 13-Jan-2011 Xavier Ducrohet <xav@android.com> LAyoutLib: Fix build by adding missing IWindowSession implementation.

Change-Id: I0af178d149b782cac3ae0c36fa5fc03f4dc6118b
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowSession.java
1f1957f50fec4bc8d8716793d22bb23ee7fb4a7f 13-Jan-2011 Xavier Ducrohet <xav@android.com> Merge "LayoutLib: move MockView back into its original package." into honeycomb
66a95e4dbeb1c6d33ceb7c320033041e7f8e2aaa 13-Jan-2011 Xavier Ducrohet <xav@android.com> Merge "LayoutLib: Add getViewParent/getViewIndex on RenderSession." into honeycomb
ee592fe4e60e940599fc1ccf43a98eb80961feb8 13-Jan-2011 Xavier Ducrohet <xav@android.com> LayoutLib: move MockView back into its original package.

This is used by Eclipse when the custom view is not found.
It couldn't find the view in the new package either.

We should probably move this logic of creating a mock view
into the layout library instead.

Change-Id: Ifa1a717cddf7004a7719bb4d0798cd53b43273ea
ayoutlib/bridge/src/android/view/SurfaceView.java
ayoutlib/bridge/src/android/webkit/WebView.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/MockView.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/MockView.java
ayoutlib/bridge/src/com/google/android/maps/MapView.java
162ee1ed3d6c8a1e6d9347136e623e3429f6f3f8 13-Jan-2011 Xavier Ducrohet <xav@android.com> LayoutLib: Add getViewParent/getViewIndex on RenderSession.

Change-Id: If91aa837b71a7329f53b1c4190332c2296166940
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeRenderSession.java
cb27d4b2f530033c90432745115b914d8f26c3e7 13-Jan-2011 Xavier Ducrohet <xav@android.com> Merge "LayoutLib: use tags in logs." into honeycomb
56222cfbe9973c518f7e8c9113c614de80b5a4b2 13-Jan-2011 Xavier Ducrohet <xav@android.com> LayoutLib: use tags in logs.

Change-Id: Ib85272249d285ecef409bf063903bcd91514a424
ayoutlib/bridge/src/android/graphics/BitmapFactory.java
ayoutlib/bridge/src/android/graphics/BitmapShader_Delegate.java
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/LinearGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/Matrix_Delegate.java
ayoutlib/bridge/src/android/graphics/NinePatch_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
ayoutlib/bridge/src/android/graphics/Path_Delegate.java
ayoutlib/bridge/src/android/graphics/PorterDuffXfermode_Delegate.java
ayoutlib/bridge/src/android/graphics/RadialGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/Region_Delegate.java
ayoutlib/bridge/src/android/graphics/SweepGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/Typeface_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeConstants.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/AnimationThread.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/GcSnapshot.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
02d2b3ba9ba830a8147db2739613f7bbb2d0fcbf 11-Jan-2011 Christopher Tate <ctate@google.com> API CHANGE: startDrag() now takes "int flags" instead of "boolean localOnly"

There will be, in the future, a flag (View.DRAG_FLAG_GLOBAL) that means
for the drag to be cross-application. For now that flag constant is @hide
and furthermore the server-side implementation strips it, enforcing
local-only drags.

Change-Id: I8db840480ab90e18a5b8ecf29d62b4e6eafd405e
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowSession.java
d7cbf3f72c73ba01293f6676453352ef60df3778 12-Jan-2011 Xavier Ducrohet <xav@android.com> LayoutLib: Log error when style can't be found.

Change-Id: I9a88cdac44a2d31c053e7f0c92a14e69bd82ac83
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
85de0087fc6a65a66d3994f0b8dd3fecd9db2526 12-Jan-2011 Xavier Ducrohet <xav@android.com> Merge "LayoutLib: misc fix." into honeycomb
639e1bd35231a8f71e7acc95fedaf13ace9b65a9 12-Jan-2011 Xavier Ducrohet <xav@android.com> LayoutLib: misc fix.

Change-Id: I0e2eff376d8f8e7682c28ef771b886d5fab5ff65
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeRenderSession.java
6c740cf71e5ce5ba7c8493c545c3a57c57ac7024 11-Jan-2011 Xavier Ducrohet <xav@android.com> LayoutLib: Improve error reporting.

Change-Id: I37cad7e2efb959202960c57b271c55c759867139
ayoutlib/bridge/src/android/graphics/BitmapFactory.java
ayoutlib/bridge/src/android/graphics/NinePatch_Delegate.java
ayoutlib/bridge/src/com/android/internal/util/XmlUtils_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
0de16070935adb8656d646b8c69a362652db7443 11-Jan-2011 Xavier Ducrohet <xav@android.com> LayoutLib: fix XmlUtils.convertValueToInt

It looks like the device implementation of Integer.parseInt
is able to handle converting hexa value > 80000000 while the
desktop VM cannot.

This patch provide a fix for this.

While implementing it and running the TestDegates test I realized
that some delegate methods for Region were mising, so this adds them
too.

Change-Id: Ifee1efd47c8c52adc2f4658ec4fc8bd55adb84b4
ayoutlib/bridge/src/android/graphics/Region_Delegate.java
ayoutlib/bridge/src/com/android/internal/util/XmlUtils_Delegate.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
b3830b8978aa05746912210932e26ebf1836aab5 11-Jan-2011 Xavier Ducrohet <xav@android.com> LayoutLib: only support animator-type animations.

Change-Id: Ia3609fc5d11555190bc323d61a3577144a4692fd
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeConstants.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
eb87b3bb53a8a9e9a246b4b70ea40172e2229c85 11-Jan-2011 Xavier Ducrohet <xav@android.com> LayoutLib: fix some issue with resource resolution.

TypedArray.getResourceId() is not only about id/foo,
it can be any type of resources.

Change-Id: Ia5e147bc078bb349a3fa500a04c596ae44ea34ce
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeConstants.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
419e8296ea76c5f1db1abbaa88b39b538fa42403 10-Jan-2011 Xavier Ducrohet <xav@android.com> LayoutLib: move asserts around.

Change-Id: I6fcfcf2e6fad1d9fa172b9a8c20c72fa2533e7fa
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
c77515e59029580caa68ba7602264ebdfd602daf 10-Jan-2011 Xavier Ducrohet <xav@android.com> LayoutLib: display warning when a resource reference fails to resolve.

Also fixed some warnings where a field hid one from a parent class.

Change-Id: I04ed19ebc49ae0bb0abdb0b25bc1c182fa0db440
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
479101a9b4142d21d42351684bc9bc65ec3471be 09-Jan-2011 Xavier Ducrohet <xav@android.com> LayoutLib: Fix moveChild animation.

Only support animation for view move inside
the same layout.

Also fix animation thread to property support multiple
animation running at once.

Change-Id: I45cad84e7b9f3a4f281c956d32934eb74e807afb
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/AnimationThread.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
b6e53f481294aec2edac5d83d9fde81827c23bd7 08-Jan-2011 Xavier Ducrohet <xav@android.com> LayoutLib: add a few misc implementations.

Change-Id: I586f1d5ecc4f254fc04ea1171eb499d06ac592eb
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/Matrix_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
ayoutlib/bridge/src/android/graphics/Path_Delegate.java
46a329244db12b6f7afc3c9a6409d420241a1058 08-Jan-2011 Xavier Ducrohet <xav@android.com> LayoutLib: finish Typeface and unload them in dispose.

Change-Id: I3a48f84678f62d669d303fc73b041bb3fe5f333b
ayoutlib/bridge/src/android/graphics/Typeface_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
7550ec1d8e526c4ae8c0bb08b06e1b6e799eacec 08-Jan-2011 Xavier Ducrohet <xav@android.com> LayoutLib: remove fade in/out transition on moveChild.

Change-Id: I69a70ecb165f19feca55fc30a3f48ebea896daa3
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
d7cc1244d7f0901688545c8535fa531fbb68669a 08-Jan-2011 Xavier Ducrohet <xav@android.com> LayoutLib: fix moveChild again.

Change-Id: Ib69a06e44be1e332f0f43c36c795c86270cb1b71
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/AnimationThread.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
2b9c38ab62abc8d5b2f956e961087f259caf25ff 07-Jan-2011 Xavier Ducrohet <xav@android.com> LayoutLib: fix animated moveChild.

The child can only be added to the new viewgroup
after it's been removed from the previous one, which
is delayed if there's an animation.

Change-Id: I9123a2670d0d17b3eb6f8f89085ebab8ca2b800f
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/AnimationThread.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
10af738336cb18c5d86710b2961d91e2d3e8d410 07-Jan-2011 Xavier Ducrohet <xav@android.com> LayoutLib: Finish the matrix delegate.

Change-Id: Ife70a4707c113f4a2aed18e303cb2f221c73db2a
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/Matrix_Delegate.java
ayoutlib/bridge/src/android/graphics/Path_Delegate.java
a7cac5e0542779cadf0f5ccf71584e4b4425f7a6 07-Jan-2011 Xavier Ducrohet <xav@android.com> LayoutLib: fix clipping issues.

There were two issues:
- Graphics2D.setClip only works on rectangular shapes.
This means doing a setClip on a non rectangular shape should
basically reset the clip and intersect with the new shape.

- the current clip can be null, so the combineShape method
must handle it.

Change-Id: Id2cd7475e991d8b533ff2e8850cc2c27663f9e52
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/Region_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/GcSnapshot.java
29c288da5260ac221b941e69b960aa2127cbdef0 03-Jan-2011 Xavier Ducrohet <xav@android.com> Cherry-pick 9b53dd9d60a01ddb1307177c296c7b4fd6114753 from master

Change-Id: I670872542feb62c47fe693eb183b19e2eef2b20d
LayoutLib: use new API with log in init method.
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
f31161a0e71c0446283610e9bf7a11e0be12bd5e 05-Jan-2011 Dianne Hackborn <hackbod@google.com> Add new "animator" and "interpolator" resource directories.

First phase, allowing apps to move over to the new names.

Change-Id: Ia16f3e2383e4a6599a0011d0464f0aacb1ce9207
apt/Resource.cpp
9872bf4a2d4ae1e7ded170c8e74d400fe6be9bfb 20-Dec-2010 Shachar Shemesh <lingnu@gmail.com> Normalize output from aapt d

Make the output from aapt dump --values resources and aapt dump xmltree normalized, so that it is unambigously displayed
regardless of the content of the strings.

Change-Id: Ia3bff36c4ee1e9a44f474534e154830948beabdf
apt/XMLNode.cpp
5ef0b9d72451d4bb65f5a76a05738041ed15664a 09-Nov-2010 Johan Redestig <johan.redestig@sonyericsson.com> Make AaptGroupEntry::getMncName accept mnc00

MNC 00 is a valid network code and is used by
some operators, see http://en.wikipedia.org/wiki/Mobile_Network_Code.

Remove the test that checks if atoi returns zero.
The string is validated to contain only numbers
already.

Also discussed here:
https://code.google.com/p/android/issues/detail?id=3657

Change-Id: I3220d7980abe4067c9e7aa4cbc10b5fd0b8c9ea7
apt/AaptAssets.cpp
c226e571fd6ce7db74fce87dbf300a70f8a58c29 03-Jan-2011 Xavier Ducrohet <xav@android.com> LayoutLib: Misc javadoc fixes.

Change-Id: Iabe081c20b361b034c2e66b975b8756c0fdcd3d1
ayoutlib/bridge/src/android/graphics/ComposePathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/CornerPathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/DiscretePathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/PathDashPathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/SumPathEffect_Delegate.java
b44b43b1579486ff7ecd0f7528f17711acdeae98 23-Dec-2010 Xavier Ducrohet <xav@android.com> LayoutLib: Support Region through delegates.

also finish supporting some clip operation
on the canvas.

Change-Id: I743b9e52a7aa6e9340506f1c904cc1cfbf3ff81f
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
ayoutlib/bridge/src/android/graphics/Path_Delegate.java
ayoutlib/bridge/src/android/graphics/Region_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/GcSnapshot.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
d43909c7503e11eb335a452d296a10804bb01fd6 23-Dec-2010 Xavier Ducrohet <xav@android.com> LayoutLib: add support for unsupported drawing modifiers.

DrawFilter, Rasterizer, ColorFilter and MaskFilter
are not supported but we need to provide their
JNI counterparts anyway, to at least display warnings
when they are used.

Also improved the API to query Paint for Shaders
and PathEffects, and clean up some code by
moving asserts into the DelegateManager.

Change-Id: I8942514565d28576d5608c6373bda25d86d42ff2
ayoutlib/bridge/src/android/graphics/BitmapShader_Delegate.java
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
ayoutlib/bridge/src/android/graphics/BlurMaskFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/ColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/ColorMatrixColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/DrawFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/EmbossMaskFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/LayerRasterizer_Delegate.java
ayoutlib/bridge/src/android/graphics/LightingColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/MaskFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/Matrix_Delegate.java
ayoutlib/bridge/src/android/graphics/NinePatch_Delegate.java
ayoutlib/bridge/src/android/graphics/PaintFlagsDrawFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
ayoutlib/bridge/src/android/graphics/Path_Delegate.java
ayoutlib/bridge/src/android/graphics/PorterDuffColorFilter_Delegate.java
ayoutlib/bridge/src/android/graphics/Rasterizer_Delegate.java
ayoutlib/bridge/src/android/graphics/Shader_Delegate.java
ayoutlib/bridge/src/android/graphics/Typeface_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/DelegateManager.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/GcSnapshot.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
20805343296eef04081fee82fd04547f51225fe3 23-Dec-2010 Xavier Ducrohet <xav@android.com> LayoutLib: Fix Canvas layer support with 2+ layers

- When drawing is not clipped to the top layers,
drawing should not happen automatically on all
existing layers. Instead each layer's flags dictate
whether drawing should happen on layers beneath, starting
with the top layer.
- upon restore, the same mechanism is taken. Only blit
a layer into the layer beneath if it was drawn into
using the logic above.

Also fixed:
- saveLayer() does not, in fact, always save matrix
and clip info. The flag dictate this, the same way
it does in save()
- drawing code didn't properly detect the case of drawing
into layers if a save() was called after saveLayer().
Now the code only looks at the layer list which provide
all the needed info (flags mostly), and doesn't rely
on mLocalLayer (which is used during restore only now).
- Properly handle HAS_ALPHA_LAYER_SAVE_FLAG (or lack
thereof) when creating the BufferedImage for the layer.

Change-Id: I2fbbcc0f5d3a3dd208763705bc23e6658fd4e573
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/GcSnapshot.java
b1da1afa7418960b650780250bbd34c81af61aa3 22-Dec-2010 Xavier Ducrohet <xav@android.com> LayoutLib: improve bitmap support.

Change-Id: I703c2bdf51380b54fd5c20b08d3bc74833d9bc6e
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/NinePatch_Delegate.java
ayoutlib/bridge/src/android/graphics/PorterDuffXfermode_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/GcSnapshot.java
d38e776a3cc8cb53945cbebafbe6f6c2e3501fa5 21-Dec-2010 Xavier Ducrohet <xav@android.com> LayoutLib: support for layers.

Layers require that drawing methods potentially
draw in more than one bitmaps.

To handle this this patch offers the following:
- move all drawing methods to use Drawable
- Drawables are now handled by GcSnapshot since
its the one handling the layers
- moved Canvas_Delegate.createCustomGraphics to
GcSnapshot which does not expose the Graphics2D
objects anymore so its draw() methods are the only
way to draw.
- handles creating layers in GcSnapshot.save() and
blitting them in restore()

Other changes:
- Clean up the create/save API in GcSnapshot
- Fixed drawing bitmaps with alpha and other
composite modes.

Change-Id: I1e230087493d044a10de71f4b6d29083e3f3bf64
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/ComposePathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/ComposeShader_Delegate.java
ayoutlib/bridge/src/android/graphics/Matrix_Delegate.java
ayoutlib/bridge/src/android/graphics/NinePatch_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeRenderSession.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/GcSnapshot.java
63fd87113cea6abec97a6cd966e090e9b590fc3b 21-Dec-2010 Xavier Ducrohet <xav@android.com> LayoutLib: Misc rendering fixes.

- always set up the stroke. Paint may not have the proper
style when drawing lines. stroke should still be setup.

- Fixed vertical linear gradient. Old code generated
a gradient ratio of NaN

- Fixed alpha rendering when using shaders. In that
case the alpha channel from the paint color should be
used in conjunction with the shader.

- Fixed miter limit. Java expects the value to be multiplied
by the stroke width

- Fixed support for drawing ALPHA_8 bitmaps. Java2D doesn't
have bitmaps with only alpha channels, so we keep using
ARGB bitmaps but when drawing them into a bitmap we erase
the color information.

Change-Id: I4f04341fc843e3f7dadd1fdbf709b11a4f1e24b9
ayoutlib/bridge/src/android/graphics/AvoidXfermode_Delegate.java
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/DashPathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/LinearGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
ayoutlib/bridge/src/android/graphics/PixelXorXfermode_Delegate.java
ayoutlib/bridge/src/android/graphics/PorterDuffXfermode_Delegate.java
ayoutlib/bridge/src/android/graphics/Xfermode_Delegate.java
d348b6eaa98e23cb38d90906df109aaa2d20ea7f 20-Dec-2010 Xavier Ducrohet <xav@android.com> LayoutLib: support for Path and BitmapShader using delegates.

Also created delegates for all missing shader, xfermode
and patheffect classes. Moved the logic of the xfermode,
and patheffects that was in Canvas_Delegate into the
xfermode/patheffect classes, and added support (in all
3 clases) for knowing if the shader/xfermode/patheffect
is actually supported or not. Make use of fidelityWarning
in LayoutLog if they are not.
ayoutlib/bridge/src/android/graphics/AvoidXfermode_Delegate.java
ayoutlib/bridge/src/android/graphics/BitmapShader_Delegate.java
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/ComposePathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/ComposeShader_Delegate.java
ayoutlib/bridge/src/android/graphics/CornerPathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/DashPathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/DiscretePathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/Gradient_Delegate.java
ayoutlib/bridge/src/android/graphics/LinearGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/Matrix_Delegate.java
ayoutlib/bridge/src/android/graphics/NinePatch_Delegate.java
ayoutlib/bridge/src/android/graphics/Path.java
ayoutlib/bridge/src/android/graphics/PathDashPathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/PathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/Path_Delegate.java
ayoutlib/bridge/src/android/graphics/PixelXorXfermode_Delegate.java
ayoutlib/bridge/src/android/graphics/PorterDuffXfermode_Delegate.java
ayoutlib/bridge/src/android/graphics/RadialGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/Shader_Delegate.java
ayoutlib/bridge/src/android/graphics/SumPathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/SweepGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/Xfermode_Delegate.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
19a021038f2f4683dddef651543d7298f5bd7218 16-Dec-2010 Xavier Ducrohet <xav@android.com> LayoutLib: Update layoutlib with revised API.

Change-Id: I78929df621f48e85d9cbefe1f5590f9ce99bbaff
ayoutlib/bridge/src/android/app/Fragment_Delegate.java
ayoutlib/bridge/src/android/graphics/BitmapFactory.java
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeLayoutScene.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeRenderSession.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParser.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeXmlPullAttributes.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/AnimationThread.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/LayoutSceneImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/PlayAnimationThread.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
f890fab5a6715548e520a6f010a3bfe7607ce56e 20-Dec-2010 Patrick Dubroy <dubroy@google.com> Ensure bitmaps aren't freed while referenced from a display list

Also removes the reference queue finalizers. They aren't necessary
anymore now that Bitmaps are allocated in the heap.
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
cfdc784b6cdcbbb2bf2ba4d53d9a9eb2c37278a3 15-Dec-2010 Xavier Ducrohet <xav@android.com> LayoutLib: replace the stack of Graphics2D with custom snapshots.

The first step is to allow the canvas to save only the matrix or
the clip. Previously, since the graphics2D were created completely
new on each save, everything was saved.

Also allows to set transform/clip on the Canvas when no bitmap
has been set (and therefore no Graphics2D exists).

This is required by BitmapFactory.

Change-Id: I37eff6dde1ca708d58ba317b40e9b3236f3ef3d0
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/Matrix_Delegate.java
ayoutlib/bridge/src/android/graphics/NinePatch_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/GcSnapshot.java
22ff4ef09fc80a85992d8a911fff03a4712187e7 15-Dec-2010 Patrick Dubroy <dubroy@google.com> Fix build break due to additional arg in Bitmap ctor
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
21534cfc78bacc2e76a84fa198605ee2a831de84 15-Dec-2010 Xavier Ducrohet <xav@android.com> Merge "LayoutLib: Fix gradient rendering."
d9c64369cf9be6568af2d79c35fb470cc261730d 14-Dec-2010 Xavier Ducrohet <xav@android.com> LayoutLib: Fix gradient rendering.

- fully support canvas transform
- fully support shader local transform
- fix repeat/mirror issue in the negative values.

Change-Id: Ib2aa7ade1c2702da4364cbda9a5a3ae72c1d3174
ayoutlib/bridge/src/android/graphics/Gradient_Delegate.java
ayoutlib/bridge/src/android/graphics/LinearGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/Matrix_Delegate.java
ayoutlib/bridge/src/android/graphics/RadialGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/Shader_Delegate.java
ayoutlib/bridge/src/android/graphics/SweepGradient_Delegate.java
dcc995c72fffcb37ede82c1a040e2ae93fdcb065 14-Dec-2010 Xavier Ducrohet <xav@android.com> Merge "LayoutLib: Misc fix to rendering."
d28378c903cf800882889619c7771f060d85b712 14-Dec-2010 Xavier Ducrohet <xav@android.com> Merge "LayoutLib: Use the new ninepatch API to suppor density."
f1416e4dffb0874f163febfa12f2648eac0c3a77 14-Dec-2010 Xavier Ducrohet <xav@android.com> LayoutLib: Misc fix to rendering.

Change-Id: Ia73fab1be3c01e6ce5791973e636e45a0f75ceb6
ayoutlib/bridge/src/android/graphics/BitmapFactory.java
ayoutlib/bridge/src/android/graphics/Matrix_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/LayoutSceneImpl.java
00db2213bf82c04610137a36e9190003f712952c 14-Dec-2010 Dan Morrill <morrildl@google.com> am 0ccc8b73: am 5441a9ff: Merge "GL texture filtering changed from AND to OR, so rename tag name to match. (<uses-foo> == AND, <supports-foo> == OR, e.g. uses-feature vs. supports-screen)." into gingerbread

* commit '0ccc8b7345eac0b507c221be47e55926cbda8957':
GL texture filtering changed from AND to OR, so rename tag name to match. (<uses-foo> == AND, <supports-foo> == OR, e.g. uses-feature vs. supports-screen).
0ccc8b7345eac0b507c221be47e55926cbda8957 14-Dec-2010 Dan Morrill <morrildl@google.com> am 5441a9ff: Merge "GL texture filtering changed from AND to OR, so rename tag name to match. (<uses-foo> == AND, <supports-foo> == OR, e.g. uses-feature vs. supports-screen)." into gingerbread

* commit '5441a9ff2128cf2c5088974c74b79d2d1734f755':
GL texture filtering changed from AND to OR, so rename tag name to match. (<uses-foo> == AND, <supports-foo> == OR, e.g. uses-feature vs. supports-screen).
90c6b7e639921e264ac65699439578bcbdbf583a 14-Dec-2010 Xavier Ducrohet <xav@android.com> LayoutLib: Use the new ninepatch API to suppor density.

LayoutLib now compiles against a prebuilt of ninepatch.

Change-Id: I0a1ca60af90933c171ab3aa456b47f0329df2f55
ayoutlib/bridge/.classpath
ayoutlib/bridge/Android.mk
ayoutlib/bridge/src/android/graphics/NinePatch_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
8da36314fd76ae6fe4549773ad00dc1883cb6bff 14-Dec-2010 Xavier Ducrohet <xav@android.com> LayoutLib: implement more of Canvas/Paint.

Change-Id: I8e2a7a3bddbce08db5eb641b5075bedd75f7be27
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
096b67f65510a5076f1f845f9e19dda2b30ea6bb 14-Dec-2010 Dan Morrill <morrildl@google.com> GL texture filtering changed from AND to OR, so rename tag name to match.
(<uses-foo> == AND, <supports-foo> == OR, e.g. uses-feature vs.
supports-screen).

Change-Id: I0f20aed7f95169d9adfc7fe128191eb6e49d116f
apt/Command.cpp
6735cffc1ddd18bdd6a46011e42d89204435361a 11-Dec-2010 Xavier Ducrohet <xav@android.com> LayoutLib: parsed resources were always set as platform res.

I broke this last week when adding the support for
layout params in moveChild.

Change-Id: Iaaf9b9f685ca301638d4037e98428ea0a00279c9
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/LayoutSceneImpl.java
ffb42f6c5043de226f02318a1311669d35a90711 10-Dec-2010 Xavier Ducrohet <xav@android.com> LayoutLib: Adapt to new LayoutLib

API now uses ResourceValue instead of IResourceValue
Capabilities renamed Capability

Change-Id: Ia5d2b6c8d536e020a1f5496fb2285f67fc4346c4
ayoutlib/bridge/src/android/graphics/BitmapFactory.java
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeXmlPullAttributes.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/LayoutSceneImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/TempResourceValue.java
ddb76c4644756b31be948d70aaa8ee541dd94999 24-Nov-2010 Kenny Root <kroot@google.com> Change assets to use 64-bit API

The asset system and supporting libraries were using off_t instead of
off64_t to access files larger than 2GB (32-bit signed). This change
replaces all off_t with off64_t and lseek64.

There is a new utils/Compat.h added for Mac OS compatibility.

Also fixed some size-related compiler warnings.

Bug: 3205336
Change-Id: I9097b3cb7a602e811fe52f245939d8975da55e9e
apt/Package.cpp
apt/Resource.cpp
apt/StringPool.cpp
8d74c978bbf3da4095ef8e40c005a6fdf0637071 07-Dec-2010 Xavier Ducrohet <xav@android.com> LayoutLib: explicitely override PropertyValuesHolder native code.

Change-Id: Ic7dd9efc990d01b20db144117cb11eb130349048
ayoutlib/bridge/src/android/animation/PropertyValuesHolder_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/LayoutSceneImpl.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
864f33a9f89a75d1395bca885bd191507cca4af6 06-Dec-2010 Xavier Ducrohet <xav@android.com> Merge "LayoutLib: Update font object when text info changes in paint delegate"
b5ddf041d61f9346a4055b5bc5d51bd812b2ec28 06-Dec-2010 Xavier Ducrohet <xav@android.com> LayoutLib: Update font object when text info changes in paint delegate

Change-Id: I6ff7e1ec4513918256aee99acc5ea298a5fdb8a8
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
168677c9e2f8438ec5687e3c6b0e41b986c5b230 06-Dec-2010 Xavier Ducrohet <xav@android.com> LayoutLib: Fix logging.

- Use the new logging API
- remove log object reference everywhere but in Bridge
- all logging code accesses Bridge.getLog()
- prepareScene sets the current scene log object in Bridge.

Change-Id: Ib0517ccd6454c4baf218b6baa978a126f91671e7
ayoutlib/bridge/src/android/graphics/BitmapFactory.java
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/NinePatch_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/AnimationThread.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/LayoutSceneImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/PlayAnimationThread.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
e1179ea065392485a6e3bf1e28a1242179cd48b0 03-Dec-2010 Xavier Ducrohet <xav@android.com> LayoutLib: Animation support in insert/move/removeChild actions.

Also update to use the new SceneResult API.

Change-Id: Iaac6df0c250fbefc8758310c37e0cf47cae6875d
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/AnimationThread.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/LayoutSceneImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/PlayAnimationThread.java
01811aa86279af1b341a4fff344d66c0ebdd63da 03-Dec-2010 Xavier Ducrohet <xav@android.com> LayoutLib: Create new layoutparams when moving a child

Change-Id: Ie2183490e8d26ef194030a9d87fe7745f24f1d83
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeLayoutScene.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeLayoutParamsMapAttributes.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParser.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/LayoutSceneImpl.java
3c78f2de353df3e287444dd9f9fbab3bd4456217 03-Dec-2010 Xavier Ducrohet <xav@android.com> LayoutLib: Update to use the new moveChild API.

Also, return supported capabilities.

Change-Id: I824120d50f2865a667dc6c81d455ae19321966b6
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeLayoutScene.java
9065504a63d6bf37bf621191fda1d1fe4da76ee3 02-Dec-2010 Jeff Brown <jeffbrown@google.com> Improve support for external keyboards.

Use Vendor ID, Product ID and optionally the Version to
locate keymaps and configuration files for external devices.

Moved virtual key definition parsing to native code so that
EventHub can identify touch screens with virtual keys and load
the appropriate key layout file.

Cleaned up a lot of old code in EventHub.

Fixed a regression in ViewRoot's fallback event handling.

Fixed a minor bug in FileMap that caused it to try to munmap
or close invalid handled when released if the attempt to map
the file failed.

Added a couple of new String8 conveniences for formatting strings.

Modified Tokenizer to fall back to open+read when mmap fails since
we can't mmap sysfs files as needed to open the virtual key
definition files in /sys/board_properties/.

Change-Id: I6ca5e5f9547619fd082ddac47e87ce185da69ee6
alidatekeymaps/Main.cpp
c8aec064f9f304c88f61c8c1aa3d60521b92177a 02-Dec-2010 Xavier Ducrohet <xav@android.com> Layoutlib: update with new add/movechild API.

Change-Id: I33e3a07cd7db7fe996d1f52b84b4b3bf21065a51
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeLayoutScene.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/AnimationThread.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/LayoutSceneImpl.java
9eb6d412af6859b6c0bb969c76bbfc48eec8fd4b 01-Dec-2010 Xavier Ducrohet <xav@android.com> LayoutLib: Reuse canvas when possible.

Also moved the prepare/cleanupThread methods to Bridge
as they are not really specific to the scene anymore.

Change-Id: I7b93821913ce4d2fcbe3d8be489be6533ff87e57
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeLayoutScene.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/AnimationThread.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/LayoutSceneImpl.java
c14e7dd8ba15f517a5402ad802377b1d60784416 02-Dec-2010 Xavier Ducrohet <xav@android.com> LayoutLib: implement insert/move/removeChild.

Change-Id: I1c05ff4dc80e5ee4ea67d322acaf9c94276f84e1
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeLayoutScene.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/AnimationThread.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/LayoutSceneImpl.java
30c77d689ead610685a5e0bd4078b44eb89360ff 30-Nov-2010 Xavier Ducrohet <xav@android.com> LayoutLib: get AWT image from new image factory.

Change-Id: Ib760af8a77fefac2571b8b4e48b4728e158aab2f
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/LayoutSceneImpl.java
2eea6fab1cbb0a5c8f913491c2d622c904759893 24-Nov-2010 Xavier Ducrohet <xav@android.com> Layoutlib: Animation support.

New locking mechanims to prevent concurrent renderings.

There's now a thread specific prepareThread() method (only
prepares the looper) and its associated cleanupThread().

For the rendering itself, acquire must be called before doing
any type of Android specific work on the scene (inflate or rendering)
After instantiation, init() must be called, which also acts as acquire.

Added a lot of checks to make sure method aren't called without
acquire or if scenes try to be rendered while acquire was called
from the same thread but on another scene.

Animation implementation:
- Handler delegate to use our own queue (since the animation runs
through handler messages). This uses a callback to process
the message. This callback is per-thread and only used in
animation threads.
- SystemClock delegate to provide clock implementation.
- AnimationThread to handle playing the animation and calling back
to the animation listener.

Change-Id: Ia39aba7ed476759df1da3200e413fe3e92590d15
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/Matrix_Delegate.java
ayoutlib/bridge/src/android/os/Handler_Delegate.java
ayoutlib/bridge/src/android/os/SystemClock_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeLayoutScene.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/AnimationThread.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/LayoutSceneImpl.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
c97e6f9f35290c078d6acfaa39c3790a327e5a17 24-Nov-2010 Jeff Brown <jeffbrown@google.com> Merge "Fix build on Linux due to different strrchr prototype."
ab841350f99fad48c1bdeb0f62c1713fcfcbf437 24-Nov-2010 Jeff Brown <jeffbrown@google.com> Fix build on Linux due to different strrchr prototype.

It seems Linux host build has a fancy strrchr overload that preserves
constness. That's nice but it broke this.

Change-Id: I3c9b57b9ce9abc5d334d1e7b2498a3248bd20a6a
alidatekeymaps/Main.cpp
42e514b0d108e1778189c3504c6e6310e1c8008d 24-Nov-2010 Jeff Brown <jeffbrown@google.com> Merge "Port Emulator keymaps."
061cf758841dfc972be3f0ec4857762fafe49aa6 19-Nov-2010 Jeff Brown <jeffbrown@google.com> Port Emulator keymaps.

Also added a validation tool for keymaps (not currently integrated
into the build system but getting there).

This change brings back Android.mk with the intent that it will
be used to validate keymaps in a later change.

Added some missing keys that are present on phones.

Bug: 3215210
Bug: 3225421
Change-Id: Id817c6e2215164616942c51a42752915d9ceacd3
alidatekeymaps/Android.mk
alidatekeymaps/Main.cpp
2d56b273ef6e2984a4e8914fb67772b173d0a154 23-Nov-2010 Xavier Ducrohet <xav@android.com> Layoutlib: use default nine patch classes.

Move away from using our own implementation of NinePatchDrawable.
Now use native delegate for a few methods of NinePatch.

The byte[] used to describe the 9-patch chunk is entirely controlled
by the delegate. Therefore, while the default version (JNI) use the
array as a representation of a C struct, this version uses the array
as a serialized version of NinePatchChunk.

A cache mechanism using SoftReferences allows us to not deserialize
the array every time rendering needs to access the chunk itself.

The Bridge-level cache mechanism for bitmaps and nine-patches as
changed. Since the new nine-patches doesn't hold the bitmap
data anymore (it's stored in a normal Android bitmap which
is cached itself through the cache), then the nine-patch cache
has been changed to only contain the nine patch chunk.

Also initialize the canvas with the display metrics to prepare
for correct scaling when density of the assets don't match the target
density.

Still to come: actual density support in the 9-patch drawing code.

Change-Id: Ibefcccf4432e1986e8436e0c41a0107741593536
ayoutlib/bridge/src/android/graphics/BitmapFactory.java
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/NinePatch_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/NinePatchDrawable.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/LayoutSceneImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/NinePatchTest.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
7c71023b7f5aafac09bd2f0425fccb5fe2d22b27 23-Nov-2010 Kenny Root <kroot@google.com> Add knowledge of mipmap to aapt

New mipmap drawable type that does not get filtered according to
configuration. Useful for things that get built as part of the system.

Change-Id: I556033d065e504079271dce79c23c90d3c387ce4
apt/Package.cpp
apt/Resource.cpp
apt/ResourceTable.cpp
apt/ResourceTable.h
9223b6737c56619c02125ce988bb21fc4fde264b 20-Nov-2010 Xavier Ducrohet <xav@android.com> Layoutlib: support for editing embedded layouts.

When Resources.getLayout(int) is called to return a parser
for an embedded layout, this queries the current parser for
a custom parser (Eclipse will provide one on top of the current
XML model being edited)

Change-Id: Ia9e837358f67daed0a835e1b3f4f50c0516ceee9
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParser.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/Stack.java
fb25cae1916da1caf206ede879f07a4f8b61cfec 19-Nov-2010 Xavier Ducrohet <xav@android.com> LayoutLib: use the new expand API.

Change-Id: I248de70ebe97aa6fb1cbcb5b6572a4a46c5ca1ba
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/LayoutSceneImpl.java
d73868859bf71bd98496157b94e21ef95fadd495 19-Nov-2010 Xavier Ducrohet <xav@android.com> LayoutLib: fix some tests

Change-Id: Iacd641e2fac663ff12fe2a08ba093c4eaa2e8862
ayoutlib/bridge/src/android/graphics/Matrix_Delegate.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/TestClassReplacement.java
55acd60be3c027c224a74290df7bedc1a80c669f 19-Nov-2010 Xavier Ducrohet <xav@android.com> Layoutlib: support viewkey in include nodes.

When an include tag is parsed, the custom bridge
code never has access to both parsers at the same
time.
The child parser is created out of an in (representing
the layout id), and the code inflating the content of
the include layout doesn't see the parent parser either.

This changeset adds a parser stack in the BridgeContext
in order to allow access to the parent parser when setting
the viewkey. This is only used if the current parser depth
is 1 (top node), as we only want to set the include
node to the top node of the included layout.

Change-Id: I2ac3b72a0c84a269d9019f44f98cbc0b615ab959
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParser.java
755b46d597b8e8a616d53e2a7dfea295dd78d713 19-Nov-2010 Xavier Ducrohet <xav@android.com> Layoutlib: use int[] wrapper to use as map keys.

This fixes the SlidingDrawer that failed to load.

For some reason, in case of the SlidingDrawer, when the constructor
uses android.R.styleable.SlidingDrawer it's the same values but not
the same instance as the array read from android.R through reflection.

So what works for all other widgets, and has worked since the very first
layoutlib isn't working anymore, and we'll now have to use a wrapper
similarly to what we use in ADT in the project callback.

We should probably provide a single int[] wrapper class in layoutlib
API for all to use.

Change-Id: I4d7d038540f8a24541a588696f1059a020b589e5
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
5a09488a158b669577cd8eb557ce4feb62929e75 19-Nov-2010 Xavier Ducrohet <xav@android.com> Layoutlib: Properly dispose of bitmap delegate.

This is done by initializing the android.util.Finalizers that's
reponsible for calling out to the native bitmap destructor.
Also implemented the native bitmap destructor

Also fix Bridge by removing obsolete API methods, and removing
some unneeded synchronized blocks now that the whole rendering
(and scene creation) is protected by a synchronized on the bridge
object anyway.

Change-Id: Ie1792da6db354836542dfc11f457fe4a6d78ddfb
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/DelegateManager.java
4d9e32f07c2d7aef47c82449371b0bf362e3647a 18-Nov-2010 Xavier Ducrohet <xav@android.com> Layoutlib: support XML based ColorStateList.

This fixes the rendering of the TabHost in Eclipse.

Change-Id: I333c4d65b18df76871e24a04f0a888ae42ba40ef
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
9e27936e4ab227126e48c4d92a4352dad987e672 12-Nov-2010 Xavier Ducrohet <xav@android.com> Layoutlib: Fix alpha support in Canvas/Paint.

Change-Id: I359098cfc542a7a0b7d99478c0eb13587b4439d0
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
cf52390eee4c9ae792ef63af1528b2e71b33a04f 12-Nov-2010 Xavier Ducrohet <xav@android.com> Layoutlib: Fill the default prop value map for View objects.

Change-Id: I35426ced17a10eb092fac2153276f1202692876f
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeLayoutScene.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/LayoutSceneImpl.java
135f80dcb4a1fead062714a8f6fdcef288fdddd8 12-Nov-2010 Tor Norbye <tnorbye@google.com> Fix fill color alpha in layoutlib

new Color(int) ignores the upper 8 bits - it creates a color without
an alpha channel. In order to pass in rgba we have to use a different
constructor, new Color(int,true).

(In the layout library API we should also specify that the custom
color, if specified, needs to include an alpha, or in particular add
in 0xFF<<24 if the color is opaque.)

Change-Id: I1c44caed8a5780e61b1c799f3b45bef3eb7bc97b
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/LayoutSceneImpl.java
071dee288ca726c7c15754c2559403b9cbf950bd 11-Nov-2010 Xavier Ducrohet <xav@android.com> Misc fix in layoutlib bridge + View.isIneditMode as delegate.

Change-Id: Ideab29167e933203da99d4270cebcb777726201f
ayoutlib/bridge/src/android/view/View_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindow.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/TempResourceValue.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/TestDelegates.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/TestNativeDelegate.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
c2e9651bf386a1f7bf7fc706cf5424950570470c 10-Nov-2010 Xavier Ducrohet <xav@android.com> Layoutlib: New bridge implementation using the new API 5.

Since the new API prepare for stateful layoutlib, major
reorganization of the code.

New "android" sub-package for all extended android classes.
Also moved BridgeInflater in here so that all extended classes
are in this package. Only delegates and classes replacing
renamed classes are in their original android.* packages.
Also created full file for the empty implementations of
IWindow and IWindowSession.
New "impl" for the dirty work implementation.
Main package contains the basic implementation of the API.

Most of the code that was in Bridge is now in .impl.LayoutSceneImpl,
with the main init/inflate/render code split into the contrustrutor,
inflate() and render().

Change-Id: Ie15b15e5a1b2388cd6ef82e518345b1fc02ec981
ayoutlib/bridge/.classpath
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/DashPathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/LinearGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/Matrix_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
ayoutlib/bridge/src/android/graphics/PathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/PorterDuffXfermode_Delegate.java
ayoutlib/bridge/src/android/graphics/RadialGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/Shader_Delegate.java
ayoutlib/bridge/src/android/graphics/SweepGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/Typeface_Delegate.java
ayoutlib/bridge/src/android/graphics/Xfermode_Delegate.java
ayoutlib/bridge/src/android/util/FloatMath_Delegate.java
ayoutlib/bridge/src/android/view/BridgeInflater.java
ayoutlib/bridge/src/android/view/SurfaceView.java
ayoutlib/bridge/src/android/webkit/WebView.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeAssetManager.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContentProvider.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContentResolver.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeLayoutScene.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeResources.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeTypedArray.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeXmlBlockParser.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeXmlPullAttributes.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/DelegateManager.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/FontLoader.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/LayoutResult.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/MockView.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/NinePatchDrawable.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/ResourceHelper.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/ResourceValue.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeAssetManager.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContentProvider.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContentResolver.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindow.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowSession.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParser.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeXmlPullAttributes.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/MockView.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/android/NinePatchDrawable.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/DelegateManager.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/FontLoader.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/LayoutSceneImpl.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/impl/TempResourceValue.java
ayoutlib/bridge/src/com/google/android/maps/MapView.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/BridgeXmlBlockParserTest.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/android/BridgeXmlBlockParserTest.java
7f7752439543db6e13c599bdd10cb10254c24528 05-Nov-2010 Xavier Ducrohet <xav@android.com> Layoutlib: Load fragments

This change does the following:
- Make the bridge context extend Activity instead of Context
so that it can act as a view factory. This is needed because
the Activity is used as factory for Fragment objects.

- Override the default Fragment.instantiate(...) method
through a delegate. This is done to load the Fragment
classes located in the project (similar to custom views).

Change-Id: If62e7c9ff2b7585677077ad825aa1c3591d1b5e0
ayoutlib/bridge/src/android/app/Fragment_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
e0c763f54f5848a2513990fe37791b6f60ef7760 05-Nov-2010 Xavier Ducrohet <xav@android.com> Layoutlib: more text drawing.

Change-Id: I32f46d23e746b095be0577a53b61567a868f0b8a
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
82849afd719037968ddcb58e14cec8685f702216 07-Nov-2010 Jean-Baptiste Queru <jbq@google.com> am 3442611e: am 5580e44c: Merge "Support changing style parent in overlays"

* commit '3442611ee11b2987c83054fe3c7ed5521f27f052':
Support changing style parent in overlays
41a4833bf2603d4194e470f783531581dd532545 07-Nov-2010 Scott Main <smain@google.com> am 4da6efc8: am 46151652: Merge "fix xlarge support in aapt for gingerbread" into gingerbread

* commit '4da6efc8a3ecfcf46a8988ad1d277ae00ed1f58c':
fix xlarge support in aapt for gingerbread
3442611ee11b2987c83054fe3c7ed5521f27f052 05-Nov-2010 Jean-Baptiste Queru <jbq@google.com> am 5580e44c: Merge "Support changing style parent in overlays"

* commit '5580e44c250944f5cd011b2682eea5cc2de9706c':
Support changing style parent in overlays
4da6efc8a3ecfcf46a8988ad1d277ae00ed1f58c 05-Nov-2010 Scott Main <smain@google.com> am 46151652: Merge "fix xlarge support in aapt for gingerbread" into gingerbread

* commit '46151652b8dc562f4a3332e1d12fa799e3638ea8':
fix xlarge support in aapt for gingerbread
d58fb97ddf052b3ceac921ac7e936af990392b2c 05-Nov-2010 Scott Main <smain@google.com> fix xlarge support in aapt for gingerbread

Change-Id: I4d8872fb839a6eadc538055215d4455af328846c
apt/Command.cpp
5580e44c250944f5cd011b2682eea5cc2de9706c 04-Nov-2010 Jean-Baptiste Queru <jbq@google.com> Merge "Support changing style parent in overlays"
9c05b3972872d83c60bf5afe1a05f08c7753cd9a 04-Nov-2010 Xavier Ducrohet <xav@android.com> Layoutlib native delegate: FloatMath.

While the difference is pretty minor since it's a small class,
the point is that the unit test will ensure that we detect
new methods added to FloatMath more easily.

Change-Id: Ia8bfee231cc4ae0cfeb18692be86d02649c187d5
ayoutlib/bridge/src/android/util/FloatMath.java
ayoutlib/bridge/src/android/util/FloatMath_Delegate.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
4b606da91d2d76dd90a427cb3e37ea7df655e8e0 04-Nov-2010 Xavier Ducrohet <xav@android.com> Layoutlib native delegate: path effects and xfermode.

Change-Id: Iafaac6dbaf452e2dba3e77c801089dad33ac4ea9
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/DashPathEffect.java
ayoutlib/bridge/src/android/graphics/DashPathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/PathEffect_Delegate.java
ayoutlib/bridge/src/android/graphics/PorterDuffXfermode.java
ayoutlib/bridge/src/android/graphics/PorterDuffXfermode_Delegate.java
ayoutlib/bridge/src/android/graphics/Xfermode_Delegate.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
251d2e99245095369b52d891a660b2ed270f02e0 02-Nov-2010 Xavier Ducrohet <xav@android.com> Layoutlib native delegate: primitive shapes and shaders

Change-Id: Id2b0c6231589e82d8e96c9f019042eba348a6583
ayoutlib/bridge/src/android/graphics/BitmapShader.java
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/ComposeShader.java
ayoutlib/bridge/src/android/graphics/GradientShader.java
ayoutlib/bridge/src/android/graphics/Gradient_Delegate.java
ayoutlib/bridge/src/android/graphics/LinearGradient.java
ayoutlib/bridge/src/android/graphics/LinearGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/Matrix_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
ayoutlib/bridge/src/android/graphics/RadialGradient.java
ayoutlib/bridge/src/android/graphics/RadialGradient_Delegate.java
ayoutlib/bridge/src/android/graphics/Shader.java
ayoutlib/bridge/src/android/graphics/Shader_Delegate.java
ayoutlib/bridge/src/android/graphics/SweepGradient.java
ayoutlib/bridge/src/android/graphics/SweepGradient_Delegate.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
abff653ce84e5079f35afab008c906063b0b2b6c 02-Nov-2010 Xavier Ducrohet <xav@android.com> More layout Canvas/Paint implementation.

Change-Id: Ib3da4a4b2259dc7c53b24444b5c0b78cee15d387
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
5802deabf06a0754c36e990ce2af7b5c8727e543 02-Nov-2010 Xavier Ducrohet <xav@android.com> More implementation of the layoutlib Paint/Canvas delegates.

Change-Id: I0c0029b9a679af4ae0178488f70b2a90292ea42d
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/Matrix_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
9f63ff263b0a97f0fa63e97136c18f6abccbfc68 28-Oct-2010 Xavier Ducrohet <xav@android.com> Layoutlib Canvas and Paint implementation through native delegates

Also fix native delegate generation to put "this" parameter even
for methods that don't have any parameters.

Change-Id: I5dd0c505871370ff7b4cda16de84a5b3ae438f73
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
ayoutlib/bridge/src/android/graphics/Canvas.java
ayoutlib/bridge/src/android/graphics/Canvas_Delegate.java
ayoutlib/bridge/src/android/graphics/Paint.java
ayoutlib/bridge/src/android/graphics/Paint_Delegate.java
ayoutlib/bridge/src/android/graphics/Typeface_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/NinePatchDrawable.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/AndroidGraphicsTests.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/TestNativeDelegate.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
ayoutlib/create/src/com/android/tools/layoutlib/create/DelegateMethodAdapter.java
5de11a18e9151e6bc9b3e81cf31fc43dc63dffbf 30-Oct-2010 Xavier Ducrohet <xav@android.com> Implement the layoutlib Bitmap through a native delegate.

This does not implement all the native methods of the
android.graphics.Bitmap class, only what's needed to draw an
ImageView object. The rest will be implemented after Canvas and
Paint have been moved to the native delegate.

Change-Id: Ia0c3b2cafa03871c298deaef5817a25ac1c35521
ayoutlib/bridge/src/android/graphics/Bitmap.java
ayoutlib/bridge/src/android/graphics/BitmapFactory.java
ayoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
ayoutlib/bridge/src/android/graphics/Canvas.java
ayoutlib/bridge/src/android/graphics/Matrix_Delegate.java
ayoutlib/bridge/src/android/graphics/Typeface_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/ResourceHelper.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/TestNativeDelegate.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
65dc3974a116fecefd2273fac1fd5127c02b2cd9 28-Oct-2010 Xavier Ducrohet <xav@android.com> Fix the layoutlib_bridge .classpath to not use the full layoutlib

Instead this uses the actual output of layoutlib_create, which is
all the modified classes before the content of the bridge is added
to form layoutlib.

Change-Id: I22755f38800cd69206834ff9594a99cb0c1d2139
ayoutlib/bridge/.classpath
5e7ed8da0d990cbc55071d16b5db270231ff0c89 28-Oct-2010 Xavier Ducrohet <xav@android.com> Move layoutlib typeface implementation to delegate.

Also move BridgeContentProvider to its own class to make it
less messy in BridgeContentResolver.

Change-Id: Id3462218b500d43d4c9b20b25326ad24e4106fa5
ayoutlib/bridge/src/android/graphics/Paint.java
ayoutlib/bridge/src/android/graphics/Typeface.java
ayoutlib/bridge/src/android/graphics/Typeface_Delegate.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContentProvider.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContentResolver.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/FontLoader.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
4c9d691a01ab6741e4b54b69edca7b528603d9fa 27-Oct-2010 Xavier Ducrohet <xav@android.com> am 57f7ccc4: am 63e5d07e: Merge "Fix issue with project resources overriding framework resources." into gingerbread
57f7ccc4223ad7f51aa41b593ed26770f3cca22b 27-Oct-2010 Xavier Ducrohet <xav@android.com> am 63e5d07e: Merge "Fix issue with project resources overriding framework resources." into gingerbread
4f291d33e14e62b3301acc056a82fe206c74835f 22-Oct-2010 Xavier Ducrohet <xav@android.com> Reimplement the native matrix method using the new delegate way.

Instead of renaming the old Matrix class into _Original_Matrix
and have layoutlib provide a full new implementation of Matrix,
we keep the old one by only modifying it to implement the native
methods which calls out to a new Matrix_Delegate class.

The goal is to not have to maintain the java portion in
sync between the framework and the layoutlib version.

Change-Id: I3e1aefffbae45e91b75331c0c6ff2260323deacd
ayoutlib/bridge/.classpath
ayoutlib/bridge/src/android/graphics/Canvas.java
ayoutlib/bridge/src/android/graphics/Matrix.java
ayoutlib/bridge/src/android/graphics/Matrix_Delegate.java
ayoutlib/bridge/src/android/graphics/Path.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/DelegateManager.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/TestNativeDelegate.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
c2e28dd74813799aad132673ff9d302657dd04ed 27-Oct-2010 Xavier Ducrohet <xav@android.com> Fix issue with project resources overriding framework resources.

Framework resources loaded through Drawable.createFromXml could
be overriden by project resources if there were loaded through
a state list drawable where the final resource name was used
by a project resource (of the same type).

This ensures that the XML parser knows that it's a framework
resource being parsed and that the resource resolution uses
that information.

Change-Id: I39cf9eba755e55f1604b968637aeecff969a558d
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeXmlPullAttributes.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/ResourceHelper.java
d815e3704850a513e8d02ba3b88fa47f41cea9a5 26-Oct-2010 Xavier Ducrohet <xav@android.com> Fix rendering of digitalClock/Gallery in Eclipse editors.

Change-Id: Iedcd3184cd9f34be8d0695a51eda953ac68683ce
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContentResolver.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
f241c40476b6ff2acf57617d4f90cc8c229f1207 26-Oct-2010 Raphael <raphael@google.com> Revert "Fix rendering of digitalClock/Gallery in Eclipse editors."

This reverts commit 25e96ce7b99f9736a6024d25bd65a83774c7640f.
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContentResolver.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
68404a0125999ebe0d58c3eb1845b3c9aaf4d51e 26-Oct-2010 Xavier Ducrohet <xav@android.com> am a44a5e02: am 1b6180ec: Merge "Fix rendering of digitalClock/Gallery in Eclipse editors." into gingerbread
a44a5e02d21505a9c891a31a34c83761600024c0 26-Oct-2010 Xavier Ducrohet <xav@android.com> am 1b6180ec: Merge "Fix rendering of digitalClock/Gallery in Eclipse editors." into gingerbread
25e96ce7b99f9736a6024d25bd65a83774c7640f 26-Oct-2010 Xavier Ducrohet <xav@android.com> Fix rendering of digitalClock/Gallery in Eclipse editors.

Change-Id: I80f4f90b173529632eaf2fbc3bb5471b7ede8216
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContentResolver.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
4f145c9674f814939cc91f699efe538b6c18cba0 21-Oct-2010 Patrick Scott <phanna@android.com> Fix debug statements and aapt assert.

ENABLE_PSEUDOLOCALIZE seems to not exist.

Change-Id: Ifef771a96938c7ff0f8b664142bb502030b8c543
apt/XMLNode.cpp
a7a44d47cb4dea01c6b35e74fda42cbf1529c7a1 23-Oct-2010 Dianne Hackborn <hackbod@google.com> Merge "Implement issue #3116702: New manifest tags for supported screen sizes"
a0b46c9c441f017a2008ca8ee2c864987465996b 22-Oct-2010 Dianne Hackborn <hackbod@google.com> Implement issue #3116702: New manifest tags for supported screen sizes

Merged from GB.

Change-Id: I94730b54bcacd083f77708e84c35f4932a7b9d2e
apt/Command.cpp
a6ca66af0c0e17804e914eece758d9734d936044 23-Oct-2010 Xavier Ducrohet <xav@google.com> Merge "Layoutlib_Create: Fix order of class adapters."
c08e175f14434f132dfe19a75701170cc57679bc 23-Oct-2010 Xavier Ducrohet <xav@google.com> Merge "Layoutlib_create: fix binary name of delegate methods."
e2e8ba904b306f11dfc5b71e00ab9ac013358cd7 23-Oct-2010 Raphael <raphael@google.com> Layoutlib_Create: Fix order of class adapters.

The Transform adapter was running last, instead of
running on the output of the Delegate adapter.

Change-Id: I2cd777add7b0972c6bb197aaac6693d39dd5a103
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmGenerator.java
2191b4b22f4bb497ec08f503c37d112428968afe 22-Oct-2010 Xavier Ducrohet <xav@google.com> Merge "Remove dependency on ASM util classes."
280372e2c7db128254b5f65395ea843ef285729e 22-Oct-2010 Raphael <raphael@google.com> Layoutlib_create: fix binary name of delegate methods.

Change-Id: Iebd7d730b23e12f770e6ecadafb2f5c3459958db
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmGenerator.java
ee9642c2ba5309ae5094e06c95a5d167d05058c0 22-Oct-2010 Xavier Ducrohet <xav@android.com> am 2051a1be: am c5371fad: Merge "Make layoutlib use the prebuilt of layoutlib_api"
2051a1be52b3380285597c62e283e12bf659bda9 22-Oct-2010 Xavier Ducrohet <xav@android.com> am c5371fad: Merge "Make layoutlib use the prebuilt of layoutlib_api"
d556d8ba369e05836bedab6004f3dbdc5ec3387e 22-Oct-2010 Raphael <raphael@google.com> Remove dependency on ASM util classes.

Change-Id: I975b103f8c207e727699e4135170755f6ba2a084
ayoutlib/create/tests/com/android/tools/layoutlib/create/DelegateClassAdapterTest.java
101f14b275ab2451aef50dec427376d721d17aea 22-Oct-2010 Dianne Hackborn <hackbod@google.com> am ba501785: Merge "Implement issue #3116702: New manifest tags for supported screen sizes DO NOT MERGE" into gingerbread

Merge commit 'ba501785c7b298198d1c6e4787fd40e98f97da67' into gingerbread-plus-aosp

* commit 'ba501785c7b298198d1c6e4787fd40e98f97da67':
Implement issue #3116702: New manifest tags for supported screen sizes DO NOT MERGE
0db38449257d6702d18ddf77b019bef38ce3d692 22-Oct-2010 Xavier Ducrohet <xav@android.com> Make layoutlib use the prebuilt of layoutlib_api

Change-Id: Ie04a9e847acacf7b2aeb179589517fc75688c75b
ayoutlib/bridge/.classpath
ayoutlib/bridge/Android.mk
a6d9c7c04c4b17d85ac70f4494777555655f3be1 22-Oct-2010 Dianne Hackborn <hackbod@google.com> Implement issue #3116702: New manifest tags for supported screen sizes DO NOT MERGE

Change-Id: Iabf64d86c89d387ffbfbc39f950d308a73fe17eb
apt/Command.cpp
d4533f1469990582e4a2dd0898429093fe2690c0 20-Oct-2010 Chris Tate <ctate@google.com> Report drag success/fail in the DRAG_ENDED message

DragEvent.getResult() returns 'true' if the drop was ultimately accepted;
false otherwise. The validity of this datum is only guaranteed when the
DragEvent's action verb is ACTION_DRAG_ENDED.

Also fixes the drag-start timeout handling (though the offending app is
not yet officially declared ANR).

Implements bug 3097807

Change-Id: I6908ac628c72ff7d6193d87060d769a559a78d0e
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
3222df8d835c23ceaefc7e4782bb2d5146bb4112 19-Oct-2010 Ying Wang <wangying@google.com> am ec62719c: am 004f968d: Merge "Link against the static libcrypto in external/openssl." into gingerbread

Merge commit 'ec62719c8396997b436c44906c2760e3914698b8'

* commit 'ec62719c8396997b436c44906c2760e3914698b8':
Link against the static libcrypto in external/openssl.
ec62719c8396997b436c44906c2760e3914698b8 18-Oct-2010 Ying Wang <wangying@google.com> am 004f968d: Merge "Link against the static libcrypto in external/openssl." into gingerbread

Merge commit '004f968d0cf60c08d7b393129ed2d6e4304041e5' into gingerbread-plus-aosp

* commit '004f968d0cf60c08d7b393129ed2d6e4304041e5':
Link against the static libcrypto in external/openssl.
78fc85ce64379d36f6a8f955149c7532db1e84ba 15-Oct-2010 Joe Onorato <joeo@google.com> am 35d34c67: am 3d828e62: Merge "Do not build pbkdf2gen on non-Linux hosts" into gingerbread

Merge commit '35d34c67b7e94639086f2392d674e59b82c26a42'

* commit '35d34c67b7e94639086f2392d674e59b82c26a42':
Do not build pbkdf2gen on non-Linux hosts
fcab0f5502410b975afe045354bbae31ccba68a5 15-Oct-2010 Kenny Root <kroot@google.com> am 8fda1636: am bdf8034c: Merge "OBB: use PBKDF2 for key generation." into gingerbread

Merge commit '8fda1636e3e35f060b9046294efd3c062a1fdb84'

* commit '8fda1636e3e35f060b9046294efd3c062a1fdb84':
OBB: use PBKDF2 for key generation.
f25d24b2c772195898db622598b267fc0e04b048 15-Oct-2010 Kenny Root <kroot@google.com> resolved conflicts for merge of 8b1082bb to master

Change-Id: If9d898123894c53bf83ac28cc7c03cd849c8ef17
1785627fb36a93a1cbc69a048de6ed6412f83de9 15-Oct-2010 Dan Morrill <morrildl@google.com> am b58af2b8: am 5c62ab0a: Merge "Adding a new <uses-gl-texture/> tag, to be used to enable apps to specify filtering based on support for OpenGL ES texture and texture compression formats." into gingerbread

Merge commit 'b58af2b8b3871436942d0e2c878c906bffaa2fb0'

* commit 'b58af2b8b3871436942d0e2c878c906bffaa2fb0':
Adding a new <uses-gl-texture/> tag, to be used to enable apps to specify
a1b592e60dee58aaaf66ce430f3dbe36cf0448bb 15-Oct-2010 Ying Wang <wangying@google.com> Link against the static libcrypto in external/openssl.

Change-Id: Iad41ec975f9b9a4aec0b8470678320f5abe03e1f
bbtool/Android.mk
35d34c67b7e94639086f2392d674e59b82c26a42 14-Oct-2010 Joe Onorato <joeo@google.com> am 3d828e62: Merge "Do not build pbkdf2gen on non-Linux hosts" into gingerbread

Merge commit '3d828e62c856074334a00ce7c621050b4d7166e4' into gingerbread-plus-aosp

* commit '3d828e62c856074334a00ce7c621050b4d7166e4':
Do not build pbkdf2gen on non-Linux hosts
a09f1ebeb5fcdb1763b68a077f918bae87a0095d 14-Oct-2010 Kenny Root <kroot@google.com> Do not build pbkdf2gen on non-Linux hosts

Change-Id: I9f575a2ca7d45102a4f67424ea5866cf750adb13
bbtool/Android.mk
8fda1636e3e35f060b9046294efd3c062a1fdb84 14-Oct-2010 Kenny Root <kroot@google.com> am bdf8034c: Merge "OBB: use PBKDF2 for key generation." into gingerbread

Merge commit 'bdf8034c657147226b2390eef113ff841e0d6065' into gingerbread-plus-aosp

* commit 'bdf8034c657147226b2390eef113ff841e0d6065':
OBB: use PBKDF2 for key generation.
bdf8034c657147226b2390eef113ff841e0d6065 14-Oct-2010 Kenny Root <kroot@google.com> Merge "OBB: use PBKDF2 for key generation." into gingerbread
3b1abba6bbc895d63da3e82e9b158c01bd12eddd 14-Oct-2010 Kenny Root <kroot@google.com> OBB: use PBKDF2 for key generation.

Switch to using PBKDF2 for the key generation for OBBs. Any previously
generated OBBs will stop being read correctly. A small pbkdf2gen program
is available to allow generation of appropriate keys with the salts.

Bug: 3059950
Change-Id: If4305c989fd692fd1150eb270dbf751e09c37295
bbtool/Android.mk
bbtool/Main.cpp
bbtool/mkobb.sh
bbtool/pbkdf2gen.cpp
8b1082bba91c085baf523212d85f3bfbb6ee9cea 14-Oct-2010 Jesse Wilson <jessewilson@google.com> am 3394db7d: Merge "Regenerate preloaded classes for Gingerbread." into gingerbread

Merge commit '3394db7d9432053e56d86b3f24e64deeb3099950' into gingerbread-plus-aosp

* commit '3394db7d9432053e56d86b3f24e64deeb3099950':
Regenerate preloaded classes for Gingerbread.
3394db7d9432053e56d86b3f24e64deeb3099950 14-Oct-2010 Jesse Wilson <jessewilson@google.com> Merge "Regenerate preloaded classes for Gingerbread." into gingerbread
eaca10e2d0a61c482b6a1799ca9f51d8f67482cb 13-Oct-2010 Jesse Wilson <jessewilson@google.com> Regenerate preloaded classes for Gingerbread.

Unlike previous releases where the set of classes-to-be-preloaded
was generated on a first-generation device (G1 and MyTouch 3G), this
round I used a second-generation device, a Nexus One. As a consequence,
class loading is faster (win) and fewer classes hit the 1250ms threshold.
Instead of sharing classes based on load time alone, classes are now shared
based on the number of applications loading them.

Change-Id: I18f7aa3e7e6258818871b3968b515c06314371b3
http://b/2546002
reload/WritePreloadedClassFile.java
reload/loadclass/Android.mk
b58af2b8b3871436942d0e2c878c906bffaa2fb0 14-Oct-2010 Dan Morrill <morrildl@google.com> am 5c62ab0a: Merge "Adding a new <uses-gl-texture/> tag, to be used to enable apps to specify filtering based on support for OpenGL ES texture and texture compression formats." into gingerbread

Merge commit '5c62ab0af9dadc3bccdad7b01c3ae17266f0b0e1' into gingerbread-plus-aosp

* commit '5c62ab0af9dadc3bccdad7b01c3ae17266f0b0e1':
Adding a new <uses-gl-texture/> tag, to be used to enable apps to specify
6f51fc14d0c3df8f9153ae5df992cc2731f099c8 13-Oct-2010 Dan Morrill <morrildl@google.com> Adding a new <uses-gl-texture/> tag, to be used to enable apps to specify
filtering based on support for OpenGL ES texture and texture compression
formats.

Change-Id: I993209a673579b296007ae2ba830d0275770dd11
apt/Command.cpp
79d433dd8772fb20caa947c2b0b20965348954a7 09-Oct-2010 Xavier Ducrohet <xav@android.com> am 556866a2: am 656d2165: Merge "Parser is optional in obtainStyledAttributes." into gingerbread

Merge commit '556866a2ea1f4758a79fe4f207153b71815ed400'

* commit '556866a2ea1f4758a79fe4f207153b71815ed400':
Parser is optional in obtainStyledAttributes.
556866a2ea1f4758a79fe4f207153b71815ed400 07-Oct-2010 Xavier Ducrohet <xav@android.com> am 656d2165: Merge "Parser is optional in obtainStyledAttributes." into gingerbread

Merge commit '656d21656ad9b33f7d7e1e4960a2f03076a5fc7a' into gingerbread-plus-aosp

* commit '656d21656ad9b33f7d7e1e4960a2f03076a5fc7a':
Parser is optional in obtainStyledAttributes.
0a226d84e1e67fc5a180d65246ed942266701fb8 01-Sep-2010 Anthony Newnam <anthony.newnam@garmin.com> Avoid pre-processing images when they won't be used

Change-Id: I24db3645c399f66dc7cc0e85909ce34b68ff829e
apt/Resource.cpp
f8e4c1f57bbb658f53995443b0f175e50a2fc814 05-Oct-2010 Xavier Ducrohet <xav@android.com> Parser is optional in obtainStyledAttributes.

If the parser is null it just means the default style/values are
used.

Change-Id: I5ff3d632fd5dfc5a1ce42796b2fef7b30f9fbf34
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java
58520b24d40bb2587f394a52535dab4f2736bab1 04-Oct-2010 Dianne Hackborn <hackbod@google.com> resolved conflicts for merge of 10d5b096 to master

Change-Id: Id5c6ba651f72b48f0d70ee2ca64a6c9adf5e74f7
10d5b0966d1b6ab0e3b63c71d5325403e75b647e 04-Oct-2010 Dianne Hackborn <hackbod@google.com> am 407f625a: Add new API to find out whether external storage is removable.

Merge commit '407f625a9b8e356e765a5ec587c443af1f3aadb5' into gingerbread-plus-aosp

* commit '407f625a9b8e356e765a5ec587c443af1f3aadb5':
Add new API to find out whether external storage is removable.
407f625a9b8e356e765a5ec587c443af1f3aadb5 04-Oct-2010 Dianne Hackborn <hackbod@google.com> Add new API to find out whether external storage is removable.

This is implemented based on whether we are using the "nosdcard"
product. Needed to tweak aapt to allow use of the product attribute
with other resource definition tags besides strings.

Change-Id: I49922d23b52a34183a8e2f4d2515adaf1fc9149a
apt/ResourceTable.cpp
3cff14ca778694c137052e83d7642ab7475b1319 04-Oct-2010 Raphael <raphael@google.com> Merge "layoutlib_create: Generate delegate to implement native methods."
edeb7a5a391ddec6df6d34ecb1f64ef2bb376dbb 02-Oct-2010 Kenny Root <kroot@google.com> am 7e40e67f: am d9e88d22: Merge "Add "none" for vold and deprecate mkobb -c" into gingerbread

Merge commit '7e40e67f73e0e9fa61a9601d82e8a207ffdca039'

* commit '7e40e67f73e0e9fa61a9601d82e8a207ffdca039':
Add "none" for vold and deprecate mkobb -c
7e40e67f73e0e9fa61a9601d82e8a207ffdca039 02-Oct-2010 Kenny Root <kroot@google.com> am d9e88d22: Merge "Add "none" for vold and deprecate mkobb -c" into gingerbread

Merge commit 'd9e88d22f0ffefdc6a3b9c59168bd1bb6d402486' into gingerbread-plus-aosp

* commit 'd9e88d22f0ffefdc6a3b9c59168bd1bb6d402486':
Add "none" for vold and deprecate mkobb -c
12ffd9bf4c2cc9075ea7602b4932f823ba940f80 01-Oct-2010 Kenny Root <kroot@google.com> Add "none" for vold and deprecate mkobb -c

If vold isn't told "none" for the key, it will try to mount it as an
encrypted container.

Also remove the -c option from mkobb since it can be triggered by
including a key as well.

Change-Id: I40a8ff3f778bfda682312630e6687ecc14b51844
bbtool/mkobb.sh
13cc0a06fce4ec54574c9bf2084752961a144c24 01-Oct-2010 Kenny Root <kroot@google.com> am 4309b52f: am 735de3b3: Hash keys with MD5; track IBinders not IInterface

Merge commit '4309b52fe19de5241113d8f9ebcdf52741e086a9'

* commit '4309b52fe19de5241113d8f9ebcdf52741e086a9':
Hash keys with MD5; track IBinders not IInterface
4309b52fe19de5241113d8f9ebcdf52741e086a9 01-Oct-2010 Kenny Root <kroot@google.com> am 735de3b3: Hash keys with MD5; track IBinders not IInterface

Merge commit '735de3b38abbd6564082a819377673ee593744a6' into gingerbread-plus-aosp

* commit '735de3b38abbd6564082a819377673ee593744a6':
Hash keys with MD5; track IBinders not IInterface
735de3b38abbd6564082a819377673ee593744a6 30-Sep-2010 Kenny Root <kroot@google.com> Hash keys with MD5; track IBinders not IInterface

Using a plaintext password doesn't work unless it's a certain length, so
just hash the plaintext password with MD5 to make it the right length
for the twofish encryption.

Tracking the IInterface doesn't make much sense since it's different
each time, so track the IBinder instead. That way we can unlinkToDeath
the binder when the last thing it's holding onto goes away.

Change-Id: Id828d25b4d74f27e9d8b4bfb3909c964469cc473
bbtool/mkobb.sh
a53146c5569f8ff5f7eb55e9ad35d23ddacf2add 07-Sep-2010 Christopher Tate <ctate@google.com> Drag/drop APIs and infrastructure

A View initiates a drag-and-drop operation (hereafter just called a "drag")
by calling its startDrag(ClipData) method. Within the processing of that
call, two callbacks are made into the originating View. The first is to
onMeasureDragThumbnail(). Similarly to the core onMeasure() method, this
callback must respond by calling setDragThumbnailDimension(width, height) to
declare the size of the drag thumbnail image that should be used. Following
this, the View's onDrawDragThumbnail(canvas) method will be invoked to
actually produce the bits of the thumbnail image.

If all goes well, startDrag() will return 'true', and the drag is off and
running. (The other arguments to startDrag() provide reconciliation between
the current finger position and where the thumbnail should be placed on
the screen relative to it.)

Potential receipients of the ClipData behind the drag are notified by a
new dispatch mechanism, roughly parallel to motion event dispatch. The core
routine is the View's onDragEvent(event) callback, with the mechanics of
dispatch itself being routed through dispatchDragEvent(event) -- as in
the case of motion events, the dispatch logic is in ViewGroup, with leaf
View objects not needing to consider the dispatch flow.

Several different event 'actions' are delivered through this dispatch
mechanism:

ACTION_DRAG_STARTED: this event is propagated to every View in every window
(including windows created during the course of a drag). It serves as a
global notification that a drag has started with a payload whose matching
ClipDescription is supplied with the event. A View that is prepared to
consume the data described in this event should return 'true' from their
onDragEvent() method, and ideally will also make some visible on-screen
indication that they are a potential target of the drop.

ACTION_DRAG_ENTERED: this event is sent once when the drag point
enters the View's bounds. It is an opportunity for the View to set up
feedback that they are the one who will see the drop if the finger goes
up now.

ACTION_DRAG_LOCATION: when the drag point is over a given View, that
View will receive a stream of DRAG_LOCATION events, providing an
opportunity for the View to show visual feedback tied to the drag point.

ACTION_DRAG_EXITED: like DRAG_ENTERED, but called when the drag point
leaves the View's bounds. The View should undo any visuals meant to
emphasize their being the hovered-over target.

ACTION_DROP: when the drag ends at a given point, the View under that
point is sent this event, with the full ClipData of the payload.

ACTION_DRAG_ENDED: paralleling the DRAG_STARTED action, this is the global
broadcast that the drag has ended and all Views should return to their
normal visual state. This happens after the DROP event.

Change-Id: Ia8d0fb1516bce8c735d87ffd101af0976d7e84b6
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
bc101806249eb883f89c4a770a8c27f9ac315837 27-Sep-2010 Raphael <raphael@google.com> layoutlib_create: Generate delegate to implement native methods.

- Some new parameters are added to CreateInfo with the list of methods
or classes to override with delegates.
- DelegateClassAdapter and DelegateMethodAdapter do the work... see javadoc.

Change-Id: I0657cd929837181d81c65db7051d8ccbdc59c741
ayoutlib/create/README.txt
ayoutlib/create/src/com/android/tools/layoutlib/annotations/LayoutlibDelegate.java
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmGenerator.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
ayoutlib/create/src/com/android/tools/layoutlib/create/DelegateClassAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/create/DelegateMethodAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/create/ICreateInfo.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
ayoutlib/create/src/com/android/tools/layoutlib/create/TransformClassAdapter.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/AsmAnalyzerTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/ClassHasNativeVisitorTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/DelegateClassAdapterTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/LogTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/MockLog.java
1e57996f47e9d7f96506e2d680eea9f1d7ecc7ac 29-Sep-2010 Ying Wang <wangying@google.com> am 0e8dc464: am 292c246b: Merge "Call functions to calculate deps and classes.jar" into gingerbread

Merge commit '0e8dc464bdfa29785aab7be6343154fee361f6a0'

* commit '0e8dc464bdfa29785aab7be6343154fee361f6a0':
Call functions to calculate deps and classes.jar
0e8dc464bdfa29785aab7be6343154fee361f6a0 29-Sep-2010 Ying Wang <wangying@google.com> am 292c246b: Merge "Call functions to calculate deps and classes.jar" into gingerbread

Merge commit '292c246b27319bc2195e2b3dbc3c3adea22db672' into gingerbread-plus-aosp

* commit '292c246b27319bc2195e2b3dbc3c3adea22db672':
Call functions to calculate deps and classes.jar
c486da4887811bce4895199c3116616b3638f35a 28-Sep-2010 Ying Wang <wangying@google.com> Call functions to calculate deps and classes.jar

Instead of hard-coding them.

Change-Id: Ia5818a1a69efb0964d5aa7de7e8d30ef04dfeccc
ayoutlib/Android.mk
cdde57ae5c5bc12317f1eababf43bf3a6c2d511e 28-Sep-2010 Xavier Ducrohet <xav@android.com> Merge "Improve error reporting in the layoutlib class replacement test."
e335914c7ef0ad765200282911a7903be1715995 28-Sep-2010 Xavier Ducrohet <xav@android.com> Improve error reporting in the layoutlib class replacement test.

Change-Id: I451253ebb902171d67683784ef7a6de65588865d
ayoutlib/bridge/tests/com/android/layoutlib/bridge/TestClassReplacement.java
cca1f0e3476edd09cdd81b075a6b7780a2959b46 27-Sep-2010 Dianne Hackborn <hackbod@google.com> Allow all apps to call ContentResolver.getType().

I can't find the bug number for this, but it is needed for some things
we are doing where the app building an intent may not have access to the
URI in the data field. This is for HC, but doing in GB to avoid introducing
integration issues.

Change-Id: I0cac971854198b18775d2a73deb80f23431bfbe2
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContentResolver.java
a8bce7c8acb3904eb69bf21276c0ca2635c76a20 27-Sep-2010 Dianne Hackborn <hackbod@google.com> am d8691d73: Merge "Allow all apps to call ContentResolver.getType()." into gingerbread

Merge commit 'd8691d73d158acd9ffc63748126e822afd656707' into gingerbread-plus-aosp

* commit 'd8691d73d158acd9ffc63748126e822afd656707':
Allow all apps to call ContentResolver.getType().
8313fc7e94e46e5cc09f457a15a771a325b9f74f 27-Sep-2010 Dianne Hackborn <hackbod@google.com> Allow all apps to call ContentResolver.getType().

I can't find the bug number for this, but it is needed for some things
we are doing where the app building an intent may not have access to the
URI in the data field. This is for HC, but doing in GB to avoid introducing
integration issues.

Change-Id: I0cac971854198b18775d2a73deb80f23431bfbe2
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContentResolver.java
dcc9dced33dd0237d386bd2ca39b2d105b1ec938 25-Sep-2010 Raphael <raphael@google.com> am cb7c5498: am 91512f57: Layoutlib_create: Unittest for ClassHasNativeVisitor.

Merge commit 'cb7c5498709526e2a2367a7f36f83caf05be5f1a'

* commit 'cb7c5498709526e2a2367a7f36f83caf05be5f1a':
Layoutlib_create: Unittest for ClassHasNativeVisitor.
cb7c5498709526e2a2367a7f36f83caf05be5f1a 25-Sep-2010 Raphael <raphael@google.com> am 91512f57: Layoutlib_create: Unittest for ClassHasNativeVisitor.

Merge commit '91512f579e7a1bf91d23254471ee47d3a88d342f' into gingerbread-plus-aosp

* commit '91512f579e7a1bf91d23254471ee47d3a88d342f':
Layoutlib_create: Unittest for ClassHasNativeVisitor.
91512f579e7a1bf91d23254471ee47d3a88d342f 24-Sep-2010 Raphael <raphael@google.com> Layoutlib_create: Unittest for ClassHasNativeVisitor.

Change-Id: Id101bb3fc2644e450847e73c933cb6f616982f24
ayoutlib/create/src/com/android/tools/layoutlib/annotations/Nullable.java
ayoutlib/create/src/com/android/tools/layoutlib/annotations/VisibleForTesting.java
ayoutlib/create/src/com/android/tools/layoutlib/create/ClassHasNativeVisitor.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/ClassHasNativeVisitorTest.java
6f27ab8bd4aca5a43f6bf93cd68c43dde825bfa1 23-Sep-2010 Eric Fischer <enf@google.com> am 9c708358: am 37cedce1: Merge "Add an aapt option to allow string variations for different devices." into gingerbread

Merge commit '9c70835896b6c078ac4c8b2e30cb6cfba70bb9d7'

* commit '9c70835896b6c078ac4c8b2e30cb6cfba70bb9d7':
Add an aapt option to allow string variations for different devices.
9c70835896b6c078ac4c8b2e30cb6cfba70bb9d7 23-Sep-2010 Eric Fischer <enf@google.com> am 37cedce1: Merge "Add an aapt option to allow string variations for different devices." into gingerbread

Merge commit '37cedce14bc0e68e8bf27c2cecb181728226e6ed' into gingerbread-plus-aosp

* commit '37cedce14bc0e68e8bf27c2cecb181728226e6ed':
Add an aapt option to allow string variations for different devices.
90964040cabfc67f92a7c3322a02401bb6f8ae82 16-Sep-2010 Eric Fischer <enf@google.com> Add an aapt option to allow string variations for different devices.

The --product option to aapt is a comma-separated list of characteristics
of the device being built for. For example, --product nosdcard,grayscale
for a device with no SD card and a grayscale screen.

Strings can specify a product="characteristic" option to cause that version
of the string to be used only for that type of device. All such strings
should also specify, at the end of the block, product="default", which
will be used if none of the variations match. For example:

<string name="choose" product="bw">Choose black or white</string>
<string name="choose" product="grayscale">Choose a shade of gray</string>
<string name="choose" product="default">Choose a color</string>

The default characteristic will also be used when no --product option
is specified.

Change-Id: Ie6c1505599e02e15b7818e8be6ec47bc6ce71aaa
apt/Bundle.h
apt/Main.cpp
apt/ResourceTable.cpp
adaba84ad76f70d833e140d5c28a0de58c8f19d2 22-Sep-2010 Dianne Hackborn <hackbod@google.com> Merge "Work on fragments in layouts."
625ac271f80777668f832a344486a6fcdc06d0ae 18-Sep-2010 Dianne Hackborn <hackbod@google.com> Work on fragments in layouts.

- Change semantics if IDs associated with these fragments, to
work correctly when placed in a container. If the container
has an ID or you have supplied a tag, the fragment's ID is
optional.

- To do this, there is a new LayoutInflater API that allows code
creating views to access the parent container that view will
be in.

- Fix issues with state management around these fragments. Now
correctly retains state when switching to a layout that doesn't
include the fragment.

Also:

- Add new simple list layouts for items that want to show an
activated state.
- Add new Activity.dump() that can be invoked with adb shell
dumpsys; the default implementation dumps fragment state.

Change-Id: I192f35e3ea8c53fbd26cf909095f2a994abfc1b6
ayoutlib/bridge/src/android/view/BridgeInflater.java
1ad0e9a1a2c1f5b31d3610acb3142ab2b4f6f958 22-Sep-2010 Raphael Moll <ralf@android.com> am 98699c8f: am f2960b8d: Refresh the layoutlib_create doc.

Merge commit '98699c8fc44358d168183dae47e10758b2d1cb08'

* commit '98699c8fc44358d168183dae47e10758b2d1cb08':
Refresh the layoutlib_create doc.
98699c8fc44358d168183dae47e10758b2d1cb08 22-Sep-2010 Raphael Moll <ralf@android.com> am f2960b8d: Refresh the layoutlib_create doc.

Merge commit 'f2960b8d66d7a20f590716f5e51160e77d0d1b24' into gingerbread-plus-aosp

* commit 'f2960b8d66d7a20f590716f5e51160e77d0d1b24':
Refresh the layoutlib_create doc.
f2960b8d66d7a20f590716f5e51160e77d0d1b24 22-Sep-2010 Raphael Moll <ralf@android.com> Refresh the layoutlib_create doc.

Change-Id: I43e92c33d824ace9edd77d90a1b36a5f69d85e7f
ayoutlib/create/README.txt
d68e8d679c199d1cbef314e8bd545bcb62e36a88 22-Sep-2010 Kenny Root <kroot@google.com> am c1558df7: am 34d3aeaf: Merge "Add image creator helper script for OBBs" into gingerbread

Merge commit 'c1558df7778ec5bf9be5ecee9395d4684b6948e2'

* commit 'c1558df7778ec5bf9be5ecee9395d4684b6948e2':
Add image creator helper script for OBBs
c1558df7778ec5bf9be5ecee9395d4684b6948e2 22-Sep-2010 Kenny Root <kroot@google.com> am 34d3aeaf: Merge "Add image creator helper script for OBBs" into gingerbread

Merge commit '34d3aeaf7f5dd744f46220f7730913468256ae9c' into gingerbread-plus-aosp

* commit '34d3aeaf7f5dd744f46220f7730913468256ae9c':
Add image creator helper script for OBBs
30c1102fecda5e9ef071c58c0e54b721961ae4e3 21-Sep-2010 Kenny Root <kroot@google.com> Add image creator helper script for OBBs

Change-Id: Id3f2b158077e8d104582e0ac720c2428c3ba4d97
bbtool/mkobb.sh
f14fafdb7d107b1303e6c93e54b20d457195dca2 11-Sep-2010 Xavier Ducrohet <xav@android.com> am fa888784: am 89fef418: Merge "Avoid pre-processing images when they won\'t be used"

Merge commit 'fa8887848e2877dd96e853dfcd52086f1b66c26b'

* commit 'fa8887848e2877dd96e853dfcd52086f1b66c26b':
Avoid pre-processing images when they won't be used
fa8887848e2877dd96e853dfcd52086f1b66c26b 10-Sep-2010 Xavier Ducrohet <xav@android.com> am 89fef418: Merge "Avoid pre-processing images when they won\'t be used"

Merge commit '89fef4183a3c58aebbbf66e894bbdc1ae9f634e9' into gingerbread-plus-aosp

* commit '89fef4183a3c58aebbbf66e894bbdc1ae9f634e9':
Avoid pre-processing images when they won't be used
578a57fc6bba6d19e31e91961ef5a9e86b890e4b 01-Sep-2010 Anthony Newnam <anthony.newnam@garmin.com> Avoid pre-processing images when they won't be used

Change-Id: Iffa31228ca95a2e29ccc0aa81bda0fc66922d577
apt/Resource.cpp
f156e752b50ec3bfe013c6a7af6b1c16b0dfa611 03-Sep-2010 Dianne Hackborn <hackbod@google.com> am 31103928: am 192b56d4: Merge "Implement #2964234: Add support for <uses-package> element to aapt" into gingerbread

Merge commit '31103928ed5b9091bcd7de74c8a49675d10c87e7'

* commit '31103928ed5b9091bcd7de74c8a49675d10c87e7':
Implement #2964234: Add support for <uses-package> element to aapt
43b6803095e41e6a1cf844a77813c6cdbdc84ec3 03-Sep-2010 Dianne Hackborn <hackbod@google.com> Implement #2964234: Add support for <uses-package> element to aapt

Change-Id: Ifb381f387cab7e5a99006691e330d0e3d9d0f250
apt/Command.cpp
8e9bfab2a3ce35b31350b8de18d024f4da6e3886 31-Aug-2010 Xavier Ducrohet <xav@android.com> Add a --debug-mode option to aapt.

When passed (with no needed parameters) to the aapt command line,
aapt will insert debuggable=true in the application node of the manifest
automatically.

This is to be used by the SDK tools to make true "debug" builds
that require no code/file change.

Change-Id: I909759caef499a91d10cc9a0902c6448c87e75ef
apt/Bundle.h
apt/Main.cpp
apt/Resource.cpp
d092f380021ca0520cc27b0272cd1a44d801d167 31-Aug-2010 Xavier Ducrohet <xav@android.com> am b4649ec7: am 23827557: Merge "Add a --debug-mode option to aapt." into gingerbread

Merge commit 'b4649ec720fa959b700a7a03c089bfdc61321d16'

* commit 'b4649ec720fa959b700a7a03c089bfdc61321d16':
Add a --debug-mode option to aapt.
6487b099231b1e5d36ae37a921399b028b3b3ad9 31-Aug-2010 Xavier Ducrohet <xav@android.com> Add a --debug-mode option to aapt.

When passed (with no needed parameters) to the aapt command line,
aapt will insert debuggable=true in the application node of the manifest
automatically.

This is to be used by the SDK tools to make true "debug" builds
that require no code/file change.

Change-Id: I6f0a7af7b7d51f26bb0ec012e6f142a6060b8618
apt/Bundle.h
apt/Main.cpp
apt/Resource.cpp
dc059804666c35abf51d09481f2fe5516339fcc6 26-Aug-2010 Kenny Root <kroot@google.com> am eb0e0f46: am 2e7427f3: Merge "Add LFH offset to verbose list of APK" into gingerbread

Merge commit 'eb0e0f465155bc9ec2c79741890fb65bd403e33a'

* commit 'eb0e0f465155bc9ec2c79741890fb65bd403e33a':
Add LFH offset to verbose list of APK
2e7427f39ec15dcb43cc1247372b53980be11d38 26-Aug-2010 Kenny Root <kroot@google.com> Merge "Add LFH offset to verbose list of APK" into gingerbread
fb2a9467ad77336edbf2a1a272dbe6ec30ef8a1b 25-Aug-2010 Kenny Root <kroot@google.com> Add LFH offset to verbose list of APK

The Local File Header (LFH) offset is printed in debugging cases when
the platform is inspecting APKs. This adds the LFH offset field to the
list of contents of an APK, so that it can be checked easily against the
Central Directory (CD).

Change-Id: I08f9a13256bfe6563c1a963c4f0289789b2e7857
apt/Command.cpp
apt/ZipEntry.h
74b58fc58bf6d2919049cf8ca5d7467a292049cb 25-Aug-2010 Brian Carlstrom <bdc@google.com> Fix linux 64 build

git cherry-pick -e 49416bc658e37a0f4ae4f2b7b8582dd1606fba0f

Change-Id: I37a689acea8aeb5d6ac92ee56b077bafe4fba170
apt/Android.mk
ocalize/Android.mk
cc5239b78b7d418d78d00bf9ee92192ccd851cda 24-Aug-2010 Dianne Hackborn <hackbod@google.com> am 8b569c8d: am 42f90ca5: Merge "Fix aapt dump badging to support xlarge screens." into gingerbread

Merge commit '8b569c8d49924d849793513a5418ef0350320962'

* commit '8b569c8d49924d849793513a5418ef0350320962':
Fix aapt dump badging to support xlarge screens.
e49564e0f710ba4a1405cfdfde068cb776ee474e 21-Aug-2010 Kenny Root <kroot@google.com> am 821afa9a: am 54d41379: Merge "Add OBB flags to support overlays" into gingerbread

Merge commit '821afa9aec8d3a4ffd2e72ce797d8097eaf13973'

* commit '821afa9aec8d3a4ffd2e72ce797d8097eaf13973':
Add OBB flags to support overlays
8b569c8d49924d849793513a5418ef0350320962 20-Aug-2010 Dianne Hackborn <hackbod@google.com> am 42f90ca5: Merge "Fix aapt dump badging to support xlarge screens." into gingerbread

Merge commit '42f90ca54fc4c6e0bdbde7caa7d10b6090d11960' into gingerbread-plus-aosp

* commit '42f90ca54fc4c6e0bdbde7caa7d10b6090d11960':
Fix aapt dump badging to support xlarge screens.
8a44bb23c1f12ba58d0cb5732e3e216d48e7ccdb 19-Aug-2010 Dianne Hackborn <hackbod@google.com> Update aapt to find fragment references.

Add knowledge about <fragment class="..."> for layout files
and update to reflect the change of the header tag from Header.

Change-Id: I91e2a5f204a8e222367985383c1721030c7954d8
apt/Resource.cpp
f43489d7d5e1c0c5c9a7e54c22845fcb99765f81 20-Aug-2010 Dianne Hackborn <hackbod@google.com> Fix aapt dump badging to support xlarge screens.

Change-Id: Ieeb757cd48ad9b3f46c5e4aed9d5efaeac834049
apt/Command.cpp
821afa9aec8d3a4ffd2e72ce797d8097eaf13973 19-Aug-2010 Kenny Root <kroot@google.com> am 54d41379: Merge "Add OBB flags to support overlays" into gingerbread

Merge commit '54d41379357d1d800d0a7bd7c5dc56111710482a' into gingerbread-plus-aosp

* commit '54d41379357d1d800d0a7bd7c5dc56111710482a':
Add OBB flags to support overlays
02ca31fbae9f35dd30f79de6927fae11b549391a 12-Aug-2010 Kenny Root <kroot@google.com> Add OBB flags to support overlays

* Add flags field in OBB footer to support overlays.

* Remove unused 'crypto' and 'filesystem' fields in obbtool (could
later be supported in the "flags" field of the OBB footer).

* Add notes to document OBB classes before shipping.

Change-Id: I386b43c32c5edef55210acb5d3322639c08010ba
bbtool/Main.cpp
2fda9f45623e888f71c6ea769305ccc4d9e76af2 02-Jun-2010 Martin Nordholts <martin.nordholts@sonyericsson.com> Support changing style parent in overlays

Package overlays makes it possible for vendors to tweak the look of
the platform and the applications without touching any platform or
application code directly. This makes package overlays an important
mechanism in the Android build system.

There is currently a limitation that forbids changing the parent of a
style. If vendors could change the parent of e.g. ‘CalendarTheme’
from Android’s vanilla ‘Theme’ to ‘VendorTheme’, then vendor
specific adjustments could be done without changing any code directly.

From looking at the code it can be seen that the parent value of a
style is stored temporarily in ResourceTable::Entry::mParent while
overlays are gone through in buildResources(), and processed (in
ResourceTable::Entry::assignResourceIds()) at first after all overlays
have been handled, so there aren’t any obvious reasons why changing
parent in an overlay should be forbidden.

Change-Id: I5969bb8aab90df437e1967fc504cc0da79107d13
apt/ResourceTable.cpp
af4798d9c3e32229131fe7d74a61bc81ce4172fd 17-Aug-2010 Ying Wang <wangying@google.com> am 8cfd3c01: am e05184f2: Merge "Output proguard keep flags for fragment classes." into gingerbread

Merge commit '8cfd3c01e4582a587765588c02234527e7808ca0'

* commit '8cfd3c01e4582a587765588c02234527e7808ca0':
Output proguard keep flags for fragment classes.
fed762b944efb690b10ca2705f02343dda0aab03 16-Aug-2010 Eric Fischer <enf@google.com> am d22a1e89: am 244152bf: Merge "Change aapt\'s warning message to suggest formatted="false", not "true"." into gingerbread

Merge commit 'd22a1e896cbc7e86d57be9923d749b017b3cde79'

* commit 'd22a1e896cbc7e86d57be9923d749b017b3cde79':
Change aapt's warning message to suggest formatted="false", not "true".
8cfd3c01e4582a587765588c02234527e7808ca0 14-Aug-2010 Ying Wang <wangying@google.com> am e05184f2: Merge "Output proguard keep flags for fragment classes." into gingerbread

Merge commit 'e05184f271f9882a5bf828e353aea40e0c06ff69' into gingerbread-plus-aosp

* commit 'e05184f271f9882a5bf828e353aea40e0c06ff69':
Output proguard keep flags for fragment classes.
e05184f271f9882a5bf828e353aea40e0c06ff69 14-Aug-2010 Ying Wang <wangying@google.com> Merge "Output proguard keep flags for fragment classes." into gingerbread
d22a1e896cbc7e86d57be9923d749b017b3cde79 13-Aug-2010 Eric Fischer <enf@google.com> am 244152bf: Merge "Change aapt\'s warning message to suggest formatted="false", not "true"." into gingerbread

Merge commit '244152bfb9020341953d3e541c85eb3961806378' into gingerbread-plus-aosp

* commit '244152bfb9020341953d3e541c85eb3961806378':
Change aapt's warning message to suggest formatted="false", not "true".
244152bfb9020341953d3e541c85eb3961806378 13-Aug-2010 Eric Fischer <enf@google.com> Merge "Change aapt's warning message to suggest formatted="false", not "true"." into gingerbread
98ee11ddb7996b332d5e31f8bdff69631c8d3725 13-Aug-2010 Eric Fischer <enf@google.com> Change aapt's warning message to suggest formatted="false", not "true".

True is the default and specifying it won't suppress the warning.

Change-Id: I8ecc919b4059bf3321e781649cb46dd2d3807592
apt/XMLNode.cpp
41e567f7cf3d3e68b88118728c8bd2c3967eff42 13-Aug-2010 Ficus Kirkpatrick <ficus@android.com> Add --max-res-version flag to aapt.

aapt will ignore any versioned resource directories over the
specified version (if used). e.g. --max-res-version=6 will
cause layout-land-v7 to be ignored.

Merged from gingerbread.

Change-Id: I71b889540380cb10bafb40f72582d3af785ae33a
apt/AaptAssets.cpp
apt/Bundle.h
apt/Main.cpp
0f414272ccb9c387f41ad3bb5ee464a6f0b646a4 13-Aug-2010 Ficus Kirkpatrick <ficus@android.com> am 7525c2cf: Merge "Add --max-res-version flag to aapt." into gingerbread

Merge commit '7525c2cfbbaa5c947c029008ef490e93a50c064f' into gingerbread-plus-aosp

* commit '7525c2cfbbaa5c947c029008ef490e93a50c064f':
Add --max-res-version flag to aapt.
588f228d6a3e3b254fbc1f13f29ee47e13a669c1 13-Aug-2010 Ficus Kirkpatrick <ficus@android.com> Add --max-res-version flag to aapt.

aapt will ignore any versioned resource directories over the
specified version (if used). e.g. --max-res-version=6 will
cause layout-land-v7 to be ignored.

Merged from froyo.

Change-Id: Ia4eabae535b95b75d18b0c83135d44ed9a95b9eb
apt/AaptAssets.cpp
apt/Bundle.h
apt/Main.cpp
561a91824fbfcdae9031fb2cdbb745578a969981 13-Aug-2010 Ying Wang <wangying@google.com> Output proguard keep flags for fragment classes.

Change-Id: I28c10fbf18b91f8ba3dfc2575cd41215f65f11ec
Bug: 2916847
apt/Resource.cpp
1f5a8d96da2f0d095196113a2bfa901c18592206 11-Aug-2010 Kenny Root <kroot@google.com> am 80328ba0: am 8ea71511: Merge "Initial tool for OBB manipulation" into gingerbread

Merge commit '80328ba09606bd0825d7d4c9a4f213d1de09e53a'

* commit '80328ba09606bd0825d7d4c9a4f213d1de09e53a':
Initial tool for OBB manipulation
80328ba09606bd0825d7d4c9a4f213d1de09e53a 11-Aug-2010 Kenny Root <kroot@google.com> am 8ea71511: Merge "Initial tool for OBB manipulation" into gingerbread

Merge commit '8ea71511c64e61fe23004889ff7032f991a751c8' into gingerbread-plus-aosp

* commit '8ea71511c64e61fe23004889ff7032f991a751c8':
Initial tool for OBB manipulation
6e7ac5f0bceddf51947fbf3b376e278df0735603 19-Jul-2010 Kenny Root <kroot@google.com> Initial tool for OBB manipulation

Add "obbtool" host command for adding, removing, and querying Opaque
Binary Blob (OBB) information from a file.

Change-Id: Id2ac41e687ad2a500c362616d6738a8ae7e8f5c3
bbtool/Android.mk
bbtool/Main.cpp
f252b3501e6a9893ba3cc7608dbdeab68d8aecb9 11-Aug-2010 Jean-Baptiste Queru <jbq@google.com> am f781b4ef: am e37ab632: Merge "Fix build on some linux machines"

Merge commit 'f781b4ef4bd840b7cee83fafdf2e31e709068bd3'

* commit 'f781b4ef4bd840b7cee83fafdf2e31e709068bd3':
Fix build on some linux machines
f781b4ef4bd840b7cee83fafdf2e31e709068bd3 11-Aug-2010 Jean-Baptiste Queru <jbq@google.com> am e37ab632: Merge "Fix build on some linux machines"

Merge commit 'e37ab63221af94d69437741a3645fc0e14a680bc' into gingerbread-plus-aosp

* commit 'e37ab63221af94d69437741a3645fc0e14a680bc':
Fix build on some linux machines
b7ffaf6ae29f300c2d8e9c77e58710adfa388633 21-Jan-2009 hmepas <hmepas@gmail.com> Fix build on some linux machines

This adds -lpthread on linux for aapt and localize, which appear to be
needed on some linux distros.

Signed-off-by: Jean-Baptiste Queru <jbq@google.com>
apt/Android.mk
ocalize/Android.mk
163935113919a184122b8b3bd672ef08c8df65dc 08-Aug-2010 Romain Guy <romainguy@android.com> Make libhwui entirely optional.

The makefile variable USE_OPENGL_RENDERER must be set to true to compile
libhwui and the related code in the JNI layer.

This change also removes obsolete APIs from Canvas that must not be used
and would be confusing if left in. These APIs were remnants of our first
attempt at an OpenGL renderer for the view hierarchy and had not been
taken out before Android 1.0 was released.

Change-Id: I2475ff1307212bab26c926724f3c508681c7dae1
ayoutlib/bridge/src/android/graphics/Canvas.java
80e62ac61c297452c003919f71c4dcd7063d1b43 17-Jul-2010 Xavier Ducrohet <xav@android.com> Fix the layoutlib Paint.set(Paint) method. Do not merge.

It would change the text rendering info but not recompute
the Java Font objects. The effect is a broken font rendering
in the EditText (which use this method to copy some Paint
object before using the copy for the actual drawing)

Change-Id: I9e7fbf9bd57b421fd793876a6de4ade1ecac372d
ayoutlib/bridge/src/android/graphics/Paint.java
b5b37f3bcc3065959c27e588f065dfb33a061e1d 19-Jul-2010 The Android Open Source Project <initial-contribution@android.com> am 3d02b48b: merge from open-source master

Merge commit '3d02b48bd95293c767563729264f007dbcff82b3'

* commit '3d02b48bd95293c767563729264f007dbcff82b3':
Fix the layoutlib Paint.set(Paint) method.
3d02b48bd95293c767563729264f007dbcff82b3 19-Jul-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: I84a8efc2d58476c72e84170c19dc692dc180b97d
b8bb8ac5bbde9d2e4928015b980164781554eefe 17-Jul-2010 Xavier Ducrohet <xav@android.com> Fix the layoutlib Paint.set(Paint) method.

It would change the text rendering info but not recompute
the Java Font objects. The effect is a broken font rendering
in the EditText (which use this method to copy some Paint
object before using the copy for the actual drawing)

Change-Id: I6d8d1bf86f0d77d088f60ad81c71dd3ebab727b0
ayoutlib/bridge/src/android/graphics/Paint.java
dcd077179c853e54498e9127526a8f2984c0dda0 15-Jul-2010 Joe Onorato <joeo@android.com> am 92a47ea3: am 562124e8: Merge "Clean up some style in the makefiles." into gingerbread

Merge commit '92a47ea3a7b82708e46c9d1710355f5e5fdd4f07'

* commit '92a47ea3a7b82708e46c9d1710355f5e5fdd4f07':
Clean up some style in the makefiles.
80a60ba85b5c2ed40e8685a16ce6d3ed31ef0929 15-Jul-2010 Joe Onorato <joeo@android.com> Clean up some style in the makefiles.

Change-Id: I993702808395f37c2e9d3c7e457d2952be51d795
ayoutlib/Android.mk
f1ff21ac62a51f5ba8ca0821ea8a90f70957e25d 14-Jun-2010 Steve Block <steveblock@google.com> Fixes a few minor problems with AAPT

- Fixes casting problems with stricter compilers
- Adds a couple of missing ifdef guards

This is a first step toward being able to generate APKs on the fly on the device.

Bug: 2766918
Change-Id: Icaaee5a4032afa313256add321b447443861dd85
apt/Command.cpp
apt/Package.cpp
apt/Resource.cpp
apt/ResourceTable.cpp
apt/StringPool.cpp
apt/XMLNode.cpp
apt/ZipFile.h
a1b6dba25f5dcac6bb4b1e5c8b7d330d08385250 17-Jun-2010 Dan Morrill <morrildl@google.com> am dde1ae84: am 45378f07: am 6b22d81a: As Donut (API=4) devices and earlier do not have a Bluetooth API, .apk files that have minSdkLevel (or targetSdkLevel) set to 4 or lower should not be presumed to require Bluetooth just because they take the permission.

Merge commit 'dde1ae841ab77c4c0b3ef9bb25849314554a6ad7'

* commit 'dde1ae841ab77c4c0b3ef9bb25849314554a6ad7':
As Donut (API=4) devices and earlier do not have a Bluetooth API, .apk files
45378f07b8c0d79fe56fc75ad25738f8750e88c8 17-Jun-2010 Dan Morrill <morrildl@google.com> am 6b22d81a: As Donut (API=4) devices and earlier do not have a Bluetooth API, .apk files that have minSdkLevel (or targetSdkLevel) set to 4 or lower should not be presumed to require Bluetooth just because they take the permission.

Merge commit '6b22d81aa35d9a9b32670995c002e92588b2fe09' into gingerbread

* commit '6b22d81aa35d9a9b32670995c002e92588b2fe09':
As Donut (API=4) devices and earlier do not have a Bluetooth API, .apk files
56a5ee3325fb0cf77b4188df79d12553c72b2ec6 17-Jun-2010 Dan Morrill <morrildl@google.com> am 6b22d81a: As Donut (API=4) devices and earlier do not have a Bluetooth API, .apk files that have minSdkLevel (or targetSdkLevel) set to 4 or lower should not be presumed to require Bluetooth just because they take the permission.

Merge commit '6b22d81aa35d9a9b32670995c002e92588b2fe09' into froyo-plus-aosp

* commit '6b22d81aa35d9a9b32670995c002e92588b2fe09':
As Donut (API=4) devices and earlier do not have a Bluetooth API, .apk files
6b22d81aa35d9a9b32670995c002e92588b2fe09 16-Jun-2010 Dan Morrill <morrildl@google.com> As Donut (API=4) devices and earlier do not have a Bluetooth API, .apk files
that have minSdkLevel (or targetSdkLevel) set to 4 or lower should not be
presumed to require Bluetooth just because they take the permission.

Change-Id: Ia629e9ef0425a577e4e14f9b348f5aa2b39c1e74
apt/Command.cpp
6b56a84ace800811aec7e42e70bb3bfd8f6e809e 16-Jun-2010 Joe Onorato <joeo@android.com> am 3d6ea3bd: am 9a5fcd1c: am 9d71860e: Merge "The aapt and aidl tools are prebuilt when we\'re doing an apps-only build, so don\'t try to build them." into froyo

Merge commit '3d6ea3bd8690934dbcdb11aa84ae0bb22e211c28'

* commit '3d6ea3bd8690934dbcdb11aa84ae0bb22e211c28':
The aapt and aidl tools are prebuilt when we're doing an apps-only build, so don't try to build them.
9a5fcd1c14dcea951099433885ed3519dee90f48 16-Jun-2010 Joe Onorato <joeo@android.com> am 9d71860e: Merge "The aapt and aidl tools are prebuilt when we\'re doing an apps-only build, so don\'t try to build them." into froyo

Merge commit '9d71860e8cbaf16ddae3cd5d06ede8e6cfc7675a' into gingerbread

* commit '9d71860e8cbaf16ddae3cd5d06ede8e6cfc7675a':
The aapt and aidl tools are prebuilt when we're doing an apps-only build, so don't try to build them.
d6e3b204286e64d6ec79a88e38f58c3d87978fb0 15-Jun-2010 Joe Onorato <joeo@android.com> am 9d71860e: Merge "The aapt and aidl tools are prebuilt when we\'re doing an apps-only build, so don\'t try to build them." into froyo

Merge commit '9d71860e8cbaf16ddae3cd5d06ede8e6cfc7675a' into froyo-plus-aosp

* commit '9d71860e8cbaf16ddae3cd5d06ede8e6cfc7675a':
The aapt and aidl tools are prebuilt when we're doing an apps-only build, so don't try to build them.
8e03b7566c42621fda01186b66b019142eb84fbf 14-Jun-2010 Jeff Brown <jeffbrown@google.com> resolved conflicts for merge of 9e660c82 to master

Change-Id: Ic4bd85cbaa5b9a10dcb474a0dad46490bf967e43
46b9ac0ae2162309774a7478cd9d4e578747bfc2 23-Apr-2010 Jeff Brown <jeffbrown@google.com> Native input dispatch rewrite work in progress.

The old dispatch mechanism has been left in place and continues to
be used by default for now. To enable native input dispatch,
edit the ENABLE_NATIVE_DISPATCH constant in WindowManagerPolicy.

Includes part of the new input event NDK API. Some details TBD.

To wire up input dispatch, as the ViewRoot adds a window to the
window session it receives an InputChannel object as an output
argument. The InputChannel encapsulates the file descriptors for a
shared memory region and two pipe end-points. The ViewRoot then
provides the InputChannel to the InputQueue. Behind the
scenes, InputQueue simply attaches handlers to the native PollLoop object
that underlies the MessageQueue. This way MessageQueue doesn't need
to know anything about input dispatch per-se, it just exposes (in native
code) a PollLoop that other components can use to monitor file descriptor
state changes.

There can be zero or more targets for any given input event. Each
input target is specified by its input channel and some parameters
including flags, an X/Y coordinate offset, and the dispatch timeout.
An input target can request either synchronous dispatch (for foreground apps)
or asynchronous dispatch (fire-and-forget for wallpapers and "outside"
targets). Currently, finding the appropriate input targets for an event
requires a call back into the WindowManagerServer from native code.
In the future this will be refactored to avoid most of these callbacks
except as required to handle pending focus transitions.

End-to-end event dispatch mostly works!

To do: event injection, rate limiting, ANRs, testing, optimization, etc.

Change-Id: I8c36b2b9e0a2d27392040ecda0f51b636456de25
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
74905e5b0a471f727ae5bed770c2c7441f5163a1 11-Jun-2010 Joe Onorato <joeo@android.com> The aapt and aidl tools are prebuilt when we're doing an apps-only build, so don't try to build them.

Change-Id: I9896b11a9b90cbbbe2170243c8bdbc40231dfbff
apt/Android.mk
idl/Android.mk
8443e93fa2b2332fd92b4b0c061e69b5b22106d6 06-Jun-2010 Dianne Hackborn <hackbod@google.com> am fc15bd94: am 168585ed: am 5474902f: Merge "xhdpi" into froyo
168585ed68f03ddc851cd734cbb6ba813e30eb85 06-Jun-2010 Dianne Hackborn <hackbod@google.com> am 5474902f: Merge "xhdpi" into froyo

Merge commit '5474902fe9fe72c825855c4a77f99a581a9f6594' into kraken

* commit '5474902fe9fe72c825855c4a77f99a581a9f6594':
xhdpi
3cbef2cc21399f3729d4e0b96dccc58d594cac52 05-Jun-2010 Dianne Hackborn <hackbod@google.com> am 5474902f: Merge "xhdpi" into froyo

Merge commit '5474902fe9fe72c825855c4a77f99a581a9f6594' into froyo-plus-aosp

* commit '5474902fe9fe72c825855c4a77f99a581a9f6594':
xhdpi
588feee5e771de5ec71da213fbb1cba29392c690 04-Jun-2010 Dianne Hackborn <hackbod@google.com> xhdpi

This is only a tool (aapt) change, and does not impact any current code.

Change-Id: I562063f612af919eaadba8ac4868a95ff41ac840
apt/AaptAssets.cpp
74f170f9468d3cf6d7d0ef453320141a3e63571b 02-Jun-2010 Vasu Nori <vnori@google.com> new API in Context. on openDatabase, new param DatabaseErrorHandler

add new method openOrCreateDatabase in Context.java to allow
callers specify a DatabaseErrorHandler object to be used when
database corruption occurs.
add new constructor in SQLiteOpenHelper to accept DatabaseErrorHandler
as an additional param to be used when SQLiteDatabase instance is
created.

Change-Id: I912a0202a74510f9ca0206dd8101c4abab9102ae
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java
453bcedeaa95f01e34442ff496f237d7ea6ae2ef 03-Jun-2010 Kenny Root <kroot@google.com> am 5095232d: am 15fe2cb7: Add error checking for translatable strings
15fe2cb73b0770316db302f6502f568062d68e74 29-May-2010 Kenny Root <kroot@google.com> Add error checking for translatable strings

Translatable strings that have multiple substitutions should use
positional String.format() substitutions. This change makes it an error
not to use that format on translatable strings that have more than one
substitution in its text.

Change-Id: I3a19707f3804aa24e8568dc1653a11576cac5916
apt/ResourceTable.cpp
apt/XMLNode.cpp
apt/XMLNode.h
a7b01969f6257b095aa3056ef0cdfc2b97954969 10-May-2010 The Android Open Source Project <initial-contribution@android.com> am cee6300c: am 38a410f1: am 686d9ff5: merge from open-source master
38a410f12a1cbb5f49cdee6323da898b11c907e7 10-May-2010 The Android Open Source Project <initial-contribution@android.com> am 686d9ff5: merge from open-source master

Merge commit '686d9ff53c32ded9b2b02eb9f2040f2030846e51' into kraken

* commit '686d9ff53c32ded9b2b02eb9f2040f2030846e51':
Use isLocationProviderEnabled to test for enabled providers
Added WEB_URL_PATTERN for Montenegro ".me"
long modifier was on the wrong argument.
686d9ff53c32ded9b2b02eb9f2040f2030846e51 10-May-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: Ic2b28b589d079cf3c9927ce9ad22bc5f9134e445
0a26aaad8b98c3b80be9562503100e925d078749 10-May-2010 Jean-Baptiste Queru <jbq@google.com> Merge "long modifier was on the wrong argument."
da3ae8c193b6eea96cd8ab9eb41871a4500c79cd 05-May-2010 Dan Morrill <morrildl@google.com> am 69a07917: am 6a22fb9b: am f7ebcfec: am e17b4e71: Merge "Adding the backward-compatible filtering heuristics for the new device features definitions added in FroYo." into froyo
6a22fb9bef2c7e7b5cf53b356e81339f6699e551 04-May-2010 Dan Morrill <morrildl@google.com> am f7ebcfec: am e17b4e71: Merge "Adding the backward-compatible filtering heuristics for the new device features definitions added in FroYo." into froyo

Merge commit 'f7ebcfeccbd4433be5252857a854a6b565bf3fb9' into kraken

* commit 'f7ebcfeccbd4433be5252857a854a6b565bf3fb9':
Adding the backward-compatible filtering heuristics for the new device
89d97c1418c7a8b54fd57cc90daa1b1a98848bf6 04-May-2010 Dan Morrill <morrildl@google.com> Adding the backward-compatible filtering heuristics for the new device
features definitions added in FroYo.

Change-Id: I5024e45c62813fe2fd2ff4d222df816a86a94f86
apt/Command.cpp
8640c1d0e55281530da58350ef54a881d5c51187 29-Apr-2010 Dianne Hackborn <hackbod@google.com> am 14cee9f6: New xlarge screen size.
14cee9f688c32d63d8521188e7422811629bb7c2 24-Apr-2010 Dianne Hackborn <hackbod@google.com> New xlarge screen size.

Not complete, only for experimentation at this point.

This includes a reworking of how screen size configurations are matched,
so that if you are on a larger screen we can select configurations for
smaller screens if there aren't any exactly matching the current screen.

The screen size at which we switch to xlarge has been arbitrarily
chosen; the compatibility behavior has not yet been defined.

Change-Id: I1a33b3818eeb51a68fb72397568c39ab040a07f5
apt/AaptAssets.cpp
29355534384ee24bfe9a3bc97d7664dbe478b4fb 14-Apr-2010 Raphael <raphael@google.com> Fix aapt to build in Windows SDK under Linux

(Merge master Change Ic4a7b9e4)
apt/Android.mk
69df817eea480e360e5c4f1d1f29ea7c2ce3a025 14-Apr-2010 Raphael <raphael@google.com> Fix aapt to build in Windows SDK under Linux

Change-Id: Ic4a7b9e4df5b32bc338547a2a9d09b834ebaff14
apt/Android.mk
55f9c17777a25792fd8b453799aa31daf122c279 10-Apr-2010 Xavier Ducrohet <xav@android.com> Merge "README for layoutlib."
3a8d3167bc51217fb50b488541ca662425abb71b 10-Apr-2010 Xavier Ducrohet <xav@android.com> README for layoutlib.

Change-Id: If8192232b70f2c4084cf73abd54b7798296e8c16
ayoutlib/README
c56653bff10ef7f1a80127c9649ed0b2c6ae1b2e 09-Apr-2010 Xavier Ducrohet <xav@android.com> Adds back the finalize method on the replaced Paint class.

without it com.android.layoutlib.bridge.TestClassReplacement fails.

Change-Id: Iafb6548f45c31e901591a45239224895c4403be8
ayoutlib/bridge/src/android/graphics/Paint.java
c9f3088036dd7cce6903e307afea3e289a334036 24-Mar-2010 Kenny Root <kroot@google.com> Use correct API version for UTF-8 checking

Use the constant for checking the API version in aapt instead of a bare
number.

Bug: 2541326
Change-Id: Ice7af7b393363a00f1832dd84753b8138d057fb4
apt/Bundle.h
apt/Resource.cpp
apt/ResourceTable.cpp
ed9830999aede5e827b31446f91ad90a37b8bba9 18-Mar-2010 Kenny Root <kroot@google.com> Make aapt warning concise

The previous warning made it seem like it could be using the value
specified on the command line, but, in fact, it would ignore the command
line value if it were already specified in the AndroidManifest.xml

Change-Id: I15e8161e094f17412680d25d3b7b810474eb4a31
apt/Resource.cpp
1741cd4904414b5b4e768953a8f1abb3f0ef0a0a 18-Mar-2010 Kenny Root <kroot@google.com> Fix minSdkVersion scanning to not throw warnings

For the UTF8/UTF16 switch code, we needed to know what was the
minSdkVersion specified as early as possible. Unfortunately, this threw
warnings when the SDK was compiling since we always set this field in
the Bundle.

This splits out the field used by the initial AndroidManifest.xml scan
to a separate one that we won't attempt to re-insert into the
AndroidManifest.xml This also switches the logic to better reflect the
preference of UTF-8 over UTF-16; previously UTF-16 was the default.

Change-Id: Ia81f6b21047043ebb711eb24c2c3718534979ef6
apt/Bundle.h
apt/Main.cpp
apt/Resource.cpp
apt/ResourceTable.cpp
694f79b5d1196640d1beb680b7d1fc68e6e77cbd 18-Mar-2010 Dianne Hackborn <hackbod@google.com> Fix issue #2519590: Lock screen stuck in landscape mode

Well, mostly. There is still a problem here where the first time
you show the lock screen it just doesn't draw itself. I assume
this is something breaking in the view hierarchy as it floounders
around removing and adding new views as it is first being shown...
but no idea at this point what is the actual case.

Change-Id: Iba99ae3242931c8673b17b106c86fc99e2c52abe
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
9e652a67ca46c1841993a806e67822fc45b4dc42 12-Mar-2010 Kenny Root <kroot@google.com> Give an 9-patch error on too many rows and columns

When you have too many rows and columns, there are not enough colors in
the 9-patch private metadata to represent them. Instead of crashing
aapt, this change gives the user an error message telling them why it's
invalid.

Change-Id: I5e7bd59472a3a2eafa7cbc263792458cce2b5594
apt/Images.cpp
15a4d2ffd04dc6c70f2cd17dae12ac6bc14c69ab 12-Mar-2010 Kenny Root <kroot@google.com> Add correct copyright headers to multiple files

Format for the list of changes shows the origin commit reference followed
by the file name.

33931-p9 awt/org/apache/harmony/awt/gl/font/AndroidGlyphVector.java
33931-p9 awt/org/apache/harmony/awt/gl/image/PngDecoderJava.java
133776-p9 core/java/android/app/IntentService.java
127013-p9 core/java/android/appwidget/AppWidgetHost.java
27863-p9 core/java/android/bluetooth/BluetoothAudioGateway.java
60765-p9 core/java/android/content/SyncResult.java
43920-p9 core/java/android/content/pm/ActivityInfo.java
43920-p9 core/java/android/content/pm/ApplicationInfo.java
43920-p9 core/java/android/content/pm/InstrumentationInfo.java
43920-p9 core/java/android/content/pm/PackageInfo.java
44103-p9 core/java/android/content/pm/PackageItemInfo.java
68960-p9 core/java/android/content/pm/PackageStats.java
43920-p9 core/java/android/content/pm/ResolveInfo.java
43920-p9 core/java/android/content/pm/ServiceInfo.java
60641-p9 core/java/android/content/res/Configuration.java
60734-p9 core/java/android/content/res/TypedArray.java
137672-p9 core/java/android/inputmethodservice/ExtractButton.java
123112-p9 core/java/android/inputmethodservice/ExtractEditText.java
119291-p9 core/java/android/inputmethodservice/IInputMethodSessionWrapper.java
112946-p9 core/java/android/inputmethodservice/IInputMethodWrapper.java
115078-p9 core/java/android/os/BatteryStats.java
124790-p9 core/java/android/text/style/UpdateAppearance.java
45083-p9 core/java/android/view/RawInputEvent.java
101491-p9 core/java/android/view/inputmethod/EditorInfo.java
114701-p9 core/java/android/view/inputmethod/ExtractedText.java
123112-p9 core/java/android/view/inputmethod/ExtractedTextRequest.java
119291-p9 core/java/com/android/internal/os/HandlerCaller.java
129279-p9 core/java/com/android/internal/os/PkgUsageStats.java
114701-p9 core/java/com/android/internal/view/IInputConnectionWrapper.java
114701-p9 core/java/com/android/internal/view/InputConnectionWrapper.java
84364-p9 opengl/java/android/opengl/EGLLogWrapper.java
11355-p9 opengl/tools/glgen/src/CFunc.java
11355-p9 opengl/tools/glgen/src/CType.java
11355-p9 opengl/tools/glgen/src/CodeEmitter.java
11355-p9 opengl/tools/glgen/src/GenerateGL.java
11355-p9 opengl/tools/glgen/src/JFunc.java
11355-p9 opengl/tools/glgen/src/JType.java
11355-p9 opengl/tools/glgen/src/JniCodeEmitter.java
11355-p9 opengl/tools/glgen/src/ParameterChecker.java
57236-p9 services/java/com/android/server/status/AnimatedImageView.java
66754-p9 services/java/com/android/server/status/CloseDragHandle.java
57188-p9 services/java/com/android/server/status/DateView.java
46928-p9 services/java/com/android/server/status/ExpandedView.java
70590-p9 services/java/com/android/server/status/FixedSizeDrawable.java
45968-p9 services/java/com/android/server/status/IconData.java
57470-p9 services/java/com/android/server/status/IconMerger.java
82719-p9 services/java/com/android/server/status/LatestItemView.java
45968-p9 services/java/com/android/server/status/NotificationData.java
66754-p9 services/java/com/android/server/status/NotificationLinearLayout.java
57458-p9 services/java/com/android/server/status/NotificationViewList.java
45968-p9 services/java/com/android/server/status/StatusBarException.java
45968-p9 services/java/com/android/server/status/StatusBarIcon.java
46130-p9 services/java/com/android/server/status/StatusBarNotification.java
45968-p9 services/java/com/android/server/status/StatusBarView.java
46199-p9 services/java/com/android/server/status/Ticker.java
62286-p9 services/java/com/android/server/status/TickerView.java
57188-p9 services/java/com/android/server/status/TrackingView.java
86041-p9 telephony/java/android/telephony/PhoneStateListener.java
87020-p9 telephony/java/com/android/internal/telephony/TelephonyIntents.java
136269-p9 telephony/java/com/android/internal/telephony/gsm/SpnOverride.java
34409-p9 tests/FrameworkTest/src/com/android/frameworktest/FrameworkTestApplication.java
55717-p9 tests/FrameworkTest/src/com/android/frameworktest/performance/InvalidateCycle.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/AutoCompleteTextViewActivityLandscape.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/AutoCompleteTextViewActivityPortrait.java
129372-p9 tests/ImfTest/src/com/android/imftest/samples/BigEditTextActivityNonScrollablePanScan.java
129372-p9 tests/ImfTest/src/com/android/imftest/samples/BigEditTextActivityNonScrollableResize.java
129372-p9 tests/ImfTest/src/com/android/imftest/samples/BigEditTextActivityScrollablePanScan.java
129372-p9 tests/ImfTest/src/com/android/imftest/samples/BigEditTextActivityScrollableResize.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/BottomEditTextActivityPanScan.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/BottomEditTextActivityResize.java
127341-p9 tests/ImfTest/src/com/android/imftest/samples/ButtonActivity.java
129347-p9 tests/ImfTest/src/com/android/imftest/samples/DialogActivity.java
129372-p9 tests/ImfTest/src/com/android/imftest/samples/EditTextActivityDialog.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/ManyEditTextActivityNoScrollPanScan.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/ManyEditTextActivityScrollPanScan.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/ManyEditTextActivityScrollResize.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/OneEditTextActivityNotSelected.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/OneEditTextActivitySelected.java
25959-p9 tests/framework-tests/src/android/test/FrameworkTests.java
46162-p9 tests/framework-tests/src/com/android/internal/http/multipart/MultipartTest.java
77101-p9 tools/layoutlib/bridge/tests/com/android/layoutlib/bridge/NinePatchTest.java
9788976b1465ce982b5ae7c741345edd0ecd9322 core/java/android/accounts/AuthenticatorDescription.java
53332883543868fb83e111a07306368b7772b340 core/java/android/app/UiModeManager.java
93e7e22ec91dbc641d10ca6d70423e1357a95bba core/java/android/app/FullBackupAgent.java
328c0e7986aa6bb7752ec6de3da9c999920bb55f core/java/android/content/CursorEntityIterator.java
307da1a46b4c9b711bafe8fbaaa6b98e8868c18e core/java/android/content/SyncQueue.java
307da1a46b4c9b711bafe8fbaaa6b98e8868c18e core/java/android/content/SyncOperation.java
eb034652c2037a47ebfd99779e8383bb8bb528af core/java/android/content/pm/LabeledIntent.java
49237345d83e62fdb9eb8d50b13ad086636a04fa core/java/android/content/pm/FeatureInfo.java
a2b6c3775ed6b8924232d6a01bae4a19740a15f8 core/java/android/content/pm/PackageInfoLite.java
3ecd5f437580e49d80beecd29489d5fb1f7a7db0 core/java/android/content/pm/RegisteredServicesCacheListener.java
5ebbb4a6b3e16f711735ae0615b9a9ea64faad38 core/java/android/content/pm/XmlSerializerAndParser.java
c4516a7b62de525e3d6d5e76851bdfaf12c11f05 core/java/android/database/sqlite/SQLiteTransactionListener.java
9bbc21a773cbdfbef2876a75c32bda5839647751 core/java/com/android/internal/backup/LocalTransport.java
21f1bd17b2dfe361acbb28453b3f3b1a110932fa core/java/com/android/internal/content/PackageMonitor.java
4c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3 core/java/com/android/internal/view/BaseSurfaceHolder.java
4c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3 core/java/com/android/internal/view/BaseIWindow.java
e540833fdff4d58e37c9ba859388e24e2945ed45 core/java/com/android/internal/os/SamplingProfilerIntegration.java
192ab903887bbb8e7c7b6da5c581573850e30f46 core/tests/coretests/src/android/widget/expandablelistview/PositionTesterContextMenuListener.java
1619367ab823150fa8856d419abe02ceb75886f1 media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/MediaProfileReader.java
27f8002e591b5c579f75b2580183b5d1c4219cd4 opengl/tools/glgen/stubs/gles11/glGetString.java
560814f6b11abe83ff0c4ed18cac015c276b3181 opengl/tools/glgen/stubs/gles11/glGetProgramInfoLog.java
560814f6b11abe83ff0c4ed18cac015c276b3181 opengl/tools/glgen/stubs/gles11/glGetShaderInfoLog.java
560814f6b11abe83ff0c4ed18cac015c276b3181 opengl/tools/glgen/stubs/gles11/glShaderSource.java
1c4907ee77392afb768c2f088e0dedbe4239f6fb opengl/tools/glgen/src/GenerateGLES.java
1c4907ee77392afb768c2f088e0dedbe4239f6fb opengl/tools/glgen/src/Jsr239CodeEmitter.java
1c4907ee77392afb768c2f088e0dedbe4239f6fb opengl/tools/glgen/src/GLESCodeEmitter.java
69e21f5f6e0d04539cd92848ea009dd615d88c2c opengl/tests/gldual/src/com/android/gldual/TriangleRenderer.java
c028be4f3b8c7476b46859f66c3f33d528adf181 packages/DefaultContainerService/src/com/android/defcontainer/DefaultContainerService.java
7c6efa13f129dbae5319f0981a430d4662f43354 tests/BrowserPowerTest/src/com/android/browserpowertest/PowerMeasurement.java
7c6efa13f129dbae5319f0981a430d4662f43354 tests/BrowserPowerTest/src/com/android/browserpowertest/PowerTestActivity.java
7c6efa13f129dbae5319f0981a430d4662f43354 tests/BrowserPowerTest/src/com/android/browserpowertest/PowerTestRunner.java
df8a3f31d871db25e952972c2eb346a71186e9e3 tests/BrowserTestPlugin/src/com/android/testplugin/TestPlugin.java
cfaef699e1dfb3a75d5b51f3b15816f13670fd51 tests/permission/src/com/android/framework/permission/tests/ActivityManagerPermissionTests.java
cfaef699e1dfb3a75d5b51f3b15816f13670fd51 tests/permission/src/com/android/framework/permission/tests/ServiceManagerPermissionTests.java
cfaef699e1dfb3a75d5b51f3b15816f13670fd51 tests/permission/src/com/android/framework/permission/tests/WindowManagerPermissionTests.java

Copyright header moved to top in following file:

core/tests/coretests/src/android/widget/ListViewTest.java

Change-Id: I3c3198be5a0ba36e18679ed834170432bf0b8418
ayoutlib/bridge/tests/com/android/layoutlib/bridge/NinePatchTest.java
774562275fa76681933a0105ed61c672892b23bd 10-Mar-2010 Kenny Root <kroot@google.com> Revert "Dedupe resource config pointers"

This reverts commit 7b467d8b44c00d14590c021928b6a9ad5a36348e.
apt/ResourceTable.cpp
apt/ResourceTable.h
7b467d8b44c00d14590c021928b6a9ad5a36348e 10-Mar-2010 Kenny Root <kroot@google.com> Dedupe resource config pointers

When there are two configs in a StringPool that would match a string ID
only keep the more generic entry to save some space. This means that if
you have both "es" and "es_US" translations that have the same
translation, the string entry would be removed from the "es_US" config.

Change-Id: I4d619942d35ddb477e2eabe4437b7f02697c24de
apt/ResourceTable.cpp
apt/ResourceTable.h
cf244ada58539ce857ec041d7288d0271204fbb6 10-Mar-2010 Dianne Hackborn <hackbod@google.com> Add ability for some manifest attributes to reference resources.

This loosens our restriction on many manifest attributes requiring
literal string values, to allow various ones to use values from
resources. This is only allowed if the resource value does not change
from configuration changes, and the restriction is still in place
for attributes that are core to security (requesting permissions) or
market operation (used libraries and features etc).

Change-Id: I4da02f6a5196cb6a7dbcff9ac25403904c42c2c8
apt/Command.cpp
apt/Resource.cpp
apt/ResourceTable.cpp
apt/ResourceTable.h
cd47f11dfad012be1b176ea06904a00da157ed7b 05-Mar-2010 Ed Heyl <edheyl@google.com> Merge "Change an aapt "warning" from "*** " to "**** " (from three to four stars). "*** " (three stars and a space) is the 'magic make error string'; so this change makes it easier to find the real issues/errors in build logs. Besides, other aapt messages are "**** "."
65e185b51ec655518f1917418cd6192400ac439d 05-Mar-2010 Ed Heyl <edheyl@google.com> Change an aapt "warning" from "*** " to "**** " (from three to four stars).
"*** " (three stars and a space) is the 'magic make error string'; so this change makes it
easier to find the real issues/errors in build logs. Besides, other aapt messages are "**** ".
apt/ResourceTable.cpp
ee2b21dba2740dcb47a68b8d1ed671b425c96948 05-Mar-2010 Xavier Ducrohet <xav@android.com> Merge "Fix potential aapt crash when processing overlay."
83f4c0994fd34f9b35eeb2c14908d9e6c2e15930 05-Mar-2010 Xavier Ducrohet <xav@android.com> Fix potential aapt crash when processing overlay.

If an overlay has a type of resources that's not defined in
the main res pool, then aapt would crash.

This dynamically create new ResourceTypeSet when needed
when processing the overlays

Change-Id: I67bc3622281bde73cf42f37a0983798d3f658ce2
apt/Resource.cpp
7299c41630935a2b106e73e5603579a7747f7535 05-Mar-2010 Dianne Hackborn <hackbod@google.com> Refactor car mode.

Extract all UI behavior from dock observer and ACTION_DOCK_EVENT.

Also introduce a desk type to go along with the car type all through
the resource system, since we now need to have corresponding high-level
broadcasts for desk dock mode. As part of that I also reworked some
of the logic for switching modes to all funnel through a single
update() call that looks all of the current state to decide what to
do next, and fixed various locking issues.

In addition I found there were bugs in the configuration change
handling causing us to only switch into the car mode config and
then never get out of it. Unfortunately now that we are actually
changing the configuration for each mode change, the transitions
between them are really crummy as we restart all kinds of
activities. :(
apt/AaptAssets.cpp
b0381efaf71e917214cec78ed1c35eb688454e93 03-Mar-2010 Dianne Hackborn <hackbod@google.com> Fix issue #2485441: SettingsBackupAgent crashed system server

Need to take care of fixing up backupAdjust as well as reporting it
to ProGuard.
apt/Resource.cpp
abd03658bc4cd925bf89d60f49d0c56351cf08da 02-Mar-2010 Dianne Hackborn <hackbod@google.com> Fix issue #2482423: Settings is broken due to dead-code stripping

Take care of more custom classes in layouts, and also scan through
preference XMLs.
apt/Resource.cpp
ef05e076ced1a32c5c0aaee28403779834adb2ba 02-Mar-2010 Dianne Hackborn <hackbod@google.com> Fix issue #2448075: aapt doesn't fix up activity-alias android:targetActivity links

And related:

- The aapt tool now sets a resource configurations sdk level to match any configs
that have been set (for example if you specify density your sdk level will be
at least 4).
- New option to modify the targetPackage attribute of instrumentation.
- Clean up of aapt options help.
- Fix of UI type values to leave 0 for "unspecified".
- Make the UI mode config APIs public.
apt/AaptAssets.cpp
apt/AaptAssets.h
apt/Bundle.h
apt/Command.cpp
apt/Main.cpp
apt/Resource.cpp
2269d1572e5fcfb725ea55f5764d8c3280d69f6d 25-Feb-2010 Dianne Hackborn <hackbod@google.com> Re-arrange android-common so framework no longer links with it.

This is the framework part, moving classes around so the framework
no longer needs to link to android-common. Makes some APIs public,
others that didn't need to be public are private in the framework,
some small things are copied.
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeTypedArray.java
7ff20e30c50cf1d47a7eaacd71665a1d2f4ecdc4 25-Feb-2010 Kenny Root <kroot@google.com> Create own reference for minSdkVersion in aapt

Fix bug where applications defining a minSdkVersion were experiencing
transient errors from memory corruption in aapt.

Change-Id: I839d5eda7388baac6133e735fa59f9799ca2822d
apt/Resource.cpp
5a8ec761213d723fc3a6a92250e5e855605046a6 25-Feb-2010 Kenny Root <kroot@google.com> Scan for android namespace in manifest

android:minSdkVersion wasn't being correctly scanned because the
namespace was incorrect. This fixes that problem so packages aren't
generated as UTF-8 when minSdkVersion is less than 7.

Change-Id: I8f45d47ea886915da6a4770f6e111e6085d61bee
apt/Resource.cpp
ba289966c644bf54a747ba9b003f86ea7f12bfed 25-Feb-2010 Carl Shapiro <cshapiro@google.com> Merge "Remove empty finalize methods."
05c376b00b583ea3fdf0a222d7220fab7eca15c2 25-Feb-2010 Carl Shapiro <cshapiro@google.com> Remove empty finalize methods.
ayoutlib/bridge/src/android/graphics/Canvas.java
ayoutlib/bridge/src/android/graphics/Matrix.java
ayoutlib/bridge/src/android/graphics/Paint.java
a09bb0d218d2ddb73b92b6dd4415456c9105cde8 25-Feb-2010 Jesse Wilson <jessewilson@google.com> Merge "New update of preloaded classes for Froyo."
e9fcaa0697dcb257d0288118347f721ce8806b55 24-Feb-2010 Jesse Wilson <jessewilson@google.com> New update of preloaded classes for Froyo.
reload/20100223.compiled
reload/MemoryUsage.java
reload/Policy.java
reload/Record.java
be896a9b2e8dfb3bac6b270ff6e2388d1cb53d25 24-Feb-2010 Xavier Ducrohet <xav@google.com> Merge "Fix the layoutlib to still support fill_parent."
bc3323bea64bbeab0edd0df5e344d844a8d89509 24-Feb-2010 Xavier Ducrohet <xav@android.com> Fix the layoutlib to still support fill_parent.

Change-Id: I5e1825f1f853cf9e31b2ee262edce636a030429d
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeTypedArray.java
780d2a1b714724d85227141c76b3c64f543f00b4 23-Feb-2010 Kenny Root <kroot@google.com> Use UTF-8 strings to avoid duplicate caching, part 1

StringBlock instances containing UTF-8 strings use a cache to convert
into UTF-16, but using that cache and then using a JNI call to NewString
causes the UTF-8 string as well as two copies of the UTF-16 string to
be held in memory. Getting the UTF-8 string directly from the StringPool
eliminates one copy of the UTF-16 string being held in memory.

This is part 1. Part 2 will include ResXMLParser optimizations.

Change-Id: Ibd4509a485db746d59cd4b9501f544877139276c
apt/StringPool.cpp
e599f78e7785d41902d7525c71d487b36d8ccca2 19-Feb-2010 Kenny Root <kroot@google.com> Use direct reference to enum in AaptAssets

The second argument to the getNavHiddenName can be NULL, so use a direct
reference to the class to get the enum values instead of the argument.

Change-Id: I0444572c23cb4de9e7da15a8310a49cf4619bb15
apt/AaptAssets.cpp
e36d6e277e49475076b7872d36ea6a5c5b996e9d 18-Feb-2010 Dianne Hackborn <hackbod@google.com> Work on issue #2263557: PMF3000 showing hybrid of portrait and landscape modes

This is a bunch of reworking of how configuration changes are handled:

- When orientation is changing (for whatever reason), the window manager no
longer tries to pre-emptively compute a new configuration. Instead, it
just determines change is happening and tells the window manager.
- The activity manager is now responsible for giving the window manager the
final configuration it is using. This is both so it knows whem the
activity manager is done with its configuration updates, and so the window
manager can use the "real" configuration.
- When an orientation or other configuration change is happening, freeze the
screen and keep it frozen until the activity manager has given us the
final configuration.
- The window manager can now send new configurations to its clients during
its layout pass, as part of a resize, if it has determined that it has
changed. This allows for a new View.onConfigurationChanged() API for any
view to easily find out when the configuration has changed.
- ViewRoot now also works with the activity thread to make sure the process's
current resources are updated to the new configuration when it receives one
from a window. This ensures that at the time onConfigurationChanged() and
other view callbacks are happening, the correct configuration is in force.
- There is now a sequence number associated with Configuration, which
ActivityThread uses to avoid using stale configurations. This is needed now
that it can receive configurations asynchronously from both the window
manager and activity manager.
- The hack for keeping the locale has been removed, and underlying problem
fixed by having Configuration initialize its locale to "unknown" instead of
a valid default value.
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
5706329cf42db714582fa698eb9f408350276f16 18-Feb-2010 Kenny Root <kroot@google.com> Merge "Change buf size holding integer in ResourceTable"
f5a7c121dd3abb9763c30115c772fd1fc03caea2 18-Feb-2010 Kenny Root <kroot@google.com> Change buf size holding integer in ResourceTable

A 32-bit integer can be 10 characters long plus a byte for \0 at the
end.

Change-Id: I58040fe6e1674e78bcc6e07463ff36fb26e280f4
apt/ResourceTable.cpp
fedfea24e7de98b4fde13d6f79e6db37d9f0e169 18-Feb-2010 Kenny Root <kroot@google.com> Fix enum reference

Was using argument that is set default to NULL as a shortcut to an
enum's value. Change it to reference to class directly to avoid a null
pointer dereference.

Change-Id: I16b8ee15af4f095f027113131d574b70768994b0
apt/AaptAssets.cpp
ddcf25ea7e1b21b908da73000630c72d6fa146b4 13-Feb-2010 Xavier Ducrohet <xav@google.com> am 2be56ccb: Merge "Add --auto-add-overlay option to aapt. DO NOT MERGE" into eclair

Merge commit '2be56ccbcff9d5f7b9b3cc0fed3825d4f037ff6a' into eclair-plus-aosp

* commit '2be56ccbcff9d5f7b9b3cc0fed3825d4f037ff6a':
Add --auto-add-overlay option to aapt. DO NOT MERGE
b9d2dc2319d1ced5cabedabe0dfbf5add9753dbd 05-Feb-2010 Xavier Ducrohet <xav@android.com> Add --auto-add-overlay option to aapt. DO NOT MERGE

This option allows resources only present in overlays to be
added automatically instead of being declared through <add-resource>

(merge from master)

Change-Id: I5f402a1fa7213d18724d91f84bc05ef39ace2ed9
apt/Bundle.h
apt/Main.cpp
apt/ResourceTable.cpp
apt/ResourceTable.h
e2c17f9174144a6eca3fdbed8d5d1370f318f549 12-Feb-2010 Jeff Hamilton <jham@android.com> Dump original-package entries.

Change-Id: I29b20811847555ff9858ef47cca69c8b992b24ea
apt/Command.cpp
99e1cdae99a99170011150d6827bf4c9ee63c075 12-Feb-2010 Xavier Ducrohet <xav@android.com> Fix in layoutlib due to some changes in the frameworks.

Some methods disappear or became abstract in the base class
(breaking @Override)

Change-Id: Id4d298ee84ba008ac97ecaaf90b19003ac09f104
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeAssetManager.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java
27b28b3f62bd3b54fa13acd5d035940b9be464f3 09-Feb-2010 Tobias Haamel <haamel@google.com> Introduce special UI modes for night and car usage.

The device mode is now called ui mode. Furthermore is the order of
precedence for the resources now in such a way that the ui mode needs
to be specified after the orientation and before the density.

The ui mode can be set, like it is done for the locale, as follows:

IActivityManager am = ActivityManagerNative.getDefault();
Configuration config = am.getConfiguration();
config.uiMode = Configuration.UI_MODE_TYPE_CAR | Configuration.UI_MODE_NIGHT_ANY;
am.updateConfiguration(config);

To allow users to disable the car mode and set the night mode the IUiModeManager
interface is used.

The automatic night mode switching will be added in a separate change.
apt/AaptAssets.cpp
apt/AaptAssets.h
apt/Resource.cpp
apt/ResourceTable.cpp
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeAssetManager.java
e83cefcef07f9ac025642c1ffec76b4c7ab39cf2 05-Feb-2010 Dianne Hackborn <hackbod@google.com> New external storage APIs.

This implements the spec for external storage organization, and
properly reflects how the media scanner organizes the files it finds.

Also includes package manager support for removing app private
files from external storage when the application is uninstalled.

For the new APIs and paths, the main place to look is Environment
and Context.
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java
99080c7d9ad9e5ccfec70dd10e4c24468a960c45 05-Feb-2010 Xavier Ducrohet <xav@android.com> Add --auto-add-overlay option to aapt.

This option allows resources only present in overlays to be
added automatically instead of being declared through <add-resource>

Change-Id: Iff782311056f6a045193e57d204f7d3413e11b26
apt/Bundle.h
apt/Main.cpp
apt/ResourceTable.cpp
apt/ResourceTable.h
2fee0ed6eb99b211efa06f095a41268a2021214a 06-Jan-2010 Jeff Hamilton <jham@android.com> Add the --rename-manifest-package option to aapt.

It allows you to force override the manifest
package listed in the AndroidManifest.xml when
creating an APK file.

Change-Id: I7eac7943c4e56610b65728ae54773a273634fd9d
apt/Bundle.h
apt/Main.cpp
apt/Resource.cpp
apt/StringPool.cpp
apt/XMLNode.cpp
apt/XMLNode.h
15900779058611c1a082724486cb0a49c50ae606 28-Jan-2010 Ying Wang <wangying@google.com> am 6efe03b1: am 6f9e2c64: Merge "Find layout classes in all "layout-*" dirs." into eclair

Merge commit '6efe03b19e0734361b262f9a0be4d225088d7f9e'

* commit '6efe03b19e0734361b262f9a0be4d225088d7f9e':
Find layout classes in all "layout-*" dirs.
264ce3825892e4b5ef6af61d330832f4592130bf 22-Jan-2010 Xavier Ducrohet <xav@google.com> am 3bd6dc65: am b44051ee: Merge "ADT/Layoutlib: implement sweep gradient." into eclair

Merge commit '3bd6dc653521281db25df77f055b3ec0b4659454'

* commit '3bd6dc653521281db25df77f055b3ec0b4659454':
ADT/Layoutlib: implement sweep gradient.
28d9c60ee203eff53a5a8577df8a780402173b24 22-Jan-2010 Xavier Ducrohet <xav@google.com> am 60e3c09e: am 6866daee: Merge "ADT/Layoutlib: implement radial gradient." into eclair

Merge commit '60e3c09ec0fa73a3e650f4aec89c763599c2e0b7'

* commit '60e3c09ec0fa73a3e650f4aec89c763599c2e0b7':
ADT/Layoutlib: implement radial gradient.
b70efcbbb1ae0672c43da86511daf49d177d8ed8 22-Jan-2010 Ying Wang <wangying@google.com> am 3c05f1fb: am b5fb50a1: Merge "Add instrumentation as a source tag for proguard keep options." into eclair

Merge commit '3c05f1fbac2ce35483f61dbd5d5bfb6341da6d9c'

* commit '3c05f1fbac2ce35483f61dbd5d5bfb6341da6d9c':
Add instrumentation as a source tag for proguard keep options.
c22b3ca198dcb1d11c1a9cb8e17eb9c66b2afaa5 22-Jan-2010 Xavier Ducrohet <xav@google.com> am da84d6a1: am 908a8111: Merge "ADT/Layoutlib: Add dash support to stroke." into eclair

Merge commit 'da84d6a1b1c37376d48f92ae59b76f1c891772f6'

* commit 'da84d6a1b1c37376d48f92ae59b76f1c891772f6':
ADT/Layoutlib: Add dash support to stroke.
4e8e87d905054737dc51ef0ba90f0a0a518be000 22-Jan-2010 Xavier Ducrohet <xav@google.com> am c0ea805c: am 2b30a4a5: Merge "ADT/Layoutlib: properly handle stroke information." into eclair

Merge commit 'c0ea805c649666b55d4dde09eb72dcccfa8bccc3'

* commit 'c0ea805c649666b55d4dde09eb72dcccfa8bccc3':
ADT/Layoutlib: properly handle stroke information.
37f3ddb60ba75acde323066836e6ba2111dabb98 22-Jan-2010 Doug Zongker <dougz@android.com> Merge "relocate GoogleLoginService"
0a2fb2174ed8d3e34ae435410ea3998a1fb2d97f 21-Jan-2010 Doug Zongker <dougz@android.com> relocate GoogleLoginService

Change-Id: I79f4ff658ab136adcc54c432db76f34d2de5f6ac
reload/Policy.java
18d21ef83e5de1cbd3875274f3c5f6eee198af6e 21-Jan-2010 Xavier Ducrohet <xav@google.com> am 20cc5570: am 79f05bb4: Merge "ADT/Layoutlib: improved gradient drawing for perf." into eclair

Merge commit '20cc55703348827fbd80ff0410777a537f01e10e'

* commit '20cc55703348827fbd80ff0410777a537f01e10e':
ADT/Layoutlib: improved gradient drawing for perf.
beb0993c6aa7ccaf4e1ec88355a28f4c3ea93c7a 21-Jan-2010 Xavier Ducrohet <xav@android.com> am 38fa9eee: am 89d538dc: ADT/Layoutlib: don\'t draw 0-sized rectangle, AWT doesn\'t like that.

Merge commit '38fa9eee9324b2355f28372e80dba12c1d7cc105'

* commit '38fa9eee9324b2355f28372e80dba12c1d7cc105':
ADT/Layoutlib: don't draw 0-sized rectangle, AWT doesn't like that.
900399f3e8bc3001d3dd017449aea15487c68c59 21-Jan-2010 Xavier Ducrohet <xav@google.com> am 895c92a4: am 240298f9: Merge "ADT/Layoutlib: always use custom gradient (java) Paint." into eclair

Merge commit '895c92a44b8bcf0aec7066c061293cafe12a76c2'

* commit '895c92a44b8bcf0aec7066c061293cafe12a76c2':
ADT/Layoutlib: always use custom gradient (java) Paint.
7fa53aa5df551d318983ed1258ba141337c68ba6 21-Jan-2010 Xavier Ducrohet <xav@google.com> am 31ef2e77: am b847fbf2: Merge "ADT/Layout: support for 3+ color in linear gradients" into eclair

Merge commit '31ef2e77c50485ad6ed410a5d341754d6787b8e1'

* commit '31ef2e77c50485ad6ed410a5d341754d6787b8e1':
ADT/Layout: support for 3+ color in linear gradients
6efe03b19e0734361b262f9a0be4d225088d7f9e 21-Jan-2010 Ying Wang <wangying@google.com> am 6f9e2c64: Merge "Find layout classes in all "layout-*" dirs." into eclair

Merge commit '6f9e2c648c0588a2eedef2746c9750ed9c6945be' into eclair-plus-aosp

* commit '6f9e2c648c0588a2eedef2746c9750ed9c6945be':
Find layout classes in all "layout-*" dirs.
c111296b97d51147f8c9448c7c27b53309ee6f39 21-Jan-2010 Ying Wang <wangying@google.com> Find layout classes in all "layout-*" dirs.

Before this CL, the generated keep flags for layout classes are incomplete,
such as layout classes in res/layout-port/ and res/layout-land and so on.
apt/Resource.cpp
3bd6dc653521281db25df77f055b3ec0b4659454 20-Jan-2010 Xavier Ducrohet <xav@google.com> am b44051ee: Merge "ADT/Layoutlib: implement sweep gradient." into eclair

Merge commit 'b44051eee04450888a7dcb1cd2e6f31d0edfb678' into eclair-plus-aosp

* commit 'b44051eee04450888a7dcb1cd2e6f31d0edfb678':
ADT/Layoutlib: implement sweep gradient.
3330927bdd2fedcbc8745f99d3f40929f47fdd31 20-Jan-2010 Xavier Ducrohet <xav@android.com> ADT/Layoutlib: implement sweep gradient.

Change-Id: I2d460decff82f5f64b0a5cfeaa68156aad4fb3e6
ayoutlib/bridge/src/android/graphics/GradientShader.java
ayoutlib/bridge/src/android/graphics/RadialGradient.java
ayoutlib/bridge/src/android/graphics/SweepGradient.java
ef5506c817c2a305ca1c7b03d4ea34a64962b9d7 20-Jan-2010 Xavier Ducrohet <xav@android.com> am f95e3dd2: am 5e083024: ADT/Layoutlib: shader clean-up.

Merge commit 'f95e3dd23cb6cbd7a86dece3c4bafff71307721a'

* commit 'f95e3dd23cb6cbd7a86dece3c4bafff71307721a':
ADT/Layoutlib: shader clean-up.
691b47e154f702bc77472e670281a6be4252e89d 20-Jan-2010 Xavier Ducrohet <xav@google.com> am e1a99147: am d3026e16: Merge "ADT/Layoutlib: 2 color, linear gradient support." into eclair

Merge commit 'e1a991476365cf1a8249c842e2b936db6940b0a7'

* commit 'e1a991476365cf1a8249c842e2b936db6940b0a7':
ADT/Layoutlib: 2 color, linear gradient support.
60e3c09ec0fa73a3e650f4aec89c763599c2e0b7 19-Jan-2010 Xavier Ducrohet <xav@google.com> am 6866daee: Merge "ADT/Layoutlib: implement radial gradient." into eclair

Merge commit '6866daee6a18992e8f2c9a948e873bbfc2090fb0' into eclair-plus-aosp

* commit '6866daee6a18992e8f2c9a948e873bbfc2090fb0':
ADT/Layoutlib: implement radial gradient.
3c05f1fbac2ce35483f61dbd5d5bfb6341da6d9c 19-Jan-2010 Ying Wang <wangying@google.com> am b5fb50a1: Merge "Add instrumentation as a source tag for proguard keep options." into eclair

Merge commit 'b5fb50a133c6fc7fc93d6241912dd9ec24de6ace' into eclair-plus-aosp

* commit 'b5fb50a133c6fc7fc93d6241912dd9ec24de6ace':
Add instrumentation as a source tag for proguard keep options.
6866daee6a18992e8f2c9a948e873bbfc2090fb0 19-Jan-2010 Xavier Ducrohet <xav@google.com> Merge "ADT/Layoutlib: implement radial gradient." into eclair
45a7c285985976c23d818665694addbb25e02565 19-Jan-2010 Xavier Ducrohet <xav@android.com> ADT/Layoutlib: implement radial gradient.

Also refactored some parts of LinearGradient to reuse them
in the radial gradient

Change-Id: I2ec69bd60190bd014217d989177dcc7269188dea
ayoutlib/bridge/src/android/graphics/GradientShader.java
ayoutlib/bridge/src/android/graphics/LinearGradient.java
ayoutlib/bridge/src/android/graphics/RadialGradient.java
b5fb50a133c6fc7fc93d6241912dd9ec24de6ace 19-Jan-2010 Ying Wang <wangying@google.com> Merge "Add instrumentation as a source tag for proguard keep options." into eclair
28039a6f7430bed46de5d8273be583f729c31b79 19-Jan-2010 Xavier Ducrohet <xav@google.com> am 1da2735c: am f73bd14a: Merge "ADT/Layoutlib: implement Canvas.concat(Matrix)" into eclair

Merge commit '1da2735c5862d48712706c2052a34e10e3dea43b'

* commit '1da2735c5862d48712706c2052a34e10e3dea43b':
ADT/Layoutlib: implement Canvas.concat(Matrix)
05bc8d739768c8e2e025c291706f6c10ac362636 19-Jan-2010 Xavier Ducrohet <xav@android.com> am cff6c845: am ae4bd059: ADT/Layoutlib: Reimplement parts of BitmapFactory

Merge commit 'cff6c8459ca05f3fee2d2999989d07a7176f955c'

* commit 'cff6c8459ca05f3fee2d2999989d07a7176f955c':
ADT/Layoutlib: Reimplement parts of BitmapFactory
da84d6a1b1c37376d48f92ae59b76f1c891772f6 19-Jan-2010 Xavier Ducrohet <xav@google.com> am 908a8111: Merge "ADT/Layoutlib: Add dash support to stroke." into eclair

Merge commit '908a81119061092468067789acbec9b99d79ad5f' into eclair-plus-aosp

* commit '908a81119061092468067789acbec9b99d79ad5f':
ADT/Layoutlib: Add dash support to stroke.
c0ea805c649666b55d4dde09eb72dcccfa8bccc3 19-Jan-2010 Xavier Ducrohet <xav@google.com> am 2b30a4a5: Merge "ADT/Layoutlib: properly handle stroke information." into eclair

Merge commit '2b30a4a50e24080fdd8b796e4a64447f223d4522' into eclair-plus-aosp

* commit '2b30a4a50e24080fdd8b796e4a64447f223d4522':
ADT/Layoutlib: properly handle stroke information.
36ab1284d8e89486cadbd55320ca965e96d65f44 15-Jan-2010 Xavier Ducrohet <xav@android.com> ADT/Layoutlib: Add dash support to stroke.

Change-Id: I09a7e84948be013cbb11f6d9774ab81df897b424
ayoutlib/bridge/src/android/graphics/Canvas.java
ayoutlib/bridge/src/android/graphics/DashPathEffect.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
5ac8f409f52b4b121614a8797d289f01f96c6527 15-Jan-2010 Xavier Ducrohet <xav@android.com> ADT/Layoutlib: properly handle stroke information.

Change-Id: Iec9284d0e65d1313739e361d1fd5a522646fd1fd
ayoutlib/bridge/src/android/graphics/Canvas.java
ayoutlib/bridge/src/android/graphics/Paint.java
20cc55703348827fbd80ff0410777a537f01e10e 15-Jan-2010 Xavier Ducrohet <xav@google.com> am 79f05bb4: Merge "ADT/Layoutlib: improved gradient drawing for perf." into eclair

Merge commit '79f05bb4a502d5768f84cf975f791f3ba981e0e5' into eclair-plus-aosp

* commit '79f05bb4a502d5768f84cf975f791f3ba981e0e5':
ADT/Layoutlib: improved gradient drawing for perf.
38fa9eee9324b2355f28372e80dba12c1d7cc105 15-Jan-2010 Xavier Ducrohet <xav@android.com> am 89d538dc: ADT/Layoutlib: don\'t draw 0-sized rectangle, AWT doesn\'t like that.

Merge commit '89d538dcca9a4cb95682c56b0c4b85e8a77442be' into eclair-plus-aosp

* commit '89d538dcca9a4cb95682c56b0c4b85e8a77442be':
ADT/Layoutlib: don't draw 0-sized rectangle, AWT doesn't like that.
79f05bb4a502d5768f84cf975f791f3ba981e0e5 15-Jan-2010 Xavier Ducrohet <xav@google.com> Merge "ADT/Layoutlib: improved gradient drawing for perf." into eclair
e8f4d7deab2c183604ea5a2344a1e2d7ff4f823a 15-Jan-2010 Xavier Ducrohet <xav@android.com> ADT/Layoutlib: improved gradient drawing for perf.

Change-Id: I79b909d7787e4442e7cfdf196de1ac0c077da7f8
ayoutlib/bridge/src/android/graphics/LinearGradient.java
895c92a44b8bcf0aec7066c061293cafe12a76c2 15-Jan-2010 Xavier Ducrohet <xav@google.com> am 240298f9: Merge "ADT/Layoutlib: always use custom gradient (java) Paint." into eclair

Merge commit '240298f9e4542c487edd0337e84b50c493cbeecd' into eclair-plus-aosp

* commit '240298f9e4542c487edd0337e84b50c493cbeecd':
ADT/Layoutlib: always use custom gradient (java) Paint.
89d538dcca9a4cb95682c56b0c4b85e8a77442be 15-Jan-2010 Xavier Ducrohet <xav@android.com> ADT/Layoutlib: don't draw 0-sized rectangle, AWT doesn't like that.

Change-Id: I298d00208ace2421478c5864cc5a66a508b2b411
ayoutlib/bridge/src/android/graphics/Canvas.java
066aa99d2d114d46406e00fcc23d193d117395b1 15-Jan-2010 Scott Turner <scotty@l5computing.com> long modifier was on the wrong argument.
idl/aidl.cpp
31ef2e77c50485ad6ed410a5d341754d6787b8e1 15-Jan-2010 Xavier Ducrohet <xav@google.com> am b847fbf2: Merge "ADT/Layout: support for 3+ color in linear gradients" into eclair

Merge commit 'b847fbf2098acc8c5854bbbfa1453431128c720e' into eclair-plus-aosp

* commit 'b847fbf2098acc8c5854bbbfa1453431128c720e':
ADT/Layout: support for 3+ color in linear gradients
2dbb923aa02e09a64fc111596a9ac9117488aa24 15-Jan-2010 Xavier Ducrohet <xav@android.com> ADT/Layoutlib: always use custom gradient (java) Paint.

The normal linear paint from AWT does not support our TileModes.

Change-Id: I24667671dabdf1a5dffa342e4de9cc69487db0b6
ayoutlib/bridge/src/android/graphics/LinearGradient.java
374abf0b95ca94d34f94edd385fb37a8d5cb123b 15-Jan-2010 Xavier Ducrohet <xav@android.com> ADT/Layout: support for 3+ color in linear gradients

Change-Id: I14c6a5a1de41470c6f1c66d490492ecc727302f2
ayoutlib/bridge/src/android/graphics/LinearGradient.java
f95e3dd23cb6cbd7a86dece3c4bafff71307721a 14-Jan-2010 Xavier Ducrohet <xav@android.com> am 5e083024: ADT/Layoutlib: shader clean-up.

Merge commit '5e083024269e7c5bf904301a98fa6eade6fec094' into eclair-plus-aosp

* commit '5e083024269e7c5bf904301a98fa6eade6fec094':
ADT/Layoutlib: shader clean-up.
5e083024269e7c5bf904301a98fa6eade6fec094 14-Jan-2010 Xavier Ducrohet <xav@android.com> ADT/Layoutlib: shader clean-up.

Change-Id: I0a200f438b7ccde2bfc19fd23614a647cb19d312
ayoutlib/bridge/src/android/graphics/BitmapShader.java
ayoutlib/bridge/src/android/graphics/Canvas.java
ayoutlib/bridge/src/android/graphics/ComposeShader.java
ayoutlib/bridge/src/android/graphics/LinearGradient.java
ayoutlib/bridge/src/android/graphics/RadialGradient.java
ayoutlib/bridge/src/android/graphics/Shader.java
ayoutlib/bridge/src/android/graphics/SweepGradient.java
e1a991476365cf1a8249c842e2b936db6940b0a7 14-Jan-2010 Xavier Ducrohet <xav@google.com> am d3026e16: Merge "ADT/Layoutlib: 2 color, linear gradient support." into eclair

Merge commit 'd3026e1618d893db55c2131d66b08bc4a6e7aaf4' into eclair-plus-aosp

* commit 'd3026e1618d893db55c2131d66b08bc4a6e7aaf4':
ADT/Layoutlib: 2 color, linear gradient support.
63b2e616278c1b4284e1adbcc3936d0516083dcb 14-Jan-2010 Xavier Ducrohet <xav@android.com> ADT/Layoutlib: 2 color, linear gradient support.

Change-Id: Ifaafa4fc42a22f4851449a7c35a5b82e211aafe7
ayoutlib/bridge/src/android/graphics/BitmapShader.java
ayoutlib/bridge/src/android/graphics/Canvas.java
ayoutlib/bridge/src/android/graphics/ComposeShader.java
ayoutlib/bridge/src/android/graphics/LinearGradient.java
ayoutlib/bridge/src/android/graphics/Paint.java
ayoutlib/bridge/src/android/graphics/RadialGradient.java
ayoutlib/bridge/src/android/graphics/Shader.java
ayoutlib/bridge/src/android/graphics/SweepGradient.java
1da2735c5862d48712706c2052a34e10e3dea43b 14-Jan-2010 Xavier Ducrohet <xav@google.com> am f73bd14a: Merge "ADT/Layoutlib: implement Canvas.concat(Matrix)" into eclair

Merge commit 'f73bd14a8d5932b34a0e6e4d2de78b74705276b8' into eclair-plus-aosp

* commit 'f73bd14a8d5932b34a0e6e4d2de78b74705276b8':
ADT/Layoutlib: implement Canvas.concat(Matrix)
608cd11cdcef006b3c8db966b9b113ef7b08b839 14-Jan-2010 Xavier Ducrohet <xav@android.com> ADT/Layoutlib: implement Canvas.concat(Matrix)

This prevented ImageView from making proper use of ScaleType.

Also fixed Canvas.getSaveCount() that returned the wrong
value and Matrix.getTransform() which used the wrong order
for the AffineTransform constructor!!

Bug: 2364564

Change-Id: I78babf4aa6689440e52ad06b1473f75b20eb66da
ayoutlib/bridge/src/android/graphics/Canvas.java
ayoutlib/bridge/src/android/graphics/Matrix.java
cff6c8459ca05f3fee2d2999989d07a7176f955c 14-Jan-2010 Xavier Ducrohet <xav@android.com> am ae4bd059: ADT/Layoutlib: Reimplement parts of BitmapFactory

Merge commit 'ae4bd059caa71aa4652c0f07fde7c2687169906e' into eclair-plus-aosp

* commit 'ae4bd059caa71aa4652c0f07fde7c2687169906e':
ADT/Layoutlib: Reimplement parts of BitmapFactory
46f4b9827efaceb0ceae49f06130caa2d2b9743e 13-Jan-2010 Ying Wang <wangying@google.com> Add instrumentation as a source tag for proguard keep options.
apt/Resource.cpp
ae4bd059caa71aa4652c0f07fde7c2687169906e 14-Jan-2010 Xavier Ducrohet <xav@android.com> ADT/Layoutlib: Reimplement parts of BitmapFactory

The original bitmap factory is mostly done in native and deals
with the normal android Bitmap class which has been replaced
in the layoutlib by a bitmap that is merely a wrapper around
an AWT BufferedImage.

This new BitmapFactory creates the layoutlib version of
Bitmap all in Java.

Change-Id: Ice8b5d19141a9a43f83349c159201bf85604b3b0
ayoutlib/bridge/src/android/graphics/Bitmap.java
ayoutlib/bridge/src/android/graphics/BitmapFactory.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
ffebd7c2cc267ee0c33378e0c3b3b0ff260ba150 13-Jan-2010 Ying Wang <wangying@google.com> am b4f41119: am a1d08886: Merge "Only output proguard keep for nonempty attribute name in the AndroidManifest.xml." into eclair

Merge commit 'b4f41119044e5ec7f7b76ed4ac02b5cfbaeb474d'

* commit 'b4f41119044e5ec7f7b76ed4ac02b5cfbaeb474d':
Only output proguard keep for nonempty attribute name in the AndroidManifest.xml.
b4f41119044e5ec7f7b76ed4ac02b5cfbaeb474d 13-Jan-2010 Ying Wang <wangying@google.com> am a1d08886: Merge "Only output proguard keep for nonempty attribute name in the AndroidManifest.xml." into eclair

Merge commit 'a1d08886ec8549878ad16c19754a3239706fb61b' into eclair-plus-aosp

* commit 'a1d08886ec8549878ad16c19754a3239706fb61b':
Only output proguard keep for nonempty attribute name in the AndroidManifest.xml.
4199528aab2cbc3ba3c6540670fabb2040c8e081 13-Jan-2010 Ying Wang <wangying@google.com> Only output proguard keep for nonempty attribute name in the AndroidManifest.xml.

Before this change, aapt generates proguard keep flags like
"-keep class com.android.somepackage.", which proguard doesn't recognize.
apt/Resource.cpp
6d40ee33f534aa31c5d9c4dbc6049275e3b754c2 12-Jan-2010 Xavier Ducrohet <xav@google.com> am f5a84f8a: am dfe25b0e: Merge "LayoutLib: support for custom styles." into eclair

Merge commit 'f5a84f8a7f91422f698ffbea3fabf77f2f7f77c8'

* commit 'f5a84f8a7f91422f698ffbea3fabf77f2f7f77c8':
LayoutLib: support for custom styles.
f5a84f8a7f91422f698ffbea3fabf77f2f7f77c8 12-Jan-2010 Xavier Ducrohet <xav@google.com> am dfe25b0e: Merge "LayoutLib: support for custom styles." into eclair

Merge commit 'dfe25b0e0c382d04a59bb03c7f5f8689ece5395e' into eclair-plus-aosp

* commit 'dfe25b0e0c382d04a59bb03c7f5f8689ece5395e':
LayoutLib: support for custom styles.
9ce3b775f55abd0ceb1d8e96968ce725f1f8bade 11-Jan-2010 Xavier Ducrohet <xav@android.com> LayoutLib: support for custom styles.

Change-Id: Ic6c2ef234589f45db15024261d698066aa6e2f4e
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java
2924a51fd04856012b4ac2acdfffc3b7d469f62f 09-Jan-2010 Romain Guy <romainguy@android.com> Fix duplicate constant in layoutbridge.
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeConstants.java
980a938c1c9a6a5791a8240e5a1e6638ab28dc77 09-Jan-2010 Romain Guy <romainguy@android.com> Deprecate fill_parent and introduce match_parent.
Bug: #2361749.
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeConstants.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeResources.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeTypedArray.java
ayoutlib/bridge/tests/com/android/layoutlib/testdata/layout1.xml
f80a762400a5500ec926b6a98051fec95558ad9d 07-Jan-2010 Xavier Ducrohet <xav@google.com> am de0ef181: am ce60d4b2: Merge "Move Layoutlib API library to sdk.git" into eclair

Merge commit 'de0ef181516ce13d292eafb741fa6c6b9dc1cb1c'

* commit 'de0ef181516ce13d292eafb741fa6c6b9dc1cb1c':
Move Layoutlib API library to sdk.git
93cee56d87ef9571e7f535d0bf356b160d5f6710 07-Jan-2010 Dianne Hackborn <hackbod@google.com> am ce56857e: am cb2d50d0: Fix issue #2357259: aapt tool prints "uses-configuation:"

Merge commit 'ce56857ef72538c197afd91b9f30dc868d2667d9'

* commit 'ce56857ef72538c197afd91b9f30dc868d2667d9':
Fix issue #2357259: aapt tool prints "uses-configuation:"
de0ef181516ce13d292eafb741fa6c6b9dc1cb1c 07-Jan-2010 Xavier Ducrohet <xav@google.com> am ce60d4b2: Merge "Move Layoutlib API library to sdk.git" into eclair

Merge commit 'ce60d4b27e17d98423fd339f61e8b746866f1f4e' into eclair-plus-aosp

* commit 'ce60d4b27e17d98423fd339f61e8b746866f1f4e':
Move Layoutlib API library to sdk.git
ce60d4b27e17d98423fd339f61e8b746866f1f4e 07-Jan-2010 Xavier Ducrohet <xav@google.com> Merge "Move Layoutlib API library to sdk.git" into eclair
82935938fa89e6acb1181eb621cb08828cd423c8 07-Jan-2010 Xavier Ducrohet <xav@android.com> Move Layoutlib API library to sdk.git

Change-Id: I53f1c5d52447b6215ae7a6f2f1f82d0879e952ca
ayoutlib/.gitignore
ayoutlib/api/.classpath
ayoutlib/api/.project
ayoutlib/api/Android.mk
ayoutlib/api/src/com/android/layoutlib/api/IDensityBasedResourceValue.java
ayoutlib/api/src/com/android/layoutlib/api/ILayoutBridge.java
ayoutlib/api/src/com/android/layoutlib/api/ILayoutLog.java
ayoutlib/api/src/com/android/layoutlib/api/ILayoutResult.java
ayoutlib/api/src/com/android/layoutlib/api/IProjectCallback.java
ayoutlib/api/src/com/android/layoutlib/api/IResourceValue.java
ayoutlib/api/src/com/android/layoutlib/api/IStyleResourceValue.java
ayoutlib/api/src/com/android/layoutlib/api/IXmlPullParser.java
ce56857ef72538c197afd91b9f30dc868d2667d9 06-Jan-2010 Dianne Hackborn <hackbod@google.com> am cb2d50d0: Fix issue #2357259: aapt tool prints "uses-configuation:"

Merge commit 'cb2d50d0d6e2e37ae02b014999da23ecd32038b8' into eclair-plus-aosp

* commit 'cb2d50d0d6e2e37ae02b014999da23ecd32038b8':
Fix issue #2357259: aapt tool prints "uses-configuation:"
cb2d50d0d6e2e37ae02b014999da23ecd32038b8 06-Jan-2010 Dianne Hackborn <hackbod@google.com> Fix issue #2357259: aapt tool prints "uses-configuation:"

Change-Id: Id3ea3a86bd4d385441b05fcbe85b8ab62c35afff
apt/Command.cpp
f0108cda21bec61418b24aa6217406072780b5d5 22-Dec-2009 Tom Taylor <tomtaylor@google.com> resolved conflicts for merge of ad2fa35d to master

Change-Id: Ia4362cd48ac0689b91003943a4cd9660da72ff90
ad2fa35d888e0763bfef0fc060775bec5d169479 22-Dec-2009 Tom Taylor <tomtaylor@google.com> am d4a4729c: Update imports to android-common

Merge commit 'd4a4729c0cac582a2dcec7c8cfb316b81885a0f0' into eclair-mr2-plus-aosp

* commit 'd4a4729c0cac582a2dcec7c8cfb316b81885a0f0':
Update imports to android-common
d4a4729c0cac582a2dcec7c8cfb316b81885a0f0 21-Dec-2009 Tom Taylor <tomtaylor@google.com> Update imports to android-common

Several files were moved to android-common. Update all the references
to import those files from the new location.
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeTypedArray.java
781d10991ff67c9c564e20bc0fdd7a1b15d413ce 15-Dec-2009 Kenny Root <kroot@google.com> am 451c850f: am 15f1bfb0: Merge change I70d0bddb into eclair-mr2

Merge commit '451c850fd60aca5372810a5413636fda25d93438'

* commit '451c850fd60aca5372810a5413636fda25d93438':
Revise aapt options for UTF8/16 encoding
451c850fd60aca5372810a5413636fda25d93438 15-Dec-2009 Kenny Root <kroot@google.com> am 15f1bfb0: Merge change I70d0bddb into eclair-mr2

Merge commit '15f1bfb0d29915ed1790b22a00fd7032f035ddb0' into eclair-mr2-plus-aosp

* commit '15f1bfb0d29915ed1790b22a00fd7032f035ddb0':
Revise aapt options for UTF8/16 encoding
15f1bfb0d29915ed1790b22a00fd7032f035ddb0 15-Dec-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I70d0bddb into eclair-mr2

* changes:
Revise aapt options for UTF8/16 encoding
0e8ba05e491e12296c44330672ecc2d679d8debb 13-Dec-2009 Xavier Ducrohet <xav@android.com> am 092de0a9: am a7d461e0: am 62d4395b: Merge change I6dc8a694 into eclair

Merge commit '092de0a989dc3e81a957938670fb147f34afaa36'

* commit '092de0a989dc3e81a957938670fb147f34afaa36':
Layoutlib: Add a constant for default density value.
092de0a989dc3e81a957938670fb147f34afaa36 13-Dec-2009 Xavier Ducrohet <xav@android.com> am a7d461e0: am 62d4395b: Merge change I6dc8a694 into eclair

Merge commit 'a7d461e09adf716c2148b45a5d94f5b8cb37f9ba' into eclair-mr2-plus-aosp

* commit 'a7d461e09adf716c2148b45a5d94f5b8cb37f9ba':
Layoutlib: Add a constant for default density value.
a7d461e09adf716c2148b45a5d94f5b8cb37f9ba 13-Dec-2009 Xavier Ducrohet <xav@android.com> am 62d4395b: Merge change I6dc8a694 into eclair

Merge commit '62d4395bdb3114b9a75e46140456bc54fd13a3e7' into eclair-mr2

* commit '62d4395bdb3114b9a75e46140456bc54fd13a3e7':
Layoutlib: Add a constant for default density value.
745e17a07c77aa6b347d9e75c99eb3fcb381bc5d 11-Dec-2009 Kenny Root <kroot@google.com> Revise aapt options for UTF8/16 encoding

Remove option to force UTF-8 encoding which could corrupt packages meant
for systems before API level 7. Added switch to allow encoding for UTF-16
which will allow API 7 and later to encode resources in UTF-16.

Change-Id: I70d0bddb0dfd12dcbd08c95f613dcfe896ae680b
apt/Bundle.h
apt/Main.cpp
0169d78691f32cd33310caf5faa4dff4545efce1 11-Dec-2009 Xavier Ducrohet <xav@android.com> am 62d4395b: Merge change I6dc8a694 into eclair

Merge commit '62d4395bdb3114b9a75e46140456bc54fd13a3e7' into eclair-plus-aosp

* commit '62d4395bdb3114b9a75e46140456bc54fd13a3e7':
Layoutlib: Add a constant for default density value.
a8ba3114e801282cf375c3ea2332164a52cb3813 11-Dec-2009 Xavier Ducrohet <xav@android.com> Layoutlib: Add a constant for default density value.

Change-Id: I6dc8a694bbdae2385d4e877ea04a6b4325a5719e
ayoutlib/api/src/com/android/layoutlib/api/IDensityBasedResourceValue.java
49c6eacba14d495ed69eb436396dd216dba8b6c4 11-Dec-2009 Kenny Root <kroot@google.com> am cdbf5746: am b5ef7ee1: Default to UTF8 resources when packaging with aapt

Merge commit 'cdbf5746fcbee26bed74090e22aff761d1b4da3b'

* commit 'cdbf5746fcbee26bed74090e22aff761d1b4da3b':
Default to UTF8 resources when packaging with aapt
d54dda77071095891d310afa7efbea500bdefd3a 11-Dec-2009 Jean-Baptiste Queru <jbq@google.com> am 926d1a22: am a5a8cc13: resolved conflicts for merge of ce307f88 to eclair-mr2

Merge commit '926d1a22007d94ef2b29ec979ab6038fa8d9e40e'

* commit '926d1a22007d94ef2b29ec979ab6038fa8d9e40e':
Add --custom-package to aapt
cdbf5746fcbee26bed74090e22aff761d1b4da3b 11-Dec-2009 Kenny Root <kroot@google.com> am b5ef7ee1: Default to UTF8 resources when packaging with aapt

Merge commit 'b5ef7ee1644b099498ddd29c1d051e7ee26ccfd3' into eclair-mr2-plus-aosp

* commit 'b5ef7ee1644b099498ddd29c1d051e7ee26ccfd3':
Default to UTF8 resources when packaging with aapt
b5ef7ee1644b099498ddd29c1d051e7ee26ccfd3 10-Dec-2009 Kenny Root <kroot@google.com> Default to UTF8 resources when packaging with aapt

This change makes it so with API level 7 and above all resources will be
packaged in UTF-8 format. Any minSdkVersion level that is named will also
have resources packaged in UTF-8, because it is assumed that previous
releases will only be rebuilt with their proper integer number and only
future releases will temporarily have names.

Change-Id: If5d1ee5e48fbaf31798816b068ac44b14a93121b
apt/Bundle.h
apt/Resource.cpp
926d1a22007d94ef2b29ec979ab6038fa8d9e40e 11-Dec-2009 Jean-Baptiste Queru <jbq@google.com> am a5a8cc13: resolved conflicts for merge of ce307f88 to eclair-mr2

Merge commit 'a5a8cc13d3f906650a1eb17e20e1b26d68b78453' into eclair-mr2-plus-aosp

* commit 'a5a8cc13d3f906650a1eb17e20e1b26d68b78453':
Add --custom-package to aapt
a5a8cc13d3f906650a1eb17e20e1b26d68b78453 11-Dec-2009 Jean-Baptiste Queru <jbq@google.com> resolved conflicts for merge of ce307f88 to eclair-mr2
30cee478b79c960cc17b172f8620eaaaeef7cb7b 10-Dec-2009 Kenny Root <kroot@google.com> am 5cd6fcd5: am e6c0e993: Merge change I129483f8 into eclair-mr2

Merge commit '5cd6fcd518d47d1974a10fccf3c3d5431a83307a'

* commit '5cd6fcd518d47d1974a10fccf3c3d5431a83307a':
Optional use of UTF-8 strings in resource bundles
9af0c6facbbc86acba23ca0937fb94842d0c10c6 10-Dec-2009 Xavier Ducrohet <xav@android.com> am ce307f88: Merge change Ie4cdb5a3 into eclair

Merge commit 'ce307f889b509143899a2221359219fbc91b618c' into eclair-plus-aosp

* commit 'ce307f889b509143899a2221359219fbc91b618c':
Add --custom-package to aapt
5cd6fcd518d47d1974a10fccf3c3d5431a83307a 10-Dec-2009 Kenny Root <kroot@google.com> am e6c0e993: Merge change I129483f8 into eclair-mr2

Merge commit 'e6c0e99334bc2f47e5d36db253ac8f166047c03b' into eclair-mr2-plus-aosp

* commit 'e6c0e99334bc2f47e5d36db253ac8f166047c03b':
Optional use of UTF-8 strings in resource bundles
19138468caf7050d482dc15f35a344eab11bb756 04-Dec-2009 Kenny Root <kroot@google.com> Optional use of UTF-8 strings in resource bundles

Allows the use of UTF-8 for packing resources instead of the
default of UTF-16 for Java. When strings are extracted from the
ResStringPool, they are converted to UTF-16 and the result is
cached for subsequent calls.

When using aapt to package, add in the "-8" switch to pack the
resources using UTF-8. This will result in the value, key, and
type strings as well as the compiled XML string values taking
significantly less space in the final application package in
most scenarios.

Change-Id: I129483f8b3d3b1c5869dced05cb525e494a6c83a
apt/Bundle.h
apt/Command.cpp
apt/Main.cpp
apt/Resource.cpp
apt/ResourceTable.cpp
apt/ResourceTable.h
apt/StringPool.cpp
apt/StringPool.h
apt/XMLNode.cpp
apt/XMLNode.h
88721afe2f161ae23de952b790aaa8b4d3560ba8 21-Aug-2009 Kenny Root <kenny@the-b.org> Fix bitmask in aapt's StringPool length construction

The StringPool indicates the length of a string with a 16-bit
integer. If the length of the string is greater than 0x7FFF,
it splits it into two 16-bit integers with the first one
having the high bit set.

The length calculation has a small bug that masks off the
19 bits instead of the first 15 bits as intended.
apt/StringPool.cpp
63459ad555c10de1f316d6de01fc3cd0c0aaa457 01-Dec-2009 Xavier Ducrohet <xav@android.com> Add --custom-package to aapt

This is needed to add library support to the SDK.

The goal is to have libraries and main project use the same
package for the R/Manifest classes to that they can share code
and resources.

BUG 2293994

Change-Id: Ie4cdb5a3bdabe1760a91316fd8969e4f53344bf9
apt/Bundle.h
apt/Command.cpp
apt/Main.cpp
4b815942d14e795855bf980289296d3f2c85864d 17-Nov-2009 Dianne Hackborn <hackbod@google.com> am fe11d1a7: am 43e9eb28: am 9ddb7df8: Fix build.

Merge commit 'fe11d1a7a5480737c9331531592d4c70f374198e'

* commit 'fe11d1a7a5480737c9331531592d4c70f374198e':
Fix build.
fc42f828c80a31a529815b46efd863d236da618a 17-Nov-2009 Xavier Ducrohet <xav@android.com> am 1bd7261d: am 1ddc0077: am 19e420c5: Merge change Iae493184 into eclair

Merge commit '1bd7261d2b595552ac852ca8ed8a5e184bd10b44'

* commit '1bd7261d2b595552ac852ca8ed8a5e184bd10b44':
Minor fix for the parent style computation in the layoutlib.
fe11d1a7a5480737c9331531592d4c70f374198e 17-Nov-2009 Dianne Hackborn <hackbod@google.com> am 43e9eb28: am 9ddb7df8: Fix build.

Merge commit '43e9eb28ab9a246472149384567f505434f492a3' into eclair-mr2-plus-aosp

* commit '43e9eb28ab9a246472149384567f505434f492a3':
Fix build.
24c9c9db9f9595fe465930a0321965a3df4602ab 17-Nov-2009 Dianne Hackborn <hackbod@google.com> am 9ddb7df8: Fix build.

Merge commit '9ddb7df88a62a131519264f75f5d6616ee11b6e6' into eclair-plus-aosp

* commit '9ddb7df88a62a131519264f75f5d6616ee11b6e6':
Fix build.
9ddb7df88a62a131519264f75f5d6616ee11b6e6 17-Nov-2009 Dianne Hackborn <hackbod@google.com> Fix build.

Change-Id: I70c86738e2894d7f8c51034aea8fda1585a6fcb3
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeAssetManager.java
1bd7261d2b595552ac852ca8ed8a5e184bd10b44 16-Nov-2009 Xavier Ducrohet <xav@android.com> am 1ddc0077: am 19e420c5: Merge change Iae493184 into eclair

Merge commit '1ddc0077ac0c26a9dc74875791bfea3f34a8cc7b' into eclair-mr2-plus-aosp

* commit '1ddc0077ac0c26a9dc74875791bfea3f34a8cc7b':
Minor fix for the parent style computation in the layoutlib.
a4cf232df8443fa3f2ef97082bdb0ac2c6dbb308 16-Nov-2009 Xavier Ducrohet <xav@android.com> am 19e420c5: Merge change Iae493184 into eclair

Merge commit '19e420c52dbe42e5b4b8b3580a5e7908cebec89d' into eclair-plus-aosp

* commit '19e420c52dbe42e5b4b8b3580a5e7908cebec89d':
Minor fix for the parent style computation in the layoutlib.
0da2676ea841ff85b373c2960dd2c497dcf4e441 16-Nov-2009 Xavier Ducrohet <xav@android.com> Minor fix for the parent style computation in the layoutlib.

This is an SDK change only.

Change-Id: Iae493184ae76b2e21200dd6bb48795ff74f79ab3
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
478de466ce0504b9af639c3338b883893670a8e8 15-Nov-2009 Jean-Baptiste Queru <jbq@google.com> merge from eclair
600627c312b5b6745a9a2589c5215d510b30ecba 14-Nov-2009 Xavier Ducrohet <xav@android.com> am 85a612d0: am b2d7c60f: am ae210437: Merge change I7082e366 into eclair

Merge commit '85a612d03eded507c8981716277a1f4b5526ea22'

* commit '85a612d03eded507c8981716277a1f4b5526ea22':
Properly implement Paint.breakText for layoutlib.
85a612d03eded507c8981716277a1f4b5526ea22 14-Nov-2009 Xavier Ducrohet <xav@android.com> am b2d7c60f: am ae210437: Merge change I7082e366 into eclair

Merge commit 'b2d7c60f125e243d915fae037b30f54110f1b237' into eclair-mr2-plus-aosp

* commit 'b2d7c60f125e243d915fae037b30f54110f1b237':
Properly implement Paint.breakText for layoutlib.
a855b27ea3b761bb86102be872279fecb24c88fb 14-Nov-2009 Xavier Ducrohet <xav@android.com> am ae210437: Merge change I7082e366 into eclair

Merge commit 'ae2104371d84570011dbb8c1621832a132ed4584' into eclair-plus-aosp

* commit 'ae2104371d84570011dbb8c1621832a132ed4584':
Properly implement Paint.breakText for layoutlib.
76410f1eb316763018b7480d9cd8dc3684803576 13-Nov-2009 Xavier Ducrohet <xav@android.com> Properly implement Paint.breakText for layoutlib.

BUG 2260400

Change-Id: I7082e366b65da0b5de2a6dbb547f66e05e0b78e0
ayoutlib/bridge/src/android/graphics/Paint.java
9db3d07b9620b4269ab33f78604a36327e536ce1 13-Nov-2009 Jean-Baptiste Queru <jbq@google.com> eclair snapshot
apt/AaptAssets.cpp
apt/AaptAssets.h
apt/Android.mk
apt/Bundle.h
apt/Command.cpp
apt/Images.cpp
apt/Main.cpp
apt/Main.h
apt/Package.cpp
apt/Resource.cpp
apt/ResourceTable.cpp
apt/ResourceTable.h
apt/SourcePos.cpp
apt/XMLNode.cpp
apt/ZipEntry.cpp
apt/ZipEntry.h
apt/ZipFile.cpp
apt/ZipFile.h
idl/AST.cpp
idl/generate_java.cpp
idl/options.h
ayoutlib/api/src/com/android/layoutlib/api/IDensityBasedResourceValue.java
ayoutlib/api/src/com/android/layoutlib/api/ILayoutBridge.java
ayoutlib/api/src/com/android/layoutlib/api/ILayoutResult.java
ayoutlib/bridge/src/android/graphics/Bitmap.java
ayoutlib/bridge/src/android/graphics/Canvas.java
ayoutlib/bridge/src/android/graphics/Paint.java
ayoutlib/bridge/src/android/graphics/Typeface.java
ayoutlib/bridge/src/android/webkit/WebView.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeResources.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeTypedArray.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/FontLoader.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/ResourceHelper.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/AndroidGraphicsTests.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/BridgeTest.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/BridgeXmlBlockParserTest.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/NinePatchTest.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/StyleResourceValue.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/TestClassReplacement.java
ayoutlib/bridge/tests/com/android/layoutlib/testdata/button.9.png
ayoutlib/bridge/tests/com/android/layoutlib/testdata/layout1.xml
ayoutlib/bridge/tests/data/button.9.png
ayoutlib/bridge/tests/data/layout1.xml
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmGenerator.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
ocalize/Perforce.cpp
ocalize/SourcePos.cpp
ocalize/XMLHandler.h
ocalize/file_utils.cpp
ocalize/file_utils.h
ocalize/localize.cpp
ocalize/localize_test.cpp
ocalize/merge_res_and_xliff_test.cpp
reload/20080522.compiled
reload/20090811.compiled
reload/20090922.compiled
reload/Android.mk
reload/LoadedClass.java
reload/PrintBugReports.java
reload/Root.java
reload/WritePreloadedClassFile.java
reload/preload.ipr
reload/sorttable.js
430785f66d56a1eb977c8f73c8a0939fa2a3b543 10-Nov-2009 Marco Nelissen <marcone@google.com> am eac4222f: am 949ffa3d: am 11cff8cd: Merge change Ie211adae into eclair

Merge commit 'eac4222f7f30bf1df14b223cf62e594914dd32d4'

* commit 'eac4222f7f30bf1df14b223cf62e594914dd32d4':
Add a way for wallpapers to know the delta between virtual screens.
eac4222f7f30bf1df14b223cf62e594914dd32d4 10-Nov-2009 Marco Nelissen <marcone@google.com> am 949ffa3d: am 11cff8cd: Merge change Ie211adae into eclair

Merge commit '949ffa3da5231772425c3bde50caeab6c4d08ec5' into eclair-mr2-plus-aosp

* commit '949ffa3da5231772425c3bde50caeab6c4d08ec5':
Add a way for wallpapers to know the delta between virtual screens.
47fc5e2a43af7cf42d535d6e3c2dba3507d6a543 10-Nov-2009 Marco Nelissen <marcone@google.com> am 11cff8cd: Merge change Ie211adae into eclair

Merge commit '11cff8cd30f03b5adb137e985532543da5e960c4' into eclair-plus-aosp

* commit '11cff8cd30f03b5adb137e985532543da5e960c4':
Add a way for wallpapers to know the delta between virtual screens.
bf6956b1d95442e9d9c483894d578fe6b7044cbb 10-Nov-2009 Marco Nelissen <marcone@google.com> Add a way for wallpapers to know the delta between virtual screens.
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
75cec67e3a29be7b8a3c4fa8eab64b0752f0b206 10-Nov-2009 Xavier Ducrohet <xav@android.com> am 3969e50a: am aa10b9fb: am e6ab011b: Merge change Ib12bcb7f into eclair

Merge commit '3969e50a2872014e459b802e2e654b901eecc574'

* commit '3969e50a2872014e459b802e2e654b901eecc574':
Support for fallback fonts in layoutlib.
3969e50a2872014e459b802e2e654b901eecc574 10-Nov-2009 Xavier Ducrohet <xav@android.com> am aa10b9fb: am e6ab011b: Merge change Ib12bcb7f into eclair

Merge commit 'aa10b9fb52db88e3cc9045019f42fa83e9da9868' into eclair-mr2-plus-aosp

* commit 'aa10b9fb52db88e3cc9045019f42fa83e9da9868':
Support for fallback fonts in layoutlib.
d9d0528f3050801ed3ad1eab942885f1e303c4d2 10-Nov-2009 Xavier Ducrohet <xav@android.com> am e6ab011b: Merge change Ib12bcb7f into eclair

Merge commit 'e6ab011b8b8aa6c461e64cabb9b25d890d68edb1' into eclair-plus-aosp

* commit 'e6ab011b8b8aa6c461e64cabb9b25d890d68edb1':
Support for fallback fonts in layoutlib.
9a4593ffcce99e9f7b89b165911c2a870c27cc45 09-Nov-2009 Xavier Ducrohet <xav@android.com> Support for fallback fonts in layoutlib.

BUG 2041229

Change-Id: Ib12bcb7f6d8f0e4c2b51871f8129ecf51fa938ee
ayoutlib/bridge/src/android/graphics/Canvas.java
ayoutlib/bridge/src/android/graphics/Paint.java
ayoutlib/bridge/src/android/graphics/Typeface.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/FontLoader.java
51bde0577c7cd689753d4b131a9584d0625e234c 04-Nov-2009 Dirk Dougherty <ddougherty@google.com> am 5b40ead8: am 0d55daff: am 5fc71e67: am 00e44ef2: Merge change I54545dfd into eclair-sdk

Merge commit '5b40ead81bdd350c3f4a585d851d91e5bec0c5c6'

* commit '5b40ead81bdd350c3f4a585d851d91e5bec0c5c6':
doc change: fix broken R.styleable formatting (caused by missing periods). Adjust table markup.
5b40ead81bdd350c3f4a585d851d91e5bec0c5c6 04-Nov-2009 Dirk Dougherty <ddougherty@google.com> am 0d55daff: am 5fc71e67: am 00e44ef2: Merge change I54545dfd into eclair-sdk

Merge commit '0d55daffc31c123dcf83f6db85f8198854ddc564' into eclair-mr2-plus-aosp

* commit '0d55daffc31c123dcf83f6db85f8198854ddc564':
doc change: fix broken R.styleable formatting (caused by missing periods). Adjust table markup.
16c7f4474e3e05ce7d7f7dd5ab8e43dab8a3e72e 04-Nov-2009 Dirk Dougherty <ddougherty@google.com> am 5fc71e67: am 00e44ef2: Merge change I54545dfd into eclair-sdk

Merge commit '5fc71e67498ed64ad2d41c23471b008f93cb580e' into eclair-plus-aosp

* commit '5fc71e67498ed64ad2d41c23471b008f93cb580e':
doc change: fix broken R.styleable formatting (caused by missing periods). Adjust table markup.
5fc71e67498ed64ad2d41c23471b008f93cb580e 04-Nov-2009 Dirk Dougherty <ddougherty@google.com> am 00e44ef2: Merge change I54545dfd into eclair-sdk

Merge commit '00e44ef21777f32b67a8d51ee375cd290a3fb2d4' into eclair

* commit '00e44ef21777f32b67a8d51ee375cd290a3fb2d4':
doc change: fix broken R.styleable formatting (caused by missing periods). Adjust table markup.
59ad275e937bb3c32e59bc01d86f484e7b4bdbe1 04-Nov-2009 Dirk Dougherty <ddougherty@google.com> doc change: fix broken R.styleable formatting (caused by missing periods). Adjust table markup.

Bug: 2230588
Change-Id: I54545dfd9d26acef567e586cfc916f6b883a4de7
apt/Resource.cpp
apt/ResourceTable.cpp
29e278ec7fbc240d7a9e32b9c8e94989e60b713d 03-Nov-2009 Brett Chabot <brettchabot@android.com> am 8e59b032: am 4899daa0: am c54e0ce9: Merge change Ia86f2849 into eclair

Merge commit '8e59b032c34b1b9fe42235ce59c5daaba59ee30c'

* commit '8e59b032c34b1b9fe42235ce59c5daaba59ee30c':
Fix layoutlib tests so they pas when run from Eclipse workbench.
8e59b032c34b1b9fe42235ce59c5daaba59ee30c 03-Nov-2009 Brett Chabot <brettchabot@android.com> am 4899daa0: am c54e0ce9: Merge change Ia86f2849 into eclair

Merge commit '4899daa0c8e747cd3c0ecf1c6ceeec022f6c7524' into eclair-mr2-plus-aosp

* commit '4899daa0c8e747cd3c0ecf1c6ceeec022f6c7524':
Fix layoutlib tests so they pas when run from Eclipse workbench.
15ff8ed31fce75586cc0286d07b04113e3d1f674 03-Nov-2009 Brett Chabot <brettchabot@android.com> am c54e0ce9: Merge change Ia86f2849 into eclair

Merge commit 'c54e0ce964f4d38089def7ecee850a659f84bbe5' into eclair-plus-aosp

* commit 'c54e0ce964f4d38089def7ecee850a659f84bbe5':
Fix layoutlib tests so they pas when run from Eclipse workbench.
a86f28494c526ef14c736a977d746b3e5d9ab49e 03-Nov-2009 Brett Chabot <brettchabot@android.com> Fix layoutlib tests so they pas when run from Eclipse workbench.

Bug 2222616
ayoutlib/bridge/tests/com/android/layoutlib/bridge/BridgeXmlBlockParserTest.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/NinePatchTest.java
68ce35ec9a9afe22af43a5dfa9411927afd89c40 23-Oct-2009 Dianne Hackborn <hackbod@google.com> am 8368e510: am c6bead14: am 7580493b: Implement feature #2117336: Create event communication APIs for live wallpaper

Merge commit '8368e510a90ab30a9f850144f5adabb0455d26f9'

* commit '8368e510a90ab30a9f850144f5adabb0455d26f9':
Implement feature #2117336: Create event communication APIs for live wallpaper
8368e510a90ab30a9f850144f5adabb0455d26f9 23-Oct-2009 Dianne Hackborn <hackbod@google.com> am c6bead14: am 7580493b: Implement feature #2117336: Create event communication APIs for live wallpaper

Merge commit 'c6bead14fe6fe70bcfd8802ee9f0259476a074ce' into eclair-mr2-plus-aosp

* commit 'c6bead14fe6fe70bcfd8802ee9f0259476a074ce':
Implement feature #2117336: Create event communication APIs for live wallpaper
53dee9654f787525ed03596a8d4be26afb883713 23-Oct-2009 Dianne Hackborn <hackbod@google.com> am 7580493b: Implement feature #2117336: Create event communication APIs for live wallpaper

Merge commit '7580493b014a2c7ea883cd291255798dc72ebbff' into eclair-plus-aosp

* commit '7580493b014a2c7ea883cd291255798dc72ebbff':
Implement feature #2117336: Create event communication APIs for live wallpaper
7580493b014a2c7ea883cd291255798dc72ebbff 21-Oct-2009 Dianne Hackborn <hackbod@google.com> Implement feature #2117336: Create event communication APIs for live wallpaper

Note: currently only implements an async version (no result), and not yet
actually tested.

Change-Id: Id47ed045a4b0eb309ea8c58daf41a0e03eff1d3a
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
16b696af615447dd98c2291e5b6bffeb5a723278 20-Oct-2009 Doug Zongker <dougz@android.com> am 617262d8: Merge change I37c4157d into eclair

Merge commit '617262d8f57362536ddc00a070c1c0994741de44' into eclair-plus-aosp

* commit '617262d8f57362536ddc00a070c1c0994741de44':
add "junk path" -k option to aapt (DO NOT MERGE)
37c4157d7cdad71dc9abc93d652e81c33e346d93 20-Oct-2009 Doug Zongker <dougz@android.com> add "junk path" -k option to aapt (DO NOT MERGE)

Adds a "junk path" option to aapt so that you can do:

aapt add -k archive.zip path/to/some.file

and have the file stored in the zip under the name "some.file"
(without the path). Needed so that we can use 'aapt add' in place of
'zip -j' when building jar files, which will lead to smaller
incremental OTAs.

(This is a cherry-pick of a change already submitted to eclair-mr2;
the change was approved for mr1.)
apt/Bundle.h
apt/Command.cpp
apt/Main.cpp
98d233606a831717af8af25715512251bf751aaa 14-Oct-2009 Doug Zongker <dougz@android.com> am b80d1d0c: am afbf8afa: Merge change I564b5b00 into eclair-mr2

Merge commit 'b80d1d0cc8b75b9e51c94169892f1d03cdcd788a'

* commit 'b80d1d0cc8b75b9e51c94169892f1d03cdcd788a':
add "junk path" -k option to aapt
b80d1d0cc8b75b9e51c94169892f1d03cdcd788a 13-Oct-2009 Doug Zongker <dougz@android.com> am afbf8afa: Merge change I564b5b00 into eclair-mr2

Merge commit 'afbf8afa858a78b66c19f11cfda030e913b34085' into eclair-mr2-plus-aosp

* commit 'afbf8afa858a78b66c19f11cfda030e913b34085':
add "junk path" -k option to aapt
dbe7a68cc13ae135b33769918932838d2d447169 09-Oct-2009 Doug Zongker <dougz@android.com> add "junk path" -k option to aapt

Adds a "junk path" option to aapt so that you can do:

aapt add -k archive.zip path/to/some.file

and have the file stored in the zip under the name "some.file"
(without the path). Needed so that we can use 'aapt add' in place of
'zip -j' when building jar files, which will lead to smaller
incremental OTAs.
apt/Bundle.h
apt/Command.cpp
apt/Main.cpp
84436a245c2a9479887cd7fd06fd74991221e8ae 12-Oct-2009 Xavier Ducrohet <xav@android.com> am 4ab1b3a2: am 88fb78d2: am 5f9d4bae: layout lib tests cleanup

Merge commit '4ab1b3a292216620cbf7cb6f424e6a159f138dd1'

* commit '4ab1b3a292216620cbf7cb6f424e6a159f138dd1':
layout lib tests cleanup
a8ace6cbffd3ee9d1627a563436cee272ff8599f 12-Oct-2009 Xavier Ducrohet <xav@android.com> am 66ce0f07: am c7bade2a: am 0a9d46b7: Add a test to make sure the replaced classes in layoutlib are correct.

Merge commit '66ce0f07fcb79b97dc52aa0a1c5fce1565f4f090'

* commit '66ce0f07fcb79b97dc52aa0a1c5fce1565f4f090':
Add a test to make sure the replaced classes in layoutlib are correct.
54f84d80ba9e7fde27b5a76bd54e596476269560 12-Oct-2009 Xavier Ducrohet <xav@android.com> am 3557d5bc: am 9cf2bbb0: am 841a8eea: Merge change I24895c35 into eclair

Merge commit '3557d5bc9eb8ac33641430ca52d8e2121d0f1a4b'

* commit '3557d5bc9eb8ac33641430ca52d8e2121d0f1a4b':
Reimplement all the method of Paint for layoutlib
e229e1e80138324782c1e74f356b057135eb0fc2 12-Oct-2009 Xavier Ducrohet <xav@android.com> am 636d9cd6: am 5becdc32: am a970bf52: Merge change I34f51342 into eclair

Merge commit '636d9cd63b77a87e6cb627a90cc8f37e81bedb14'

* commit '636d9cd63b77a87e6cb627a90cc8f37e81bedb14':
Fix the layoutlib test to run from adt-tests.
13683ab7d4c59c242d44f56f0e1576fee0b20976 12-Oct-2009 Xavier Ducrohet <xav@android.com> am 5903a83d: am 864cbf5f: am 71060f29: Merge change I8874a405 into eclair

Merge commit '5903a83df1ebca83ce1e9a05f11a21701db48692'

* commit '5903a83df1ebca83ce1e9a05f11a21701db48692':
Refactor class/method names used by layoutlib_create.
f73b83dd951ba22d54e5f61b588cbe826150fc35 07-Oct-2009 Xavier Ducrohet <xav@android.com> am 5f9d4bae: layout lib tests cleanup

Merge commit '5f9d4bae03b2dfa9c1e43a6e01cacaa5a5326690' into eclair-plus-aosp

* commit '5f9d4bae03b2dfa9c1e43a6e01cacaa5a5326690':
layout lib tests cleanup
d35a4df51980b01b72bfd3d703c685fbb26998ea 07-Oct-2009 Xavier Ducrohet <xav@android.com> am 0a9d46b7: Add a test to make sure the replaced classes in layoutlib are correct.

Merge commit '0a9d46b7e741ccf7272bb69a4eef3c1f2adc91b7' into eclair-plus-aosp

* commit '0a9d46b7e741ccf7272bb69a4eef3c1f2adc91b7':
Add a test to make sure the replaced classes in layoutlib are correct.
7c28655d08a3c3846a52393d502744a2b611315d 07-Oct-2009 Xavier Ducrohet <xav@android.com> am 841a8eea: Merge change I24895c35 into eclair

Merge commit '841a8eea78479ad8a3c10e69a788adbeaef5a53d' into eclair-plus-aosp

* commit '841a8eea78479ad8a3c10e69a788adbeaef5a53d':
Reimplement all the method of Paint for layoutlib
2afff315dd7f529aecd59f67ae05227848a395f9 07-Oct-2009 Xavier Ducrohet <xav@android.com> am a970bf52: Merge change I34f51342 into eclair

Merge commit 'a970bf52581667e88d82e0801e0774d7c9cdcb8f' into eclair-plus-aosp

* commit 'a970bf52581667e88d82e0801e0774d7c9cdcb8f':
Fix the layoutlib test to run from adt-tests.
abf1e7cc5521ef5c7d49b621220b5cdaf61a6d78 07-Oct-2009 Xavier Ducrohet <xav@android.com> am 71060f29: Merge change I8874a405 into eclair

Merge commit '71060f29855745893c122e8b93cf7a723186931b' into eclair-plus-aosp

* commit '71060f29855745893c122e8b93cf7a723186931b':
Refactor class/method names used by layoutlib_create.
4ab1b3a292216620cbf7cb6f424e6a159f138dd1 07-Oct-2009 Xavier Ducrohet <xav@android.com> am 88fb78d2: am 5f9d4bae: layout lib tests cleanup

Merge commit '88fb78d2091764e1265976bdb7027f7785f0b33b' into eclair-mr2-plus-aosp

* commit '88fb78d2091764e1265976bdb7027f7785f0b33b':
layout lib tests cleanup
66ce0f07fcb79b97dc52aa0a1c5fce1565f4f090 07-Oct-2009 Xavier Ducrohet <xav@android.com> am c7bade2a: am 0a9d46b7: Add a test to make sure the replaced classes in layoutlib are correct.

Merge commit 'c7bade2a910d3fd34275440d1cc8bb9c0c9a989a' into eclair-mr2-plus-aosp

* commit 'c7bade2a910d3fd34275440d1cc8bb9c0c9a989a':
Add a test to make sure the replaced classes in layoutlib are correct.
5f9d4bae03b2dfa9c1e43a6e01cacaa5a5326690 06-Oct-2009 Xavier Ducrohet <xav@android.com> layout lib tests cleanup

- Move test files to their own package for easy binary inclusion
in adt-test
- fix some tests and remove obsolete ones.

Change-Id: I5b967f29074fdad74073f9b37d903eabe8dc29e6
ayoutlib/bridge/tests/com/android/layoutlib/bridge/AndroidGraphicsTests.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/BridgeTest.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/BridgeXmlBlockParserTest.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/button.9.png
ayoutlib/bridge/tests/com/android/layoutlib/bridge/layout1.xml
ayoutlib/bridge/tests/com/android/layoutlib/testdata/button.9.png
ayoutlib/bridge/tests/com/android/layoutlib/testdata/layout1.xml
0a9d46b7e741ccf7272bb69a4eef3c1f2adc91b7 06-Oct-2009 Xavier Ducrohet <xav@android.com> Add a test to make sure the replaced classes in layoutlib are correct.

Change-Id: I9641635153c12e2c0a23583f7d094767533fc683
ayoutlib/bridge/tests/com/android/layoutlib/bridge/NinePatchTest.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/TestClassReplacement.java
3557d5bc9eb8ac33641430ca52d8e2121d0f1a4b 06-Oct-2009 Xavier Ducrohet <xav@android.com> am 9cf2bbb0: am 841a8eea: Merge change I24895c35 into eclair

Merge commit '9cf2bbb08c0eb66bcfa45a03d4b21cac78be8e99' into eclair-mr2-plus-aosp

* commit '9cf2bbb08c0eb66bcfa45a03d4b21cac78be8e99':
Reimplement all the method of Paint for layoutlib
9f751ab3fc4fc4af9dc3ec226839bbf9a1b5305e 06-Oct-2009 Xavier Ducrohet <xav@android.com> Reimplement all the method of Paint for layoutlib

There were a few missing methods that should have been reimplmented
(because they were native).

Others have been added just to be sure so that we can test whether methods
are missing or not (test coming soon).

Change-Id: I24895c353e38545e9b1abe28d41224fdc78cadb1
ayoutlib/bridge/src/android/graphics/Paint.java
636d9cd63b77a87e6cb627a90cc8f37e81bedb14 06-Oct-2009 Xavier Ducrohet <xav@android.com> am 5becdc32: am a970bf52: Merge change I34f51342 into eclair

Merge commit '5becdc32c899f1e8031f5a694c064cb559a8fc88' into eclair-mr2-plus-aosp

* commit '5becdc32c899f1e8031f5a694c064cb559a8fc88':
Fix the layoutlib test to run from adt-tests.
5903a83df1ebca83ce1e9a05f11a21701db48692 06-Oct-2009 Xavier Ducrohet <xav@android.com> am 864cbf5f: am 71060f29: Merge change I8874a405 into eclair

Merge commit '864cbf5f9396f35eafd90ad58911b5d280d8eab8' into eclair-mr2-plus-aosp

* commit '864cbf5f9396f35eafd90ad58911b5d280d8eab8':
Refactor class/method names used by layoutlib_create.
8c739671d262c74c5743bf249180b1ba58bef4da 06-Oct-2009 Xavier Ducrohet <xav@android.com> Fix the layoutlib test to run from adt-tests.

Change-Id: I34f513429593dce9f781ed8a08c4664a5d6f9aa8
ayoutlib/bridge/tests/com/android/layoutlib/bridge/BridgeTest.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/BridgeXmlBlockParserTest.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/NinePatchTest.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/StyleResourceValue.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/button.9.png
ayoutlib/bridge/tests/com/android/layoutlib/bridge/layout1.xml
ayoutlib/bridge/tests/data/button.9.png
ayoutlib/bridge/tests/data/layout1.xml
ac7391de5f32cf051678886f0d393fe0431dc6d1 05-Oct-2009 Xavier Ducrohet <xav@android.com> Refactor class/method names used by layoutlib_create.

Information about classes and methods that are replaced, renamed, removed
into CreateInfo, so that it can be used by the tests.

Change-Id: I8874a40503249416621aa90b2ca02dcaf30ecd57
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmGenerator.java
ayoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
f0aa85668719780c51889af032ed4714dcb9bf82 29-Sep-2009 Xavier Ducrohet <xav@android.com> am 25c70dd9: am 279ba943: Merge change I7c7b1596 into eclair

Merge commit '25c70dd9a13a0ff631e4d3911fceaea863ec2586'

* commit '25c70dd9a13a0ff631e4d3911fceaea863ec2586':
Fix a warning output.
25c70dd9a13a0ff631e4d3911fceaea863ec2586 28-Sep-2009 Xavier Ducrohet <xav@android.com> am 279ba943: Merge change I7c7b1596 into eclair

Merge commit '279ba943553ec2368d14e1b3c8a88c36bf17785d' into eclair-plus-aosp

* commit '279ba943553ec2368d14e1b3c8a88c36bf17785d':
Fix a warning output.
f18ccc13a663fe385ecdfbdfd55ef503d48833f5 28-Sep-2009 Xavier Ducrohet <xav@android.com> Fix a warning output.

This was introduced by the dpi work.

Change-Id: I7c7b1596085f70532b8279139c287a2a58f57046
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeTypedArray.java
e57b3111deace5d53fbcbd0f24f84e39fd810caf 25-Sep-2009 Raphael <raphael@google.com> am 04165371: am 20b39471: Merge change 26933 into eclair

Merge commit '041653714524b37972169071e7569d2432ae8747'

* commit '041653714524b37972169071e7569d2432ae8747':
AAPT: Ignore visual source safe files in resources
1bf5a19216490fe4ee7091f101636f659358de47 25-Sep-2009 Dianne Hackborn <hackbod@google.com> am ad8d9dfb: am ffa42480: Fix issue #2133206: dialogs/menus should auto-dismiss when screen turns off

Merge commit 'ad8d9dfb2458e5195df71afdcf07725a13ebe1c7'

* commit 'ad8d9dfb2458e5195df71afdcf07725a13ebe1c7':
Fix issue #2133206: dialogs/menus should auto-dismiss when screen turns off
34613b18820d0cff86bd430236f60445e07d1e77 25-Sep-2009 Xavier Ducrohet <xav@android.com> am d6fdec7b: am 3b805d57: Merge change 26616 into eclair

Merge commit 'd6fdec7bd12317ddea3e0c20f304c544a88440be'

* commit 'd6fdec7bd12317ddea3e0c20f304c544a88440be':
Add density support to layoutlib so that bitmap are scaled if needed.
466ccfd9efa0e5a3d068c2dbc4503b9288d92989 25-Sep-2009 Dianne Hackborn <hackbod@google.com> am 5ddbc0d5: am de0dfb7b: Fix issue #2125720 Weather Forecast Widget - graphics do not scale

Merge commit '5ddbc0d59d8143d50a19950624c38fdb8102156b'

* commit '5ddbc0d59d8143d50a19950624c38fdb8102156b':
Fix issue #2125720 Weather Forecast Widget - graphics do not scale
041653714524b37972169071e7569d2432ae8747 25-Sep-2009 Raphael <raphael@google.com> am 20b39471: Merge change 26933 into eclair

Merge commit '20b394719daa218be7ff767fad024504f12e937b' into eclair-plus-aosp

* commit '20b394719daa218be7ff767fad024504f12e937b':
AAPT: Ignore visual source safe files in resources
3cdfc042dca4264bdd2e51320f7edb81fd8f9ee0 25-Sep-2009 Raphael <raphael@google.com> AAPT: Ignore visual source safe files in resources

BUG 1895888
apt/AaptAssets.cpp
ad8d9dfb2458e5195df71afdcf07725a13ebe1c7 24-Sep-2009 Dianne Hackborn <hackbod@google.com> am ffa42480: Fix issue #2133206: dialogs/menus should auto-dismiss when screen turns off

Merge commit 'ffa424800d0338b8b894aef2ea1e3e3344cbda7a' into eclair-plus-aosp

* commit 'ffa424800d0338b8b894aef2ea1e3e3344cbda7a':
Fix issue #2133206: dialogs/menus should auto-dismiss when screen turns off
ffa424800d0338b8b894aef2ea1e3e3344cbda7a 24-Sep-2009 Dianne Hackborn <hackbod@google.com> Fix issue #2133206: dialogs/menus should auto-dismiss when screen turns off

Lot of infrastructure for more things to go away when "clear system dialogs"
happens, and now do this when we turn on the lock screen.

Change-Id: I567130296fe47ce82df065ed58ef21b37416ceaf
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
d6fdec7bd12317ddea3e0c20f304c544a88440be 24-Sep-2009 Xavier Ducrohet <xav@android.com> am 3b805d57: Merge change 26616 into eclair

Merge commit '3b805d570716749966b909be16513f882522c58e' into eclair-plus-aosp

* commit '3b805d570716749966b909be16513f882522c58e':
Add density support to layoutlib so that bitmap are scaled if needed.
56a92e3ba0d7da310b4c6e09f54dee10f1f395bb 23-Sep-2009 Xavier Ducrohet <xav@android.com> Add density support to layoutlib so that bitmap are scaled if needed.

Change-Id: I00204bb136ccaa44deeafbe0ea8746fea9903341
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeResources.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeTypedArray.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/ResourceHelper.java
5ddbc0d59d8143d50a19950624c38fdb8102156b 23-Sep-2009 Dianne Hackborn <hackbod@google.com> am de0dfb7b: Fix issue #2125720 Weather Forecast Widget - graphics do not scale

Merge commit 'de0dfb7b65a02d4dd74c271b558adee0973fc267' into eclair-plus-aosp

* commit 'de0dfb7b65a02d4dd74c271b558adee0973fc267':
Fix issue #2125720 Weather Forecast Widget - graphics do not scale
de0dfb7b65a02d4dd74c271b558adee0973fc267 23-Sep-2009 Dianne Hackborn <hackbod@google.com> Fix issue #2125720 Weather Forecast Widget - graphics do not scale

I forgot to add the new density field to the Bitmaps' parcelable data.

Change-Id: I77cf3e93e356297e0caed6fc71b62b5cd8f79124
ayoutlib/bridge/src/android/graphics/Bitmap.java
a37b3616932e03122b536ff2b9f038c3ae65da4e 23-Sep-2009 Bob Lee <crazybob@crazybob.org> am 3136d4b0: Merge change 26635 into eclair

Merge commit '3136d4b0108deaca5ab525881de47d2979911131' into eclair-plus-aosp

* commit '3136d4b0108deaca5ab525881de47d2979911131':
Added tool to generate application-specific reports from class load profiling data. Generated new profiling data. Deleted old data. Generated new preloaded-classes file.
3136d4b0108deaca5ab525881de47d2979911131 23-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 26635 into eclair

* changes:
Added tool to generate application-specific reports from class load profiling data. Generated new profiling data. Deleted old data. Generated new preloaded-classes file.
fcc3ccb9769dd39ac93dbad56ee590e2f7d041c3 23-Sep-2009 Bob Lee <crazybob@crazybob.org> Added tool to generate application-specific reports from class load profiling data. Generated new profiling data. Deleted old data. Generated new preloaded-classes file.
reload/20080522.compiled
reload/20090811.compiled
reload/20090922.compiled
reload/Android.mk
reload/LoadedClass.java
reload/PrintBugReports.java
reload/Root.java
reload/WritePreloadedClassFile.java
reload/preload.ipr
reload/sorttable.js
b47d07c29d70f487ea21e91313947d18367796c2 23-Sep-2009 Xavier Ducrohet <xav@android.com> am 0acf9a5b: Merge change 26539 into eclair

Merge commit '0acf9a5b2f81413641d3d139ae6fd5f9df621e5f' into eclair-plus-aosp

* commit '0acf9a5b2f81413641d3d139ae6fd5f9df621e5f':
Add density value to density enum.
39cd36ec1fed5f370983dbd8933acc5e779003c6 23-Sep-2009 Xavier Ducrohet <xav@android.com> Add density value to density enum.

This is going to be used as constant to both ADT classes and the
layoutlib.

Change-Id: Id9befe83c5c2be3fbc5f045c7ed21aa8ee0108cc
ayoutlib/api/src/com/android/layoutlib/api/IDensityBasedResourceValue.java
296e7b951914f983b4d063da02d38162ac01abd0 23-Sep-2009 Xavier Ducrohet <xav@android.com> am 32f76f34: Merge change 26517 into eclair

Merge commit '32f76f34075450c03c68fc1f65e395d5eddd6d51' into eclair-plus-aosp

* commit '32f76f34075450c03c68fc1f65e395d5eddd6d51':
Add a new IResourceValue that knows about the density.
ccb630df4bb32ef93c55ad32859849a08b840288 23-Sep-2009 Xavier Ducrohet <xav@android.com> Add a new IResourceValue that knows about the density.

This will allow the layoutlib to resize bitmaps that are
not in the native density of the rendering.

Change-Id: If9dca6d51cd93a2083c96fce3ac64335ec6ad801
ayoutlib/api/src/com/android/layoutlib/api/IDensityBasedResourceValue.java
e8e977bc4a5031da623188a562a1276305a7bf21 20-Sep-2009 Suchi Amalapurapu <asuchitra@google.com> am f1871e27: Merge change 26009 into eclair

Merge commit 'f1871e273e1bf49d72a7f2ef51a4ef377d8f3112' into eclair-plus-aosp

* commit 'f1871e273e1bf49d72a7f2ef51a4ef377d8f3112':
Fix issue with printing gles version in aapt dump badging option
40b94725dc1c62ea66db0b9502dd81b97dd3e35f 20-Sep-2009 Suchi Amalapurapu <asuchitra@google.com> Fix issue with printing gles version in aapt dump badging option
If the name attribute for uses-feature or uses-permission is empty
the error value is still empty indicating error and preventing the
else part from being checked as it should be.
apt/Command.cpp
b7b083090f7312f83453e3f3c2e40a91644a3059 19-Sep-2009 Dianne Hackborn <hackbod@google.com> am a382cb81: Merge change 25929 into eclair

Merge commit 'a382cb81187437aa389dc131687e181ceaefa8ba' into eclair-plus-aosp

* commit 'a382cb81187437aa389dc131687e181ceaefa8ba':
Add API to send an ordered sticky broadcast.
efa199f016985b0a9d0471e42c803ee9f7941f0e 19-Sep-2009 Dianne Hackborn <hackbod@google.com> Add API to send an ordered sticky broadcast.

Change-Id: Ida7081204e226db0cd07ff618c08e308a909ec0c
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java
1f3914b7f2f3c233da8b643c426c0ffd42f32f87 18-Sep-2009 Dianne Hackborn <hackbod@google.com> am fa82f22f: Fix issue #2093608: Calendar widget takes a few seconds to launch

Merge commit 'fa82f22f1d8c4c828bdf9b670006be4f4fec772e' into eclair-plus-aosp

* commit 'fa82f22f1d8c4c828bdf9b670006be4f4fec772e':
Fix issue #2093608: Calendar widget takes a few seconds to launch
fa82f22f1d8c4c828bdf9b670006be4f4fec772e 18-Sep-2009 Dianne Hackborn <hackbod@google.com> Fix issue #2093608: Calendar widget takes a few seconds to launch

Avert your eyes!

The key change here is that RemoteViews can now call a Context API to
start its pending intent, which inside of the activity manager we can
use to determine to cancel the timeout delay for external entities
to disrupt the home screen.

Change-Id: If097cf7478cbed7a3c04a304050bd7fd5703d197
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java
10bedaaf3ec24af5fa4dcea54545e4d4953a1c7d 16-Sep-2009 Dianne Hackborn <hackbod@google.com> am 7fc39b26: Merge change 25238 into eclair

Merge commit '7fc39b26fc4ec9df7d147ff34ebba90556cdb4da' into eclair-plus-aosp

* commit '7fc39b26fc4ec9df7d147ff34ebba90556cdb4da':
Implement issue #1780928: Need support hiding nav keys.
93e462b79d6896da10e15e74c5aec6beb098dddf 16-Sep-2009 Dianne Hackborn <hackbod@google.com> Implement issue #1780928: Need support hiding nav keys.

This implements support for devices whose hardware can hide
their navigation keys. It works much like the existing keyboardHidden
configuration, and for compatibility uses the same configuration
change bit.

Also add FLAG_TURN_ON_SCREEN for windows, which has the system
cause the screen to be turned on when the window is displayed.
Great fun when used with FLAG_SHOW_WHEN_LOCKED!

Change-Id: I0b867f19af85cfd8786a14cea194b34f7bdd9b7a
apt/AaptAssets.cpp
apt/AaptAssets.h
7c32e4bc300bb75203f65ca55b08ecd3156fa2bb 15-Sep-2009 Dianne Hackborn <hackbod@google.com> am d023f9a9: Merge change 24829 into eclair

Merge commit 'd023f9a9a90705410250cd86bc6446c738423a99' into eclair-plus-aosp

* commit 'd023f9a9a90705410250cd86bc6446c738423a99':
Some optizations to wallpaper drawing/scrolling.
d023f9a9a90705410250cd86bc6446c738423a99 15-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 24829 into eclair

* changes:
Some optizations to wallpaper drawing/scrolling.
19382ac1a4e4e7c23a1346d299368763f149de9c 12-Sep-2009 Dianne Hackborn <hackbod@google.com> Some optizations to wallpaper drawing/scrolling.

First, fix some issues with the final wallpaper bitmap
we use: ensure it is always 16bpp, and make sure dithering
of its bitmap is turned off. We take of dithering
when loading, to make sure we don't use it when drawing.

Also add new APIs to return the wallpaper with the equivalent
of Launcher's old FastBitmapDrawable. As doing this, also load
the default wallpaper the same way as custom ones, taking care to
resize it as needed at load time.

Finally implement a mechanism for the window manager to wait
for the wallpaper to redraw at its new position before returning
from the application's call to change the offset. This ensures
that the wallpaper better tracks the application. Note that there
is a timeout in this wait that is relatively short, and if it
expires we will run for a while without waiting.

Change-Id: Ife449437746da85958bd447e0a6cf3d2223b398c
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
d2bb9eae1737287f80a1d95acfdfb238c7058934 14-Sep-2009 Raphael <raphael@google.com> am 7cec5430: Merge change 24903 into eclair

Merge commit '7cec54302d421dd8c45ea25456b9677a7aa3d8d3' into eclair-plus-aosp

* commit '7cec54302d421dd8c45ea25456b9677a7aa3d8d3':
Fix some LayoutBridge javadoc.
7a79628cd9b5149a7b38b90bf6cef9ea67cfbc21 14-Sep-2009 Raphael <raphael@google.com> Fix some LayoutBridge javadoc.

Change-Id: I255d1d58d3537403ac9a8a5c7adece30ae989ce0
ayoutlib/api/src/com/android/layoutlib/api/ILayoutBridge.java
ayoutlib/api/src/com/android/layoutlib/api/ILayoutResult.java
3c193a4a8d748faf420988250aabda0145e74bf7 04-Sep-2009 Jean-Baptiste Queru <jbq@google.com> merge from open-source master
be8e36e32b9cb2bb37e28e4c0d414ee0e46c84a2 04-Sep-2009 Jean-Baptiste Queru <jbq@google.com> merge from donut
1cfe4b2a75041b6853c304eeaee1ae84bbf5f2a8 03-Sep-2009 Robert Greenwalt <robdroid@android.com> am e8f605ff: Merge change 23761 into eclair

Merge commit 'e8f605ff44664d0ecc9a5a24886176ef447db2a9' into eclair-plus-aosp

* commit 'e8f605ff44664d0ecc9a5a24886176ef447db2a9':
Fix compilation of add-resource tag.
93d72516994277acdd3894a169ec1f1cbc50db97 03-Sep-2009 Robert Greenwalt <robdroid@android.com> Fix compilation of add-resource tag.

It used the wrong tag-type to find the end of itself.
apt/ResourceTable.cpp
7a797a02afafc1fcbdbe66d564f036c7ef38211f 02-Sep-2009 Eric Fischer <enf@google.com> am 66c70e13: Merge change 23529 into eclair

Merge commit '66c70e13d9f39cf82df8542fe53f2049d3f2062e' into eclair-plus-aosp

* commit '66c70e13d9f39cf82df8542fe53f2049d3f2062e':
Make it an error to use a bare apostrophe in aapt, and adjust warnings/errors.
44b283dc27ed8ba5a946d809489f29b4ae88cb15 02-Sep-2009 Kenny Root <kenny@the-b.org> Fix %p vs %s typo in aapt message

When trying to print an xmltree or xmlstrings from aapt, the error
message if the resource didn't exist erroneously printed a pointer
instead of a string.

Change-Id: I317bbbdc1200e0f10922e80a36e41a22b2d50d0d
apt/Command.cpp
c87d25215c842cea370c6a86ce67585fa8da4900 02-Sep-2009 Eric Fischer <enf@google.com> Make it an error to use a bare apostrophe in aapt, and adjust warnings/errors.

In practice, no one ever writes an apostrophe in an aapt string with the
intent of using it to quote whitespace -- they always mean to include a
literal apostrophe in the string and then are surprised when they find
the apostrophe missing. Make this an error so that it is discovered
right away instead of waiting until late in QA or after the strings have
already been sent for translation. (And fix a recently-introduced string
that has exactly this problem.)

Silence the warning about an empty span in a string, since this seems to
annoy people instead of finding any real problems.

Make the error about having a translated string with no base string into
a warning, since this is a big pain when making changes to an application
that has already had some translations done, and the dead translations
should be removed by a later translation import anyway.
apt/ResourceTable.cpp
apt/XMLNode.cpp
85a2c7f1cad8fd55ed72a8a3dbb2b36632ebbff3 01-Sep-2009 Jean-Baptiste Queru <jbq@google.com> merge from open-source master
832528f92c8d6995318777ead009da20963bcf7a 31-Aug-2009 Robert Greenwalt <robdroid@android.com> Fix replacement-after-add of resource files in overlay.

Aapt was adding/removing elements from a list an continuing to use a stale copy for future indexes.
This could cause incorrect subsequent processing. Add an en resource and modify an es, for example.
Adding the en would cause the base fileset's es version to be moved in the list. Using the old index
we'd then attempt to remove the old es version with the wrong index and then add the new es version
generating a "duplicate file" error.

bug: 2090015
apt/Resource.cpp
72b1f379d5c97c8ff31d2201e78215af777d6bda 31-Aug-2009 Jean-Baptiste Queru <jbq@google.com> donut snapshot
apt/Command.cpp
ayoutlib/bridge/src/android/graphics/Bitmap.java
ayoutlib/bridge/src/android/graphics/Canvas.java
ayoutlib/bridge/src/android/graphics/Matrix.java
ayoutlib/bridge/src/android/os/ServiceManager.java
ayoutlib/bridge/src/android/view/accessibility/AccessibilityManager.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeCanvas.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeConstants.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeResources.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/NinePatchDrawable.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
reload/20090811.compiled
reload/Android.mk
reload/ClassRank.java
reload/LoadedClass.java
reload/MemoryUsage.java
reload/Policy.java
reload/PrintCsv.java
reload/PrintHtmlDiff.java
reload/Proc.java
reload/Root.java
reload/WritePreloadedClassFile.java
reload/loadclass/LoadClass.java
reload/preload.iml
reload/preload.ipr
reload/sorttable.js
56d8eeae6f863771d759448d45f7ce75aef73b21 31-Aug-2009 Joe Onorato <joeo@android.com> applications are at level 2
apt/Resource.cpp
1553c82e084ac5763fb393857224145506771b99 30-Aug-2009 Joe Onorato <joeo@android.com> Add a flag (-G) to aapt to have it output the classes that shouldn't be obfuscated by ProGuard.
apt/AaptAssets.cpp
apt/AaptAssets.h
apt/Bundle.h
apt/Command.cpp
apt/Main.cpp
apt/Main.h
apt/Resource.cpp
49237345d83e62fdb9eb8d50b13ad086636a04fa 28-Aug-2009 Dianne Hackborn <hackbod@google.com> Add platform infrastructure for features.

This introduces a new mechanism to define features associated with
a platform, query the current device for the available features,
and enforce that apps requiring features that aren't available can't
be installed.

Also now allows uses-library to specify that a library is optional,
so the lack of such a library will not prevent the app from being
installed (but if it does exist it will be correctly linked into
the app).

Change-Id: I5b369b46cfa0b3d37c9e08fd14ef1098a978e67b
apt/Command.cpp
e5276a74746b5e8f09b05a50155e7aa0bbb4a747 28-Aug-2009 Dianne Hackborn <hackbod@google.com> Fix issue #2084148: Define the format for the auto focus preview for barcode scanning

Add new manifest/aapt support for specifying device features an application
requires. The aapt badging now returns these (as well as uses-permission since
I need to look for those anyway); if an app doesn't explicitly request the
camera feature but does request the permission, then aapt will say that it has
requested both the basic camera feature as well as the autofocus feature.

Here's what you put in your manifest to say you need a camera but don't need
autofocus:

<uses-permission android:name="android.permission.CAMERA" />
<uses-feature android:name="android.hardware.camera" />
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />

Here's what will be seen from aapt:

uses-permission:'android.permission.CAMERA'
uses-feature:'android.hardware.camera'
uses-feature-not-required:'android.hardware.camera.autofocus'

Change-Id: I4dd19cee0486cc54771f5bf14fc9db0e892115d5
apt/Command.cpp
4a51c20ce607c74914f90fd897f04080121ac13b 22-Aug-2009 Dianne Hackborn <hackbod@google.com> I am getting tired of the java doc warnings, so fix them.

Change-Id: I2205eebae419eaf4a0992c9f5b7cd807eb843fe1
apt/Resource.cpp
841ce8b7b9fffcc66cf1349097ed821b94627d63 21-Aug-2009 Kenny Root <kenny@the-b.org> Fix bitmask in aapt's StringPool length construction

The StringPool indicates the length of a string with a 16-bit
integer. If the length of the string is greater than 0x7FFF,
it splits it into two 16-bit integers with the first one
having the high bit set.

The length calculation has a small bug that masks off the
19 bits instead of the first 15 bits as intended.
apt/StringPool.cpp
ad013fae0db2864ad13631a44d26bacafc36f861 21-Aug-2009 Xavier Ducrohet <xav@android.com> Replace fullHeight support by fullSize (height and width)

This is useful for linearlayout in horizontal mode.
ayoutlib/api/src/com/android/layoutlib/api/ILayoutBridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
d604ad1ad442790af53847d24060ecb097106d26 20-Aug-2009 Xavier Ducrohet <xav@android.com> Support full length rendering.

New rendering method in ILayoutBridge to specify whether the rendering
height should be the specified height or if it should be the height
required by the layout (specified height is always the minimum).
ayoutlib/api/src/com/android/layoutlib/api/ILayoutBridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
9abcba3c81e7cce3e52286dd2009dd46cdcae4c4 19-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 21764 into eclair

* changes:
Add aapt extensions to dump badging to print more info about activities, receivers and services Fix issue with checking end tags. Earlier some boolean variables were being set once a new tag is detected at the same level which causes some incorrect values to be overwritten. we should be doing this when we detect the end tag.
1b125980c5de597c18a179b9b02b9a5afe106895 18-Aug-2009 Suchi Amalapurapu <asuchitra@google.com> Add aapt extensions to dump badging to print more info about activities, receivers and services
Fix issue with checking end tags. Earlier some boolean variables were being set once a new
tag is detected at the same level which causes some incorrect values to be overwritten.
we should be doing this when we detect the end tag.
apt/Command.cpp
f369b7199f537bba7d8fced8b0f826249d19fdf5 18-Aug-2009 Xavier Ducrohet <xav@android.com> am ad4bc607: Merge change 21772 into donut

Merge commit 'ad4bc607bd236dd9b06df9cf89dc5e14541ff66c' into eclair

* commit 'ad4bc607bd236dd9b06df9cf89dc5e14541ff66c':
Fix Resources#opeRawResource(int, TypedValue) in layoutlib.
72e4bcd3d0da90f6c9550c93e58c12b2903a5ab8 18-Aug-2009 Xavier Ducrohet <xav@android.com> Fix Resources#opeRawResource(int, TypedValue) in layoutlib.
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeResources.java
9cefd00f83df16f1763eaea08b96569db826e1f2 18-Aug-2009 Android Git Automerger <android-git-automerger@android.com> resolved conflicts for merge of 6ba69734 to eclair, skipping preloaded-classes as pre Bob
f7064e18fbafa6091a7e5f604978331135bcf4b6 18-Aug-2009 Xavier Ducrohet <xav@android.com> am ace6a5cf: Merge change 21408 into donut

Merge commit 'ace6a5cfc0d14a909b4b95bdfe16609188125baf' into eclair

* commit 'ace6a5cfc0d14a909b4b95bdfe16609188125baf':
Improved drawing/matrix support in layoutlib
6919f69281e32d0c3d4b3791b273f71f178cbb7c 18-Aug-2009 Suchi Amalapurapu <asuchitra@google.com> am 75c49842: Add maxSdkVersion information in dump badging option

Merge commit '75c498426a17b47d445711bb9e36794b05876a56' into eclair

* commit '75c498426a17b47d445711bb9e36794b05876a56':
Add maxSdkVersion information in dump badging option
1a8c1599de630ae4199b71cb3eca75d7db9c40d6 18-Aug-2009 Xavier Ducrohet <xav@android.com> am c1c432f5: Merge change 21241 into donut

Merge commit 'c1c432f57b782ed9d8d65be7ea1bee1e1d7d7839' into eclair

* commit 'c1c432f57b782ed9d8d65be7ea1bee1e1d7d7839':
Layoutlib now uses the dimen status_bar_height instead of hard-coded value
82e7408be29c6c8c6ed80887ea97f48f38b3223d 18-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 21326 into eclair

* changes:
aapt now attempts to process all assets even if some are malformed.
8df8b2b405c60cacf7a66c4e2ca078dd3d7ec7bd 18-Aug-2009 Dianne Hackborn <hackbod@google.com> Allow wallpapers to get touch events.
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
6ba69734d8034d761be3f92681bf02e8b6a88fd1 18-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 21178 into donut

* changes:
Simplified algorithm used to generate the preloaded-classes list. Generated a new preloaded-classes file.
9d2d6e14b0932b6a74e01f393d5efed61458941b 13-Aug-2009 Bob Lee <crazybob@google.com> Simplified algorithm used to generate the preloaded-classes list. Generated a new preloaded-classes file.
reload/20090811.compiled
reload/Android.mk
reload/ClassRank.java
reload/LoadedClass.java
reload/MemoryUsage.java
reload/Policy.java
reload/PrintCsv.java
reload/PrintHtmlDiff.java
reload/Proc.java
reload/Root.java
reload/WritePreloadedClassFile.java
reload/loadclass/LoadClass.java
reload/preload.ipr
reload/sorttable.js
2473ef5654b2a4b65132a35677c6ddfd481aab2c 15-Aug-2009 Xavier Ducrohet <xav@android.com> Improved drawing/matrix support in layoutlib

- Make the custom Canvas actually replace the original one so that it's used
even by parts of the framework that allocate their own temp Canvas object.
- Better support for Matrix: added support for mapPoint() and mapRect(), and invert()
- Implemented drawBitmap() with a Matrix, and made the paint object not NPE when null.
ayoutlib/bridge/src/android/graphics/Bitmap.java
ayoutlib/bridge/src/android/graphics/Canvas.java
ayoutlib/bridge/src/android/graphics/Matrix.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeCanvas.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/NinePatchDrawable.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
3547f859d4a4e90eea52e9caf686c69a6e015b85 14-Aug-2009 Daniel Sandler <dsandler@google.com> aapt now attempts to process all assets even if some are malformed.

Previously aapt would bail out on the first broken image, making it difficult to compile a comprehensive list of broken images. Now it will pre- and post-process all of them and report any and all errors (before exiting with an error code if any errors were encountered).

Bug: 2055485
apt/Resource.cpp
64551b2e0e52fe89c360b1951acc528d94ebaf7a 15-Aug-2009 Dianne Hackborn <hackbod@google.com> Fix aapt to be able to add configs from overlays.

Fixes a bug where any new configurations introduced in an overlay
would be half-way ignored (enough to result in a broken .apk).
apt/AaptAssets.h
apt/Resource.cpp
75c498426a17b47d445711bb9e36794b05876a56 15-Aug-2009 Suchi Amalapurapu <asuchitra@google.com> Add maxSdkVersion information in dump badging option
apt/Command.cpp
09701011bc489f117d88f2c0ed406120eb4562ab 14-Aug-2009 Xavier Ducrohet <xav@android.com> Layoutlib now uses the dimen status_bar_height instead of hard-coded value

BUG: 2053956
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeConstants.java
1d47a5142682c1f9f9a04fdbe1ec863fd5550c30 14-Aug-2009 Xavier Ducrohet <xav@android.com> am 94ff3f1f: Merge change 21063 into donut

Merge commit '94ff3f1f08805b68c5524b39024968aebcdc83ee' into eclair

* commit '94ff3f1f08805b68c5524b39024968aebcdc83ee':
Fix handling of reference XML file in layout files
314e0226a26cd79b5080dcb76d566fa6f83ff695 14-Aug-2009 Xavier Ducrohet <xav@android.com> am e1b63d22: Merge change 21033 into donut

Merge commit 'e1b63d224a0a68191f087186c470cde317e3fa76' into eclair

* commit 'e1b63d224a0a68191f087186c470cde317e3fa76':
Mock ServiceManager and AccesibilityManager to make the view renders in ADT
4e6535085fabfa90e5d0991b39b0d358e6df36d8 13-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 21159

* changes:
Allow overlays to add resources.
58c27a0a03f573791935116fa35f6a7c8bf93896 13-Aug-2009 Dianne Hackborn <hackbod@google.com> Allow overlays to add resources.
apt/Resource.cpp
apt/ResourceTable.cpp
apt/ResourceTable.h
08e2a4b56f23ce02f17300438f76ccc1f663f183 13-Aug-2009 Xavier Ducrohet <xav@android.com> Fix handling of reference XML file in layout files

This allows layout that references animation to properly load
in the layout editor in ADT
ayoutlib/bridge/src/android/os/ServiceManager.java
ayoutlib/bridge/src/android/view/accessibility/AccessibilityManager.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeResources.java
385df699a6d602cab501092821a79cc6ab3a390e 13-Aug-2009 Andrei Popescu <andreip@google.com> remove Gears
ayoutlib/bridge/src/android/webkit/WebView.java
7953e7d89b1d4d7297176fbb6aeea882577df8e6 13-Aug-2009 Xavier Ducrohet <xav@android.com> Mock ServiceManager and AccesibilityManager to make the view renders in ADT

BUG: 2049348
ayoutlib/bridge/src/android/os/ServiceManager.java
ayoutlib/bridge/src/android/view/accessibility/AccessibilityManager.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
72c82ab9923025a91bbabb32e56bfea27bfd083b 12-Aug-2009 Dianne Hackborn <hackbod@google.com> Report wallpaper offset to the wallpaper, use this in the image wallpaper.

Wallpapers can now be just the size of the screen, and get told when their
scroll position should change to do the updating on their own.
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
45e503ae91d380ebe5158927b7d6aa80e166d096 12-Aug-2009 android-build SharedAccount <android-build@sekiwake.mtv.corp.google.com> resolved conflicts for merge of 802527c6 to master skipping preloaded-classes as pre Bob
ac1e59d887651220f5367cc7fa4207b34eab774d 11-Aug-2009 Jean-Baptiste Queru <jbq@google.com> donut snapshot
idl/AST.cpp
idl/AST.h
idl/generate_java.cpp
2e93f65cab0b4b21a1285b83e985559325e87a3a 11-Aug-2009 Bob Lee <crazybob@google.com> Updated preloaded-classes file.
reload/20090811.compiled
reload/ClassRank.java
reload/LoadedClass.java
reload/Policy.java
reload/PrintCsv.java
reload/Proc.java
reload/WritePreloadedClassFile.java
reload/preload.iml
reload/preload.ipr
c8a0a75e1c61d1ab24bd46a8243041c107e738ac 11-Aug-2009 Dianne Hackborn <hackbod@google.com> Implement support for scrolling a wallpaper.

This currently only works for a wallpaper that is larger than the
screen. Set the scroll position with the new wallpaper API. Right
now only does jump scrolls.
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
5887f2199a6285e3af36aaa5e446bcdf2d54f408 04-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> am 747cb3b5: Merge change 9670 into donut

Merge commit '747cb3b515e1b01f6b61ec911b693d88d480eaaf'

* commit '747cb3b515e1b01f6b61ec911b693d88d480eaaf':
Make aidl annotate onTransact with @Override
7ea9d79e302b1d71c62802aa514566c9b7f39f67 04-Aug-2009 Xavier Ducrohet <xav@android.com> Make aidl annotate onTransact with @Override

BUG: 1902262
idl/AST.cpp
idl/AST.h
idl/generate_java.cpp
0391107e13e1e6388a3175399d15b246d726b88f 03-Aug-2009 Jean-Baptiste Queru <jbq@google.com> merge from donut
5c1207be90fdf296c1b83034b7c68915e1749284 01-Aug-2009 Jean-Baptiste Queru <jbq@google.com> donut snapshot
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeTypedArray.java
61e4248f8f6ae8a8f40550cc0800e5190cd1dc09 29-Jul-2009 Jean-Baptiste Queru <jbq@google.com> merge from donut
a8675f67e33bc7337d148358783b0fd138b501ff 29-Jul-2009 Jean-Baptiste Queru <jbq@google.com> donut snapshot
apt/AaptAssets.cpp
apt/AaptAssets.h
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
2af1b3db3d4f687d008db74b150f149e956b4bc6 26-Jul-2009 Jean-Baptiste Queru <jbq@google.com> Merge korg/donut into korg/master
f57117b7331e8ec9ff43651ab6cd6b662e5391c1 23-Jul-2009 Xavier Ducrohet <xav@android.com> am eba337ad: Reimplement TypedArray.getLayoutDimension(int, int) for the layout bridge.

Merge commit 'eba337ad09ba93b31f4e9ec8f99be3ae2811bf89'

* commit 'eba337ad09ba93b31f4e9ec8f99be3ae2811bf89':
Reimplement TypedArray.getLayoutDimension(int, int) for the layout bridge.
eba337ad09ba93b31f4e9ec8f99be3ae2811bf89 23-Jul-2009 Xavier Ducrohet <xav@android.com> Reimplement TypedArray.getLayoutDimension(int, int) for the layout bridge.
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeTypedArray.java
a8339dfec9d1b2c6d6fd2f8268f8075d184f64c0 22-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 9fc20b0e: Merge change 8126 into donut

Merge commit '9fc20b0e381b5fe00b7049ef357c839cd05a33bf'

* commit '9fc20b0e381b5fe00b7049ef357c839cd05a33bf':
First pass at reworking screen density/size APIs.
c4db95c077f826585d20be2f3db4043c53d30cf5 22-Jul-2009 Dianne Hackborn <hackbod@google.com> First pass at reworking screen density/size APIs.

This changes the names of the directories in aapt, to what you see
in the list of DpiTest resources. Also adds a new "long" configuration
for wide screens, which the platform sets appropriate, and introduces
a new kind of resizeability for not large but significantly larger
than normal screens which may have compatibility issues.
apt/AaptAssets.cpp
apt/AaptAssets.h
cf4550c3198d6b3d92cdc52707fe70d7cc0caa9f 21-Jul-2009 Jean-Baptiste Queru <jbq@google.com> donut snapshot
apt/AaptAssets.cpp
apt/AaptAssets.h
apt/Bundle.h
apt/Command.cpp
apt/Main.cpp
apt/Resource.cpp
apt/ResourceTable.cpp
apt/ResourceTable.h
apt/XMLNode.cpp
apt/XMLNode.h
idl/AST.h
ayoutlib/bridge/src/android/graphics/Matrix.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeAssetManager.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java
ocalize/Android.mk
ocalize/Perforce.cpp
ocalize/SourcePos.cpp
ocalize/Values.cpp
ocalize/XLIFFFile.cpp
ocalize/file_utils.cpp
ocalize/localize_test.cpp
ocalize/merge_res_and_xliff.cpp
ocalize/merge_res_and_xliff_test.cpp
ocalize/xmb.cpp
469b4c67adc77a87eb2c9ed9217edf1778002828 20-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am aad0fcc9: Merge change 7783 into donut

Merge commit 'aad0fcc9619eb72c18a6afff48ebc9d4011f0f54'

* commit 'aad0fcc9619eb72c18a6afff48ebc9d4011f0f54':
Add "nodpi" density, and expose a bunch of density-related APIs.
a53b828635fce8b6b2d3e3377d74d72070056623 17-Jul-2009 Dianne Hackborn <hackbod@google.com> Add "nodpi" density, and expose a bunch of density-related APIs.

Also update the DpiTest app to use nodpi images, and try to have a mode
where it turns off compatibility though it's not quite working.
apt/AaptAssets.cpp
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
dd931864209eac0b4182d7a0d1ca965fcc3b8c03 13-Jul-2009 Marco Nelissen <marcone@google.com> Format aapt warnings the same way as other compiler warnings
('warning: ' instead of 'WARNING: ' or 'WARNING ')
apt/Package.cpp
apt/Resource.cpp
apt/ResourceTable.cpp
apt/SourcePos.cpp
apt/XMLNode.cpp
apt/ZipEntry.cpp
f6ff591decdea6299aab1a5b6f95917800571de4 30-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 72eb0aca: Merge change 5483 into donut

Merge commit '72eb0acad5cffc57ce5006f6deab29ee259e461e'

* commit '72eb0acad5cffc57ce5006f6deab29ee259e461e':
Expand support for different screen sizes.
723738cfaec3dd7b0fe152c872c41bebf94074c4 26-Jun-2009 Dianne Hackborn <hackbod@google.com> Expand support for different screen sizes.

Applications can now declare that they support small, normal, or
large screens. Resource selection can also be done based on these
sizes. By default, pre-Donut apps are false for small and large,
and Donut or later apps are assumed to support all sizes. In either
case they can use <supports-screens> in their manifest to declare
what they actually support.
apt/AaptAssets.cpp
apt/AaptAssets.h
apt/Command.cpp
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeAssetManager.java
c7410f6f9f8f2aeb9368502a4a725b1a7abe1190 25-Jun-2009 Jack Palevich <jackpal@google.com> Add includes to enable host C++ tools to compile with GCC 4.4

Otherwise printf is undeclared. These files worked with earlier versions
of gcc because either cstdio or stdio.h was being included by some other
header file. But this was not guaranteed behavior, so with GCC 4.4 there
are errors. The fix is backwards compatible with earlier versions of GCC.

This change includes either <cstdio> or <stdio.h> whichever looks more
appropriate given the other headers included by the given source file.

Note, I'm using "GCC" to mean Gnu Compile Collection, as this problem is
specific to C++ source files. (Presumably a C++-specific header file
changed to no longer include cstdio.)
idl/AST.h
fdb7838bca8d5831910711584fff75d22baf869f 25-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am ad39eb0a: Merge change 5302 into donut

Merge commit 'ad39eb0a2555762a1d9157f8017097579d14f39d'

* commit 'ad39eb0a2555762a1d9157f8017097579d14f39d':
Add includes to enable host C++ tools to compile with GCC 4.4
bdb087c9305d6d753444e1c0176a793c00f07840 25-Jun-2009 Jack Palevich <jackpal@google.com> Add includes to enable host C++ tools to compile with GCC 4.4

Otherwise printf is undeclared. These files worked with earlier versions
of gcc because either cstdio or stdio.h was being included by some other
header file. But this was not guaranteed behavior, so with GCC 4.4 there
are errors. The fix is backwards compatible with earlier versions of GCC.

This change includes either <cstdio> or <stdio.h> whichever looks more
appropriate given the other headers included by the given source file.

Note, I'm using "GCC" to mean Gnu Compile Collection, as this problem is
specific to C++ source files. (Presumably a C++-specific header file
changed to no longer include cstdio.)
ocalize/Perforce.cpp
ocalize/SourcePos.cpp
ocalize/Values.cpp
ocalize/XLIFFFile.cpp
ocalize/file_utils.cpp
ocalize/localize_test.cpp
ocalize/merge_res_and_xliff.cpp
ocalize/merge_res_and_xliff_test.cpp
ocalize/xmb.cpp
fc68623c03439db95401a18a435dbc491cd7f6fd 20-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 1585bd24: Merge change 4828 into donut

Merge commit '1585bd24c10d16351f89e32dddbfa799f18db6bd'

* commit '1585bd24c10d16351f89e32dddbfa799f18db6bd':
Report densities in badging, debugging for nine patch bug.
e17086ba346009a26cc2299b133a0fe602acb6ec 20-Jun-2009 Dianne Hackborn <hackbod@google.com> Report densities in badging, debugging for nine patch bug.

The aapt tool now reports all available densities like it already did
for locales. Also this includes more resource data output, which I
was using to examine bug #1867049 (which at this point I am unable to
reproduce).
apt/Bundle.h
apt/Command.cpp
apt/Main.cpp
8dbbe3b52f815c49be986814743a521f802b4785 19-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 63e7155c: Merge change 4696 into donut

Merge commit '63e7155c7d1d0c3f0027400aa09e9a45f648a80d'

* commit '63e7155c7d1d0c3f0027400aa09e9a45f648a80d':
Fix targetSdkVersion, make resize mode a flag, delayed dexopt, easy ApplicationInfo.
63e7155c7d1d0c3f0027400aa09e9a45f648a80d 19-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 4696 into donut

* changes:
Fix targetSdkVersion, make resize mode a flag, delayed dexopt, easy ApplicationInfo.
5c1e00b14d2ef10ec76abf3e951fa8003a67f558 19-Jun-2009 Dianne Hackborn <hackbod@google.com> Fix targetSdkVersion, make resize mode a flag, delayed dexopt, easy ApplicationInfo.

- Fix a bug where targetSdkVersion could not be set if minSdkVersion. Stupid, stupid.
Also make sure to fail if minSdkVersion is for a code name. Really stupid.

- Change the API for resize compatibility mode to be a bit in the flags field, instead
of a separate boolean.

- Implement delayed dexopting, to avoid the looong full dexopt during boot. This is
only enabled for "eng" builds. When in this mode, the activity manager will make
sure that a dexopt has been done before loading an .apk into a process, and will
try to avoid displaying ANRs if they are due to the dexopt causing some operation
to take longer than it normally would (though I make no guarantees about this
totally working).

- Add API to Context to get the ApplicationInfo for its package, for easy access to
things like targetSdkVersion.
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java
366a40884cddc20bdbc786a4eda7ec4379a36709 18-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 47a67ebc: Merge change 4544 into donut

Merge commit '47a67ebcf2d772d5dcae459caa57125b3fe733b3'

* commit '47a67ebcf2d772d5dcae459caa57125b3fe733b3':
Connect TabHost/TabWidget/FrameLayout in the layout editor.
83189c985a0e617ba7856343ea8b7080c37396a7 18-Jun-2009 Xavier Ducrohet <xav@android.com> Connect TabHost/TabWidget/FrameLayout in the layout editor.

Basically this does automatically what the developer has to do in his/her
activity so that the TabHost gets tabs that connects the TabWidgets and the
content of the FrameLayout.
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
bf85d63cb8858432ff845250fdaffdb556d2ef1b 12-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 78f0f8cb: Merge changes 3953,3954 into donut

Merge commit '78f0f8cb2efe9410127c39201e240f6d438eb53c'

* commit '78f0f8cb2efe9410127c39201e240f6d438eb53c':
Make the file backup helper not crash if a file you requested
Fix SharedPrefsBackupHelper so it doesn't hard code the paths to the files.
23ecae3bbb60c5af940f3a22170d75eb6ac05b69 11-Jun-2009 Joe Onorato <joeo@android.com> Fix SharedPrefsBackupHelper so it doesn't hard code the paths to the files.

This took quite a bit of refactoring.
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java
1b04076251d4edb2248651e36b60671123bb3975 11-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 684a2edb: Merge change 3577 into donut

Merge commit '684a2edbe192a2a76684c5d6855773196d2e1a2e'

* commit '684a2edbe192a2a76684c5d6855773196d2e1a2e':
Make aapt Error out when an overlay adds a string.
684a2edbe192a2a76684c5d6855773196d2e1a2e 10-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 3577 into donut

* changes:
Make aapt Error out when an overlay adds a string.
f878e2d80c3a0afefe3b018d232df6066379e1d5 09-Jun-2009 Robert Greenwalt <robdroid@android.com> Make aapt Error out when an overlay adds a string.

Final added check (I think) for 1585775 - not letting overlays add
resources.

modified: ResourceTable.cpp
modified: ResourceTable.h
apt/ResourceTable.cpp
apt/ResourceTable.h
641fa6c602258f15b5a484975ff9dd43e8d421c9 08-Jun-2009 Robert Greenwalt <robdroid@android.com> am fa5c7e1d: Catch when a file resource (non values) added in an overlay.

Merge commit 'fa5c7e1dfede7e26260789dd2de5175497e9659b'

* commit 'fa5c7e1dfede7e26260789dd2de5175497e9659b':
Catch when a file resource (non values) added in an overlay.
fa5c7e1dfede7e26260789dd2de5175497e9659b 06-Jun-2009 Robert Greenwalt <robdroid@android.com> Catch when a file resource (non values) added in an overlay.

File resources are assigned resource id's and if an overlay adds one
it renumbers things and breaks compatability. Used to segfault
if you tried before, but now catches it and lets you know what file
caused the problem.
apt/Resource.cpp
5f0a472cd446b418b11e5b26f227bdce95f7115f 06-Jun-2009 Robert Greenwalt <robdroid@android.com> am 1aa8170e: Add per-named-item overlay ability in res xml.

Merge commit '1aa8170e6a448afad86e5d62927d3b8ca4cd9707'

* commit '1aa8170e6a448afad86e5d62927d3b8ca4cd9707':
Add per-named-item overlay ability in res xml.
89d3a92ef74d52f3d430d96d10561e52c1cbbcdc 06-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 47538fe6: Merge change 3337 into donut

Merge commit '47538fe6131d888edf542422a767528971797f5f'

* commit '47538fe6131d888edf542422a767528971797f5f':
Fix external bug 2875: Matrix#mValues[7] assigned twice in place of mValues[8]
1aa8170e6a448afad86e5d62927d3b8ca4cd9707 06-Jun-2009 Robert Greenwalt <robdroid@android.com> Add per-named-item overlay ability in res xml.

Fixes 1899451.
Also errors out if you add a bag via an overlay (which would renumber
resources). Note that you can still add elements within the bag as they are
not issued resource IDs. So for example you can now modify the framework
themes.xml file without copying the entire file.

All bag types are now modifable except non-named bag types (how would you
address which element to replace?):
array
string_array
integer_array
apt/ResourceTable.cpp
apt/ResourceTable.h
55e3d60da5626752ffe1d15150d35ccb8fa644e7 05-Jun-2009 Mathias Agopian <mathias@google.com> break dependency on utils/ZipEntry.h and utils/ZipFile.h, get rid of inet_address.h and Socket.h which were not used
apt/AaptAssets.h
apt/Android.mk
apt/Command.cpp
apt/Main.cpp
apt/Main.h
apt/Package.cpp
apt/ZipEntry.cpp
apt/ZipEntry.h
apt/ZipFile.cpp
apt/ZipFile.h
1741ec39a90b95fff215a005b6b3941d7c1b4735 05-Jun-2009 Xavier Ducrohet <xav@android.com> Fix external bug 2875: Matrix#mValues[7] assigned twice in place of mValues[8]
ayoutlib/bridge/src/android/graphics/Matrix.java
1c3b03b927138d6fd884a125eeab09b9ec47c532 05-Jun-2009 The Android Open Source Project <initial-contribution@android.com> merged 2b5f84a117ee6f51ed21239719afba0f33c182ff w/minor conflicts
24bd82a92fe13040e9d7e2ca1942043ed5931754 04-Jun-2009 Brian Swetland <swetland@google.com> localize: remove dependency on mkdirs/etc in libhost

This will let us break the libhost dependency on libutils.

Signed-off-by: Brian Swetland <swetland@google.com>
ocalize/Android.mk
ocalize/file_utils.cpp
342d59d3197caa1cd1de7a600c6e0ba4a59883f4 04-Jun-2009 Mitsuru Oshima <oshima@google.com> am 9189cabb: * Moved supports-density tag under manifest * Refactored Compatibility code * Added CompatibilityInfo class * Removed getApplicationScale from Context * Added Resources#getCompatibilityInfo so that RootView can get the compatibility info w/o going through Context * Expandable support * Added expandable tag under manifest * Old application w/o expandable is given the default screen size ([320, 480] x density). * The non-expandable window is centered.

Merge commit '9189cabb0b6c6c28232fe6f412b7ba7a37352a6a'

* commit '9189cabb0b6c6c28232fe6f412b7ba7a37352a6a':
* Moved supports-density tag under manifest
9189cabb0b6c6c28232fe6f412b7ba7a37352a6a 03-Jun-2009 Mitsuru Oshima <oshima@google.com> * Moved supports-density tag under manifest
* Refactored Compatibility code
* Added CompatibilityInfo class
* Removed getApplicationScale from Context
* Added Resources#getCompatibilityInfo so that RootView can get the compatibility info w/o going through Context
* Expandable support
* Added expandable tag under manifest
* Old application w/o expandable is given the default screen size ([320, 480] x density).
* The non-expandable window is centered.
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java
3b4062eeb01be33951ba214e027da523cf09f8b1 01-Jun-2009 Mathias Agopian <mathias@google.com> get rid of utils.h
apt/Bundle.h
apt/Command.cpp
apt/Main.cpp
apt/Main.h
apt/Package.cpp
bb59a9f428334f7345624e5f4eb66a6aad8dc5ce 21-May-2009 The Android Open Source Project <initial-contribution@android.com> Merge commit 'f479aa0900e9a85afdc78b1048684e37579ebf23'

Conflicts:
api/current.xml
core/res/res/values/public.xml
f479aa0900e9a85afdc78b1048684e37579ebf23 21-May-2009 Dianne Hackborn <hackbod@google.com> Add padding to public.xml to avoid breaking from auto-merges.
apt/ResourceTable.cpp
843ef36f7b96cc19ea7d2996b7c8661b41ec3452 20-May-2009 Jean-Baptiste Queru <jbq@google.com> donut snapshot
apt/ResourceTable.cpp
ayoutlib/.gitignore
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContentResolver.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java
f1f12f8cfcc99bb9a50ae5b555b5ce050726a1fa 19-May-2009 Android (Google) Code Review <android-gerrit@google.com> am 656a2726: Merge change 1910 into donut

Merge commit '656a2726ad977be194c3b8f4bf4ec3068bf3e1c9'

* commit '656a2726ad977be194c3b8f4bf4ec3068bf3e1c9':
Update aapt badging for native code, configs, density, etc.
bb9ea30ea9e390e69602935571795d2c80dc7b91 19-May-2009 Dianne Hackborn <hackbod@google.com> Update aapt badging for native code, configs, density, etc.
apt/Command.cpp
072e499a0e7e74ee004673b1976c17afca4a29d7 16-May-2009 Dianne Hackborn <hackbod@google.com> Merge commit 'refs/changes/39/1839/1' of ssh://hackbod@android-git.corp.google.com:29418/platform/frameworks/base into merge
fa6baa259d8b1af768e5c1d7ceb27184391f8fb1 16-May-2009 Dianne Hackborn <hackbod@google.com> Argh fix another build breakage!
apt/Bundle.h
62da8461ed5317fe78ae5e3793662694e7fc99a3 14-May-2009 Dianne Hackborn <hackbod@google.com> Implement compatibility support for WRITE_SDCARD permission.

Now old applications will automatically be granted it. Also renamed it from
SDCARD_WRITE to WRITE_SDCARD to be consistent with our other permissions,
and re-arranged how we do targetSdkVersion to actually be usuable for this
kind of stuff.

Note that right now this results in basically all apps being given the
WRITE_SDCARD permission, because their targetSdkVersion is not set. I will
be dealing with that in a future change.
apt/Bundle.h
apt/Main.cpp
apt/Resource.cpp
apt/ResourceTable.cpp
apt/ResourceTable.h
apt/XMLNode.cpp
apt/XMLNode.h
a96cbb435d7b2197ab2b61fd98d14cbd6e0c5c3d 14-May-2009 Dianne Hackborn <hackbod@google.com> Implement compatibility support for WRITE_SDCARD permission.

Now old applications will automatically be granted it. Also renamed it from
SDCARD_WRITE to WRITE_SDCARD to be consistent with our other permissions,
and re-arranged how we do targetSdkVersion to actually be usuable for this
kind of stuff.

Note that right now this results in basically all apps being given the
WRITE_SDCARD permission, because their targetSdkVersion is not set. I will
be dealing with that in a future change.
apt/Bundle.h
apt/Main.cpp
apt/Resource.cpp
apt/ResourceTable.cpp
apt/ResourceTable.h
apt/XMLNode.cpp
apt/XMLNode.h
7a9bde9ab13d9370c68c8e666baebab33be6e8cc 11-May-2009 Android (Google) Code Review <android-gerrit@google.com> am 6ee44d1: Merge change 1258 into donut

Merge commit '6ee44d1ff30627388bf3afa5fa542780af8f4005'

* commit '6ee44d1ff30627388bf3afa5fa542780af8f4005':
Fix 1840639 to support overlays with zz_ZZ.
32c2c902200e894c6e887218a337334d81013be5 08-May-2009 Robert Greenwalt <robdroid@android.com> Fix 1840639 to support overlays with zz_ZZ.
Everything but strings worked fine before but a new default string would generate a build error.
apt/ResourceTable.cpp
7a1355950172b7a549820e9a2cd4a9b2099ec32f 06-May-2009 Dianne Hackborn <hackbod@google.com> merged 231cc608d06ffc31c24bf8aa8c8275bdd2636581
231cc608d06ffc31c24bf8aa8c8275bdd2636581 28-Apr-2009 Dianne Hackborn <hackbod@google.com> Rewrite SyncStorageEngine to use flat files and in-memory data structures.

The previous implementation used a database for storing all of its state, which could cause
a significant amount of IO activity as its tables were updated through the stages of a sync.
This new implementation replaces that in-memory data structures, with hand-written code
for writing them to persistent storage.

There are now 4 files associated with this class, holding various pieces of its state that
should be consistent. These are everything from a main XML file of account information that
must always be retained, to a binary file of per-day statistics that can be thrown away at
any time. Writes of these files as scheduled at various times based on their importance of
the frequency at which they change.

Because the database no longer exists, there needs to be a new explicit interface for
interacting with the sync manager database. This is provided by new APIs on IContentService,
with a hidden method on ContentResolver to retrieve the IContentService so that various
system entities can use it. Other changes in other projects are required to update to the
new API.

The goal here is to have as little an impact on the code and functionality outside of
SyncStorageEngine, though due to the necessary change in API it is still somewhat extensive.
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContentResolver.java
f8e0169b78994bb6f251b5bd3c2ec000b52c8149 05-May-2009 Android (Google) Code Review <android-gerrit@google.com> am 06d9602: Merge change 1000 into donut

Merge commit '06d96020c35dac2bf1651cb8bd4cfced911f1142'

* commit '06d96020c35dac2bf1651cb8bd4cfced911f1142':
Ignore layout bin directories in git.
33fbd3bee0d2160c79ffca246c6999e10a663aa2 05-May-2009 Raphael <raphael@google.com> Ignore layout bin directories in git.
ayoutlib/.gitignore
ayoutlib/bridge/.gitignore
c2839e087041b16a1ee7292b85459a396c25c771 29-Apr-2009 Mitsuru Oshima <> am 13735a2: Merge branch \'readonly-p4-donut\' into donut

Merge commit '13735a255dedd2c2e3b0cff66f0be2e17671f553'

* commit '13735a255dedd2c2e3b0cff66f0be2e17671f553':
AI 147976: Compatibility mode support. Part 2.
0363da888d1fce04d9751c2f51b34ad3d6c70219 29-Apr-2009 Android (Google) Code Review <android-gerrit@google.com> am fd9b3c0: Merge change 570 into donut

Merge commit 'fd9b3c00fda65ac2ece0ab93454fdb61dff792cc'

* commit 'fd9b3c00fda65ac2ece0ab93454fdb61dff792cc':
Add file to ignore the content of the layoutlib/Bridge Eclipe bin folder.
13735a255dedd2c2e3b0cff66f0be2e17671f553 29-Apr-2009 Mitsuru Oshima <> Merge branch 'readonly-p4-donut' into donut
8169daed2f7a8731d478b884b1f455c747b88478 29-Apr-2009 Mitsuru Oshima <> AI 147976: Compatibility mode support. Part 2.
* Introduced ApplicationScale (may not be good name. CompatibilityScale? CanvasScale? Pls let me know if you have better idea)
* Changes to RootView / SurfaceView
- Makes the app believe it's running in the supported density/resolution.
- Makes the window manager believe it's running at the right density/resolution.
* Added methods to Rect/Event for scaling up/down.
Known issues:
* certain kind of images (such as nine patch for buttons) seesm to be loaded not by app, thus does not take the scale into account,
which, in turn, is causing layout issue.
* ZoomButton in MapView is rendered in wrong place
* Transparent region on Surface is not correct
* Specifying different densities in one process is not working.
BUG=1770627

Automated import of CL 147976
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java
d4943a9a7b7d1538695a02896f211bafe09571ba 25-Apr-2009 Xavier Ducrohet <xav@android.com> Add file to ignore the content of the layoutlib/Bridge Eclipe bin folder.
ayoutlib/bridge/.gitignore
284e9b27537eeb5e353415c55da55941607ee5f1 24-Apr-2009 The Android Open Source Project <initial-contribution@android.com> Merge commit 'korg/donut'
d3af590f9c910f49b0c4a9e0d75487de9d31dfb4 21-Apr-2009 Marco Nelissen <> Merge branch 'readonly-p4-master'
6a1fadea851db236331b3dfe1f3c1e482556057f 21-Apr-2009 Marco Nelissen <> AI 147028: Fix up aapt so it runs cleanly under the valgrind leak checker.

Automated import of CL 147028
apt/AaptAssets.h
apt/Images.cpp
apt/Resource.cpp
apt/XMLNode.cpp
59bf504f5cbf6f637ab7b8e90af74e3496b84a36 19-Apr-2009 Xavier Ducrohet <> Merge branch 'readonly-p4-master'
ddcc5bca5e94580692bcd5fb9f7509cde019285b 19-Apr-2009 Xavier Ducrohet <> AI 146586: am: CL 146485 am: CL 146411 Fix BridgeCanvas#drawRoundRect
Original author: xav
Merged from: //branches/cupcake/...
Original author: android-build

Automated import of CL 146586
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeCanvas.java
e30661294bc590a11eef678bdf92c1dff75c36f9 16-Apr-2009 Xavier Ducrohet <> AI 146485: am: CL 146411 Fix BridgeCanvas#drawRoundRect
Original author: xav
Merged from: //branches/cupcake/...

Automated import of CL 146485
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeCanvas.java
9d1eced4a8ad8ab03723689bc06fc330976ae5ba 16-Apr-2009 Xavier Ducrohet <> AI 146411: Fix BridgeCanvas#drawRoundRect
BUG=1792311

Automated import of CL 146411
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeCanvas.java
5e8c31ac31107c0cbc4a103e4f62342b07b5876b 15-Apr-2009 The Android Open Source Project <initial-contribution@android.com> Merge commit 'korg/cupcake'
ae5728d67a2a705b6c5187e10751fa64a63967e8 08-Apr-2009 Robert Greenwalt <> AI 144950: Manual integration of 144342 and 144547 from donutburger to cupcake.
Fix bag (string-array, etc) behavior with overlays.
We used to replace elements in the default with elements from the
overlay. This change causes us to empty the array first so if the
overlay array is smaller we don't end up with elements from the
default array showing through at the end of the final result.
Ex: [A,B,C] default with [D] overlay should give [D] but used to
give [D,B,C]
BUG=1754390

Automated import of CL 144950
apt/ResourceTable.cpp
apt/ResourceTable.h
a5ae641b0ccca7d50caf09a53d1d22ddace2b1d3 04-Apr-2009 Robert Greenwalt <> Merge branch 'readonly-p4-master'
304b4de6ba71d972aa535f526418a4872b18c7b4 04-Apr-2009 Robert Greenwalt <> AI 144548: am: CL 144547 Fix change 144342 by making it active only during overlay processing.
Original author: rgreenwalt

Automated import of CL 144548
apt/ResourceTable.cpp
9411a39866b749ad0a47f15083f311847eb79178 04-Apr-2009 Robert Greenwalt <> AI 144547: Fix change 144342 by making it active only during overlay processing.
BUG=1754390

Automated import of CL 144547
apt/ResourceTable.cpp
75817ee3e2716fe326b736764b0e7da206078df5 03-Apr-2009 Robert Greenwalt <> Merge branch 'readonly-p4-master'
235f4328f42295173fb10a237cff999afc055987 03-Apr-2009 Robert Greenwalt <> AI 144413: am: CL 144342 Fix bag (string-array,etc) behavior with overlays.
We used to replace elements in the default with elements from
the overlay. This change causes us to empty the array first
so if the overlay array is smaller we don't end up with elements
from the default array showing through at the end of the array.
Ex: [A,B,C] and overlay [D] should give [D] but used to give
[D,B,C].
Original author: rgreenwalt

Automated import of CL 144413
apt/ResourceTable.cpp
apt/ResourceTable.h
89208948149e2781c7851adb85de42071c694ded 03-Apr-2009 Suchi Amalapurapu <> Merge branch 'readonly-p4-master'
c700c70ccd4e232739c63364e70ba99643c1feda 03-Apr-2009 Suchi Amalapurapu <> AI 144406: am: CL 144309 am: CL 144308 aapt extensions: required sdk version, dependent software libraries, gadgets
Add new attributes for sdk version, software libs and gadgets
BUG = 1730924
Original author: asuchitra
Merged from: //branches/cupcake/...
Original author: android-build

Automated import of CL 144406
apt/Command.cpp
4b4f4a908895bc0ba63f929bfdc02eec22c0f6e5 03-Apr-2009 Robert Greenwalt <> AI 144342: Fix bag (string-array,etc) behavior with overlays.
We used to replace elements in the default with elements from
the overlay. This change causes us to empty the array first
so if the overlay array is smaller we don't end up with elements
from the default array showing through at the end of the array.
Ex: [A,B,C] and overlay [D] should give [D] but used to give
[D,B,C].
BUG=1754390

Automated import of CL 144342
apt/ResourceTable.cpp
apt/ResourceTable.h
7ef189d0a90f3c9a409512ab7dce9304639df481 03-Apr-2009 Suchi Amalapurapu <> AI 144309: am: CL 144308 aapt extensions: required sdk version, dependent software libraries, gadgets
Add new attributes for sdk version, software libs and gadgets
BUG = 1730924
Original author: asuchitra
Merged from: //branches/cupcake/...

Automated import of CL 144309
apt/Command.cpp
633d8cddb81ed40b560fa475b8a74a9e41bb34f8 03-Apr-2009 Suchi Amalapurapu <> AI 144308: aapt extensions: required sdk version, dependent software libraries, gadgets
Add new attributes for sdk version, software libs and gadgets
BUG = 1730924
BUG=1730924

Automated import of CL 144308
apt/Command.cpp
e1861133d51b9e6a6f658eb366630ad4f4d3ff8f 27-Mar-2009 The Android Open Source Project <initial-contribution@android.com> Merge commit 'korg/cupcake'

Conflicts:
core/java/android/webkit/WebView.java
core/java/android/widget/TwoLineListItem.java
preloaded-classes
8a2b9083e364ffd46f56362d46af2aeb4718d325 21-Mar-2009 Scott Tsai <scottt.tw@gmail.com> localize: include <cstdio> in files that uses the printf family of
functions to make the code build on gcc-4.4

gcc-4.4 further cleaned up header include dependencies so that e.x.
including <iostream> no longer pulls in printf.
ocalize/Perforce.cpp
ocalize/SourcePos.cpp
ocalize/Values.cpp
ocalize/XLIFFFile.cpp
ocalize/file_utils.cpp
ocalize/file_utils.h
ocalize/localize_test.cpp
ocalize/merge_res_and_xliff_test.cpp
bfc9f4f8308b6ca68f123ef0743350471ca34b2a 21-Mar-2009 Scott Tsai <scottt.tw@gmail.com> Include stdio.h in tools/aidl/AST.h to make the code build on gcc-4.4
idl/AST.h
105925376f8d0f6b318c9938c7b83ef7fef094da 19-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@140373
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeTypedArray.java
2a73de7b21a89aa2ba4c254d28658b49793425b2 18-Mar-2009 Jean-Baptiste Queru <jbq@google.com> Merge commit 'remotes/korg/cupcake' into merge

Conflicts:
core/java/android/view/animation/TranslateAnimation.java
core/jni/Android.mk
core/res/res/values-en-rGB/strings.xml
libs/audioflinger/AudioFlinger.cpp
libs/surfaceflinger/LayerScreenshot.cpp
packages/SettingsProvider/src/com/android/providers/settings/SettingsProvider.java
ba87e3e6c985e7175152993b5efcc7dd2f0e1c93 13-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@138607
idl/aidl.cpp
idl/options.cpp
idl/options.h
4df2423a947bcd3f024cc3d3a1a315a8dc428598 05-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@136594
apt/Images.cpp
idl/aidl.cpp
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
apt/AaptAssets.cpp
apt/AaptAssets.h
apt/Android.mk
apt/Bundle.h
apt/Command.cpp
apt/Images.cpp
apt/Images.h
apt/Main.cpp
apt/Main.h
apt/Package.cpp
apt/Resource.cpp
apt/ResourceTable.cpp
apt/ResourceTable.h
apt/SourcePos.cpp
apt/SourcePos.h
apt/StringPool.cpp
apt/StringPool.h
apt/XMLNode.cpp
apt/XMLNode.h
apt/printapk.cpp
apt/tests/plurals/AndroidManifest.xml
apt/tests/plurals/res/values/strings.xml
apt/tests/plurals/run.sh
idl/AST.cpp
idl/AST.h
idl/Android.mk
idl/Type.cpp
idl/Type.h
idl/aidl.cpp
idl/aidl_language.cpp
idl/aidl_language.h
idl/aidl_language_l.l
idl/aidl_language_y.y
idl/generate_java.cpp
idl/generate_java.h
idl/options.cpp
idl/options.h
idl/options_test.cpp
idl/search_path.cpp
idl/search_path.h
ayoutlib/Android.mk
ayoutlib/api/.classpath
ayoutlib/api/.project
ayoutlib/api/Android.mk
ayoutlib/api/src/com/android/layoutlib/api/ILayoutBridge.java
ayoutlib/api/src/com/android/layoutlib/api/ILayoutLog.java
ayoutlib/api/src/com/android/layoutlib/api/ILayoutResult.java
ayoutlib/api/src/com/android/layoutlib/api/IProjectCallback.java
ayoutlib/api/src/com/android/layoutlib/api/IResourceValue.java
ayoutlib/api/src/com/android/layoutlib/api/IStyleResourceValue.java
ayoutlib/api/src/com/android/layoutlib/api/IXmlPullParser.java
ayoutlib/bridge/.classpath
ayoutlib/bridge/.project
ayoutlib/bridge/Android.mk
ayoutlib/bridge/src/android/graphics/Bitmap.java
ayoutlib/bridge/src/android/graphics/BitmapShader.java
ayoutlib/bridge/src/android/graphics/ComposeShader.java
ayoutlib/bridge/src/android/graphics/LinearGradient.java
ayoutlib/bridge/src/android/graphics/Matrix.java
ayoutlib/bridge/src/android/graphics/Paint.java
ayoutlib/bridge/src/android/graphics/Path.java
ayoutlib/bridge/src/android/graphics/PorterDuffXfermode.java
ayoutlib/bridge/src/android/graphics/RadialGradient.java
ayoutlib/bridge/src/android/graphics/Shader.java
ayoutlib/bridge/src/android/graphics/SweepGradient.java
ayoutlib/bridge/src/android/graphics/Typeface.java
ayoutlib/bridge/src/android/util/FloatMath.java
ayoutlib/bridge/src/android/view/BridgeInflater.java
ayoutlib/bridge/src/android/view/SurfaceView.java
ayoutlib/bridge/src/android/webkit/WebView.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeAssetManager.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeCanvas.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeConstants.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContentResolver.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeResources.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeTypedArray.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeXmlBlockParser.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeXmlPullAttributes.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/FontLoader.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/LayoutResult.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/MockView.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/NinePatchDrawable.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/ResourceHelper.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/ResourceValue.java
ayoutlib/bridge/src/com/google/android/maps/MapView.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/AndroidGraphicsTests.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/BridgeTest.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/BridgeXmlBlockParserTest.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/NinePatchTest.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/StyleResourceValue.java
ayoutlib/bridge/tests/data/button.9.png
ayoutlib/bridge/tests/data/layout1.xml
ayoutlib/create/.classpath
ayoutlib/create/.project
ayoutlib/create/Android.mk
ayoutlib/create/README.txt
ayoutlib/create/manifest.txt
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmGenerator.java
ayoutlib/create/src/com/android/tools/layoutlib/create/ClassHasNativeVisitor.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Log.java
ayoutlib/create/src/com/android/tools/layoutlib/create/LogAbortException.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
ayoutlib/create/src/com/android/tools/layoutlib/create/MethodAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/create/MethodListener.java
ayoutlib/create/src/com/android/tools/layoutlib/create/OverrideMethod.java
ayoutlib/create/src/com/android/tools/layoutlib/create/RenameClassAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/create/StubMethodAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/create/TransformClassAdapter.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/AsmAnalyzerTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/LogTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/RenameClassAdapterTest.java
ayoutlib/create/tests/data/mock_android.jar
ayoutlib/create/tests/data/mock_android.jardesc
ayoutlib/create/tests/mock_android/dummy/InnerTest.java
ayoutlib/create/tests/mock_android/view/View.java
ayoutlib/create/tests/mock_android/view/ViewGroup.java
ayoutlib/create/tests/mock_android/widget/LinearLayout.java
ayoutlib/create/tests/mock_android/widget/TableLayout.java
ocalize/Android.mk
ocalize/Configuration.cpp
ocalize/Configuration.h
ocalize/Perforce.cpp
ocalize/Perforce.h
ocalize/Perforce_test.cpp
ocalize/SourcePos.cpp
ocalize/SourcePos.h
ocalize/Values.cpp
ocalize/Values.h
ocalize/ValuesFile.cpp
ocalize/ValuesFile.h
ocalize/ValuesFile_test.cpp
ocalize/XLIFFFile.cpp
ocalize/XLIFFFile.h
ocalize/XLIFFFile_test.cpp
ocalize/XMLHandler.cpp
ocalize/XMLHandler.h
ocalize/XMLHandler_test.cpp
ocalize/XMLNode.h
ocalize/file_utils.cpp
ocalize/file_utils.h
ocalize/localize.cpp
ocalize/localize.h
ocalize/localize_test.cpp
ocalize/log.h
ocalize/merge_res_and_xliff.cpp
ocalize/merge_res_and_xliff.h
ocalize/merge_res_and_xliff_test.cpp
ocalize/res_check.cpp
ocalize/res_check.h
ocalize/test.cpp
ocalize/testdata/config.xml
ocalize/testdata/import.xliff
ocalize/testdata/merge.xliff
ocalize/testdata/merge_en_current.xml
ocalize/testdata/merge_en_old.xml
ocalize/testdata/merge_xx_current.xml
ocalize/testdata/merge_xx_old.xml
ocalize/testdata/pseudo.xliff
ocalize/testdata/res/values-zz-rZZ/strings.xml
ocalize/testdata/res/values/strings.xml
ocalize/testdata/strip_xliff.xliff
ocalize/testdata/values/strings.xml
ocalize/testdata/xliff1.xliff
ocalize/testdata/xml.xml
ocalize/xmb.cpp
ocalize/xmb.h
akekeycodes/Android.mk
akekeycodes/makekeycodes.cpp
reload/20080522.compiled
reload/Android.mk
reload/ClassRank.java
reload/Compile.java
reload/LoadedClass.java
reload/MemoryUsage.java
reload/Operation.java
reload/Policy.java
reload/PrintCsv.java
reload/PrintPsTree.java
reload/Proc.java
reload/Record.java
reload/Root.java
reload/WritePreloadedClassFile.java
reload/loadclass/Android.mk
reload/loadclass/LoadClass.java
reload/preload.iml
reload/preload.ipr
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
apt/AaptAssets.cpp
apt/AaptAssets.h
apt/Android.mk
apt/Bundle.h
apt/Command.cpp
apt/Images.cpp
apt/Images.h
apt/Main.cpp
apt/Main.h
apt/Package.cpp
apt/Resource.cpp
apt/ResourceTable.cpp
apt/ResourceTable.h
apt/SourcePos.cpp
apt/SourcePos.h
apt/StringPool.cpp
apt/StringPool.h
apt/XMLNode.cpp
apt/XMLNode.h
apt/printapk.cpp
apt/tests/plurals/AndroidManifest.xml
apt/tests/plurals/res/values/strings.xml
apt/tests/plurals/run.sh
idl/AST.cpp
idl/AST.h
idl/Android.mk
idl/Type.cpp
idl/Type.h
idl/aidl.cpp
idl/aidl_language.cpp
idl/aidl_language.h
idl/aidl_language_l.l
idl/aidl_language_y.y
idl/generate_java.cpp
idl/generate_java.h
idl/options.cpp
idl/options.h
idl/options_test.cpp
idl/search_path.cpp
idl/search_path.h
ayoutlib/Android.mk
ayoutlib/api/.classpath
ayoutlib/api/.project
ayoutlib/api/Android.mk
ayoutlib/api/src/com/android/layoutlib/api/ILayoutBridge.java
ayoutlib/api/src/com/android/layoutlib/api/ILayoutLog.java
ayoutlib/api/src/com/android/layoutlib/api/ILayoutResult.java
ayoutlib/api/src/com/android/layoutlib/api/IProjectCallback.java
ayoutlib/api/src/com/android/layoutlib/api/IResourceValue.java
ayoutlib/api/src/com/android/layoutlib/api/IStyleResourceValue.java
ayoutlib/api/src/com/android/layoutlib/api/IXmlPullParser.java
ayoutlib/bridge/.classpath
ayoutlib/bridge/.project
ayoutlib/bridge/Android.mk
ayoutlib/bridge/src/android/graphics/Bitmap.java
ayoutlib/bridge/src/android/graphics/BitmapShader.java
ayoutlib/bridge/src/android/graphics/ComposeShader.java
ayoutlib/bridge/src/android/graphics/LinearGradient.java
ayoutlib/bridge/src/android/graphics/Matrix.java
ayoutlib/bridge/src/android/graphics/Paint.java
ayoutlib/bridge/src/android/graphics/Path.java
ayoutlib/bridge/src/android/graphics/PorterDuffXfermode.java
ayoutlib/bridge/src/android/graphics/RadialGradient.java
ayoutlib/bridge/src/android/graphics/Shader.java
ayoutlib/bridge/src/android/graphics/SweepGradient.java
ayoutlib/bridge/src/android/graphics/Typeface.java
ayoutlib/bridge/src/android/util/FloatMath.java
ayoutlib/bridge/src/android/view/BridgeInflater.java
ayoutlib/bridge/src/android/view/SurfaceView.java
ayoutlib/bridge/src/android/webkit/WebView.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeAssetManager.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeCanvas.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeConstants.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContentResolver.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeResources.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeTypedArray.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeXmlBlockParser.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeXmlPullAttributes.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/FontLoader.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/LayoutResult.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/MockView.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/NinePatchDrawable.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/ResourceHelper.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/ResourceValue.java
ayoutlib/bridge/src/com/google/android/maps/MapView.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/AndroidGraphicsTests.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/BridgeTest.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/BridgeXmlBlockParserTest.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/NinePatchTest.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/StyleResourceValue.java
ayoutlib/bridge/tests/data/button.9.png
ayoutlib/bridge/tests/data/layout1.xml
ayoutlib/create/.classpath
ayoutlib/create/.project
ayoutlib/create/Android.mk
ayoutlib/create/README.txt
ayoutlib/create/manifest.txt
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmGenerator.java
ayoutlib/create/src/com/android/tools/layoutlib/create/ClassHasNativeVisitor.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Log.java
ayoutlib/create/src/com/android/tools/layoutlib/create/LogAbortException.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
ayoutlib/create/src/com/android/tools/layoutlib/create/MethodAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/create/MethodListener.java
ayoutlib/create/src/com/android/tools/layoutlib/create/OverrideMethod.java
ayoutlib/create/src/com/android/tools/layoutlib/create/RenameClassAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/create/StubMethodAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/create/TransformClassAdapter.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/AsmAnalyzerTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/LogTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/RenameClassAdapterTest.java
ayoutlib/create/tests/data/mock_android.jar
ayoutlib/create/tests/data/mock_android.jardesc
ayoutlib/create/tests/mock_android/dummy/InnerTest.java
ayoutlib/create/tests/mock_android/view/View.java
ayoutlib/create/tests/mock_android/view/ViewGroup.java
ayoutlib/create/tests/mock_android/widget/LinearLayout.java
ayoutlib/create/tests/mock_android/widget/TableLayout.java
ocalize/Android.mk
ocalize/Configuration.cpp
ocalize/Configuration.h
ocalize/Perforce.cpp
ocalize/Perforce.h
ocalize/Perforce_test.cpp
ocalize/SourcePos.cpp
ocalize/SourcePos.h
ocalize/Values.cpp
ocalize/Values.h
ocalize/ValuesFile.cpp
ocalize/ValuesFile.h
ocalize/ValuesFile_test.cpp
ocalize/XLIFFFile.cpp
ocalize/XLIFFFile.h
ocalize/XLIFFFile_test.cpp
ocalize/XMLHandler.cpp
ocalize/XMLHandler.h
ocalize/XMLHandler_test.cpp
ocalize/XMLNode.h
ocalize/file_utils.cpp
ocalize/file_utils.h
ocalize/localize.cpp
ocalize/localize.h
ocalize/localize_test.cpp
ocalize/log.h
ocalize/merge_res_and_xliff.cpp
ocalize/merge_res_and_xliff.h
ocalize/merge_res_and_xliff_test.cpp
ocalize/res_check.cpp
ocalize/res_check.h
ocalize/test.cpp
ocalize/testdata/config.xml
ocalize/testdata/import.xliff
ocalize/testdata/merge.xliff
ocalize/testdata/merge_en_current.xml
ocalize/testdata/merge_en_old.xml
ocalize/testdata/merge_xx_current.xml
ocalize/testdata/merge_xx_old.xml
ocalize/testdata/pseudo.xliff
ocalize/testdata/res/values-zz-rZZ/strings.xml
ocalize/testdata/res/values/strings.xml
ocalize/testdata/strip_xliff.xliff
ocalize/testdata/values/strings.xml
ocalize/testdata/xliff1.xliff
ocalize/testdata/xml.xml
ocalize/xmb.cpp
ocalize/xmb.h
akekeycodes/Android.mk
akekeycodes/makekeycodes.cpp
reload/20080522.compiled
reload/Android.mk
reload/ClassRank.java
reload/Compile.java
reload/LoadedClass.java
reload/MemoryUsage.java
reload/Operation.java
reload/Policy.java
reload/PrintCsv.java
reload/PrintPsTree.java
reload/Proc.java
reload/Record.java
reload/Root.java
reload/WritePreloadedClassFile.java
reload/loadclass/Android.mk
reload/loadclass/LoadClass.java
reload/preload.iml
reload/preload.ipr
076357b8567458d4b6dfdcf839ef751634cd2bfb 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@132589
apt/Images.cpp
ayoutlib/api/src/com/android/layoutlib/api/ILayoutBridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java
reload/Android.mk
3dec7d563a2f3e1eb967ce2054a00b6620e3558c 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@137055
apt/Images.cpp
ayoutlib/api/src/com/android/layoutlib/api/ILayoutBridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java
reload/Android.mk
15ab3eae2ec3d73b3e8aa60b33ae41445bf83f4b 20-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@132569
apt/Package.cpp
da996f390e17e16f2dfa60e972e7ebc4f868f37e 13-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@131421
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
754270601a268cfe0ab679768aa33423feb1f974 13-Feb-2009 Adrian Taylor <adrian@macrobug.com> Removing "import" statements from AIDL-generated .java files.

AIDL generates unnecessary "import" statements. These cause warnings
within Eclipse when the default Eclipse warnings settings are used.
This is inconvenient since the generated .java files are not
editable. Some pesky organisations have a zero-warnings policy
too, so there's no option but to fiddle with the Eclipse settings.

This patch ensures that all usages of class names within the
generated code are fully-qualified. In practice, they were nearly
all fully-qualified already. And this patch also removes the
generation of the import statements, since they are redundant
if we're using fully-qualified names everywhere.

This should fix issue 43 in the Google Code Android issues tracker.
http://code.google.com/p/android/issues/detail?id=43

I would appreciate if somebody who knows exactly how 'aidl'
works could confirm that there's no reason 'import' statements
would have been necessary except for the bits I've fixed. (I think
unqualified names were used much more frequently in early versions
of aidl, which might explain why import statements are generated
so eagerly).
idl/AST.cpp
idl/generate_java.cpp
d24b8183b93e781080b2c16c487e60d51c12da31 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
apt/Images.cpp
apt/Main.cpp
apt/ResourceTable.cpp
apt/XMLNode.cpp
ayoutlib/bridge/src/android/graphics/Paint.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeAssetManager.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContentResolver.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeResources.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/MockView.java
reload/Compile.java
reload/LoadedClass.java
reload/MemoryUsage.java
reload/Operation.java
reload/Policy.java
reload/Proc.java
reload/Record.java
reload/WritePreloadedClassFile.java
7547115694ef213f6c4ead3841296370cc07b4af 20-Jan-2009 The Android Open Source Project <initial-contribution@android.com> Merge branch 'cupcake'
22f7dfd23490a3de2f21ff96949ba47003aac8f8 20-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@127101
apt/ResourceTable.cpp
0fda766e53fba7e829fe6e145738f6a94ce48bda 16-Jan-2009 android-build SharedAccount <android-build@undroid16.corp.google.com> Merge branch 'cupcake'
9266c558bf1d21ff647525ff99f7dadbca417309 16-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@126645
apt/AaptAssets.cpp
apt/AaptAssets.h
apt/Bundle.h
apt/Command.cpp
apt/Images.cpp
apt/Main.cpp
apt/Resource.cpp
apt/ResourceTable.cpp
apt/ResourceTable.h
e570a0fa86c2eea2680f07e2c0c546f104bea948 10-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@125939
b798689749c64baba81f02e10cf2157c747d6b46 10-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@125939
apt/Images.cpp
apt/Package.cpp
apt/ResourceTable.cpp
idl/aidl.cpp
idl/generate_java.cpp
idl/options.cpp
idl/search_path.cpp
idl/search_path.h
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmGenerator.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
ayoutlib/create/src/com/android/tools/layoutlib/create/MethodAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/create/MethodListener.java
ayoutlib/create/src/com/android/tools/layoutlib/create/OverrideMethod.java
ayoutlib/create/src/com/android/tools/layoutlib/create/StubMethodAdapter.java
ocalize/Perforce.cpp
ocalize/XLIFFFile.cpp
ocalize/XMLHandler.cpp
ocalize/file_utils.cpp
ocalize/localize.cpp
e1dc1d6dc8064740b78562c3028ccc526a44597e 19-Dec-2008 Jean-Baptiste Queru <jbq@google.com> Merge commit 'remotes/korg/cupcake'

Conflicts:
core/java/com/android/internal/app/AlertController.java
core/res/res/values/strings.xml
media/java/android/media/AudioSystem.java
services/java/com/android/server/LocationManagerService.java
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
apt/AaptAssets.cpp
apt/Bundle.h
apt/Command.cpp
apt/Images.cpp
apt/Main.cpp
apt/Package.cpp
apt/Resource.cpp
apt/ResourceTable.cpp
apt/ResourceTable.h
apt/XMLNode.cpp
apt/XMLNode.h
ayoutlib/Android.mk
ayoutlib/api/.classpath
ayoutlib/api/src/com/android/layoutlib/api/ILayoutBridge.java
ayoutlib/bridge/.classpath
ayoutlib/bridge/src/android/graphics/Paint.java
ayoutlib/bridge/src/android/view/BridgeInflater.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeResources.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/FontLoader.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/LayoutResult.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/ResourceHelper.java
ayoutlib/create/.classpath
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmGenerator.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
ayoutlib/create/src/com/android/tools/layoutlib/create/OverrideMethod.java
ayoutlib/create/src/com/android/tools/layoutlib/create/StubMethodAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/create/TransformClassAdapter.java
9b68d54c0e0e1f904fbb824fe708de6044de1e43 28-Oct-2008 raphael <alf@google.com> Fix typo. It's "picasa", not "picassa".
apt/AaptAssets.cpp
862bfdba159580f825af563b8e283842e28d140c 22-Oct-2008 Alexey Zaytsev <alexey.zaytsev@gmail.com> Add a few missing headers.

Fixes build with gcc 4.3.2 on Debian.

Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com>
ocalize/Perforce.cpp
ocalize/XLIFFFile.cpp
ocalize/XMLHandler.cpp
ocalize/XMLHandler.h
ocalize/file_utils.cpp
ocalize/localize.cpp
0aa7fe6876d533610b4b993035030b946cc32e4c 21-Oct-2008 Alexey Zaytsev <alexey.zaytsev@gmail.com> Add a few missing headers

Fixes build with gcc 4.3.2

Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com>
idl/aidl.cpp
idl/generate_java.cpp
idl/options.h
idl/search_path.h
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
apt/AaptAssets.cpp
apt/AaptAssets.h
apt/Android.mk
apt/Bundle.h
apt/Command.cpp
apt/Images.cpp
apt/Images.h
apt/Main.cpp
apt/Main.h
apt/Package.cpp
apt/Resource.cpp
apt/ResourceTable.cpp
apt/ResourceTable.h
apt/SourcePos.cpp
apt/SourcePos.h
apt/StringPool.cpp
apt/StringPool.h
apt/XMLNode.cpp
apt/XMLNode.h
apt/printapk.cpp
apt/tests/plurals/AndroidManifest.xml
apt/tests/plurals/res/values/strings.xml
apt/tests/plurals/run.sh
idl/AST.cpp
idl/AST.h
idl/Android.mk
idl/Type.cpp
idl/Type.h
idl/aidl.cpp
idl/aidl_language.cpp
idl/aidl_language.h
idl/aidl_language_l.l
idl/aidl_language_y.y
idl/generate_java.cpp
idl/generate_java.h
idl/options.cpp
idl/options.h
idl/options_test.cpp
idl/search_path.cpp
idl/search_path.h
ayoutlib/Android.mk
ayoutlib/api/.classpath
ayoutlib/api/.project
ayoutlib/api/Android.mk
ayoutlib/api/src/com/android/layoutlib/api/ILayoutBridge.java
ayoutlib/api/src/com/android/layoutlib/api/ILayoutLog.java
ayoutlib/api/src/com/android/layoutlib/api/ILayoutResult.java
ayoutlib/api/src/com/android/layoutlib/api/IProjectCallback.java
ayoutlib/api/src/com/android/layoutlib/api/IResourceValue.java
ayoutlib/api/src/com/android/layoutlib/api/IStyleResourceValue.java
ayoutlib/api/src/com/android/layoutlib/api/IXmlPullParser.java
ayoutlib/bridge/.classpath
ayoutlib/bridge/.project
ayoutlib/bridge/Android.mk
ayoutlib/bridge/src/android/graphics/Bitmap.java
ayoutlib/bridge/src/android/graphics/BitmapShader.java
ayoutlib/bridge/src/android/graphics/ComposeShader.java
ayoutlib/bridge/src/android/graphics/LinearGradient.java
ayoutlib/bridge/src/android/graphics/Matrix.java
ayoutlib/bridge/src/android/graphics/Paint.java
ayoutlib/bridge/src/android/graphics/Path.java
ayoutlib/bridge/src/android/graphics/PorterDuffXfermode.java
ayoutlib/bridge/src/android/graphics/RadialGradient.java
ayoutlib/bridge/src/android/graphics/Shader.java
ayoutlib/bridge/src/android/graphics/SweepGradient.java
ayoutlib/bridge/src/android/graphics/Typeface.java
ayoutlib/bridge/src/android/util/FloatMath.java
ayoutlib/bridge/src/android/view/BridgeInflater.java
ayoutlib/bridge/src/android/view/SurfaceView.java
ayoutlib/bridge/src/android/webkit/WebView.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/Bridge.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeAssetManager.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeCanvas.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeConstants.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeResources.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeTypedArray.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeXmlBlockParser.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/BridgeXmlPullAttributes.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/FontLoader.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/LayoutResult.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/MockView.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/NinePatchDrawable.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/ResourceHelper.java
ayoutlib/bridge/src/com/android/layoutlib/bridge/ResourceValue.java
ayoutlib/bridge/src/com/google/android/maps/MapView.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/AndroidGraphicsTests.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/BridgeTest.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/BridgeXmlBlockParserTest.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/NinePatchTest.java
ayoutlib/bridge/tests/com/android/layoutlib/bridge/StyleResourceValue.java
ayoutlib/bridge/tests/data/button.9.png
ayoutlib/bridge/tests/data/layout1.xml
ayoutlib/create/.classpath
ayoutlib/create/.project
ayoutlib/create/Android.mk
ayoutlib/create/README.txt
ayoutlib/create/manifest.txt
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
ayoutlib/create/src/com/android/tools/layoutlib/create/AsmGenerator.java
ayoutlib/create/src/com/android/tools/layoutlib/create/ClassHasNativeVisitor.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Log.java
ayoutlib/create/src/com/android/tools/layoutlib/create/LogAbortException.java
ayoutlib/create/src/com/android/tools/layoutlib/create/Main.java
ayoutlib/create/src/com/android/tools/layoutlib/create/OverrideMethod.java
ayoutlib/create/src/com/android/tools/layoutlib/create/RenameClassAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/create/StubMethodAdapter.java
ayoutlib/create/src/com/android/tools/layoutlib/create/TransformClassAdapter.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/AsmAnalyzerTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/LogTest.java
ayoutlib/create/tests/com/android/tools/layoutlib/create/RenameClassAdapterTest.java
ayoutlib/create/tests/data/mock_android.jar
ayoutlib/create/tests/data/mock_android.jardesc
ayoutlib/create/tests/mock_android/dummy/InnerTest.java
ayoutlib/create/tests/mock_android/view/View.java
ayoutlib/create/tests/mock_android/view/ViewGroup.java
ayoutlib/create/tests/mock_android/widget/LinearLayout.java
ayoutlib/create/tests/mock_android/widget/TableLayout.java
ocalize/Android.mk
ocalize/Configuration.cpp
ocalize/Configuration.h
ocalize/Perforce.cpp
ocalize/Perforce.h
ocalize/Perforce_test.cpp
ocalize/SourcePos.cpp
ocalize/SourcePos.h
ocalize/Values.cpp
ocalize/Values.h
ocalize/ValuesFile.cpp
ocalize/ValuesFile.h
ocalize/ValuesFile_test.cpp
ocalize/XLIFFFile.cpp
ocalize/XLIFFFile.h
ocalize/XLIFFFile_test.cpp
ocalize/XMLHandler.cpp
ocalize/XMLHandler.h
ocalize/XMLHandler_test.cpp
ocalize/XMLNode.h
ocalize/file_utils.cpp
ocalize/file_utils.h
ocalize/localize.cpp
ocalize/localize.h
ocalize/localize_test.cpp
ocalize/log.h
ocalize/merge_res_and_xliff.cpp
ocalize/merge_res_and_xliff.h
ocalize/merge_res_and_xliff_test.cpp
ocalize/res_check.cpp
ocalize/res_check.h
ocalize/test.cpp
ocalize/testdata/config.xml
ocalize/testdata/import.xliff
ocalize/testdata/merge.xliff
ocalize/testdata/merge_en_current.xml
ocalize/testdata/merge_en_old.xml
ocalize/testdata/merge_xx_current.xml
ocalize/testdata/merge_xx_old.xml
ocalize/testdata/pseudo.xliff
ocalize/testdata/res/values-zz-rZZ/strings.xml
ocalize/testdata/res/values/strings.xml
ocalize/testdata/strip_xliff.xliff
ocalize/testdata/values/strings.xml
ocalize/testdata/xliff1.xliff
ocalize/testdata/xml.xml
ocalize/xmb.cpp
ocalize/xmb.h
akekeycodes/Android.mk
akekeycodes/makekeycodes.cpp
reload/20080522.compiled
reload/Android.mk
reload/ClassRank.java
reload/Compile.java
reload/LoadedClass.java
reload/MemoryUsage.java
reload/Operation.java
reload/PrintCsv.java
reload/PrintPsTree.java
reload/Proc.java
reload/Record.java
reload/Root.java
reload/WritePreloadedClassFile.java
reload/loadclass/Android.mk
reload/loadclass/LoadClass.java
reload/preload.iml
reload/preload.ipr