580937fc45bc5ef97e45f1eaf67945a07c5ce41f |
31-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
am 3d5535cf: Merge "Limited AppCompat support" into lmp-dev automerge: 7789447 * commit '7789447bd97c851b7a09623a417300590e5439d5': Limited AppCompat support
|
1575ca6e1a713f9d2e4a9f91bc6943ae10fde083 |
31-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
am 1d59871e: Merge "Resource resolution fixes." into lmp-dev automerge: 7e683bd * commit '7e683bdaddff77a24a36d420c5782b47795c5ccb': Resource resolution fixes.
|
7789447bd97c851b7a09623a417300590e5439d5 |
31-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
am 3d5535cf: Merge "Limited AppCompat support" into lmp-dev * commit '3d5535cfb7755c20619529649b025c4682013b85': Limited AppCompat support
|
7e683bdaddff77a24a36d420c5782b47795c5ccb |
31-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
am 1d59871e: Merge "Resource resolution fixes." into lmp-dev * commit '1d59871e4e8a3a657dab3931d684706c45630a2f': Resource resolution fixes.
|
224e931fed1220f175805fdec71a882649270aa7 |
16-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
Limited AppCompat support Change-Id: I4ac7234c9533b9f47f070335c4cb6ae605d8a89f
ridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
ridge/src/com/android/layoutlib/bridge/bars/AppCompatActionBar.java
ridge/src/com/android/layoutlib/bridge/bars/BridgeActionBar.java
ridge/src/com/android/layoutlib/bridge/bars/CustomActionBarWrapper.java
ridge/src/com/android/layoutlib/bridge/bars/FrameworkActionBar.java
ridge/src/com/android/layoutlib/bridge/bars/FrameworkActionBarWrapper.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
|
b6864ac6cde109be320e18188209eb8420c585f1 |
16-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
Resource resolution fixes. 1. Some dynamic ids weren't created and resulted in ResourceNotFound exceptions. 2. Prevent NPE if a style attribute (eg. style="?attr/foo"), which cannot be resolved, is resolved. This effectively, also results in making it harder to catch misconfigured themes. However, support library does it, and we don't want to throw errors when the library is working as intended. Change-Id: I731d8fb9209eb72b464d235d1072d416e132970b
ridge/src/android/content/res/BridgeTypedArray.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
|
f2e04ac7ea1cc2f91ca1562a14c7e0c261f869fe |
10-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
am c598047d: am ca67a249: am bb600de6: am 74147527: am 8505c387: Special case AppCompat to show action bar. * commit 'c598047d67f64e690f682d82c0e77989c79ae465': Special case AppCompat to show action bar.
|
c598047d67f64e690f682d82c0e77989c79ae465 |
10-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
am ca67a249: am bb600de6: am 74147527: am 8505c387: Special case AppCompat to show action bar. * commit 'ca67a249293d021808f349fa2e2f799451aeafe8': Special case AppCompat to show action bar.
|
ca67a249293d021808f349fa2e2f799451aeafe8 |
10-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
am bb600de6: am 74147527: am 8505c387: Special case AppCompat to show action bar. * commit 'bb600de6e7c5c7a0a1d4b872d2ee100ccc353213': Special case AppCompat to show action bar.
|
bb600de6e7c5c7a0a1d4b872d2ee100ccc353213 |
10-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
am 74147527: am 8505c387: Special case AppCompat to show action bar. * commit '74147527357b9abd9d30b3a2dbd72a5172a35625': Special case AppCompat to show action bar.
|
dbd64f7c904287f9e1bf5bb22385aace85274cab |
15-Jul-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Support Locale.toLanguageTag on Java 6 Change-Id: I255e79e2c288cd24b350b7c26128bbbb0b2cb9a3 (cherry picked from commit 5cd9dde5a2a77c5095f985186d8f03147fd22870)
ridge/src/com/android/layoutlib/bridge/android/AndroidLocale.java
reate/README.txt
reate/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
reate/src/com/android/tools/layoutlib/create/ReplaceMethodCallsAdapter.java
|
51fb7754fc9a232a225b31b37219f4b0dcba6711 |
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 (cherry picked from commit e1960cc0b541cda93db94de5bef42dff922b9ec3)
reate/README.txt
reate/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
reate/src/com/android/tools/layoutlib/create/ReplaceMethodCallsAdapter.java
|
8505c3870a17f41d23329344fe381cd9ff324bd2 |
09-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
Special case AppCompat to show action bar. Bug: http://b.android.com/78944 Change-Id: I02d68d592d812016744716f99376cfefd519b21b
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
|
2d14feb4c7185008111f3a6340f114a4c891e01c |
08-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
Merge "Replace java.util.LinkedHashMap.eldest()" into lmp-mr1-dev
|
169c11dd39ec44364168785a7a83fb747e893c9a |
08-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
Merge "Add missing DateFormat method." into lmp-mr1-dev
|
565b6b415a18ee0b99af8cb693b980e57136282b |
08-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
Merge "Update platform.dir search in tests." into lmp-mr1-dev
|
1330f79f95fd14b53c393402fbcbf7b7bbdcbc60 |
08-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
Replace java.util.LinkedHashMap.eldest() Provide an alternate implementation for the above method and replace the calls to it, since the method is not available on host VM. Change-Id: I329d86b457d1859b137da8fb2790ddd7f8efa788
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
reate/src/com/android/tools/layoutlib/create/ReplaceMethodCallsAdapter.java
reate/src/com/android/tools/layoutlib/java/LinkedHashMap_Delegate.java
|
d8e99c5861b09de8f709c9284240e2c3115507bb |
08-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
am 3bd33f1d: Merge "Fix tests on jenkins, take 2." into lmp-dev automerge: 0b1188e * commit '0b1188e3c1ff6c814dc64c51c83b19afa36d8ce9': Fix tests on jenkins, take 2.
|
6aede34e246e03be618c30504fc2fc8b07f23225 |
07-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
Add missing DateFormat method. Change-Id: Ia03023e65ef4a7ec90b61f1f538cbe74868c63c5
ridge/src/android/text/format/DateFormat_Delegate.java
|
0359b4b19962a4e3c44925907dedb4a9bfd916d0 |
07-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
Update platform.dir search in tests. The tests search for a built sdk using some heuristics. The default path of the built sdk has changed now, and this updates the search accordingly. Change-Id: I36d465d8c5f6cfd971bbdf95878fb144de233c6c
ridge/tests/src/com/android/layoutlib/bridge/intensive/Main.java
|
0b1188e3c1ff6c814dc64c51c83b19afa36d8ce9 |
07-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
am 3bd33f1d: Merge "Fix tests on jenkins, take 2." into lmp-dev * commit '3bd33f1d9e8af826fa95095ca391d40f6c75ca2a': Fix tests on jenkins, take 2.
|
d657b149274aeba0561e68f7172907b300d1b452 |
07-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
Fix tests on jenkins, take 2. Change-Id: I67386c34a7abd7c3afdf9f0768f36f4786399be0
ridge/tests/src/com/android/layoutlib/bridge/intensive/Main.java
|
984823f543b58ff3c064a203762530f972870d64 |
07-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
am 7f9582ce: am 48603a39: Fix tests on jenkins * commit '7f9582ce616a81b70794d7942b39f8442f5ef9d5': Fix tests on jenkins
|
7f9582ce616a81b70794d7942b39f8442f5ef9d5 |
07-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
am 48603a39: Fix tests on jenkins * commit '48603a39d4dd721d231c99e10908f4f00c4ec6b9': Fix tests on jenkins
|
48603a39d4dd721d231c99e10908f4f00c4ec6b9 |
07-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
Fix tests on jenkins When the tests are run on the build server, they are run from the jar, as opposed to the extracted build, which is default when run from an IDE. Thus, when class.getResourceAsStream() is called with ".." in the path, it is not resolved properly. This change explicitly resolves the relative path, so that the test is run properly on the server. Change-Id: Ib5fabd617dca4052220e5173a8bf4fb4234254ff
ridge/tests/src/com/android/layoutlib/bridge/intensive/Main.java
|
565f2245402f4fe6038942b03b9a35cfc0d48d86 |
06-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
am a6671b70: am 6461e054: Merge "Add image comparison to LayoutLib tests." into lmp-dev * commit 'a6671b707446963f402a71219725f317a57b42af': Add image comparison to LayoutLib tests.
|
86f96d07c7d531d69bab3d402d33eb8f15038eee |
06-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
am 0db2524c: am b2ebb968: Merge "Remove Time from CreateInfo" into lmp-dev * commit '0db2524caa01022629075a113d3370a1b7c3da30': Remove Time from CreateInfo
|
229ce66583a51baabf83fec4d0c42af0d3ecba38 |
06-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
am 937db7a3: am 53f73a97: Merge "Add DatePicker, CalendarView to LayoutLib tests" into lmp-dev * commit '937db7a39ef6f5e88a936f78a729f9578123e60b': Add DatePicker, CalendarView to LayoutLib tests
|
b187106c5397072b6ae26061cec847ec9343caee |
06-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
am e69e4f8b: am f9bb0b5e: Merge "Fix DatePicker rendering." into lmp-dev * commit 'e69e4f8b4db142f024e170cf6faabb36095799b7': Fix DatePicker rendering.
|
48ab6becea828c0bcaaf79fe930aac31881f59db |
06-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
am 8c686ddd: am d20a518c: Merge "Make Preference-cookie map non static." into lmp-dev * commit '8c686ddd540f3a15cdba4893f104c0e8e9af5716': Make Preference-cookie map non static.
|
b88a65df73798becc57004b3fc55fdf8c0a83a13 |
06-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
am cec8e5a1: am f861c0ce: Merge "Fix default initial value for preferences" into lmp-dev * commit 'cec8e5a10de413c733223b8b1cc11b70c6254647': Fix default initial value for preferences
|
2bd01ebfa99815d4fb6b4e77754146a22cf66d03 |
06-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
am 7ed14549: am 7081a114: Merge "Add preferences rendering." into lmp-dev * commit '7ed145493d3f5bea32c567980f77cc42f613197e': Add preferences rendering.
|
a6671b707446963f402a71219725f317a57b42af |
06-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
am 6461e054: Merge "Add image comparison to LayoutLib tests." into lmp-dev * commit '6461e05420c6f42b0e70134a4e0d2a626161ab74': Add image comparison to LayoutLib tests.
|
0db2524caa01022629075a113d3370a1b7c3da30 |
06-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
am b2ebb968: Merge "Remove Time from CreateInfo" into lmp-dev * commit 'b2ebb9683fb5b21543b50772a0d4c646ced7764b': Remove Time from CreateInfo
|
937db7a39ef6f5e88a936f78a729f9578123e60b |
06-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
am 53f73a97: Merge "Add DatePicker, CalendarView to LayoutLib tests" into lmp-dev * commit '53f73a97542c277a519b973060dfa217849b66de': Add DatePicker, CalendarView to LayoutLib tests
|
e69e4f8b4db142f024e170cf6faabb36095799b7 |
06-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
am f9bb0b5e: Merge "Fix DatePicker rendering." into lmp-dev * commit 'f9bb0b5e133b0c364c3f87623f0fdff0fedc5226': Fix DatePicker rendering.
|
8c686ddd540f3a15cdba4893f104c0e8e9af5716 |
06-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
am d20a518c: Merge "Make Preference-cookie map non static." into lmp-dev * commit 'd20a518c82e5e33d33e3dc5d74bf3c17d807f7d7': Make Preference-cookie map non static.
|
cec8e5a10de413c733223b8b1cc11b70c6254647 |
06-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
am f861c0ce: Merge "Fix default initial value for preferences" into lmp-dev * commit 'f861c0ce3ff42550f3d5ede837e7bfb3855f5964': Fix default initial value for preferences
|
7ed145493d3f5bea32c567980f77cc42f613197e |
06-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
am 7081a114: Merge "Add preferences rendering." into lmp-dev * commit '7081a114d4ee190c746f337057b0f84928c162dd': Add preferences rendering.
|
58df125bbc76fd71a9c056c6b6108fc149733b0e |
07-Dec-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Add image comparison to LayoutLib tests. The LayoutLib rendering tests now compares the rendered image with a golden file from a previous execution. This will help catch any unexpected changes in the final rendering. Change-Id: I80251a778e89df7d7ec13863a8f299967f3d747d
ridge/tests/res/testApp/MyApplication/golden/activity.png
ridge/tests/src/com/android/layoutlib/bridge/intensive/ImageUtils.java
ridge/tests/src/com/android/layoutlib/bridge/intensive/Main.java
|
4022272a4f714a8d140c09804881ad338964f324 |
02-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
Remove Time from CreateInfo Time_Delegate was removed in change with Change-Id: Iae5ef65678f0e6c7c5af520c45bd15980ce3fa55. But the name wasn't removed from CreateInfo. This didn't cause any problems at runtime, but caused the layoutlib_create tests to fail. Change-Id: I079b1e024b97d389eb07d4f088fd860efbb02eb3
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
|
eae390a94ee63676bc6cbe3b36dbe5bb48e82f6b |
02-Jan-2015 |
Deepanshu Gupta <deepanshu@google.com> |
Add DatePicker, CalendarView to LayoutLib tests Change-Id: Ice8c41ff90ccb0ffe90fcbfcccc91ea24225a3d9
idea/codeStyleSettings.xml
ridge/tests/res/testApp/MyApplication/src/main/res/layout/layout.xml
|
f5b02eb7c43a96d3f70a3ecc81738b0dff86df13 |
18-Nov-2014 |
Deepanshu Gupta <deepanshu@google.com> |
resolved conflicts for a0bc2e7e to lmp-mr1-dev The original change wasn't properly merged into lmp-mr1-dev because of merge conflicts. This change manually resolves the conflicts. The main reason for the conflict was that TimePickerSpinnerDelegate was swapped with TimePickerClockDelegate. This change also fixes the typo in the original change which was fixed in a subsequent change. Original commit: 12b6d29b7b5592dcfb6e6fd6f0c21a40f37d014a fix for typo: cb09bc45c58740af953874f9915306d351fc3d9d Change-Id: I50bf8c2d86318f632465a38adfad16d1382a9319
ridge/src/android/widget/TimePickerClockDelegate_Delegate.java
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
|
e64a5bd2fb54d84d6fd2119ef831df1eba4185ff |
29-Dec-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Fix DatePicker rendering. 1. Return AccessibilityManager service from context. 2. Don't throw an exception if no style specifited in obtainStyledAttributes. Specifying no style is valid and it's supposed to use the default theme in that case. Bug: http://b.android.com/82712 and http://b.android.com/79218 Change-Id: Iba7097f36996e4d6f1e9db778dc73294f2854c79
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
|
0ff4568ca07c16f2ad4c61872995200115292ecf |
08-Oct-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Make Preference-cookie map non static. Moved the map from Preference to View Cookie to BridgeContext. This means the map need not be static anymore. NO_SQ: Depends on unsubmitted changes. Change-Id: I662513def17bd6ec3a2646c3bec9bf4f9f89fc15
ridge/src/android/preference/BridgePreferenceInflater.java
ridge/src/android/preference/Preference_Delegate.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
|
dfeffd4c0ae165a3f225b818ef8d6f5d1cb89a2c |
06-Oct-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Fix default initial value for preferences NO_SQ: Depends on unsubmitted changes. Change-Id: I061cf71f6167d382e9ef060abeb4d5cff83c4104
ridge/src/android/preference/Preference_Delegate.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/android/BridgeSharedPreferences.java
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
|
10bb1371dca38b5b59f083ee963f7987da6511f2 |
05-Oct-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Add preferences rendering. NO_SQ: Depends on updating layoutlib-api-prebuilt.jar Change-Id: Iae93ab74c478e6f2158e1528467bec9ee2d7ee9b
ridge/src/android/preference/BridgePreferenceInflater.java
ridge/src/android/preference/Preference_Delegate.java
ridge/src/android/text/StaticLayout_Delegate.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/android/SessionParamsFlags.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
reate/src/com/android/tools/layoutlib/create/Main.java
|
7e168ad04a4553c23bca1e9bd427ba6088493908 |
04-Dec-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 6cbef4bd: am 03af0c42: Merge "Ensure that RandomAccessFile is not leaked." into lmp-dev * commit '6cbef4bd3e1f16647ab01dc29df9a357d54a85de': Ensure that RandomAccessFile is not leaked.
|
302a7cc13a02863ef2e9d9102df761e92150de65 |
04-Dec-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 4628d51a: am 141c7614: Merge "Fix AnalogClock rendering" into lmp-dev * commit '4628d51a0d01641ca7fe2cf8403ad551ea6f50ce': Fix AnalogClock rendering
|
f708d27fa012d7949a761cb7033b874ba86b353e |
04-Dec-2014 |
Deepanshu Gupta <deepanshu@google.com> |
resolved conflicts for merge of fb30a783 to lmp-mr1-dev Change-Id: I91fdb76c748b97376d6469c8d1198a15c4395463
|
6cbef4bd3e1f16647ab01dc29df9a357d54a85de |
03-Dec-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 03af0c42: Merge "Ensure that RandomAccessFile is not leaked." into lmp-dev * commit '03af0c42d80734c44198b96a99488bb94816ae97': Ensure that RandomAccessFile is not leaked.
|
4628d51a0d01641ca7fe2cf8403ad551ea6f50ce |
03-Dec-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 141c7614: Merge "Fix AnalogClock rendering" into lmp-dev * commit '141c7614fdef45d1a95ccb325da762a79412aae2': Fix AnalogClock rendering
|
fb30a783d349578948a57d4e61bb7ddc09edb023 |
03-Dec-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 7e55c292: Merge "Fix typos in previous bugfixes." into lmp-dev * commit '7e55c29281f8a62154451e87b45d95ec5f97c5ac': Fix typos in previous bugfixes.
|
5ceb7f6431f447aa9d4e949578ce5d4b90b8297c |
01-Dec-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Ensure that RandomAccessFile is not leaked. This change ensures that RandomAccessFile is always closed. Also, it changes the BufferIterator implementation to delegate to the byte buffer directly instead of mainitaining the position itself. Change-Id: I8f93e80c91a7c35e6a7fb015185b8b11e36b6286
ridge/src/com/android/layoutlib/bridge/libcore/io/BridgeBufferIterator.java
ridge/src/libcore/io/MemoryMappedFile_Delegate.java
|
17a6170c62e6f74f2881623a9c16f0b6fea54721 |
21-Nov-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Fix AnalogClock rendering 1. Change calls to java.lang.System.log* since they don't exist on the host. 2. Clean up method rewrite mechanism in ReplaceMethodCallsAdapter. 3. Stub out creation of uninitialized GregorianCalendar. 4. Memory map the time zone data base file and provide a custom implementation of BufferIterator for use by ZoneInfoDB 5. Delete unused Time_Delegate Also fixed a comment in BridgeAssetManager and an error message in FontFamily_Delegate. Bug: http://b.android.com/79160 Change-Id: Iae5ef65678f0e6c7c5af520c45bd15980ce3fa55
ridge/src/android/content/res/BridgeAssetManager.java
ridge/src/android/graphics/FontFamily_Delegate.java
ridge/src/android/text/format/Time_Delegate.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/libcore/io/BridgeBufferIterator.java
ridge/src/libcore/io/MemoryMappedFile_Delegate.java
ridge/src/libcore/util/ZoneInfo_WallTime_Delegate.java
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
reate/src/com/android/tools/layoutlib/create/ReplaceMethodCallsAdapter.java
reate/src/com/android/tools/layoutlib/java/System_Delegate.java
|
9ab79551ac9cee85e019d524dae6a5a6b4004cb5 |
21-Nov-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 4104abf8: Merge "Fix setTextAppearance for styles with dots." into lmp-dev automerge: ddc83df * commit 'ddc83dfa8f17db1a8a566c8b92b0fea56dedd00a': Fix setTextAppearance for styles with dots.
|
cb09bc45c58740af953874f9915306d351fc3d9d |
18-Nov-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Fix typos in previous bugfixes. The commits 2c9fbdd and 12b6d29 introduced minor bugs. This change fixes them.
ridge/src/android/widget/TimePickerSpinnerDelegate_Delegate.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
|
ddc83dfa8f17db1a8a566c8b92b0fea56dedd00a |
20-Nov-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 4104abf8: Merge "Fix setTextAppearance for styles with dots." into lmp-dev * commit '4104abf875e16ad54c248ce602e573d2144732dd': Fix setTextAppearance for styles with dots.
|
a0bc2e7e3c2f075a23449df00659c96d0cddb417 |
20-Nov-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 455654cf: Merge "LayoutLib: Stub AM/PM keycodes in Time Picker." into lmp-dev * commit '455654cffdaebcbbd4fa33de5bb18fa2752d6c9a': LayoutLib: Stub AM/PM keycodes in Time Picker.
|
4104abf875e16ad54c248ce602e573d2144732dd |
19-Nov-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Merge "Fix setTextAppearance for styles with dots." into lmp-dev
|
ff17024e583b170312d82089fd358d278ce16c9a |
19-Nov-2014 |
Dianne Hackborn <hackbod@google.com> |
Fix issue with call backs from media process. All but a few lines of this is for issue #16013164, which allowed apps to do some operations as the media uid by having it call back to them to open a file. The problem here is with the tempory identity stuff in the activity manager, allowing us to make the open call as the original caller... ideally we should figure out a way to just get rid of all of that, but the solution here is actually easier (even though it doesn't look it) -- we now hand a token over to the openFile() call that it can use when doing permission checks to say "yes I would like the check to be against whoever is responsible for the open". This allows us to do the uid remapping for only this one specific set of permission checks, and nothing else. Also fix issue #17487348: Isolated services can access system services they shouldn't be able to. Don't send any system service IBinder objects down for the first initialization of an isolated process. Change-Id: I3c70e16e0899d7eef0bae458e83958b41ed2b75e
ridge/src/com/android/layoutlib/bridge/android/BridgeContentProvider.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
|
2c9fbdd29c2f68f7e32583d47109c8f446865d88 |
18-Nov-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Fix setTextAppearance for styles with dots. Bug: http://b.android.com/78842 Change-Id: I65923134b2d3812030e2b7dd8ab96363b0647c1f
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
|
12b6d29b7b5592dcfb6e6fd6f0c21a40f37d014a |
18-Nov-2014 |
Deepanshu Gupta <deepanshu@google.com> |
LayoutLib: Stub AM/PM keycodes in Time Picker. TimePickerSpinnerDelegate doesn't need to deal with input when running inside LayoutLib. So, we just return the keycodes as if it's running in English locale. Bug: http://b.android.com/79189 Change-Id: Ife0ae91a1e34a8dac379bc1dda1c1c8ed461c164
ridge/src/android/widget/TimePickerSpinnerDelegate_Delegate.java
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
|
32f7a6d813d7f936c7aa6a1f3abe2f05022a6cd9 |
11-Nov-2014 |
Jeff Brown <jeffbrown@google.com> |
Merge "Move device admin max screen off timeout to internal interface." into lmp-mr1-dev
|
7ed525bf92749113a177815ffce5d6545bd59314 |
11-Nov-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 5ad9b395: am a44fdb9e: Merge "Don\'t skip loading object animator." into lmp-dev * commit '5ad9b395db341b3360d481039f152f8ce1d8360c': Don't skip loading object animator.
|
5ad9b395db341b3360d481039f152f8ce1d8360c |
11-Nov-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am a44fdb9e: Merge "Don\'t skip loading object animator." into lmp-dev * commit 'a44fdb9e216810ba62f20c1b4571ebc240931efa': Don't skip loading object animator.
|
2c5cddbd07bb46b22617a362f3af23be7720f9d5 |
11-Nov-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Don't skip loading object animator. This is used by Buttons as part of StateListAnimator. Change-Id: Id370869e71898d46e11bbd17ad31169c9f9f5274
ridge/src/android/animation/AnimatorInflater_Delegate.java
reate/src/com/android/tools/layoutlib/create/DelegateClassAdapter.java
|
7d3d5feb31e393c97381f512995d9d799d18304f |
10-Nov-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 4c0f0e6c: Merge "Fix setting styles in custom views." into lmp-dev automerge: 5c22a79 * commit '4c0f0e6c852dd933bcfaf95380cca49a46fa3912': Fix setting styles in custom views.
|
828db35568459638e09f86be40340d281804858d |
10-Nov-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 3cf0640d: Merge "Add primitive shadows support to LayoutLib" into lmp-dev automerge: 97c04ac * commit '3cf0640d944a0718b9e29a2134a577e72a9432b4': Add primitive shadows support to LayoutLib
|
a09dda8162ca48bea0fea0e2804af38e216996d8 |
10-Nov-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 0e3925df: Merge "Remove needlessly thrown IOException." into lmp-dev automerge: f305d2c * commit '0e3925dfb3ea4e9185202dd963f03f5ca1df17d0': Remove needlessly thrown IOException.
|
4c0f0e6c852dd933bcfaf95380cca49a46fa3912 |
10-Nov-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Merge "Fix setting styles in custom views." into lmp-dev automerge: 5c22a79 * commit '5c22a79baf81727b56a85a194d678c18449b5150': Fix setting styles in custom views.
|
3cf0640d944a0718b9e29a2134a577e72a9432b4 |
10-Nov-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Merge "Add primitive shadows support to LayoutLib" into lmp-dev automerge: 97c04ac * commit '97c04ac7ed4f34ca0cfb75646cc00687fb0954d4': Add primitive shadows support to LayoutLib
|
0e3925dfb3ea4e9185202dd963f03f5ca1df17d0 |
10-Nov-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Merge "Remove needlessly thrown IOException." into lmp-dev automerge: f305d2c * commit 'f305d2c4a80af9e2011824349adc6f133cd8822c': Remove needlessly thrown IOException.
|
8657baa06d2efe845cafef571bd9dce627cf5045 |
10-Nov-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Fix setting styles in custom views. Bug: http://b.android.com/78842 Change-Id: I5d4571d94d96b00419acc258c9e2b519367b689d
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
|
37d7a68de7e353c31a3a4736054cd86f0e002eaf |
06-Nov-2014 |
Adrian Roos <roosa@google.com> |
Fix inset hinting when adding window Windows with FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS were getting an incorrect content inset hint, because the hinting didn't see the adjusted systemUiVisibility. Also adds hinting for the stable insets. Bug: 17508238 Change-Id: If9647277feb6811b15665b801accd896c51dbd12
ridge/src/com/android/layoutlib/bridge/android/BridgeWindowSession.java
|
796e9b7f9910f2ba8133cdb6f137107585b2e5fa |
05-Nov-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Add primitive shadows support to LayoutLib The shadows rendered are not the same as rendered by the framework. The main purpose of the shadows here is let the user know when shadows will be cast. Currently rectangular shadows are available in only two intensities. Any elevation below 10dp uses one shadow and any elevation over 10 dp uses the other. Also, even though the code for arbitrary shapes exist, it doesn't quite work yet. No shadows are visible when that code is run. Change-Id: Ie8235ffccf1d3809713f5d8f82afde434817d6b2
ridge/resources/icons/shadow-b.png
ridge/resources/icons/shadow-bl.png
ridge/resources/icons/shadow-br.png
ridge/resources/icons/shadow-l.png
ridge/resources/icons/shadow-r.png
ridge/resources/icons/shadow-tl.png
ridge/resources/icons/shadow-tr.png
ridge/resources/icons/shadow2-b.png
ridge/resources/icons/shadow2-bl.png
ridge/resources/icons/shadow2-br.png
ridge/resources/icons/shadow2-l.png
ridge/resources/icons/shadow2-r.png
ridge/resources/icons/shadow2-tl.png
ridge/resources/icons/shadow2-tr.png
ridge/src/android/view/RenderNode_Delegate.java
ridge/src/android/view/ShadowPainter.java
ridge/src/android/view/ViewGroup_Delegate.java
ridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
ridge/src/com/android/layoutlib/bridge/bars/CustomActionBarWrapper.java
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
|
5ce1cb240b13db98fbdc21e1ef069b5f9cec8d72 |
07-Nov-2014 |
Jeff Brown <jeffbrown@google.com> |
Move device admin max screen off timeout to internal interface. The setting was previously exposed in IPowerManager but it doesn't need to be there. Bug: 17656076 Change-Id: If3ed0cbe89f67c60aa00376be0c54b1bd9656144
ridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java
|
044d52934e57a337665f707aa4be1d423ee3fb29 |
06-Nov-2014 |
Winson Chung <winsonc@google.com> |
Adding bounce animation for affiliated tasks. (Bug 16656169) Change-Id: I39e4a57c4e6b707d15513dacde2d40c23bb05058
ridge/src/android/view/IWindowManagerImpl.java
|
9173c8a2e90a48959dedc9d4aa415482f5014844 |
04-Nov-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Remove needlessly thrown IOException. Change-Id: If34986367554c98f96f6f9a1088f5e25077a1be1
ridge/src/android/graphics/Bitmap_Delegate.java
ridge/src/com/android/layoutlib/bridge/impl/RenderDrawable.java
|
fef500107ea558bfc210230a3cd8281d7fea6fd5 |
04-Nov-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 0a2e42d4: Merge "Fix BridgeContext.get*ResourceValue()" into lmp-dev automerge: 9b64954 * commit '0a2e42d4afe9aa81cc41674102dfc999496db845': Fix BridgeContext.get*ResourceValue()
|
9a6d8ae25522f88191e8b7d817c1d4e5816b642b |
04-Nov-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 33996b98: Merge "Support framework menus in ActionBar" into lmp-dev automerge: c23487a * commit '33996b98787c4625f9cd4a8e38e6a88458773276': Support framework menus in ActionBar
|
5ad076396c43b2d26f9c020f0914623972cadd0e |
04-Nov-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am cd5f3bab: Merge "Use the right layout for inflating Action Bar." into lmp-dev automerge: 84a89ed * commit 'cd5f3bab37ef1dc041489f53f565416d295916d9': Use the right layout for inflating Action Bar.
|
0a2e42d4afe9aa81cc41674102dfc999496db845 |
04-Nov-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Merge "Fix BridgeContext.get*ResourceValue()" into lmp-dev automerge: 9b64954 * commit '9b64954cb5b30b03abaae0b24132e1b1876f8af1': Fix BridgeContext.get*ResourceValue()
|
33996b98787c4625f9cd4a8e38e6a88458773276 |
04-Nov-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Merge "Support framework menus in ActionBar" into lmp-dev automerge: c23487a * commit 'c23487aa18a9882cb9c8c800c7c44ccb93ce60b9': Support framework menus in ActionBar
|
cd5f3bab37ef1dc041489f53f565416d295916d9 |
04-Nov-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Merge "Use the right layout for inflating Action Bar." into lmp-dev automerge: 84a89ed * commit '84a89ed0f56d4c35cde5a1451a22a6edb59db06a': Use the right layout for inflating Action Bar.
|
9b64954cb5b30b03abaae0b24132e1b1876f8af1 |
04-Nov-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Merge "Fix BridgeContext.get*ResourceValue()" into lmp-dev
|
c23487aa18a9882cb9c8c800c7c44ccb93ce60b9 |
04-Nov-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Merge "Support framework menus in ActionBar" into lmp-dev
|
84a89ed0f56d4c35cde5a1451a22a6edb59db06a |
04-Nov-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Merge "Use the right layout for inflating Action Bar." into lmp-dev
|
0ed053ef537daa11659e70c91974cded7c9bddc6 |
01-Nov-2014 |
Jeff Brown <jeffbrown@google.com> |
am e333e674: Add a function to boost screen brightness temporarily. * commit 'e333e674a758c39885d4d9779a1aad387fb0e6aa': Add a function to boost screen brightness temporarily.
|
e333e674a758c39885d4d9779a1aad387fb0e6aa |
28-Oct-2014 |
Jeff Brown <jeffbrown@google.com> |
Add a function to boost screen brightness temporarily. When PowerManager.boostScreenBrightness() is called, the screen brightness is set to maximum for 5 seconds. This action is also considered to be user activity. Bug: 17934954 Change-Id: I1cb4a03a60705c6c1c5cc9ff84b1c5dbd2932fcd
ridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java
|
159da3dba8811017c683fcee26c795be1948b0c4 |
30-Oct-2014 |
Craig Mautner <cmautner@google.com> |
Merge "Add enter-animation-done callback for system windows" into lmp-mr1-dev
|
9c79504225f60c72c947220b6aca928f11279e1c |
29-Oct-2014 |
Craig Mautner <cmautner@google.com> |
Add enter-animation-done callback for system windows Existing hidden methods allow activities to be notified when their windows have completed animating in. This change adds that capability to system windows using a ViewTreeObserver callback since system windows lack an activity token. The first subsystem to use this is the UserSwitchingDialog which was previously using a 250 msec timeout to dismiss the dialog. That deadline was often missed leaving the user with no dialog on the screen during the transition. Fixes bug 16661752. Change-Id: I70789e0d9c07112f275e76fb82850926305f290d
ridge/src/com/android/layoutlib/bridge/android/BridgeWindow.java
|
9fa48b09ad06c39be0923d5ca64b81f6b0eee993 |
30-Oct-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Fix BridgeContext.get*ResourceValue() getFrameworkResourceValue() and getProjectResourceValue() never really returned the defValue passed to them, instead creating a new id for non-existent resources. We now checks for the existence of the resources before trying to obtain the id. Change-Id: Ie3103ba32af6186651a5f77c27d1efc33dc2bcc7
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/bars/CustomActionBarWrapper.java
ridge/src/com/android/layoutlib/bridge/util/DynamicIdMap.java
|
df0ebab0f954044c39b171160ab4276dd2391993 |
30-Oct-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Support framework menus in ActionBar Add support for adding menus in the framework namespace to the ActionBar preview. If a menu id name begins with the android namespace prefix (android:) we find the framework menu and render it. Change-Id: If52910b46154591883af2b2f357e72eea6f84235
ridge/src/com/android/layoutlib/bridge/bars/CustomActionBarWrapper.java
|
0bffc736e1f260724764d31f7499cbc09471a535 |
27-Oct-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Use the right layout for inflating Action Bar. The choice of Action Bar layout depends on the theme. This also affects the widget used to render the Action Bar. Bug: http://b.android.com/77853 Change-Id: I6219a02853b4cd207a6125a5ed96fa5d16699460
ridge/src/android/view/WindowCallback.java
ridge/src/android/widget/Toolbar_Accessor.java
ridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
ridge/src/com/android/layoutlib/bridge/bars/CustomActionBarWrapper.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
|
5456230d3b071cf699a4523f3f33bfcb5be4f54c |
29-Oct-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 03b100e1: am 617e8097: Add missing delegate for AnimatorInflater. * commit '03b100e11dad5bef34e71ccfd45b6c7adc9bfee4': Add missing delegate for AnimatorInflater.
|
bf59e8974d0c18dd3fd14631ad03de66d271a186 |
29-Oct-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am de4ee0f1: am 75bf1b1c: Merge "Skip loading animations." into lmp-dev * commit 'de4ee0f1be350a52d642a447269a91f6d28e73fc': Skip loading animations.
|
122ccfb08fdde43793159d17d263271a0d311a1f |
29-Oct-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 916d7796: am c55eb170: Merge "Fix multiple styles case in resource resolution." into lmp-dev * commit '916d779650352059b08b7257f71a7aab8b333eba': Fix multiple styles case in resource resolution.
|
62cf56cf99204bc3912119e8bed06e43f7ba6da9 |
29-Oct-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 6fb2fda8: am 92a52142: Merge "Use right theme for drawable inflation." into lmp-dev * commit '6fb2fda85c410e23a1b9366c025fe288447bf027': Use right theme for drawable inflation.
|
617e809731d775d9e05758689bab024e34c9afbf |
29-Oct-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Add missing delegate for AnimatorInflater. Change-Id: I96ef2b1085dadfae280df6740aebc10f57e3b949
ridge/src/android/animation/AnimatorInflater_Delegate.java
|
75bf1b1c6af0bc0d09b04292565915fab0e49a30 |
29-Oct-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Merge "Skip loading animations." into lmp-dev
|
c55eb170cccea10158cedaeccd991b4b97d0036c |
29-Oct-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Merge "Fix multiple styles case in resource resolution." into lmp-dev
|
92a52142fd988590aa61aedd54f48e9d249a2f53 |
29-Oct-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Merge "Use right theme for drawable inflation." into lmp-dev
|
0b42936d860238be9321f05cf70e934f81b94d72 |
28-Oct-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Skip loading animations. This is a temporary fix until Path.approximate() is supported. Bug: http://b.android.com/77865 Change-Id: I28739e58f51fabaaf1dcc1c9be61cd0b17e84eec
ridge/src/android/animation/AnimatorInflater_Delegate.java
ridge/src/android/animation/FakeAnimator.java
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
|
b6444c43094353065f083d1ae6e4617f098a8b2b |
28-Oct-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Fix multiple styles case in resource resolution. When multiple styles are applied to a theme, we only remembered the last one. This change fixes the issue. Change-Id: I46490e882edc3eabe522a641c83366234b5bb25d
ridge/src/android/content/res/AssetManager_Delegate.java
ridge/src/android/content/res/Resources_Theme_Delegate.java
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
|
4a605c6fa0027ee116beb29fbc9625721f0441f0 |
28-Oct-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Use right theme for drawable inflation. The theme information was lost when inflating drawables. As a result, drawables inflated in the ActionBar did not have the right tint. Change-Id: I13d5c78039e35085ed4902289fcb735bb15d972e
ridge/src/android/content/res/BridgeResources.java
ridge/src/android/content/res/BridgeTypedArray.java
ridge/src/android/content/res/Resources_Theme_Delegate.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
|
01c80f155d095ccd77a5f3038d4d02663219684e |
22-Oct-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 37779f07: Merge "Check Bridge init before disposing." into lmp-dev automerge: 568f16c * commit '37779f07496462afa4b5d88725e8a004a7e10bc0': Check Bridge init before disposing.
|
b69ec7708b61535355d278ac0ea8f9a61540d1fb |
20-Oct-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Check Bridge init before disposing. In some cases ADT may dispose the Bridge even before init is called on it. This caused an NPE. Fixed this by checking for the initialization before disposing resources. Bug: http://b.android.com/77726 Change-Id: I741d6ea3595a3b7cb816abd0417f23aecca6370e
ridge/src/android/graphics/FontFamily_Delegate.java
ridge/src/android/graphics/Typeface_Accessor.java
ridge/src/android/graphics/Typeface_Delegate.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
|
b913af540834b34d74b65a4bdb77a092dca39a04 |
09-Oct-2014 |
Elliott Hughes <enh@google.com> |
Track change to private libcore data structure. Bug: 15476051 (cherry picked from commit d47acaeecd991ecd01ecc9a37e60011f545712d7) Change-Id: Iac79ce3602282a2780dd895995f42ab03f346ad4
ridge/src/libcore/icu/ICU_Delegate.java
|
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
reate/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
reate/src/com/android/tools/layoutlib/create/ICreateInfo.java
reate/src/com/android/tools/layoutlib/create/Main.java
reate/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)
ridge/src/android/text/StaticLayout_Delegate.java
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
|
3c8140ab4b39922f92682910ce24de77fd512db4 |
02-Oct-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Minor style changes. Addressing code review comments on previous change: 171804201dd Change-Id: I2c9e0ce35e755c23d8292749828d15a87109d6dc
ridge/src/android/content/res/BridgeTypedArray.java
|
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)
ridge/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)
idea/runConfigurations/Create.xml
ridge/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)
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)
reate/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)
ridge/tests/Android.mk
reate/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)
reate/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)
idea/libraries/asm_4_0.xml
idea/libraries/framework_jar.xml
idea/libraries/guava.xml
idea/libraries/icu4j.xml
idea/libraries/kxml2_2_3_0.xml
idea/libraries/layoutlib_api_prebuilt.xml
idea/libraries/ninepatch_prebuilt.xml
idea/libraries/tools_common_prebuilt.xml
idea/runConfigurations/All_in_bridge.xml
idea/runConfigurations/Create.xml
idea/vcs.xml
ridge/bridge.iml
ridge/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)
ridge/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)
gitignore
idea/.name
idea/codeStyleSettings.xml
idea/compiler.xml
idea/copyright/Android.xml
idea/copyright/profiles_settings.xml
idea/encodings.xml
idea/inspectionProfiles/Project_Default.xml
idea/inspectionProfiles/profiles_settings.xml
idea/libraries/asm_4_0.xml
idea/libraries/framework_jar.xml
idea/libraries/guava.xml
idea/libraries/icu4j.xml
idea/libraries/kxml2_2_3_0.xml
idea/libraries/layoutlib_api_prebuilt.xml
idea/libraries/ninepatch_prebuilt.xml
idea/libraries/tools_common_prebuilt.xml
idea/misc.xml
idea/modules.xml
idea/runConfigurations/All_in_bridge.xml
idea/runConfigurations/All_in_create.xml
idea/runConfigurations/Create.xml
idea/scopes/scope_settings.xml
idea/uiDesigner.xml
idea/vcs.xml
ridge/.classpath
ridge/bridge.iml
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/tests/Android.mk
ridge/tests/res/testApp/MyApplication/.gitignore
ridge/tests/res/testApp/MyApplication/build.gradle
ridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/BuildConfig.class
ridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/MyActivity.class
ridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/R$attr.class
ridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/R$dimen.class
ridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/R$drawable.class
ridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/R$id.class
ridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/R$layout.class
ridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/R$menu.class
ridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/R$string.class
ridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/R$style.class
ridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/R.class
ridge/tests/res/testApp/MyApplication/gradle.properties
ridge/tests/res/testApp/MyApplication/gradle/wrapper/gradle-wrapper.jar
ridge/tests/res/testApp/MyApplication/gradle/wrapper/gradle-wrapper.properties
ridge/tests/res/testApp/MyApplication/gradlew
ridge/tests/res/testApp/MyApplication/gradlew.bat
ridge/tests/res/testApp/MyApplication/proguard-rules.pro
ridge/tests/res/testApp/MyApplication/src/androidTest/java/com/android/layoulib/test/myapplication/ApplicationTest.java
ridge/tests/res/testApp/MyApplication/src/main/AndroidManifest.xml
ridge/tests/res/testApp/MyApplication/src/main/java/com/android/layoutlib/test/myapplication/MyActivity.java
ridge/tests/res/testApp/MyApplication/src/main/res/drawable/ic_launcher.xml
ridge/tests/res/testApp/MyApplication/src/main/res/layout/activity.xml
ridge/tests/res/testApp/MyApplication/src/main/res/layout/layout.xml
ridge/tests/res/testApp/MyApplication/src/main/res/menu/my.xml
ridge/tests/res/testApp/MyApplication/src/main/res/values/dimens.xml
ridge/tests/res/testApp/MyApplication/src/main/res/values/strings.xml
ridge/tests/res/testApp/MyApplication/src/main/res/values/styles.xml
ridge/tests/src/android/graphics/Matrix_DelegateTest.java
ridge/tests/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParserTest.java
ridge/tests/src/com/android/layoutlib/bridge/intensive/Main.java
ridge/tests/src/com/android/layoutlib/bridge/intensive/setup/ConfigGenerator.java
ridge/tests/src/com/android/layoutlib/bridge/intensive/setup/LayoutLibTestCallback.java
ridge/tests/src/com/android/layoutlib/bridge/intensive/setup/LayoutPullParser.java
reate/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)
ridge/.classpath
|
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
ridge/src/android/content/res/BridgeTypedArray.java
ridge/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
ridge/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
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
|
c8cbff8bdc6c8e61a177eeb1aa728038e0aa86dd |
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
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
|
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
ridge/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
ridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java
|
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
ridge/src/android/graphics/FontFamily_Delegate.java
ridge/src/android/graphics/Shader_Delegate.java
ridge/src/android/graphics/Typeface_Delegate.java
|
f5cc3644f6d246138d22f35d00f1ce562cd715d5 |
10-Sep-2014 |
Dianne Hackborn <hackbod@google.com> |
Fix build. Change-Id: I92eabc35168acfe58641917179be0d90a14f2f11
ridge/src/com/android/layoutlib/bridge/android/BridgeWindowSession.java
|
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
reate/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
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
ridge/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
ridge/tests/Android.mk
reate/tests/Android.mk
|
cd0bb17d30e360c44e03b33bae3d42114b8cc2fb |
04-Sep-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Remove warning for null entries in resource array. Change-Id: I32e0b8129e29f3e1e5a472b26e16f3fd06d4b91b
ridge/src/android/content/res/BridgeTypedArray.java
|
a780eee46244062d699f76875fd05775c2ee92de |
04-Sep-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Merge "Resolve color xml attributes properly. [DO NOT MERGE]" into klp-modular-dev
|
509e5db14908f85c1ad4b93e8bbed5afd4c2c8fe |
04-Sep-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Merge "Resolve color xml attributes properly. [DO NOT MERGE]" into klp-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
|
b988c8fa66f35a3f046ee9066ed0dc0f2b4c495b |
03-Sep-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Build layoutlib_create tests. Change-Id: Ia13a090f8ec29b2b2a107825b6a13d7db77e6d61
reate/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
ridge/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
ridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
|
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
ridge/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
ridge/src/android/content/res/BridgeTypedArray.java
|
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
ridge/src/android/content/res/BridgeTypedArray.java
|
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
ridge/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)
ridge/src/android/content/res/BridgeTypedArray.java
|
e2370f092f1648afd28c007c48e560fc2f7736cd |
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)
ridge/src/android/content/res/BridgeTypedArray.java
|
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)
ridge/src/android/util/BridgeXmlPullAttributes.java
|
cb6dfc2869020f73d95e9951387bc310085bee8d |
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)
ridge/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
idea/libraries/asm_4_0.xml
idea/libraries/framework_jar.xml
idea/libraries/guava.xml
idea/libraries/icu4j.xml
idea/libraries/kxml2_2_3_0.xml
idea/libraries/layoutlib_api_prebuilt.xml
idea/libraries/ninepatch_prebuilt.xml
idea/libraries/tools_common_prebuilt.xml
idea/runConfigurations/All_in_bridge.xml
idea/runConfigurations/Create.xml
idea/vcs.xml
ridge/bridge.iml
ridge/tests/src/com/android/layoutlib/bridge/intensive/Main.java
|
151b68ddc222d66b60b5447a60ab6e246a4d2ac0 |
20-Aug-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Fix "@null" resource values in LayoutLib. Bug: http://b.android.com/74072 Change-Id: Ib84906d86772ac3df2407e71ad2167797bec4542
ridge/src/android/content/res/BridgeTypedArray.java
|
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
ridge/resources/bars/status_bar.xml
ridge/resources/bars/v21/hdpi/stat_sys_wifi_signal_4_fully.png
ridge/resources/bars/v21/mdpi/stat_sys_wifi_signal_4_fully.png
ridge/resources/bars/v21/xhdpi/stat_sys_wifi_signal_4_fully.png
ridge/resources/bars/v21/xhdpi/stat_sys_wifi_signal_4_fully.xml
ridge/src/com/android/layoutlib/bridge/bars/Config.java
ridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ridge/src/com/android/layoutlib/bridge/bars/StatusBar.java
ridge/src/com/android/layoutlib/bridge/bars/TitleBar.java
|
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
|
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)
ridge/resources/bars/hdpi/stat_sys_battery_100.png
ridge/resources/bars/hdpi/stat_sys_battery_charge_anim100.png
ridge/resources/bars/hdpi/stat_sys_wifi_signal_4_fully.png
ridge/resources/bars/hdpi/status_bar_background.9.png
ridge/resources/bars/mdpi/stat_sys_battery_100.png
ridge/resources/bars/mdpi/stat_sys_battery_charge_anim100.png
ridge/resources/bars/mdpi/stat_sys_wifi_signal_4_fully.png
ridge/resources/bars/mdpi/status_bar_background.9.png
ridge/resources/bars/xhdpi/stat_sys_battery_100.png
ridge/resources/bars/xhdpi/stat_sys_battery_charge_anim100.png
ridge/resources/bars/xhdpi/stat_sys_wifi_signal_4_fully.png
ridge/src/com/android/layoutlib/bridge/bars/StatusBar.java
|
59eedf528ca29a32b6d7f358f5076929f8fbb164 |
16-Aug-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Layoutlib: Update wifi and battery icon for KK Change-Id: Ic5c80e83366bb7672049a6bf726d11cf6717f400
ridge/resources/bars/hdpi/stat_sys_battery_100.png
ridge/resources/bars/hdpi/stat_sys_battery_charge_anim100.png
ridge/resources/bars/hdpi/stat_sys_wifi_signal_4_fully.png
ridge/resources/bars/hdpi/status_bar_background.9.png
ridge/resources/bars/mdpi/stat_sys_battery_100.png
ridge/resources/bars/mdpi/stat_sys_battery_charge_anim100.png
ridge/resources/bars/mdpi/stat_sys_wifi_signal_4_fully.png
ridge/resources/bars/mdpi/status_bar_background.9.png
ridge/resources/bars/xhdpi/stat_sys_battery_100.png
ridge/resources/bars/xhdpi/stat_sys_battery_charge_anim100.png
ridge/resources/bars/xhdpi/stat_sys_wifi_signal_4_fully.png
ridge/src/com/android/layoutlib/bridge/bars/StatusBar.java
|
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
ridge/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
ridge/resources/bars/README
ridge/resources/bars/status_bar.xml
ridge/resources/bars/v11/README
ridge/resources/bars/v11/hdpi/ic_sysbar_back.png
ridge/resources/bars/v11/hdpi/ic_sysbar_home.png
ridge/resources/bars/v11/hdpi/ic_sysbar_recent.png
ridge/resources/bars/v11/ldrtl-hdpi/ic_sysbar_back.png
ridge/resources/bars/v11/ldrtl-hdpi/ic_sysbar_recent.png
ridge/resources/bars/v11/ldrtl-mdpi/ic_sysbar_back.png
ridge/resources/bars/v11/ldrtl-mdpi/ic_sysbar_recent.png
ridge/resources/bars/v11/ldrtl-xhdpi/ic_sysbar_back.png
ridge/resources/bars/v11/ldrtl-xhdpi/ic_sysbar_recent.png
ridge/resources/bars/v11/mdpi/ic_sysbar_back.png
ridge/resources/bars/v11/mdpi/ic_sysbar_home.png
ridge/resources/bars/v11/mdpi/ic_sysbar_recent.png
ridge/resources/bars/v11/xhdpi/ic_sysbar_back.png
ridge/resources/bars/v11/xhdpi/ic_sysbar_home.png
ridge/resources/bars/v11/xhdpi/ic_sysbar_recent.png
ridge/resources/bars/v18/hdpi/stat_sys_battery_100.png
ridge/resources/bars/v18/hdpi/stat_sys_wifi_signal_4_fully.png
ridge/resources/bars/v18/mdpi/stat_sys_battery_100.png
ridge/resources/bars/v18/mdpi/stat_sys_wifi_signal_4_fully.png
ridge/resources/bars/v18/xhdpi/stat_sys_battery_100.png
ridge/resources/bars/v18/xhdpi/stat_sys_wifi_signal_4_fully.png
ridge/resources/bars/v19/hdpi/ic_sysbar_back.png
ridge/resources/bars/v19/hdpi/ic_sysbar_home.png
ridge/resources/bars/v19/hdpi/ic_sysbar_recent.png
ridge/resources/bars/v19/hdpi/stat_sys_wifi_signal_4_fully.png
ridge/resources/bars/v19/ldrtl-hdpi/ic_sysbar_back.png
ridge/resources/bars/v19/ldrtl-hdpi/ic_sysbar_recent.png
ridge/resources/bars/v19/ldrtl-mdpi/ic_sysbar_back.png
ridge/resources/bars/v19/ldrtl-mdpi/ic_sysbar_recent.png
ridge/resources/bars/v19/ldrtl-xhdpi/ic_sysbar_back.png
ridge/resources/bars/v19/ldrtl-xhdpi/ic_sysbar_recent.png
ridge/resources/bars/v19/mdpi/ic_sysbar_back.png
ridge/resources/bars/v19/mdpi/ic_sysbar_home.png
ridge/resources/bars/v19/mdpi/ic_sysbar_recent.png
ridge/resources/bars/v19/mdpi/stat_sys_wifi_signal_4_fully.png
ridge/resources/bars/v19/xhdpi/ic_sysbar_back.png
ridge/resources/bars/v19/xhdpi/ic_sysbar_home.png
ridge/resources/bars/v19/xhdpi/ic_sysbar_recent.png
ridge/resources/bars/v19/xhdpi/stat_sys_wifi_signal_4_fully.png
ridge/resources/bars/v19/xxhdpi/ic_sysbar_back.png
ridge/resources/bars/v19/xxhdpi/ic_sysbar_home.png
ridge/resources/bars/v19/xxhdpi/ic_sysbar_recent.png
ridge/resources/bars/v19/xxhdpi/stat_sys_wifi_signal_4_fully.png
ridge/resources/bars/v21/hdpi/stat_sys_battery_100.png
ridge/resources/bars/v21/hdpi/stat_sys_battery_charge_anim100.png
ridge/resources/bars/v21/hdpi/status_bar_background.9.png
ridge/resources/bars/v21/mdpi/stat_sys_battery_100.png
ridge/resources/bars/v21/mdpi/stat_sys_battery_charge_anim100.png
ridge/resources/bars/v21/mdpi/status_bar_background.9.png
ridge/resources/bars/v21/xhdpi/stat_sys_battery_100.png
ridge/resources/bars/v21/xhdpi/stat_sys_battery_charge_anim100.png
ridge/resources/bars/v21/xxhdpi/stat_sys_battery_100.png
ridge/resources/bars/v9/hdpi/stat_sys_battery_100.png
ridge/resources/bars/v9/hdpi/stat_sys_wifi_signal_4_fully.png
ridge/resources/bars/v9/ldpi/stat_sys_battery_100.png
ridge/resources/bars/v9/mdpi/stat_sys_battery_100.png
ridge/resources/bars/v9/mdpi/stat_sys_wifi_signal_4_fully.png
ridge/src/com/android/layoutlib/bridge/bars/Config.java
ridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ridge/src/com/android/layoutlib/bridge/bars/IconLoader.java
ridge/src/com/android/layoutlib/bridge/bars/StatusBar.java
|
2e7a0355b4ba912241cc1feda049c714118e82a5 |
13-Aug-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Update intelliJ copyright profile Change-Id: Ib9386b686cb24e1f187d0b636b59b4b13d59bbcd
idea/copyright/profiles_settings.xml
|
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
ridge/src/android/graphics/FontFamily_Delegate.java
|
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
ename_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
ridge/src/android/graphics/BidiRenderer.java
ridge/src/android/graphics/FontFamily_Delegate.java
ridge/src/android/graphics/Paint_Delegate.java
ridge/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
ridge/src/android/util/BridgeXmlPullAttributes.java
|
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
ename_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
ename_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.
|
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.
|
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.
|
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
ridge/src/android/os/Build_Delegate.java
ridge/src/android/os/SystemProperties_Delegate.java
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
|
4f6a6c48a4e6b9f6e4ced3d10bb51db5d2c22ead |
06-Aug-2014 |
Svetoslav <svetoslavganov@google.com> |
Fix build Change-Id: I96eec52472bec122074b0ec2ee051c1b55eaa8f4
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
|
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
ridge/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
ridge/src/android/graphics/BidiRenderer.java
ridge/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
ridge/src/android/os/SystemProperties_Delegate.java
reate/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
ridge/src/android/text/StaticLayout_Delegate.java
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
|
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
ridge/src/com/android/layoutlib/bridge/android/AndroidLocale.java
reate/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
reate/src/com/android/tools/layoutlib/create/ReplaceMethodCallsAdapter.java
|
1840e8f2c73570e7b51c66c03d3a50bd00f3f742 |
31-Jul-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Fix Delegates Change-Id: I2b6a6b679b7a5b2532b76b723155bc2763b70768
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/NinePatch_Delegate.java
ridge/src/android/graphics/Paint_Delegate.java
ridge/src/android/graphics/Shader_Delegate.java
ridge/src/android/text/format/Time_Delegate.java
ridge/src/android/view/accessibility/AccessibilityManager.java
ridge/src/libcore/icu/ICU_Delegate.java
|
d2a411840c58eaee05499bab0190e3f3656e2e84 |
31-Jul-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Fix LayoutLib Create tests. Change-Id: Ica3efe417d54da7dc74b21d28215199d37600744
reate/src/com/android/tools/layoutlib/create/AbstractClassAdapter.java
reate/src/com/android/tools/layoutlib/create/DependencyFinder.java
reate/src/com/android/tools/layoutlib/create/Main.java
reate/src/com/android/tools/layoutlib/create/OverrideMethod.java
reate/src/com/android/tools/layoutlib/create/RenameClassAdapter.java
reate/src/com/android/tools/layoutlib/create/StubMethodAdapter.java
reate/src/com/android/tools/layoutlib/create/TransformClassAdapter.java
reate/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
gitignore
idea/.name
idea/codeStyleSettings.xml
idea/compiler.xml
idea/copyright/Android.xml
idea/copyright/profiles_settings.xml
idea/encodings.xml
idea/inspectionProfiles/Project_Default.xml
idea/inspectionProfiles/profiles_settings.xml
idea/libraries/asm_4_0.xml
idea/libraries/framework_jar.xml
idea/libraries/guava.xml
idea/libraries/icu4j.xml
idea/libraries/kxml2_2_3_0.xml
idea/libraries/layoutlib_api_prebuilt.xml
idea/libraries/ninepatch_prebuilt.xml
idea/libraries/tools_common_prebuilt.xml
idea/misc.xml
idea/modules.xml
idea/runConfigurations/All_in_bridge.xml
idea/runConfigurations/All_in_create.xml
idea/runConfigurations/Create.xml
idea/scopes/scope_settings.xml
idea/uiDesigner.xml
idea/vcs.xml
ridge/.classpath
ridge/bridge.iml
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/tests/Android.mk
ridge/tests/res/testApp/MyApplication/.gitignore
ridge/tests/res/testApp/MyApplication/build.gradle
ridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/BuildConfig.class
ridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/MyActivity.class
ridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/R$attr.class
ridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/R$dimen.class
ridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/R$drawable.class
ridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/R$id.class
ridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/R$layout.class
ridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/R$menu.class
ridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/R$string.class
ridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/R$style.class
ridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/R.class
ridge/tests/res/testApp/MyApplication/gradle.properties
ridge/tests/res/testApp/MyApplication/gradle/wrapper/gradle-wrapper.jar
ridge/tests/res/testApp/MyApplication/gradle/wrapper/gradle-wrapper.properties
ridge/tests/res/testApp/MyApplication/gradlew
ridge/tests/res/testApp/MyApplication/gradlew.bat
ridge/tests/res/testApp/MyApplication/proguard-rules.pro
ridge/tests/res/testApp/MyApplication/src/androidTest/java/com/android/layoulib/test/myapplication/ApplicationTest.java
ridge/tests/res/testApp/MyApplication/src/main/AndroidManifest.xml
ridge/tests/res/testApp/MyApplication/src/main/java/com/android/layoutlib/test/myapplication/MyActivity.java
ridge/tests/res/testApp/MyApplication/src/main/res/drawable/ic_launcher.xml
ridge/tests/res/testApp/MyApplication/src/main/res/layout/activity.xml
ridge/tests/res/testApp/MyApplication/src/main/res/layout/layout.xml
ridge/tests/res/testApp/MyApplication/src/main/res/menu/my.xml
ridge/tests/res/testApp/MyApplication/src/main/res/values/dimens.xml
ridge/tests/res/testApp/MyApplication/src/main/res/values/strings.xml
ridge/tests/res/testApp/MyApplication/src/main/res/values/styles.xml
ridge/tests/src/android/graphics/Matrix_DelegateTest.java
ridge/tests/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParserTest.java
ridge/tests/src/com/android/layoutlib/bridge/intensive/Main.java
ridge/tests/src/com/android/layoutlib/bridge/intensive/setup/ConfigGenerator.java
ridge/tests/src/com/android/layoutlib/bridge/intensive/setup/LayoutLibTestCallback.java
ridge/tests/src/com/android/layoutlib/bridge/intensive/setup/LayoutPullParser.java
reate/create.iml
|
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
ridge/src/android/view/IWindowManagerImpl.java
|
72c60ab7d487c487806f0f20564693c2264fc99d |
31-Jul-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Fix classpath for AndroidLocale Change-Id: I9af9ac05ec26f12529d51e566bf38789a2579390
reate/src/com/android/tools/layoutlib/create/ReplaceMethodCallsAdapter.java
|
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
ridge/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)
reate/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)
reate/README.txt
reate/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
reate/src/com/android/tools/layoutlib/create/AsmGenerator.java
reate/src/com/android/tools/layoutlib/create/Main.java
reate/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]
|
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]
|
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]
|
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
ndroid.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
ridge/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
ridge/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
ridge/src/libcore/icu/ICU_Delegate.java
reate/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
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/PorterDuffColorFilter_Delegate.java
ridge/src/android/graphics/PorterDuffXfermode_Delegate.java
ridge/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)
ridge/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)
ridge/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)
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/PorterDuffColorFilter_Delegate.java
ridge/src/android/graphics/PorterDuffXfermode_Delegate.java
ridge/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)
ridge/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)
ridge/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
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.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
ndroid.mk
|
5cd9dde5a2a77c5095f985186d8f03147fd22870 |
15-Jul-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Support Locale.toLanguageTag on Java 6 Change-Id: I255e79e2c288cd24b350b7c26128bbbb0b2cb9a3
ridge/src/android/content/res/Resources_Delegate.java
ridge/src/com/android/layoutlib/bridge/android/AndroidLocale.java
reate/README.txt
reate/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
reate/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
ridge/src/android/view/IWindowManagerImpl.java
|
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
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
|
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)
ridge/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)
ridge/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)
ridge/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
reate/README.txt
reate/src/com/android/tools/layoutlib/create/AsmGenerator.java
reate/src/com/android/tools/layoutlib/create/DelegateClassAdapter.java
reate/src/com/android/tools/layoutlib/create/DelegateMethodAdapter.java
reate/src/com/android/tools/layoutlib/create/DelegateMethodAdapter2.java
reate/src/com/android/tools/layoutlib/create/Main.java
reate/src/com/android/tools/layoutlib/create/TransformClassAdapter.java
reate/tests/com/android/tools/layoutlib/create/DelegateClassAdapterTest.java
|
26e32ea559da98dcdebaefb74d4f3c1a5ce705c3 |
10-Jul-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Update delegates Change-Id: Icd93c31b4e8c8ee5ea242fb8295578937f48ff2a
ridge/src/android/content/res/BridgeTypedArray.java
ridge/src/android/graphics/Bitmap_Delegate.java
ridge/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
reate/README.txt
reate/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
reate/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
ridge/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
ridge/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)
ridge/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)
ridge/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)
ridge/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
ridge/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
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
|
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]
|
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]
|
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)
ename_font/build_font.py
ename_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)
ename_font/build_font.py
ename_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)
ename_font/build_font.py
ename_font/test.py
|
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
ridge/src/android/graphics/FontFamily_Delegate.java
ridge/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
ename_font/build_font.py
ename_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
ridge/src/com/android/layoutlib/bridge/android/BridgeWindow.java
ridge/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
ridge/src/android/graphics/BidiRenderer.java
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/Paint_Delegate.java
ridge/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
ridge/src/android/graphics/Canvas_Delegate.java
|
bb5d0cc4369590ce892cca2f717f5d5568c5f655 |
26-Jun-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Update LayoutLib delegates. Change-Id: I64828bfb963048effbc49a622f5f2aa0203665e6
ridge/src/android/graphics/Bitmap_Delegate.java
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/Path_Delegate.java
ridge/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
ridge/src/dalvik/system/VMRuntime_Delegate.java
reate/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
ridge/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
ridge/resources/bars/hdpi-v21/ic_sysbar_back.png
ridge/resources/bars/hdpi-v21/ic_sysbar_home.png
ridge/resources/bars/hdpi-v21/ic_sysbar_recent.png
ridge/resources/bars/hdpi/ic_sysbar_back.png
ridge/resources/bars/hdpi/ic_sysbar_home.png
ridge/resources/bars/hdpi/ic_sysbar_recent.png
ridge/resources/bars/hdpi/stat_sys_battery_charge_anim100.png
ridge/resources/bars/hdpi/stat_sys_wifi_signal_4_fully.png
ridge/resources/bars/hdpi/status_bar_background.9.png
ridge/resources/bars/ldrtl-hdpi-v21/ic_sysbar_back.png
ridge/resources/bars/ldrtl-hdpi/ic_sysbar_back.png
ridge/resources/bars/ldrtl-hdpi/ic_sysbar_recent.png
ridge/resources/bars/ldrtl-mdpi-v21/ic_sysbar_back.png
ridge/resources/bars/ldrtl-mdpi/ic_sysbar_back.png
ridge/resources/bars/ldrtl-mdpi/ic_sysbar_recent.png
ridge/resources/bars/ldrtl-xhdpi-v21/ic_sysbar_back.png
ridge/resources/bars/ldrtl-xhdpi/ic_sysbar_back.png
ridge/resources/bars/ldrtl-xhdpi/ic_sysbar_recent.png
ridge/resources/bars/mdpi-v21/ic_sysbar_back.png
ridge/resources/bars/mdpi-v21/ic_sysbar_home.png
ridge/resources/bars/mdpi-v21/ic_sysbar_recent.png
ridge/resources/bars/mdpi/ic_sysbar_back.png
ridge/resources/bars/mdpi/ic_sysbar_home.png
ridge/resources/bars/mdpi/ic_sysbar_recent.png
ridge/resources/bars/mdpi/stat_sys_battery_charge_anim100.png
ridge/resources/bars/mdpi/stat_sys_wifi_signal_4_fully.png
ridge/resources/bars/mdpi/status_bar_background.9.png
ridge/resources/bars/v11/README
ridge/resources/bars/v11/hdpi/ic_sysbar_back.png
ridge/resources/bars/v11/hdpi/ic_sysbar_home.png
ridge/resources/bars/v11/hdpi/ic_sysbar_recent.png
ridge/resources/bars/v11/ldrtl-hdpi/ic_sysbar_back.png
ridge/resources/bars/v11/ldrtl-hdpi/ic_sysbar_recent.png
ridge/resources/bars/v11/ldrtl-mdpi/ic_sysbar_back.png
ridge/resources/bars/v11/ldrtl-mdpi/ic_sysbar_recent.png
ridge/resources/bars/v11/ldrtl-xhdpi/ic_sysbar_back.png
ridge/resources/bars/v11/ldrtl-xhdpi/ic_sysbar_recent.png
ridge/resources/bars/v11/mdpi/ic_sysbar_back.png
ridge/resources/bars/v11/mdpi/ic_sysbar_home.png
ridge/resources/bars/v11/mdpi/ic_sysbar_recent.png
ridge/resources/bars/v11/xhdpi/ic_sysbar_back.png
ridge/resources/bars/v11/xhdpi/ic_sysbar_home.png
ridge/resources/bars/v11/xhdpi/ic_sysbar_recent.png
ridge/resources/bars/v21/hdpi/ic_sysbar_back.png
ridge/resources/bars/v21/hdpi/ic_sysbar_home.png
ridge/resources/bars/v21/hdpi/ic_sysbar_recent.png
ridge/resources/bars/v21/hdpi/stat_sys_battery_charge_anim100.png
ridge/resources/bars/v21/hdpi/stat_sys_wifi_signal_4_fully.png
ridge/resources/bars/v21/hdpi/status_bar_background.9.png
ridge/resources/bars/v21/ldrtl-hdpi/ic_sysbar_back.png
ridge/resources/bars/v21/ldrtl-mdpi/ic_sysbar_back.png
ridge/resources/bars/v21/ldrtl-xhdpi/ic_sysbar_back.png
ridge/resources/bars/v21/ldrtl-xxhdpi/ic_sysbar_back.png
ridge/resources/bars/v21/mdpi/ic_sysbar_back.png
ridge/resources/bars/v21/mdpi/ic_sysbar_home.png
ridge/resources/bars/v21/mdpi/ic_sysbar_recent.png
ridge/resources/bars/v21/mdpi/stat_sys_battery_charge_anim100.png
ridge/resources/bars/v21/mdpi/stat_sys_wifi_signal_4_fully.png
ridge/resources/bars/v21/mdpi/status_bar_background.9.png
ridge/resources/bars/v21/xhdpi/ic_sysbar_back.png
ridge/resources/bars/v21/xhdpi/ic_sysbar_home.png
ridge/resources/bars/v21/xhdpi/ic_sysbar_recent.png
ridge/resources/bars/v21/xhdpi/stat_sys_battery_charge_anim100.png
ridge/resources/bars/v21/xhdpi/stat_sys_wifi_signal_4_fully.png
ridge/resources/bars/v21/xxhdpi/ic_sysbar_back.png
ridge/resources/bars/v21/xxhdpi/ic_sysbar_home.png
ridge/resources/bars/v21/xxhdpi/ic_sysbar_recent.png
ridge/resources/bars/xhdpi-v21/ic_sysbar_back.png
ridge/resources/bars/xhdpi-v21/ic_sysbar_home.png
ridge/resources/bars/xhdpi-v21/ic_sysbar_recent.png
ridge/resources/bars/xhdpi/ic_sysbar_back.png
ridge/resources/bars/xhdpi/ic_sysbar_home.png
ridge/resources/bars/xhdpi/ic_sysbar_recent.png
ridge/resources/bars/xhdpi/stat_sys_battery_charge_anim100.png
ridge/resources/bars/xhdpi/stat_sys_wifi_signal_4_fully.png
ridge/src/com/android/layoutlib/bridge/bars/Config.java
ridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ridge/src/com/android/layoutlib/bridge/bars/StatusBar.java
ridge/src/com/android/layoutlib/bridge/impl/Config.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
|
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
ridge/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.
|
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
ridge/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
ridge/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
ridge/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
ridge/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
ridge/resources/bars/hdpi-v21/ic_sysbar_back.png
ridge/resources/bars/hdpi-v21/ic_sysbar_home.png
ridge/resources/bars/hdpi-v21/ic_sysbar_recent.png
ridge/resources/bars/hdpi/ic_sysbar_back.png
ridge/resources/bars/hdpi/ic_sysbar_home.png
ridge/resources/bars/hdpi/ic_sysbar_recent.png
ridge/resources/bars/ldrtl-hdpi-v21/ic_sysbar_back.png
ridge/resources/bars/ldrtl-hdpi/ic_sysbar_back.png
ridge/resources/bars/ldrtl-hdpi/ic_sysbar_recent.png
ridge/resources/bars/ldrtl-mdpi-v21/ic_sysbar_back.png
ridge/resources/bars/ldrtl-mdpi/ic_sysbar_back.png
ridge/resources/bars/ldrtl-mdpi/ic_sysbar_recent.png
ridge/resources/bars/ldrtl-xhdpi-v21/ic_sysbar_back.png
ridge/resources/bars/ldrtl-xhdpi/ic_sysbar_back.png
ridge/resources/bars/ldrtl-xhdpi/ic_sysbar_recent.png
ridge/resources/bars/mdpi-v21/ic_sysbar_back.png
ridge/resources/bars/mdpi-v21/ic_sysbar_home.png
ridge/resources/bars/mdpi-v21/ic_sysbar_recent.png
ridge/resources/bars/mdpi/ic_sysbar_back.png
ridge/resources/bars/mdpi/ic_sysbar_home.png
ridge/resources/bars/mdpi/ic_sysbar_recent.png
ridge/resources/bars/xhdpi-v21/ic_sysbar_back.png
ridge/resources/bars/xhdpi-v21/ic_sysbar_home.png
ridge/resources/bars/xhdpi-v21/ic_sysbar_recent.png
ridge/resources/bars/xhdpi/ic_sysbar_back.png
ridge/resources/bars/xhdpi/ic_sysbar_home.png
ridge/resources/bars/xhdpi/ic_sysbar_recent.png
ridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ridge/src/com/android/layoutlib/bridge/bars/NavigationBar.java
ridge/src/com/android/layoutlib/bridge/bars/StatusBar.java
ridge/src/com/android/layoutlib/bridge/bars/TitleBar.java
ridge/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
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/ColorFilter_Delegate.java
ridge/src/android/graphics/ColorMatrixColorFilter_Delegate.java
ridge/src/android/graphics/LightingColorFilter_Delegate.java
ridge/src/android/graphics/Paint_Delegate.java
ridge/src/android/graphics/PorterDuffColorFilter_Delegate.java
ridge/src/android/graphics/PorterDuffXfermode_Delegate.java
ridge/src/com/android/layoutlib/bridge/impl/GcSnapshot.java
ridge/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
ridge/src/android/view/SurfaceView.java
ridge/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
ndroid.mk
|
17f6f35f90e589becebc9dd2f43f324bd501fd18 |
19-Jun-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Material navigation bar for layoutlib. Change-Id: Id65600e5f4ffb3cd0f90c3c710f88d9b668f754f
ridge/resources/bars/hdpi/ic_sysbar_back.png
ridge/resources/bars/hdpi/ic_sysbar_home.png
ridge/resources/bars/hdpi/ic_sysbar_recent.png
ridge/resources/bars/ldrtl-hdpi/ic_sysbar_back.png
ridge/resources/bars/ldrtl-hdpi/ic_sysbar_recent.png
ridge/resources/bars/ldrtl-mdpi/ic_sysbar_back.png
ridge/resources/bars/ldrtl-mdpi/ic_sysbar_recent.png
ridge/resources/bars/ldrtl-xhdpi/ic_sysbar_back.png
ridge/resources/bars/ldrtl-xhdpi/ic_sysbar_recent.png
ridge/resources/bars/mdpi/ic_sysbar_back.png
ridge/resources/bars/mdpi/ic_sysbar_home.png
ridge/resources/bars/mdpi/ic_sysbar_recent.png
ridge/resources/bars/xhdpi/ic_sysbar_back.png
ridge/resources/bars/xhdpi/ic_sysbar_home.png
ridge/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]
|
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
|
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)
ename_font/README
ename_font/Roboto-Regular.ttf
ename_font/build_font.py
ename_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)
ename_font/README
ename_font/Roboto-Regular.ttf
ename_font/build_font.py
ename_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
ename_font/README
ename_font/Roboto-Regular.ttf
ename_font/build_font.py
ename_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
ridge/src/android/graphics/Paint_Delegate.java
ridge/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
ridge/src/android/graphics/BitmapFactory_Delegate.java
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/LightingColorFilter_Delegate.java
ridge/src/android/graphics/Matrix_Delegate.java
ridge/src/android/graphics/Paint_Delegate.java
ridge/src/android/graphics/Path_Delegate.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/libcore/icu/ICU_Delegate.java
|
a3874f0ac649a865d6ad7a8a032f57539bd0d0c3 |
13-Jun-2014 |
Ji-Hwan Lee <jihwan@google.com> |
LayoutLib: Fix broken sdk builds Change-Id: I301b312195eb3e57cb581d015e7c0b0492084b3e
ridge/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
reate/README.txt
reate/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
reate/src/com/android/tools/layoutlib/create/AsmGenerator.java
reate/src/com/android/tools/layoutlib/create/Main.java
reate/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
ename_font/build_font.py
ename_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
ridge/src/android/view/BridgeInflater.java
ridge/src/android/view/MenuInflater_Delegate.java
ridge/src/com/android/internal/view/menu/BridgeMenuItemImpl.java
|
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
ridge/src/com/android/layoutlib/bridge/android/BridgeIInputMethodManager.java
|
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
ndroid.mk
ridge/Android.mk
|
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
ridge/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
ridge/src/android/view/IWindowManagerImpl.java
|
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)
ndroid.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
ridge/src/android/graphics/Canvas_Delegate.java
ridge/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
ridge/src/android/graphics/FontFamily_Delegate.java
ridge/src/android/graphics/Paint_Delegate.java
ridge/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
ridge/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
ridge/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
ridge/src/com/android/layoutlib/bridge/bars/StatusBar.java
ridge/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]
|
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]
|
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]
|
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)
ridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ridge/src/com/android/layoutlib/bridge/impl/SystemViewInfo.java
|
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
|
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
ridge/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
|
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]
|
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]
|
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]
|
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
ridge/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
ridge/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)
ridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ridge/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)
ridge/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)
ridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ridge/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)
ridge/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
ridge/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
ridge/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)
ridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ridge/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)
ridge/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)
ridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ridge/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)
ridge/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
ridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ridge/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
ridge/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
ridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
|
8c9360f3aace9a6b158b0257655925d08d75fa02 |
29-May-2014 |
Brian Carlstrom <bdc@google.com> |
Tracking IWindowManager change 2ea3814083f27567ae07a1b449da3d596dd4d9d5 Change-Id: I6945cc9b4be174b55173ac2081edc5ee1bee6e67
ridge/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
ridge/src/android/content/res/BridgeTypedArray.java
ridge/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
ridge/src/com/android/layoutlib/bridge/bars/StatusBar.java
ridge/src/com/android/layoutlib/bridge/impl/Config.java
ridge/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
ridge/src/android/graphics/FontFamily_Delegate.java
ridge/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
ridge/src/android/graphics/BitmapShader_Delegate.java
ridge/src/android/graphics/ComposeShader_Delegate.java
ridge/src/android/graphics/LinearGradient_Delegate.java
ridge/src/android/graphics/RadialGradient_Delegate.java
ridge/src/android/graphics/Shader_Delegate.java
ridge/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)
ridge/src/android/content/res/Resources_Theme_Delegate.java
ridge/src/android/content/res/TypedArray_Delegate.java
ridge/src/android/graphics/BidiRenderer.java
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/FontFamily_Delegate.java
ridge/src/android/graphics/Matrix_Delegate.java
ridge/src/android/graphics/Paint_Delegate.java
ridge/src/android/graphics/Typeface_Delegate.java
ridge/src/android/util/Xml_Delegate.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/impl/FontLoader.java
reate/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)
ename_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)
ename_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)
ename_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
ename_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
ename_font/build_font.py
|
cba9fb915f6bd06fffdca5412132874529d9718c |
20-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Add multiple dir support to build_font.py Change-Id: I705d3fbad688a0db309d3062463bf206442b2709
ename_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
ridge/src/android/content/res/Resources_Theme_Delegate.java
ridge/src/android/content/res/TypedArray_Delegate.java
ridge/src/android/graphics/BidiRenderer.java
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/FontFamily_Delegate.java
ridge/src/android/graphics/Matrix_Delegate.java
ridge/src/android/graphics/Paint_Delegate.java
ridge/src/android/graphics/Typeface_Delegate.java
ridge/src/android/util/Xml_Delegate.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/impl/FontLoader.java
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
|
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
ridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java
|
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
ridge/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
ename_font/README
ename_font/Roboto-Regular.ttf
ename_font/build_font.py
ename_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
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
|
6376c407d433c91174e4cef735ddb0014461a906 |
15-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Layoutlib: Update delegates for L Update delegate method signatures for L. Change-Id: Ie607293bcae60b2d3a61d1cad3ac5f04bda2a238
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/Paint_Delegate.java
ridge/src/android/graphics/Path_Delegate.java
ridge/src/android/os/Build_Delegate.java
ridge/src/android/os/SystemProperties_Delegate.java
reate/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
|
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
|
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
|
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
ridge/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
ridge/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]
|
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]
|
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]
|
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]
|
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]
|
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
|
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]
|
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]
|
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
reate/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]
|
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]
|
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]
|
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]
|
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]
|
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
ridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
ridge/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)
ridge/src/com/android/internal/view/menu/BridgeMenuItemImpl.java
ridge/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)
ridge/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)
ridge/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)
ridge/src/android/view/BridgeInflater.java
ridge/src/android/view/MenuInflater_Delegate.java
ridge/src/com/android/internal/view/menu/BridgeMenuItemImpl.java
ridge/src/com/android/internal/view/menu/MenuBuilder_Delegate.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
reate/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)
ridge/resources/bars/action_bar.xml
ridge/src/com/android/internal/view/menu/MenuBuilderAccessor.java
ridge/src/com/android/internal/widget/ActionBarAccessor.java
ridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
ridge/src/com/android/layoutlib/bridge/bars/OverflowMenuAdapter.java
ridge/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
ridge/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)
ridge/resources/bars/action_bar.xml
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/BridgeRenderSession.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
ridge/src/com/android/layoutlib/bridge/bars/FakeActionBar.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
ridge/src/com/android/layoutlib/bridge/impl/SystemViewInfo.java
reate/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)
ridge/src/android/content/res/AssetManager_Delegate.java
ridge/src/android/content/res/Resources_Theme_Delegate.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
reate/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)
reate/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
reate/tests/com/android/tools/layoutlib/create/AsmAnalyzerTest.java
reate/tests/data/mock_android.jar
reate/tests/mock_data/mock_android/util/EmptyArray.java
reate/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)
ridge/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)
ridge/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)
ridge/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)
ridge/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)
ridge/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)
ridge/src/android/text/format/Time_Delegate.java
reate/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)
ridge/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)
ridge/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)
reate/.classpath
reate/README.txt
reate/src/com/android/tools/layoutlib/create/AbstractClassAdapter.java
reate/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
reate/src/com/android/tools/layoutlib/create/AsmGenerator.java
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
reate/src/com/android/tools/layoutlib/create/ICreateInfo.java
reate/src/com/android/tools/layoutlib/create/Main.java
reate/src/com/android/tools/layoutlib/create/RefactorClassAdapter.java
reate/src/com/android/tools/layoutlib/create/RenameClassAdapter.java
reate/src/com/android/tools/layoutlib/java/AutoCloseable.java
reate/src/com/android/tools/layoutlib/java/Charsets.java
reate/src/com/android/tools/layoutlib/java/IntegralToString.java
reate/src/com/android/tools/layoutlib/java/ModifiedUtf8.java
reate/src/com/android/tools/layoutlib/java/UnsafeByteSequence.java
reate/tests/com/android/tools/layoutlib/create/AsmAnalyzerTest.java
reate/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
reate/tests/com/android/tools/layoutlib/create/RenameClassAdapterTest.java
reate/tests/com/android/tools/layoutlib/create/dataclass/JavaClass.java
reate/tests/data/mock_android.jar
reate/tests/data/mock_android.jardesc
reate/tests/mock_android/dummy/InnerTest.java
reate/tests/mock_android/view/View.java
reate/tests/mock_android/view/ViewGroup.java
reate/tests/mock_android/widget/LinearLayout.java
reate/tests/mock_android/widget/TableLayout.java
reate/tests/mock_data/java/lang/JavaClass.java
reate/tests/mock_data/mock_android/dummy/InnerTest.java
reate/tests/mock_data/mock_android/view/View.java
reate/tests/mock_data/mock_android/view/ViewGroup.java
reate/tests/mock_data/mock_android/widget/LinearLayout.java
reate/tests/mock_data/mock_android/widget/TableLayout.java
|
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)
ridge/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)
ridge/resources/bars/hdpi/stat_sys_battery_charge_anim100.png
ridge/resources/bars/hdpi/stat_sys_wifi_signal_4_fully.png
ridge/resources/bars/mdpi/stat_sys_battery_charge_anim100.png
ridge/resources/bars/mdpi/stat_sys_wifi_signal_4_fully.png
ridge/resources/bars/status_bar.xml
ridge/resources/bars/xhdpi/stat_sys_battery_charge_anim100.png
ridge/resources/bars/xhdpi/stat_sys_wifi_signal_4_fully.png
ridge/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)
ridge/src/android/text/format/Time_Delegate.java
reate/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)
ridge/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)
ridge/src/com/android/layoutlib/bridge/impl/binding/AdapterHelper.java
ridge/src/com/android/layoutlib/bridge/impl/binding/AdapterItem.java
ridge/src/com/android/layoutlib/bridge/impl/binding/BaseAdapter.java
ridge/src/com/android/layoutlib/bridge/impl/binding/FakeAdapter.java
ridge/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)
ridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
|
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)
ridge/src/com/android/internal/view/menu/BridgeMenuItemImpl.java
ridge/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)
ridge/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)
ridge/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)
ridge/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)
ridge/src/android/view/BridgeInflater.java
ridge/src/android/view/MenuInflater_Delegate.java
ridge/src/com/android/internal/view/menu/BridgeMenuItemImpl.java
ridge/src/com/android/internal/view/menu/MenuBuilder_Delegate.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
reate/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)
ridge/src/com/android/internal/view/menu/BridgeMenuItemImpl.java
ridge/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)
ridge/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)
ridge/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)
ridge/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)
ridge/src/android/view/BridgeInflater.java
ridge/src/android/view/MenuInflater_Delegate.java
ridge/src/com/android/internal/view/menu/BridgeMenuItemImpl.java
ridge/src/com/android/internal/view/menu/MenuBuilder_Delegate.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
reate/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)
ridge/resources/bars/action_bar.xml
ridge/src/com/android/internal/view/menu/MenuBuilderAccessor.java
ridge/src/com/android/internal/widget/ActionBarAccessor.java
ridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
ridge/src/com/android/layoutlib/bridge/bars/OverflowMenuAdapter.java
ridge/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)
ridge/resources/bars/action_bar.xml
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/BridgeRenderSession.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
ridge/src/com/android/layoutlib/bridge/bars/FakeActionBar.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
ridge/src/com/android/layoutlib/bridge/impl/SystemViewInfo.java
reate/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)
ndroid.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)
ridge/src/android/content/res/AssetManager_Delegate.java
ridge/src/android/content/res/Resources_Theme_Delegate.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
reate/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
reate/README.txt
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
reate/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)
reate/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
reate/src/com/android/tools/layoutlib/create/DependencyFinder.java
reate/tests/com/android/tools/layoutlib/create/AsmAnalyzerTest.java
reate/tests/data/mock_android.jar
reate/tests/mock_data/mock_android/util/EmptyArray.java
reate/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)
ridge/src/android/graphics/Bitmap_Delegate.java
ridge/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]
|
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]
|
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)
ndroid.mk
reate/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
reate/src/com/android/tools/layoutlib/create/AsmGenerator.java
reate/src/com/android/tools/layoutlib/create/Main.java
reate/tests/com/android/tools/layoutlib/create/AsmAnalyzerTest.java
reate/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
reate/tests/data/mock_android.jar
reate/tests/mock_data/mock_android/data/anotherDataFile
reate/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)
ridge/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)
ridge/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)
ridge/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)
ridge/src/android/graphics/BidiRenderer.java
ridge/src/android/graphics/Canvas_Delegate.java
ridge/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)
ridge/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)
ridge/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)
ridge/src/android/text/format/Time_Delegate.java
reate/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)
ndroid.mk
reate/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)
ridge/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)
ridge/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)
reate/.classpath
reate/README.txt
reate/src/com/android/tools/layoutlib/create/AbstractClassAdapter.java
reate/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
reate/src/com/android/tools/layoutlib/create/AsmGenerator.java
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
reate/src/com/android/tools/layoutlib/create/ICreateInfo.java
reate/src/com/android/tools/layoutlib/create/Main.java
reate/src/com/android/tools/layoutlib/create/RefactorClassAdapter.java
reate/src/com/android/tools/layoutlib/create/RenameClassAdapter.java
reate/src/com/android/tools/layoutlib/java/AutoCloseable.java
reate/src/com/android/tools/layoutlib/java/IntegralToString.java
reate/src/com/android/tools/layoutlib/java/ModifiedUtf8.java
reate/src/com/android/tools/layoutlib/java/UnsafeByteSequence.java
reate/tests/com/android/tools/layoutlib/create/AsmAnalyzerTest.java
reate/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
reate/tests/com/android/tools/layoutlib/create/RenameClassAdapterTest.java
reate/tests/com/android/tools/layoutlib/create/dataclass/JavaClass.java
reate/tests/data/mock_android.jar
reate/tests/data/mock_android.jardesc
reate/tests/mock_android/dummy/InnerTest.java
reate/tests/mock_android/view/View.java
reate/tests/mock_android/view/ViewGroup.java
reate/tests/mock_android/widget/LinearLayout.java
reate/tests/mock_android/widget/TableLayout.java
reate/tests/mock_data/java/lang/JavaClass.java
reate/tests/mock_data/mock_android/dummy/InnerTest.java
reate/tests/mock_data/mock_android/view/View.java
reate/tests/mock_data/mock_android/view/ViewGroup.java
reate/tests/mock_data/mock_android/widget/LinearLayout.java
reate/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)
ridge/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)
ridge/resources/bars/hdpi/stat_sys_battery_charge_anim100.png
ridge/resources/bars/hdpi/stat_sys_wifi_signal_4_fully.png
ridge/resources/bars/mdpi/stat_sys_battery_charge_anim100.png
ridge/resources/bars/mdpi/stat_sys_wifi_signal_4_fully.png
ridge/resources/bars/status_bar.xml
ridge/resources/bars/xhdpi/stat_sys_battery_charge_anim100.png
ridge/resources/bars/xhdpi/stat_sys_wifi_signal_4_fully.png
ridge/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)
ridge/src/android/text/format/Time_Delegate.java
reate/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)
ridge/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)
ridge/src/com/android/layoutlib/bridge/impl/binding/AdapterHelper.java
ridge/src/com/android/layoutlib/bridge/impl/binding/AdapterItem.java
ridge/src/com/android/layoutlib/bridge/impl/binding/BaseAdapter.java
ridge/src/com/android/layoutlib/bridge/impl/binding/FakeAdapter.java
ridge/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)
ridge/src/android/graphics/BidiRenderer.java
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/Paint_Delegate.java
ridge/src/android/text/AndroidBidi_Delegate.java
ridge/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)
ridge/.classpath
ridge/Android.mk
ridge/resources/bars/ldrtl-hdpi/ic_sysbar_back.png
ridge/resources/bars/ldrtl-hdpi/ic_sysbar_recent.png
ridge/resources/bars/ldrtl-mdpi/ic_sysbar_back.png
ridge/resources/bars/ldrtl-mdpi/ic_sysbar_recent.png
ridge/resources/bars/ldrtl-xhdpi/ic_sysbar_back.png
ridge/resources/bars/ldrtl-xhdpi/ic_sysbar_recent.png
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ridge/src/com/android/layoutlib/bridge/bars/NavigationBar.java
ridge/src/com/android/layoutlib/bridge/bars/StatusBar.java
ridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
ridge/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)
ridge/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)
ridge/src/com/android/internal/view/menu/BridgeMenuItemImpl.java
ridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
|
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
ridge/src/com/android/internal/view/menu/BridgeMenuItemImpl.java
ridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
|
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]
|
4b5fa4d318e7efaffdc678e0cb8953ffc78c2b1e |
30-Apr-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Fix class name for OverflowMenuButton [DO NOT MERGE] Change-Id: Ie3e709e7aadb2193397df8befef0c55624d7e4e3
ridge/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)
ridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
|
293513a59d36cd96a3e474dde5981380d372d8c9 |
30-Apr-2014 |
Bill Yi <byi@google.com> |
Merge commit '0b62467b142b61ee1e449ba958ba37dfd961ef56' into HEAD
|
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)
ridge/src/android/graphics/Bitmap_Delegate.java
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/Paint_Delegate.java
ridge/src/android/os/Looper_Accessor.java
ridge/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)
ridge/resources/bars/action_bar.xml
ridge/src/com/android/internal/view/menu/MenuBuilderAccessor.java
ridge/src/com/android/internal/widget/ActionBarAccessor.java
ridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
ridge/src/com/android/layoutlib/bridge/bars/OverflowMenuAdapter.java
ridge/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)
ridge/resources/bars/action_bar.xml
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/BridgeRenderSession.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
ridge/src/com/android/layoutlib/bridge/bars/FakeActionBar.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
ridge/src/com/android/layoutlib/bridge/impl/SystemViewInfo.java
reate/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)
ridge/src/android/content/res/AssetManager_Delegate.java
ridge/src/android/content/res/Resources_Theme_Delegate.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
reate/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)
ndroid.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)
reate/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
reate/src/com/android/tools/layoutlib/create/DependencyFinder.java
reate/tests/com/android/tools/layoutlib/create/AsmAnalyzerTest.java
reate/tests/data/mock_android.jar
reate/tests/mock_data/mock_android/util/EmptyArray.java
reate/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)
ridge/src/android/graphics/Bitmap_Delegate.java
ridge/src/android/graphics/Region_Delegate.java
ridge/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)
reate/README.txt
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
reate/src/com/android/tools/layoutlib/java/Objects.java
|
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
ridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
|
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
ridge/src/android/view/MenuInflater_Delegate.java
reate/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)
ridge/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)
ridge/src/android/view/BridgeInflater.java
ridge/src/android/view/MenuInflater_Delegate.java
ridge/src/com/android/internal/view/menu/BridgeMenuItemImpl.java
ridge/src/com/android/internal/view/menu/MenuBuilder_Delegate.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
reate/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)
reate/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
reate/src/com/android/tools/layoutlib/create/DependencyFinder.java
reate/tests/com/android/tools/layoutlib/create/AsmAnalyzerTest.java
reate/tests/data/mock_android.jar
reate/tests/mock_data/mock_android/util/EmptyArray.java
reate/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
ridge/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
ridge/src/android/view/BridgeInflater.java
ridge/src/android/view/MenuInflater_Delegate.java
ridge/src/com/android/internal/view/menu/BridgeMenuItemImpl.java
ridge/src/com/android/internal/view/menu/MenuBuilder_Delegate.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
reate/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
ridge/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
ridge/src/android/graphics/Matrix_Delegate.java
|
311efc146cb68490aadd52f579cf2570012b8c59 |
19-Apr-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Merge "Add DisplayManager service to BridgeContext"
|
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
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
|
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
ridge/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
ridge/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]
|
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
ridge/src/android/graphics/Bitmap_Delegate.java
ridge/src/android/graphics/Region_Delegate.java
ridge/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
ridge/src/android/content/res/AssetManager_Delegate.java
ridge/src/android/content/res/Resources_Theme_Delegate.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
reate/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)
ridge/resources/bars/action_bar.xml
ridge/src/com/android/internal/view/menu/MenuBuilderAccessor.java
ridge/src/com/android/internal/widget/ActionBarAccessor.java
ridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
ridge/src/com/android/layoutlib/bridge/bars/OverflowMenuAdapter.java
ridge/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)
ridge/resources/bars/action_bar.xml
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/BridgeRenderSession.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
ridge/src/com/android/layoutlib/bridge/bars/FakeActionBar.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
ridge/src/com/android/layoutlib/bridge/impl/SystemViewInfo.java
reate/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)
reate/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
ridge/resources/bars/action_bar.xml
ridge/src/com/android/internal/widget/ActionBarAccessor.java
ridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
ridge/src/com/android/layoutlib/bridge/bars/OverflowMenuAdapter.java
ridge/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
ridge/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
ridge/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
ridge/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
ridge/resources/bars/action_bar.xml
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/BridgeRenderSession.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/bars/ActionBarLayout.java
ridge/src/com/android/layoutlib/bridge/bars/FakeActionBar.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
ridge/src/com/android/layoutlib/bridge/impl/SystemViewInfo.java
reate/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)
reate/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
|
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
reate/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
reate/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
reate/.classpath
reate/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
ridge/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
ridge/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
ridge/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
ridge/src/android/content/res/AssetManager_Delegate.java
ridge/src/android/content/res/Resources_Theme_Delegate.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
|
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
ridge/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
ridge/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
reate/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
reate/src/com/android/tools/layoutlib/create/DependencyFinder.java
reate/tests/com/android/tools/layoutlib/create/AsmAnalyzerTest.java
reate/tests/data/mock_android.jar
reate/tests/mock_data/mock_android/util/EmptyArray.java
reate/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)
ndroid.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
ndroid.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)
ridge/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)
ridge/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)
ridge/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)
ridge/src/android/text/format/Time_Delegate.java
reate/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)
ridge/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)
ridge/src/android/graphics/BidiRenderer.java
ridge/src/android/graphics/Canvas_Delegate.java
ridge/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)
ridge/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)
ndroid.mk
reate/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
reate/src/com/android/tools/layoutlib/create/AsmGenerator.java
reate/src/com/android/tools/layoutlib/create/Main.java
reate/tests/com/android/tools/layoutlib/create/AsmAnalyzerTest.java
reate/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
reate/tests/data/mock_android.jar
reate/tests/mock_data/mock_android/data/anotherDataFile
reate/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)
ndroid.mk
reate/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)
ridge/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)
ridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
ridge/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)
ridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
|
776abc24cdd18610232a50b997cce3cffa74609b |
07-Mar-2014 |
Adam Lesinski <adamlesinski@google.com> |
Uses VMRuntime.newUnpaddedArray for ideal array sizes Bug:13028925 Change-Id: I0a9301248b10a339afbdc5e4ffe3310ac4fa1fb7
ridge/src/com/android/layoutlib/bridge/util/SparseWeakArray.java
|
852472d9aa39eb4591eac43487ac3e0944e1daf6 |
24-Mar-2014 |
Dianne Hackborn <hackbod@google.com> |
Fix build. Change-Id: I1dd79e932a551bd537d2c71e8fca29a299c9312f
ridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java
|
1a5255d5475eaaf620078c60b0dddbf2657fcf27 |
20-Mar-2014 |
Svetoslav <svetoslavganov@google.com> |
Fixing yet another build breackage Change-Id: I83597d5433fc6cc380d5ec1dd6f78e115e76db5b
ridge/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
ridge/src/android/graphics/Path_Delegate.java
ridge/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
ridge/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
|
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
|
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
ridge/src/android/graphics/BitmapFactory_Delegate.java
ridge/src/android/graphics/Bitmap_Delegate.java
ridge/src/android/graphics/NinePatch_Delegate.java
ridge/src/android/graphics/Path_Delegate.java
ridge/src/libcore/icu/DateIntervalFormat_Delegate.java
ridge/src/libcore/icu/ICU_Delegate.java
|
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
ridge/.classpath
|
84cd55e8bc67b5dc9e834b4691b710c6f133d493 |
26-Feb-2014 |
Jeff Davidson <jpd@google.com> |
Fix SDK build broken by ag/423985 Change-Id: I85480683531468b7a8a83749d9366f5cc334bd24
ridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java
|
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
reate/src/com/android/tools/layoutlib/create/Main.java
|
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
ridge/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
ridge/src/android/animation/PropertyValuesHolder_Delegate.java
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/Paint_Delegate.java
ridge/src/android/graphics/Path_Delegate.java
ridge/src/android/graphics/Region_Delegate.java
ridge/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]
|
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)
ridge/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)
ridge/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
ridge/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
ridge/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
ridge/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
ridge/src/android/graphics/ColorFilter_Delegate.java
ridge/src/android/graphics/ColorMatrixColorFilter_Delegate.java
ridge/src/android/graphics/LightingColorFilter_Delegate.java
ridge/src/android/graphics/Path_Delegate.java
ridge/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
ridge/src/android/content/res/BridgeTypedArray.java
ridge/src/android/content/res/Resources_Delegate.java
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
|
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.
|
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.
|
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
ridge/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.
|
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
ridge/src/android/graphics/NinePatch_Delegate.java
|
edc4664d60af1f124d05f0a2b6ba58b837630f51 |
01-Feb-2014 |
Alan Viverette <alanv@google.com> |
Fix broken build in BridgeResources Change-Id: Iec58a2acda6b9538bcb5974d3d5c45ea6e53eac5
ridge/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
ridge/src/android/text/format/Time_Delegate.java
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
|
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.
|
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
ridge/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
ridge/src/android/animation/PropertyValuesHolder_Delegate.java
ridge/src/android/graphics/Bitmap_Delegate.java
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/ColorFilter_Delegate.java
ridge/src/android/graphics/Matrix_Delegate.java
ridge/src/android/graphics/Path_Delegate.java
ridge/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
ndroid.mk
ridge/src/android/graphics/BitmapFactory_Delegate.java
ridge/src/android/graphics/Bitmap_Delegate.java
ridge/src/android/graphics/NinePatch_Delegate.java
ridge/src/android/graphics/Path_Delegate.java
ridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
ridge/src/libcore/icu/DateIntervalFormat_Delegate.java
ridge/src/libcore/icu/ICU_Delegate.java
reate/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
ridge/src/android/graphics/BitmapFactory_Delegate.java
ridge/src/android/graphics/Canvas_Delegate.java
ridge/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
ridge/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>
ridge/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
ridge/src/android/graphics/AvoidXfermode_Delegate.java
ridge/src/android/graphics/BitmapShader_Delegate.java
ridge/src/android/graphics/Bitmap_Delegate.java
ridge/src/android/graphics/BlurMaskFilter_Delegate.java
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/ColorFilter_Delegate.java
ridge/src/android/graphics/ColorMatrixColorFilter_Delegate.java
ridge/src/android/graphics/ComposePathEffect_Delegate.java
ridge/src/android/graphics/ComposeShader_Delegate.java
ridge/src/android/graphics/CornerPathEffect_Delegate.java
ridge/src/android/graphics/DashPathEffect_Delegate.java
ridge/src/android/graphics/DiscretePathEffect_Delegate.java
ridge/src/android/graphics/DrawFilter_Delegate.java
ridge/src/android/graphics/EmbossMaskFilter_Delegate.java
ridge/src/android/graphics/LayerRasterizer_Delegate.java
ridge/src/android/graphics/LightingColorFilter_Delegate.java
ridge/src/android/graphics/LinearGradient_Delegate.java
ridge/src/android/graphics/MaskFilter_Delegate.java
ridge/src/android/graphics/Matrix_Delegate.java
ridge/src/android/graphics/NinePatch_Delegate.java
ridge/src/android/graphics/PaintFlagsDrawFilter_Delegate.java
ridge/src/android/graphics/Paint_Delegate.java
ridge/src/android/graphics/PathDashPathEffect_Delegate.java
ridge/src/android/graphics/PathEffect_Delegate.java
ridge/src/android/graphics/Path_Delegate.java
ridge/src/android/graphics/PixelXorXfermode_Delegate.java
ridge/src/android/graphics/PorterDuffColorFilter_Delegate.java
ridge/src/android/graphics/PorterDuffXfermode_Delegate.java
ridge/src/android/graphics/RadialGradient_Delegate.java
ridge/src/android/graphics/Rasterizer_Delegate.java
ridge/src/android/graphics/Region_Delegate.java
ridge/src/android/graphics/Shader_Delegate.java
ridge/src/android/graphics/SumPathEffect_Delegate.java
ridge/src/android/graphics/SweepGradient_Delegate.java
ridge/src/android/graphics/Typeface_Delegate.java
ridge/src/android/graphics/Xfermode_Delegate.java
ridge/src/com/android/layoutlib/bridge/impl/DelegateManager.java
ridge/src/com/android/layoutlib/bridge/util/SparseWeakArray.java
|
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
ridge/src/android/graphics/AvoidXfermode_Delegate.java
ridge/src/android/graphics/BitmapShader_Delegate.java
ridge/src/android/graphics/Bitmap_Delegate.java
ridge/src/android/graphics/BlurMaskFilter_Delegate.java
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/ColorFilter_Delegate.java
ridge/src/android/graphics/ColorMatrixColorFilter_Delegate.java
ridge/src/android/graphics/ComposePathEffect_Delegate.java
ridge/src/android/graphics/ComposeShader_Delegate.java
ridge/src/android/graphics/CornerPathEffect_Delegate.java
ridge/src/android/graphics/DashPathEffect_Delegate.java
ridge/src/android/graphics/DiscretePathEffect_Delegate.java
ridge/src/android/graphics/DrawFilter_Delegate.java
ridge/src/android/graphics/EmbossMaskFilter_Delegate.java
ridge/src/android/graphics/LayerRasterizer_Delegate.java
ridge/src/android/graphics/LightingColorFilter_Delegate.java
ridge/src/android/graphics/LinearGradient_Delegate.java
ridge/src/android/graphics/MaskFilter_Delegate.java
ridge/src/android/graphics/Matrix_Delegate.java
ridge/src/android/graphics/NinePatch_Delegate.java
ridge/src/android/graphics/PaintFlagsDrawFilter_Delegate.java
ridge/src/android/graphics/Paint_Delegate.java
ridge/src/android/graphics/PathDashPathEffect_Delegate.java
ridge/src/android/graphics/PathEffect_Delegate.java
ridge/src/android/graphics/Path_Delegate.java
ridge/src/android/graphics/PixelXorXfermode_Delegate.java
ridge/src/android/graphics/PorterDuffColorFilter_Delegate.java
ridge/src/android/graphics/PorterDuffXfermode_Delegate.java
ridge/src/android/graphics/RadialGradient_Delegate.java
ridge/src/android/graphics/Rasterizer_Delegate.java
ridge/src/android/graphics/Region_Delegate.java
ridge/src/android/graphics/Shader_Delegate.java
ridge/src/android/graphics/SumPathEffect_Delegate.java
ridge/src/android/graphics/SweepGradient_Delegate.java
ridge/src/android/graphics/Typeface_Delegate.java
ridge/src/android/graphics/Xfermode_Delegate.java
ridge/src/com/android/layoutlib/bridge/impl/DelegateManager.java
ridge/src/com/android/layoutlib/bridge/util/SparseWeakArray.java
|
ebcef6b896b3b1693862aad9c5000c450ba598a5 |
09-Jan-2014 |
Alan Viverette <alanv@google.com> |
Update BridgeInflater and delegate to support inheritContext arg Change-Id: I06673f35cd4625301677f74f3e6d49669df7c271
ridge/src/android/view/BridgeInflater.java
ridge/src/android/view/LayoutInflater_Delegate.java
|
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
ridge/src/android/view/IWindowManagerImpl.java
|
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
ridge/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
ridge/resources/bars/hdpi/stat_sys_battery_charge_anim100.png
ridge/resources/bars/hdpi/stat_sys_wifi_signal_4_fully.png
ridge/resources/bars/mdpi/stat_sys_battery_charge_anim100.png
ridge/resources/bars/mdpi/stat_sys_wifi_signal_4_fully.png
ridge/resources/bars/status_bar.xml
ridge/resources/bars/xhdpi/stat_sys_battery_charge_anim100.png
ridge/resources/bars/xhdpi/stat_sys_wifi_signal_4_fully.png
ridge/src/android/graphics/NinePatch_Delegate.java
ridge/src/android/text/format/Time_Delegate.java
ridge/src/com/android/layoutlib/bridge/android/view/WindowManagerImpl.java
ridge/src/com/android/layoutlib/bridge/bars/StatusBar.java
ridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
ridge/src/libcore/icu/DateIntervalFormat_Delegate.java
ridge/src/libcore/icu/ICU_Delegate.java
reate/.classpath
reate/README.txt
reate/src/com/android/tools/layoutlib/create/AbstractClassAdapter.java
reate/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
reate/src/com/android/tools/layoutlib/create/AsmGenerator.java
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
reate/src/com/android/tools/layoutlib/create/ICreateInfo.java
reate/src/com/android/tools/layoutlib/create/Main.java
reate/src/com/android/tools/layoutlib/create/RefactorClassAdapter.java
reate/src/com/android/tools/layoutlib/create/RenameClassAdapter.java
reate/src/com/android/tools/layoutlib/java/AutoCloseable.java
reate/src/com/android/tools/layoutlib/java/Charsets.java
reate/src/com/android/tools/layoutlib/java/IntegralToString.java
reate/src/com/android/tools/layoutlib/java/Objects.java
reate/src/com/android/tools/layoutlib/java/UnsafeByteSequence.java
reate/tests/com/android/tools/layoutlib/create/AsmAnalyzerTest.java
reate/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
reate/tests/com/android/tools/layoutlib/create/RenameClassAdapterTest.java
reate/tests/com/android/tools/layoutlib/create/dataclass/JavaClass.java
reate/tests/data/mock_android.jar
reate/tests/data/mock_android.jardesc
reate/tests/mock_android/dummy/InnerTest.java
reate/tests/mock_android/view/View.java
reate/tests/mock_android/view/ViewGroup.java
reate/tests/mock_android/widget/LinearLayout.java
reate/tests/mock_android/widget/TableLayout.java
reate/tests/mock_data/java/lang/JavaClass.java
reate/tests/mock_data/mock_android/dummy/InnerTest.java
reate/tests/mock_data/mock_android/view/View.java
reate/tests/mock_data/mock_android/view/ViewGroup.java
reate/tests/mock_data/mock_android/widget/LinearLayout.java
reate/tests/mock_data/mock_android/widget/TableLayout.java
|
6fbaf6cfd8c85984c75ca2ef8c1dc8bde844bb07 |
21-Oct-2013 |
Satoshi Kataoka <satok@google.com> |
Update a test corresponding to I11ed9a767588f808 Change-Id: Ic802c075390f11fa4a5c14b8397a045b2dfec75c
ridge/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
ridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java
|
f314dc01210d117959ae2a303d0311cd071ee927 |
15-Oct-2013 |
Satoshi Kataoka <satok@google.com> |
Update tests corresponding to I0e920ee79c526c3ae Bug: 11035379 Bug: 5137498 Change-Id: Ief2a151bd83b75bf5b07d53b190a61f341541a21
ridge/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
ridge/src/android/view/IWindowManagerImpl.java
|
492d16434acaaf050f676b6767fbf020fd6ff772 |
04-Oct-2013 |
John Reck <jreck@google.com> |
Update layoutlib Change-Id: Ifafe5a47fbef7ff0894e679d04d71942eb8d1237
ridge/src/android/view/IWindowManagerImpl.java
|
c363be85de7b6cd67762b0f7fb2392fe421c553e |
03-Oct-2013 |
Marco Nelissen <marcone@google.com> |
Update fake powermanager to new interface Change-Id: I6f14498d7002b4720293a1c77f4fbb66869c36fb
ridge/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
ridge/src/android/view/IWindowManagerImpl.java
|
e98d2cb65c0915d5278c593d14ff4bdc778557f7 |
11-Sep-2013 |
Deepanshu Gupta <deepanshu@google.com> |
Fix ClassCastException when rendering ListView Bug: b.android.com/59300 Change-Id: I1e73910cf42de1b02f11cc77f575af9492320a19
ridge/src/com/android/layoutlib/bridge/impl/binding/AdapterHelper.java
ridge/src/com/android/layoutlib/bridge/impl/binding/AdapterItem.java
ridge/src/com/android/layoutlib/bridge/impl/binding/BaseAdapter.java
ridge/src/com/android/layoutlib/bridge/impl/binding/FakeAdapter.java
ridge/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
ridge/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
ridge/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
ridge/src/android/graphics/BitmapFactory_Delegate.java
ridge/src/android/graphics/Bitmap_Delegate.java
|
f6ee5fa3e2219e6c6ea56c4bdb7b5df528d336c4 |
09-Sep-2013 |
Narayan Kamath <narayan@google.com> |
Fix build, fallout from change 451f6b981a2cd Change-Id: Id85d06221eccbda786721a05f3f6d9d94c1cbb74
ridge/src/com/android/layoutlib/bridge/android/BridgeContentProvider.java
|
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
ridge/src/android/graphics/BidiRenderer.java
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/Paint_Delegate.java
ridge/src/android/text/AndroidBidi_Delegate.java
ridge/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
ridge/.classpath
ridge/Android.mk
ridge/resources/bars/ldrtl-hdpi/ic_sysbar_back.png
ridge/resources/bars/ldrtl-hdpi/ic_sysbar_recent.png
ridge/resources/bars/ldrtl-mdpi/ic_sysbar_back.png
ridge/resources/bars/ldrtl-mdpi/ic_sysbar_recent.png
ridge/resources/bars/ldrtl-xhdpi/ic_sysbar_back.png
ridge/resources/bars/ldrtl-xhdpi/ic_sysbar_recent.png
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ridge/src/com/android/layoutlib/bridge/bars/NavigationBar.java
ridge/src/com/android/layoutlib/bridge/bars/StatusBar.java
ridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
|
282e181b58cf72b6ca770dc7ca5f91f135444502 |
24-Jan-2014 |
Adam Lesinski <adamlesinski@google.com> |
Revert "Move frameworks/base/tools/ to frameworks/tools/" This reverts commit 9f6a119c8aa276432ece4fe2118bd8a3c9b1067e.
gitignore
ndroid.mk
EADME
ridge/.classpath
ridge/.project
ridge/.settings/README.txt
ridge/.settings/org.eclipse.jdt.core.prefs
ridge/Android.mk
ridge/resources/bars/action_bar.xml
ridge/resources/bars/hdpi/ic_sysbar_back.png
ridge/resources/bars/hdpi/ic_sysbar_home.png
ridge/resources/bars/hdpi/ic_sysbar_recent.png
ridge/resources/bars/hdpi/stat_sys_wifi_signal_4_fully.png
ridge/resources/bars/hdpi/status_bar_background.9.png
ridge/resources/bars/mdpi/ic_sysbar_back.png
ridge/resources/bars/mdpi/ic_sysbar_home.png
ridge/resources/bars/mdpi/ic_sysbar_recent.png
ridge/resources/bars/mdpi/stat_sys_wifi_signal_4_fully.png
ridge/resources/bars/mdpi/status_bar_background.9.png
ridge/resources/bars/navigation_bar.xml
ridge/resources/bars/status_bar.xml
ridge/resources/bars/title_bar.xml
ridge/resources/bars/xhdpi/ic_sysbar_back.png
ridge/resources/bars/xhdpi/ic_sysbar_home.png
ridge/resources/bars/xhdpi/ic_sysbar_recent.png
ridge/src/android/animation/AnimationThread.java
ridge/src/android/animation/PropertyValuesHolder_Delegate.java
ridge/src/android/app/Fragment_Delegate.java
ridge/src/android/content/res/BridgeAssetManager.java
ridge/src/android/content/res/BridgeResources.java
ridge/src/android/content/res/BridgeTypedArray.java
ridge/src/android/content/res/Resources_Theme_Delegate.java
ridge/src/android/content/res/TypedArray_Delegate.java
ridge/src/android/graphics/AvoidXfermode_Delegate.java
ridge/src/android/graphics/BitmapFactory_Delegate.java
ridge/src/android/graphics/BitmapShader_Delegate.java
ridge/src/android/graphics/Bitmap_Delegate.java
ridge/src/android/graphics/BlurMaskFilter_Delegate.java
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/ColorFilter_Delegate.java
ridge/src/android/graphics/ColorMatrixColorFilter_Delegate.java
ridge/src/android/graphics/ComposePathEffect_Delegate.java
ridge/src/android/graphics/ComposeShader_Delegate.java
ridge/src/android/graphics/CornerPathEffect_Delegate.java
ridge/src/android/graphics/DashPathEffect_Delegate.java
ridge/src/android/graphics/DiscretePathEffect_Delegate.java
ridge/src/android/graphics/DrawFilter_Delegate.java
ridge/src/android/graphics/EmbossMaskFilter_Delegate.java
ridge/src/android/graphics/Gradient_Delegate.java
ridge/src/android/graphics/LayerRasterizer_Delegate.java
ridge/src/android/graphics/LightingColorFilter_Delegate.java
ridge/src/android/graphics/LinearGradient_Delegate.java
ridge/src/android/graphics/MaskFilter_Delegate.java
ridge/src/android/graphics/Matrix_Delegate.java
ridge/src/android/graphics/NinePatch_Delegate.java
ridge/src/android/graphics/PaintFlagsDrawFilter_Delegate.java
ridge/src/android/graphics/Paint_Delegate.java
ridge/src/android/graphics/PathDashPathEffect_Delegate.java
ridge/src/android/graphics/PathEffect_Delegate.java
ridge/src/android/graphics/Path_Delegate.java
ridge/src/android/graphics/PixelXorXfermode_Delegate.java
ridge/src/android/graphics/PorterDuffColorFilter_Delegate.java
ridge/src/android/graphics/PorterDuffXfermode_Delegate.java
ridge/src/android/graphics/RadialGradient_Delegate.java
ridge/src/android/graphics/Rasterizer_Delegate.java
ridge/src/android/graphics/Region_Delegate.java
ridge/src/android/graphics/Shader_Delegate.java
ridge/src/android/graphics/SumPathEffect_Delegate.java
ridge/src/android/graphics/SweepGradient_Delegate.java
ridge/src/android/graphics/Typeface_Accessor.java
ridge/src/android/graphics/Typeface_Delegate.java
ridge/src/android/graphics/Xfermode_Delegate.java
ridge/src/android/os/Build_Delegate.java
ridge/src/android/os/HandlerThread_Delegate.java
ridge/src/android/os/Handler_Delegate.java
ridge/src/android/os/Looper_Accessor.java
ridge/src/android/os/ServiceManager.java
ridge/src/android/os/SystemClock_Delegate.java
ridge/src/android/text/AndroidBidi_Delegate.java
ridge/src/android/text/format/DateFormat_Delegate.java
ridge/src/android/util/BridgeXmlPullAttributes.java
ridge/src/android/util/FloatMath_Delegate.java
ridge/src/android/util/Log_Delegate.java
ridge/src/android/util/LruCache.java
ridge/src/android/view/AttachInfo_Accessor.java
ridge/src/android/view/BridgeInflater.java
ridge/src/android/view/Choreographer_Delegate.java
ridge/src/android/view/Display_Delegate.java
ridge/src/android/view/IWindowManagerImpl.java
ridge/src/android/view/LayoutInflater_Delegate.java
ridge/src/android/view/SurfaceView.java
ridge/src/android/view/ViewConfiguration_Accessor.java
ridge/src/android/view/ViewRootImpl_Delegate.java
ridge/src/android/view/View_Delegate.java
ridge/src/android/view/WindowManagerGlobal_Delegate.java
ridge/src/android/view/accessibility/AccessibilityManager.java
ridge/src/android/view/inputmethod/InputMethodManager_Accessor.java
ridge/src/android/view/inputmethod/InputMethodManager_Delegate.java
ridge/src/android/webkit/WebView.java
ridge/src/com/android/internal/policy/PolicyManager.java
ridge/src/com/android/internal/textservice/ITextServicesManager_Stub_Delegate.java
ridge/src/com/android/internal/util/XmlUtils_Delegate.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/BridgeConstants.java
ridge/src/com/android/layoutlib/bridge/BridgeRenderSession.java
ridge/src/com/android/layoutlib/bridge/MockView.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContentProvider.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContentResolver.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/android/BridgeIInputMethodManager.java
ridge/src/com/android/layoutlib/bridge/android/BridgeLayoutParamsMapAttributes.java
ridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java
ridge/src/com/android/layoutlib/bridge/android/BridgeWindow.java
ridge/src/com/android/layoutlib/bridge/android/BridgeWindowSession.java
ridge/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParser.java
ridge/src/com/android/layoutlib/bridge/android/view/WindowManagerImpl.java
ridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ridge/src/com/android/layoutlib/bridge/bars/FakeActionBar.java
ridge/src/com/android/layoutlib/bridge/bars/NavigationBar.java
ridge/src/com/android/layoutlib/bridge/bars/StatusBar.java
ridge/src/com/android/layoutlib/bridge/bars/TitleBar.java
ridge/src/com/android/layoutlib/bridge/impl/DelegateManager.java
ridge/src/com/android/layoutlib/bridge/impl/FontLoader.java
ridge/src/com/android/layoutlib/bridge/impl/GcSnapshot.java
ridge/src/com/android/layoutlib/bridge/impl/ParserFactory.java
ridge/src/com/android/layoutlib/bridge/impl/PlayAnimationThread.java
ridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
ridge/src/com/android/layoutlib/bridge/impl/RenderDrawable.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
ridge/src/com/android/layoutlib/bridge/impl/Stack.java
ridge/src/com/android/layoutlib/bridge/impl/binding/BaseAdapter.java
ridge/src/com/android/layoutlib/bridge/impl/binding/FakeAdapter.java
ridge/src/com/android/layoutlib/bridge/impl/binding/FakeExpandableAdapter.java
ridge/src/com/android/layoutlib/bridge/util/Debug.java
ridge/src/com/android/layoutlib/bridge/util/DynamicIdMap.java
ridge/src/com/android/layoutlib/bridge/util/SparseWeakArray.java
ridge/src/com/google/android/maps/MapView.java
ridge/src/libcore/icu/ICU_Delegate.java
ridge/tests/.classpath
ridge/tests/.project
ridge/tests/Android.mk
ridge/tests/res/com/android/layoutlib/testdata/layout1.xml
ridge/tests/src/android/graphics/Matrix_DelegateTest.java
ridge/tests/src/com/android/layoutlib/bridge/TestDelegates.java
ridge/tests/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParserTest.java
reate/.classpath
reate/.project
reate/.settings/README.txt
reate/.settings/org.eclipse.jdt.core.prefs
reate/Android.mk
reate/README.txt
reate/manifest.txt
reate/src/com/android/tools/layoutlib/annotations/LayoutlibDelegate.java
reate/src/com/android/tools/layoutlib/annotations/Nullable.java
reate/src/com/android/tools/layoutlib/annotations/VisibleForTesting.java
reate/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
reate/src/com/android/tools/layoutlib/create/AsmGenerator.java
reate/src/com/android/tools/layoutlib/create/ClassHasNativeVisitor.java
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
reate/src/com/android/tools/layoutlib/create/DelegateClassAdapter.java
reate/src/com/android/tools/layoutlib/create/DelegateMethodAdapter2.java
reate/src/com/android/tools/layoutlib/create/DependencyFinder.java
reate/src/com/android/tools/layoutlib/create/ICreateInfo.java
reate/src/com/android/tools/layoutlib/create/Log.java
reate/src/com/android/tools/layoutlib/create/LogAbortException.java
reate/src/com/android/tools/layoutlib/create/Main.java
reate/src/com/android/tools/layoutlib/create/MethodAdapter.java
reate/src/com/android/tools/layoutlib/create/MethodListener.java
reate/src/com/android/tools/layoutlib/create/OverrideMethod.java
reate/src/com/android/tools/layoutlib/create/RenameClassAdapter.java
reate/src/com/android/tools/layoutlib/create/StubMethodAdapter.java
reate/src/com/android/tools/layoutlib/create/TransformClassAdapter.java
reate/tests/com/android/tools/layoutlib/create/AsmAnalyzerTest.java
reate/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
reate/tests/com/android/tools/layoutlib/create/ClassHasNativeVisitorTest.java
reate/tests/com/android/tools/layoutlib/create/DelegateClassAdapterTest.java
reate/tests/com/android/tools/layoutlib/create/LogTest.java
reate/tests/com/android/tools/layoutlib/create/MockLog.java
reate/tests/com/android/tools/layoutlib/create/RenameClassAdapterTest.java
reate/tests/com/android/tools/layoutlib/create/dataclass/ClassWithNative.java
reate/tests/com/android/tools/layoutlib/create/dataclass/ClassWithNative_Delegate.java
reate/tests/com/android/tools/layoutlib/create/dataclass/OuterClass.java
reate/tests/com/android/tools/layoutlib/create/dataclass/OuterClass_Delegate.java
reate/tests/com/android/tools/layoutlib/create/dataclass/OuterClass_InnerClass_Delegate.java
reate/tests/data/mock_android.jar
reate/tests/data/mock_android.jardesc
reate/tests/mock_android/dummy/InnerTest.java
reate/tests/mock_android/view/View.java
reate/tests/mock_android/view/ViewGroup.java
reate/tests/mock_android/widget/LinearLayout.java
reate/tests/mock_android/widget/TableLayout.java
|
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
ridge/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
ndroid.mk
reate/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
reate/src/com/android/tools/layoutlib/create/AsmGenerator.java
reate/src/com/android/tools/layoutlib/create/Main.java
reate/tests/com/android/tools/layoutlib/create/AsmAnalyzerTest.java
reate/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
reate/tests/data/mock_android.jar
reate/tests/mock_data/mock_android/data/anotherDataFile
reate/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
ridge/src/android/graphics/BidiRenderer.java
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/Paint_Delegate.java
|
24541255c312ee34f9bf17eb5852cdffd4807065 |
26-Nov-2013 |
Deepanshu Gupta <deepanshu@google.com> |
Update delegate methods in layoutlib. Change-Id: I1f0fc274b6a74dbcf0ed46175c4a2fa4c2dd9a63
ridge/src/android/graphics/BitmapFactory_Delegate.java
ridge/src/android/graphics/Bitmap_Delegate.java
ridge/src/android/graphics/NinePatch_Delegate.java
ridge/src/android/graphics/Path_Delegate.java
ridge/src/libcore/icu/DateIntervalFormat_Delegate.java
|
0baec410c29206dc72d9f5afba5d45827e62c00c |
13-Nov-2013 |
Deepanshu Gupta <deepanshu@google.com> |
Update ICU_Delegate methods. DO NOT MERGE Bug: 11435966 Change-Id: Ib8ed2011fe62b2496795075b33b9ca7d5907b87a
ridge/src/libcore/icu/ICU_Delegate.java
|
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
ndroid.mk
reate/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
ridge/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
ridge/src/android/graphics/Bitmap_Delegate.java
|
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
ridge/src/android/view/IWindowManagerImpl.java
|
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
ridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
|
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
ridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java
|
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
reate/README.txt
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
reate/src/com/android/tools/layoutlib/java/Objects.java
|
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
ridge/src/libcore/icu/DateIntervalFormat_Delegate.java
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
|
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.
|
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
ridge/src/android/graphics/NinePatch_Delegate.java
ridge/src/com/android/layoutlib/bridge/android/view/WindowManagerImpl.java
ridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
ridge/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
ridge/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
ridge/src/android/text/format/Time_Delegate.java
reate/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
reate/.classpath
reate/README.txt
reate/src/com/android/tools/layoutlib/create/AbstractClassAdapter.java
reate/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
reate/src/com/android/tools/layoutlib/create/AsmGenerator.java
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
reate/src/com/android/tools/layoutlib/create/ICreateInfo.java
reate/src/com/android/tools/layoutlib/create/Main.java
reate/src/com/android/tools/layoutlib/create/RefactorClassAdapter.java
reate/src/com/android/tools/layoutlib/create/RenameClassAdapter.java
reate/src/com/android/tools/layoutlib/java/AutoCloseable.java
reate/src/com/android/tools/layoutlib/java/Charsets.java
reate/src/com/android/tools/layoutlib/java/IntegralToString.java
reate/src/com/android/tools/layoutlib/java/UnsafeByteSequence.java
reate/tests/com/android/tools/layoutlib/create/AsmAnalyzerTest.java
reate/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
reate/tests/com/android/tools/layoutlib/create/RenameClassAdapterTest.java
reate/tests/com/android/tools/layoutlib/create/dataclass/JavaClass.java
reate/tests/data/mock_android.jar
reate/tests/data/mock_android.jardesc
reate/tests/mock_android/dummy/InnerTest.java
reate/tests/mock_android/view/View.java
reate/tests/mock_android/view/ViewGroup.java
reate/tests/mock_android/widget/LinearLayout.java
reate/tests/mock_android/widget/TableLayout.java
reate/tests/mock_data/java/lang/JavaClass.java
reate/tests/mock_data/mock_android/dummy/InnerTest.java
reate/tests/mock_data/mock_android/view/View.java
reate/tests/mock_data/mock_android/view/ViewGroup.java
reate/tests/mock_data/mock_android/widget/LinearLayout.java
reate/tests/mock_data/mock_android/widget/TableLayout.java
|
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
ridge/resources/bars/hdpi/stat_sys_battery_charge_anim100.png
ridge/resources/bars/hdpi/stat_sys_wifi_signal_4_fully.png
ridge/resources/bars/mdpi/stat_sys_battery_charge_anim100.png
ridge/resources/bars/mdpi/stat_sys_wifi_signal_4_fully.png
ridge/resources/bars/status_bar.xml
ridge/resources/bars/xhdpi/stat_sys_battery_charge_anim100.png
ridge/resources/bars/xhdpi/stat_sys_wifi_signal_4_fully.png
ridge/src/com/android/layoutlib/bridge/bars/StatusBar.java
|
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
ridge/src/android/view/IWindowManagerImpl.java
|
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
ridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java
|
5623d5f80f8031b9b67247b086723da08c383fa8 |
03-Oct-2013 |
John Reck <jreck@google.com> |
Update liblayout Fix build Change-Id: I6c9223205874f7709fcf9e69a7779c54f52ba48b
ridge/src/android/view/IWindowManagerImpl.java
|
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
ridge/src/android/view/IWindowManagerImpl.java
|
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
|
caee47f096403068f02c41a91f8dad1aa5d13169 |
11-Sep-2013 |
Jonathan Dixon <joth@google.com> |
Merge "Preparation for deleting WebViewClassic" into klp-dev
|
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
ridge/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
ridge/src/com/android/layoutlib/bridge/impl/binding/AdapterHelper.java
ridge/src/com/android/layoutlib/bridge/impl/binding/AdapterItem.java
ridge/src/com/android/layoutlib/bridge/impl/binding/BaseAdapter.java
ridge/src/com/android/layoutlib/bridge/impl/binding/FakeAdapter.java
ridge/src/com/android/layoutlib/bridge/impl/binding/FakeExpandableAdapter.java
|
a71275401143bc259fd5804ab6852fc3265d88b7 |
09-Sep-2013 |
Deepanshu Gupta <deepanshu@google.com> |
Merge "Add isPremultiplied option to Bitmap_Delegate in LayoutLib" into klp-dev
|
01f8c0e27756599b2395514e27bd3b238326f220 |
08-Sep-2013 |
Dianne Hackborn <hackbod@google.com> |
Fix build. Change-Id: Ifeac5d09a654ee1183ae26519c8b44f560afd636
ridge/src/com/android/layoutlib/bridge/android/BridgeContentProvider.java
|
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
|
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
ridge/src/android/graphics/BidiRenderer.java
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/Paint_Delegate.java
ridge/src/android/text/AndroidBidi_Delegate.java
ridge/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
ridge/src/android/graphics/BitmapFactory_Delegate.java
ridge/src/android/graphics/Bitmap_Delegate.java
|
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
ridge/.classpath
ridge/Android.mk
ridge/resources/bars/ldrtl-hdpi/ic_sysbar_back.png
ridge/resources/bars/ldrtl-hdpi/ic_sysbar_recent.png
ridge/resources/bars/ldrtl-mdpi/ic_sysbar_back.png
ridge/resources/bars/ldrtl-mdpi/ic_sysbar_recent.png
ridge/resources/bars/ldrtl-xhdpi/ic_sysbar_back.png
ridge/resources/bars/ldrtl-xhdpi/ic_sysbar_recent.png
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ridge/src/com/android/layoutlib/bridge/bars/NavigationBar.java
ridge/src/com/android/layoutlib/bridge/bars/StatusBar.java
ridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
ridge/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
gitignore
ndroid.mk
EADME
ridge/.classpath
ridge/.project
ridge/.settings/README.txt
ridge/.settings/org.eclipse.jdt.core.prefs
ridge/Android.mk
ridge/resources/bars/action_bar.xml
ridge/resources/bars/hdpi/ic_sysbar_back.png
ridge/resources/bars/hdpi/ic_sysbar_home.png
ridge/resources/bars/hdpi/ic_sysbar_recent.png
ridge/resources/bars/hdpi/stat_sys_wifi_signal_4_fully.png
ridge/resources/bars/hdpi/status_bar_background.9.png
ridge/resources/bars/mdpi/ic_sysbar_back.png
ridge/resources/bars/mdpi/ic_sysbar_home.png
ridge/resources/bars/mdpi/ic_sysbar_recent.png
ridge/resources/bars/mdpi/stat_sys_wifi_signal_4_fully.png
ridge/resources/bars/mdpi/status_bar_background.9.png
ridge/resources/bars/navigation_bar.xml
ridge/resources/bars/status_bar.xml
ridge/resources/bars/title_bar.xml
ridge/resources/bars/xhdpi/ic_sysbar_back.png
ridge/resources/bars/xhdpi/ic_sysbar_home.png
ridge/resources/bars/xhdpi/ic_sysbar_recent.png
ridge/src/android/animation/AnimationThread.java
ridge/src/android/animation/PropertyValuesHolder_Delegate.java
ridge/src/android/app/Fragment_Delegate.java
ridge/src/android/content/res/BridgeAssetManager.java
ridge/src/android/content/res/BridgeResources.java
ridge/src/android/content/res/BridgeTypedArray.java
ridge/src/android/content/res/Resources_Theme_Delegate.java
ridge/src/android/content/res/TypedArray_Delegate.java
ridge/src/android/graphics/AvoidXfermode_Delegate.java
ridge/src/android/graphics/BitmapFactory_Delegate.java
ridge/src/android/graphics/BitmapShader_Delegate.java
ridge/src/android/graphics/Bitmap_Delegate.java
ridge/src/android/graphics/BlurMaskFilter_Delegate.java
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/ColorFilter_Delegate.java
ridge/src/android/graphics/ColorMatrixColorFilter_Delegate.java
ridge/src/android/graphics/ComposePathEffect_Delegate.java
ridge/src/android/graphics/ComposeShader_Delegate.java
ridge/src/android/graphics/CornerPathEffect_Delegate.java
ridge/src/android/graphics/DashPathEffect_Delegate.java
ridge/src/android/graphics/DiscretePathEffect_Delegate.java
ridge/src/android/graphics/DrawFilter_Delegate.java
ridge/src/android/graphics/EmbossMaskFilter_Delegate.java
ridge/src/android/graphics/Gradient_Delegate.java
ridge/src/android/graphics/LayerRasterizer_Delegate.java
ridge/src/android/graphics/LightingColorFilter_Delegate.java
ridge/src/android/graphics/LinearGradient_Delegate.java
ridge/src/android/graphics/MaskFilter_Delegate.java
ridge/src/android/graphics/Matrix_Delegate.java
ridge/src/android/graphics/NinePatch_Delegate.java
ridge/src/android/graphics/PaintFlagsDrawFilter_Delegate.java
ridge/src/android/graphics/Paint_Delegate.java
ridge/src/android/graphics/PathDashPathEffect_Delegate.java
ridge/src/android/graphics/PathEffect_Delegate.java
ridge/src/android/graphics/Path_Delegate.java
ridge/src/android/graphics/PixelXorXfermode_Delegate.java
ridge/src/android/graphics/PorterDuffColorFilter_Delegate.java
ridge/src/android/graphics/PorterDuffXfermode_Delegate.java
ridge/src/android/graphics/RadialGradient_Delegate.java
ridge/src/android/graphics/Rasterizer_Delegate.java
ridge/src/android/graphics/Region_Delegate.java
ridge/src/android/graphics/Shader_Delegate.java
ridge/src/android/graphics/SumPathEffect_Delegate.java
ridge/src/android/graphics/SweepGradient_Delegate.java
ridge/src/android/graphics/Typeface_Accessor.java
ridge/src/android/graphics/Typeface_Delegate.java
ridge/src/android/graphics/Xfermode_Delegate.java
ridge/src/android/os/Build_Delegate.java
ridge/src/android/os/HandlerThread_Delegate.java
ridge/src/android/os/Handler_Delegate.java
ridge/src/android/os/Looper_Accessor.java
ridge/src/android/os/ServiceManager.java
ridge/src/android/os/SystemClock_Delegate.java
ridge/src/android/text/AndroidBidi_Delegate.java
ridge/src/android/text/format/DateFormat_Delegate.java
ridge/src/android/util/BridgeXmlPullAttributes.java
ridge/src/android/util/FloatMath_Delegate.java
ridge/src/android/util/Log_Delegate.java
ridge/src/android/util/LruCache.java
ridge/src/android/view/AttachInfo_Accessor.java
ridge/src/android/view/BridgeInflater.java
ridge/src/android/view/Choreographer_Delegate.java
ridge/src/android/view/Display_Delegate.java
ridge/src/android/view/IWindowManagerImpl.java
ridge/src/android/view/LayoutInflater_Delegate.java
ridge/src/android/view/SurfaceView.java
ridge/src/android/view/ViewConfiguration_Accessor.java
ridge/src/android/view/ViewRootImpl_Delegate.java
ridge/src/android/view/View_Delegate.java
ridge/src/android/view/WindowManagerGlobal_Delegate.java
ridge/src/android/view/accessibility/AccessibilityManager.java
ridge/src/android/view/inputmethod/InputMethodManager_Accessor.java
ridge/src/android/view/inputmethod/InputMethodManager_Delegate.java
ridge/src/android/webkit/WebView.java
ridge/src/com/android/internal/policy/PolicyManager.java
ridge/src/com/android/internal/textservice/ITextServicesManager_Stub_Delegate.java
ridge/src/com/android/internal/util/XmlUtils_Delegate.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/BridgeConstants.java
ridge/src/com/android/layoutlib/bridge/BridgeRenderSession.java
ridge/src/com/android/layoutlib/bridge/MockView.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContentProvider.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContentResolver.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/android/BridgeIInputMethodManager.java
ridge/src/com/android/layoutlib/bridge/android/BridgeLayoutParamsMapAttributes.java
ridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java
ridge/src/com/android/layoutlib/bridge/android/BridgeWindow.java
ridge/src/com/android/layoutlib/bridge/android/BridgeWindowSession.java
ridge/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParser.java
ridge/src/com/android/layoutlib/bridge/android/view/WindowManagerImpl.java
ridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ridge/src/com/android/layoutlib/bridge/bars/FakeActionBar.java
ridge/src/com/android/layoutlib/bridge/bars/NavigationBar.java
ridge/src/com/android/layoutlib/bridge/bars/StatusBar.java
ridge/src/com/android/layoutlib/bridge/bars/TitleBar.java
ridge/src/com/android/layoutlib/bridge/impl/DelegateManager.java
ridge/src/com/android/layoutlib/bridge/impl/FontLoader.java
ridge/src/com/android/layoutlib/bridge/impl/GcSnapshot.java
ridge/src/com/android/layoutlib/bridge/impl/ParserFactory.java
ridge/src/com/android/layoutlib/bridge/impl/PlayAnimationThread.java
ridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
ridge/src/com/android/layoutlib/bridge/impl/RenderDrawable.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
ridge/src/com/android/layoutlib/bridge/impl/Stack.java
ridge/src/com/android/layoutlib/bridge/impl/binding/BaseAdapter.java
ridge/src/com/android/layoutlib/bridge/impl/binding/FakeAdapter.java
ridge/src/com/android/layoutlib/bridge/impl/binding/FakeExpandableAdapter.java
ridge/src/com/android/layoutlib/bridge/util/Debug.java
ridge/src/com/android/layoutlib/bridge/util/DynamicIdMap.java
ridge/src/com/android/layoutlib/bridge/util/SparseWeakArray.java
ridge/src/com/google/android/maps/MapView.java
ridge/src/libcore/icu/ICU_Delegate.java
ridge/tests/.classpath
ridge/tests/.project
ridge/tests/Android.mk
ridge/tests/res/com/android/layoutlib/testdata/layout1.xml
ridge/tests/src/android/graphics/Matrix_DelegateTest.java
ridge/tests/src/com/android/layoutlib/bridge/TestDelegates.java
ridge/tests/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParserTest.java
reate/.classpath
reate/.project
reate/.settings/README.txt
reate/.settings/org.eclipse.jdt.core.prefs
reate/Android.mk
reate/README.txt
reate/manifest.txt
reate/src/com/android/tools/layoutlib/annotations/LayoutlibDelegate.java
reate/src/com/android/tools/layoutlib/annotations/Nullable.java
reate/src/com/android/tools/layoutlib/annotations/VisibleForTesting.java
reate/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
reate/src/com/android/tools/layoutlib/create/AsmGenerator.java
reate/src/com/android/tools/layoutlib/create/ClassHasNativeVisitor.java
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
reate/src/com/android/tools/layoutlib/create/DelegateClassAdapter.java
reate/src/com/android/tools/layoutlib/create/DelegateMethodAdapter2.java
reate/src/com/android/tools/layoutlib/create/DependencyFinder.java
reate/src/com/android/tools/layoutlib/create/ICreateInfo.java
reate/src/com/android/tools/layoutlib/create/Log.java
reate/src/com/android/tools/layoutlib/create/LogAbortException.java
reate/src/com/android/tools/layoutlib/create/Main.java
reate/src/com/android/tools/layoutlib/create/MethodAdapter.java
reate/src/com/android/tools/layoutlib/create/MethodListener.java
reate/src/com/android/tools/layoutlib/create/OverrideMethod.java
reate/src/com/android/tools/layoutlib/create/RenameClassAdapter.java
reate/src/com/android/tools/layoutlib/create/StubMethodAdapter.java
reate/src/com/android/tools/layoutlib/create/TransformClassAdapter.java
reate/tests/com/android/tools/layoutlib/create/AsmAnalyzerTest.java
reate/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
reate/tests/com/android/tools/layoutlib/create/ClassHasNativeVisitorTest.java
reate/tests/com/android/tools/layoutlib/create/DelegateClassAdapterTest.java
reate/tests/com/android/tools/layoutlib/create/LogTest.java
reate/tests/com/android/tools/layoutlib/create/MockLog.java
reate/tests/com/android/tools/layoutlib/create/RenameClassAdapterTest.java
reate/tests/com/android/tools/layoutlib/create/dataclass/ClassWithNative.java
reate/tests/com/android/tools/layoutlib/create/dataclass/ClassWithNative_Delegate.java
reate/tests/com/android/tools/layoutlib/create/dataclass/OuterClass.java
reate/tests/com/android/tools/layoutlib/create/dataclass/OuterClass_Delegate.java
reate/tests/com/android/tools/layoutlib/create/dataclass/OuterClass_InnerClass_Delegate.java
reate/tests/data/mock_android.jar
reate/tests/data/mock_android.jardesc
reate/tests/mock_android/dummy/InnerTest.java
reate/tests/mock_android/view/View.java
reate/tests/mock_android/view/ViewGroup.java
reate/tests/mock_android/widget/LinearLayout.java
reate/tests/mock_android/widget/TableLayout.java
|
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
ridge/src/android/webkit/WebView.java
|
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
ridge/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
ridge/src/com/android/layoutlib/bridge/android/BridgeIInputMethodManager.java
|
1abf5d62429e5a9329520b2f7c2b5a5e7a8e72ec |
16-Aug-2013 |
Chris Craik <ccraik@google.com> |
Add inPremutiplied option to BitmapFactory.Options, functionality in Bitmap bug:2248948 Change-Id: I8fdd649332667598504a1076d5a447572bd53086
ridge/src/android/graphics/Bitmap_Delegate.java
|
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
ridge/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
ridge/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
ridge/src/com/android/layoutlib/bridge/android/BridgeIInputMethodManager.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
ridge/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.
|
b9ff71375a9cf55395984613eee767344ece47a9 |
19-Jul-2013 |
Jeff Brown <jeffbrown@google.com> |
Fix build. Change-Id: Ie83f51ab4b8fddceda8d4f0ac24c532eab7458b8
ndroid.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
ridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
|
144a6ae7e6e751388cd322bac70d6bbd950468d5 |
24-Jun-2013 |
Craig Mautner <cmautner@google.com> |
Fix build. Change-Id: Icdfc6bcbe8603cf9bd3f8982a595336c0407e7d6
ridge/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
ridge/src/android/view/IWindowManagerImpl.java
ridge/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
ridge/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.
|
279c00e8e0abb20f7e10577c77937c058da080bf |
24-May-2013 |
Deepanshu Gupta <deepanshu@google.com> |
Add missing native methods. Change-Id: I7b34e2ec0164520efc658053a80f307791a992b1
ridge/src/android/graphics/Bitmap_Delegate.java
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/Paint_Delegate.java
ridge/src/android/os/Looper_Accessor.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/libcore/icu/ICU_Delegate.java
|
19849d3c9a9def039f25323f95f98902e3feac60 |
21-May-2013 |
Dianne Hackborn <hackbod@google.com> |
Fix build. Change-Id: I3dc503a3cd30276ac10582db44732d96b68230ee
ridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java
|
b437a79b050e8928ce7187899b7754f049008085 |
09-Apr-2013 |
Jeff Brown <jeffbrown@google.com> |
resolved conflicts for merge of 21dffd5d to master Change-Id: I37c48dee471c9d43f19c1fe4a01f70db53e2441f
|
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
ridge/src/android/view/inputmethod/InputMethodManager_Accessor.java
ridge/src/android/view/inputmethod/InputMethodManager_Delegate.java
ridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
|
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
ridge/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
ridge/src/android/view/IWindowManagerImpl.java
|
124af2d816c5337000e60c4d5a9c6b0319e5a3e6 |
19-Mar-2013 |
Craig Mautner <cmautner@google.com> |
Update layoutlib to latest interface. Fix build.. Change-Id: I3504e8b8e8431ad76333e852cf42494b2404f8ad
ridge/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
ridge/src/com/android/layoutlib/bridge/android/BridgeWindowSession.java
|
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
ridge/src/android/view/IWindowManagerImpl.java
|
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
ridge/src/com/android/layoutlib/bridge/android/BridgeWindow.java
ridge/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
ridge/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
ridge/src/android/view/IWindowManagerImpl.java
|
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
ridge/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
ridge/src/android/graphics/Typeface_Delegate.java
|
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.
|
47a021f7649799187e2d30d4d43e2363fd8f6bd3 |
12-Feb-2013 |
Xavier Ducrohet <xav@android.com> |
Fix DateFormat for layoutlib. Change-Id: I389c9d106b93b9f81dd3614398a5b66ba2b39a70
ridge/src/android/text/format/DateFormat_Delegate.java
reate/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
ridge/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
ridge/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
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
|
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
ridge/src/com/android/layoutlib/bridge/android/BridgeContentProvider.java
|
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
ridge/src/android/content/res/BridgeTypedArray.java
|
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
ridge/src/android/content/res/BridgeTypedArray.java
|
2ec5093e5a908cea532e571aead6a5c024c553f7 |
15-Dec-2012 |
Svetoslav Ganov <svetoslavganov@google.com> |
Fixing the build Change-Id: I01349d65ac5915da090cfb018f99e0a508f9d5ad
ridge/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
ridge/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
|
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
ridge/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
ridge/src/android/view/IWindowManagerImpl.java
|
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
|
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
|
4eeb4f664ac6b5901a8e874dcf70c0382295f792 |
08-Nov-2012 |
Jim Miller <jaggies@google.com> |
Add mechanism to kick keyguard to show the assistant Fixes bug 7499778 Change-Id: Ic9ea514feb489feeee6716f40bdb9792842f9515
ridge/src/android/view/IWindowManagerImpl.java
|
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
|
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
ridge/src/android/util/Log_Delegate.java
reate/src/com/android/tools/layoutlib/annotations/Nullable.java
reate/src/com/android/tools/layoutlib/annotations/VisibleForTesting.java
reate/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
ridge/src/android/view/IWindowManagerImpl.java
|
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
ridge/src/com/android/layoutlib/bridge/impl/ParserFactory.java
|
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
ridge/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
ridge/resources/bars/hdpi/ic_sysbar_back.png
ridge/resources/bars/hdpi/ic_sysbar_back_default.png
ridge/resources/bars/hdpi/ic_sysbar_home.png
ridge/resources/bars/hdpi/ic_sysbar_home_default.png
ridge/resources/bars/hdpi/ic_sysbar_recent.png
ridge/resources/bars/hdpi/ic_sysbar_recent_default.png
ridge/resources/bars/mdpi/ic_sysbar_back.png
ridge/resources/bars/mdpi/ic_sysbar_back_default.png
ridge/resources/bars/mdpi/ic_sysbar_home.png
ridge/resources/bars/mdpi/ic_sysbar_home_default.png
ridge/resources/bars/mdpi/ic_sysbar_recent.png
ridge/resources/bars/mdpi/ic_sysbar_recent_default.png
ridge/resources/bars/navigation_bar.xml
ridge/resources/bars/phone_system_bar.xml
ridge/resources/bars/status_bar.xml
ridge/resources/bars/xhdpi/ic_sysbar_back.png
ridge/resources/bars/xhdpi/ic_sysbar_back_default.png
ridge/resources/bars/xhdpi/ic_sysbar_home.png
ridge/resources/bars/xhdpi/ic_sysbar_home_default.png
ridge/resources/bars/xhdpi/ic_sysbar_recent.png
ridge/resources/bars/xhdpi/ic_sysbar_recent_default.png
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ridge/src/com/android/layoutlib/bridge/bars/FakeActionBar.java
ridge/src/com/android/layoutlib/bridge/bars/NavigationBar.java
ridge/src/com/android/layoutlib/bridge/bars/PhoneSystemBar.java
ridge/src/com/android/layoutlib/bridge/bars/StatusBar.java
ridge/src/com/android/layoutlib/bridge/bars/TabletSystemBar.java
ridge/src/com/android/layoutlib/bridge/bars/TitleBar.java
ridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
ridge/src/com/android/layoutlib/bridge/impl/RenderDrawable.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
|
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
ridge/resources/bars/hdpi/ic_sysbar_back.png
ridge/resources/bars/hdpi/ic_sysbar_back_default.png
ridge/resources/bars/hdpi/ic_sysbar_home.png
ridge/resources/bars/hdpi/ic_sysbar_home_default.png
ridge/resources/bars/hdpi/ic_sysbar_recent.png
ridge/resources/bars/hdpi/ic_sysbar_recent_default.png
ridge/resources/bars/mdpi/ic_sysbar_back.png
ridge/resources/bars/mdpi/ic_sysbar_back_default.png
ridge/resources/bars/mdpi/ic_sysbar_home.png
ridge/resources/bars/mdpi/ic_sysbar_home_default.png
ridge/resources/bars/mdpi/ic_sysbar_recent.png
ridge/resources/bars/mdpi/ic_sysbar_recent_default.png
ridge/resources/bars/navigation_bar.xml
ridge/resources/bars/phone_system_bar.xml
ridge/resources/bars/status_bar.xml
ridge/resources/bars/tablet_system_bar.xml
ridge/resources/bars/xhdpi/ic_sysbar_back.png
ridge/resources/bars/xhdpi/ic_sysbar_back_default.png
ridge/resources/bars/xhdpi/ic_sysbar_home.png
ridge/resources/bars/xhdpi/ic_sysbar_home_default.png
ridge/resources/bars/xhdpi/ic_sysbar_recent.png
ridge/resources/bars/xhdpi/ic_sysbar_recent_default.png
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ridge/src/com/android/layoutlib/bridge/bars/FakeActionBar.java
ridge/src/com/android/layoutlib/bridge/bars/NavigationBar.java
ridge/src/com/android/layoutlib/bridge/bars/PhoneSystemBar.java
ridge/src/com/android/layoutlib/bridge/bars/StatusBar.java
ridge/src/com/android/layoutlib/bridge/bars/TabletSystemBar.java
ridge/src/com/android/layoutlib/bridge/bars/TitleBar.java
ridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
ridge/src/com/android/layoutlib/bridge/impl/RenderDrawable.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
|
6dfd0b39a63559999a769f93d5cdb48abe675344 |
15-Oct-2012 |
Xavier Ducrohet <xav@android.com> |
Fix SDK layout rendering in Eclipse. Change-Id: I0e9e85632012c0929b987ee9d0ccf7c25eece322
ridge/src/android/os/SystemClock_Delegate.java
ridge/src/android/view/Choreographer_Delegate.java
ridge/src/android/view/Display_Delegate.java
ridge/src/android/view/IWindowManagerImpl.java
ridge/src/android/view/WindowManagerGlobal_Delegate.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
ridge/src/com/android/layoutlib/bridge/android/view/WindowManagerImpl.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
|
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
ridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
|
c38c9be031ddad5cf551b55458889f11e01dc5b2 |
04-Oct-2012 |
Jeff Brown <jeffbrown@google.com> |
Coordinate screen on with the window manager. Bug: 7267457 Change-Id: Ic2c322253639e1f0b2e4e72a7b145025d0240f93
ridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
|
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
ridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
|
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
ridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java
|
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
ridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java
|
edce6a797878792de2b0bde4360f3171b9e9d9d2 |
01-Oct-2012 |
Jeff Brown <jeffbrown@google.com> |
Remove clearUserActivityTimeout(). This function is not implemented and not needed. Bug: 7165399 Change-Id: Ib1c50fabad6292ccf670404ba70aeb1242c4614d
ridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java
|
120664816a9bf325b618d8dd40febae2e3636ec8 |
29-Sep-2012 |
Jeff Brown <jeffbrown@google.com> |
Get rid of preventScreenOn(). Bug: 7165399 Change-Id: I1968265ecd74fff4d85efd2ca03b1983425ea518
ridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java
|
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
ridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java
|
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
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
|
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
ridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
|
4b15ab66a064ba4fae3bb1ff474d8b5fc38e5490 |
07-Sep-2012 |
Svetoslav Ganov <svetoslavganov@google.com> |
Fixing the build Change-Id: I123b128f5d9e50653d8d4ed73ea07920b370b0fb
ridge/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
ridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
ridge/src/com/android/layoutlib/bridge/android/BridgeWindowSession.java
|
5eb51defe39f765d6ebe868dba7f187f7dd990f6 |
04-Sep-2012 |
Xavier Ducrohet <xav@android.com> |
Add some new native deletage to layoutlib. Change-Id: Ib53df6c944ecd9680bf929afe03b08bcaa61ad70
ridge/src/android/os/SystemClock_Delegate.java
ridge/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
ridge/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
ridge/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
ridge/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
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
|
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
ridge/src/android/view/AttachInfo_Accessor.java
ridge/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
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
|
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.
ridge/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
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/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
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
|
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
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
|
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
ridge/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
ridge/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
ridge/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
ridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
|
39df578acddb739d7608e458533904bf5814c0da |
27-Jul-2012 |
Craig Mautner <cmautner@google.com> |
Fix build. Change-Id: I52bbebae38912a4fb71c96174b3d4d8eb6be10c1
ridge/src/com/android/layoutlib/bridge/android/BridgeWindowSession.java
|
aa871b0ff0fb38112a1693e80e1146cecc5db21d |
26-Jul-2012 |
Jeff Brown <jeffbrown@google.com> |
Fix build. Change-Id: Ife2fd58447205407e41ce3d27e28a705b744bede
ridge/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
ridge/src/android/view/Display_Delegate.java
ridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
|
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
ridge/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
ridge/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
ridge/src/android/util/LruCache.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
reate/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
ridge/src/android/util/LruCache.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
|
a4b7f2f75e7803193429ec1179fb5e2eb1c6fbda |
21-May-2012 |
Dianne Hackborn <hackbod@google.com> |
Use two fingers to work some magic... Change-Id: Ibcb3dbd3d158c22da8277e544d81fb47eadccd49
ridge/src/com/android/layoutlib/bridge/android/BridgeWindowSession.java
|
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
ridge/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
|
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
reate/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
reate/src/com/android/tools/layoutlib/create/DependencyFinder.java
reate/src/com/android/tools/layoutlib/create/Log.java
reate/src/com/android/tools/layoutlib/create/Main.java
|
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
ridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
|
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
ridge/src/com/android/layoutlib/bridge/android/BridgeContentResolver.java
|
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
|
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.
|
4286d6d115385391b75db8e6c4e397008ef9b3db |
14-May-2012 |
Dianne Hackborn <hackbod@google.com> |
Fix build. Change-Id: I53263d509559c70100cd78ad49f225f0dafd8891
ridge/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
ridge/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.
|
421dceb0a4fd8f20349a0de277f82b56e71cb90b |
10-May-2012 |
Michael Jurka <mikejurka@google.com> |
Merge "Making transition out of recents look better" into jb-dev
|
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
ridge/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
ridge/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.
|
f18c68b83f4919cf903e249da056acb470b683af |
09-May-2012 |
Xavier Ducrohet <xav@android.com> |
Add missing native method to Canvas_Delegate. Change-Id: I86288c942004e5489eacc43ba5e112cf56f94487
ridge/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
ridge/.classpath
ridge/tests/.classpath
|
a7771df3696954f0e279407e8894a916a7cb26cc |
08-May-2012 |
Jeff Brown <jeffbrown@google.com> |
Move CancellationSignal to android.os package. Bug: 6427830 Change-Id: I39451bb1e1d4a8d976ed1c671234f0c8c61658dd
ridge/src/com/android/layoutlib/bridge/android/BridgeContentProvider.java
|
bda124453d58d8b55d9026e4c5e7ae8c804e995a |
01-May-2012 |
Jean-Baptiste Queru <jbq@google.com> |
Move kxml2 to prebuilts/misc Change-Id: Ie4b45d2073f26d8313843f9860cf658e288c850b
ridge/.classpath
ridge/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
ridge/src/com/android/layoutlib/bridge/android/BridgeWindow.java
ridge/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
|
96ff709fe25632f6e27fa4c13c7d75dbbcfa38e0 |
28-Apr-2012 |
Jeff Brown <jeffbrown@google.com> |
Work around build break in layoutlib. Bug: 6413563 Change-Id: Ia7101fba87f3784fd8159c75e4289f642913d099
ridge/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
ridge/src/com/android/layoutlib/bridge/android/BridgeWindow.java
|
cb092e2b7fa46477651c8b8733d50307b0de9d6d |
24-Apr-2012 |
Xavier Ducrohet <xav@android.com> |
Fix Paint_Delegate with missing native method. Change-Id: I39638dcb323fdd1ec3cb58dcad05757145d09026
ridge/src/android/graphics/Paint_Delegate.java
reate/.classpath
|
68c33ca7ce1f142eb5f1e1f90118aeba4c9db1e3 |
19-Apr-2012 |
Dianne Hackborn <hackbod@google.com> |
Add new API to find smallest/largest screen size. Change-Id: I790801fceaf84ee2e3b1c9d32828285ad3231d0e
ridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
|
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
ridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
|
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
ridge/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
ridge/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
ridge/src/android/graphics/Bitmap_Delegate.java
|
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
ridge/src/android/graphics/BitmapFactory_Delegate.java
ridge/src/android/view/ViewRootImpl_Delegate.java
reate/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
ridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
|
5d701eddcf7f4abd5867ec3bf2091916d5ebbdf1 |
16-Mar-2012 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: Properly support attr ns when used in styles. Change-Id: I885864588928589d7c9a34b94339917c5be47fa5
ridge/src/android/content/res/BridgeResources.java
ridge/src/android/content/res/BridgeTypedArray.java
ridge/src/com/android/layoutlib/bridge/BridgeRenderSession.java
ridge/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
ridge/src/com/android/internal/policy/PolicyManager.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java
ridge/src/com/android/layoutlib/bridge/util/DynamicIdMap.java
reate/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
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
|
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
ridge/src/com/android/layoutlib/bridge/android/BridgeWindow.java
|
e0cf12fc4d5c9de464f899522a9e2ca77dbb865a |
08-Mar-2012 |
Romain Guy <romainguy@google.com> |
Fix the build Change-Id: Ia86ba9b1c432ab3f8107557e95b12c9eedc4d9f7
ridge/src/com/android/layoutlib/bridge/android/BridgeWindow.java
|
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.
|
44e63a218cf8fcab9b4418246a512bd0b0c9157b |
25-Feb-2012 |
Xavier Ducrohet <xav@android.com> |
Support rendering layout that use the new res-auto namespace. Change-Id: I9b89c965dc8c9458e74c15ab8ff765e16e1b32c2
ridge/src/com/android/layoutlib/bridge/BridgeConstants.java
ridge/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.
|
b69b2c01b4de8a161d6c39e7428ffd25c36eb8cc |
25-Feb-2012 |
Dianne Hackborn <hackbod@google.com> |
Fix build. Change-Id: Id3262bff0df598ecc81a4346dee9febd3aaa60c9
ridge/src/com/android/layoutlib/bridge/android/BridgeIInputMethodManager.java
|
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.
|
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
ridge/src/android/util/BridgeXmlPullAttributes.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
|
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
ridge/src/android/view/AttachInfo_Accessor.java
|
688bd47fccf1a1373e6287bc49b5b33fad12b7f3 |
09-Feb-2012 |
satok <satok@google.com> |
Add an api to switch to the next IME and subtype Bug: 5975302 Change-Id: I48aa4220159c65f456d61a324efcdf0a1ceec91c
ridge/src/com/android/layoutlib/bridge/android/BridgeIInputMethodManager.java
|
c8a0b8e6bccc604d3670d72cab0691ab6b8302c1 |
07-Feb-2012 |
Xavier Ducrohet <xav@android.com> |
Fix a setBackgroundDrawable in layoutlib. Change-Id: Id5f3ec8cc6863fa5929743ef4014c331633efce9
ridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
|
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
ridge/resources/bars/action_bar.xml
ridge/src/android/graphics/Matrix_Delegate.java
ridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ridge/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
ridge/resources/bars/action_bar.xml
ridge/src/android/graphics/Matrix_Delegate.java
ridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ridge/src/com/android/layoutlib/bridge/bars/FakeActionBar.java
|
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
ridge/src/com/android/layoutlib/bridge/android/BridgeContentProvider.java
|
46d43ccfd8cef75b4315828073c094cf1efb05ff |
03-Feb-2012 |
Xavier Ducrohet <xav@android.com> |
Make Layoutlib compile on Java 6. Change-Id: Ic8f0e321c6c218de83664fc01f253a07fa80852c
ridge/.settings/README.txt
ridge/.settings/org.eclipse.jdt.core.prefs
ridge/src/android/animation/AnimationThread.java
ridge/src/android/graphics/BitmapShader_Delegate.java
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/Gradient_Delegate.java
ridge/src/android/graphics/LinearGradient_Delegate.java
ridge/src/android/graphics/NinePatch_Delegate.java
ridge/src/android/graphics/RadialGradient_Delegate.java
ridge/src/android/graphics/SweepGradient_Delegate.java
ridge/src/android/view/SurfaceView.java
ridge/src/com/android/internal/textservice/ITextServicesManager_Stub_Delegate.java
ridge/src/com/android/layoutlib/bridge/android/BridgeIInputMethodManager.java
ridge/src/com/android/layoutlib/bridge/android/BridgeLayoutParamsMapAttributes.java
ridge/src/com/android/layoutlib/bridge/android/BridgeWindow.java
ridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
ridge/src/com/android/layoutlib/bridge/android/BridgeWindowSession.java
ridge/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParser.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ridge/src/com/android/layoutlib/bridge/impl/binding/FakeAdapter.java
ridge/src/com/android/layoutlib/bridge/impl/binding/FakeExpandableAdapter.java
reate/.settings/README.txt
reate/.settings/org.eclipse.jdt.core.prefs
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
reate/src/com/android/tools/layoutlib/create/MethodAdapter.java
reate/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
|
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
ridge/src/com/android/layoutlib/bridge/android/BridgeContentProvider.java
|
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
ridge/src/android/graphics/Paint_Delegate.java
|
5bf2802ad9de237ccc014489dd36ff4baadadfaa |
19-Jan-2012 |
Xavier Ducrohet <xav@android.com> |
Fix broken drawCircle LayoutLib. Change-Id: I5e23bbe0119e385fa2f77854a8f88128351d3759
ridge/src/android/graphics/Canvas_Delegate.java
|
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
ridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
|
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
ridge/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
reate/.classpath
reate/Android.mk
reate/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
reate/src/com/android/tools/layoutlib/create/ClassHasNativeVisitor.java
reate/src/com/android/tools/layoutlib/create/DelegateClassAdapter.java
reate/src/com/android/tools/layoutlib/create/DelegateMethodAdapter2.java
reate/src/com/android/tools/layoutlib/create/RenameClassAdapter.java
reate/src/com/android/tools/layoutlib/create/StubMethodAdapter.java
reate/src/com/android/tools/layoutlib/create/TransformClassAdapter.java
|
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
|
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
ridge/src/com/android/layoutlib/bridge/android/BridgeWindowSession.java
|
8836c55818937ba00f186075eb7efb6462191113 |
01-Nov-2011 |
Tor Norbye <tnorbye@google.com> |
Set theme-tag in render log when failing to find style Change-Id: I20461a7113eb25469deca13dca870936bdb33a29
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
|
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
ridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
|
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
ridge/src/com/android/layoutlib/bridge/android/BridgeContentProvider.java
|
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
ridge/src/com/android/layoutlib/bridge/android/BridgeWindow.java
ridge/src/com/android/layoutlib/bridge/android/BridgeWindowSession.java
|
2447871b99e6b10a68985f037420eb77cabe4d29 |
06-Oct-2011 |
Jeff Brown <jeffbrown@google.com> |
Fix build. Change-Id: I7bb00b8ee0da952f3697b23dccf32dde55733b7a
ridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
|
d410bfb2001e7960a27fe6adb9d56f229e70fe5c |
05-Oct-2011 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: fix support for textScaleX. Change-Id: I821191a40012e9727b4a3573d580483c3ae1de48
ridge/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
ridge/src/android/graphics/Typeface_Delegate.java
ridge/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
ridge/src/android/graphics/Typeface_Delegate.java
ridge/src/com/android/layoutlib/bridge/impl/FontLoader.java
|
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
ridge/src/android/content/res/Resources_Theme_Delegate.java
ridge/src/android/graphics/Typeface_Accessor.java
ridge/src/android/os/Looper_Accessor.java
ridge/src/android/view/AttachInfo_Accessor.java
ridge/src/android/view/ViewConfiguration_Accessor.java
ridge/src/android/view/inputmethod/InputMethodManager_Accessor.java
ridge/src/com/android/internal/textservice/ITextServicesManager_Stub_Delegate.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
reate/src/com/android/tools/layoutlib/create/DelegateMethodAdapter2.java
|
387d078e64f3bcc8284732287bc3f26fce856a88 |
30-Sep-2011 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: Fix native delegate for Display. Change-Id: If097cae2309d340162b3bac1d0f6a2289635adca
ridge/src/android/view/Display_Delegate.java
|
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
ridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
|
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
ridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
|
ce801c4a1b1137ca2fd51ede6818722793c79ea4 |
19-Sep-2011 |
Dianne Hackborn <hackbod@google.com> |
Fix build. Change-Id: Ife2b4b207270f8017d3acd80c76eaf1c7a50986d
ridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
|
ee5e77cafec2eae70890abdcc1646ed39b06eddd |
02-Sep-2011 |
satok <satok@google.com> |
Make setAdditionalInputMethodSubtypes async Bug: 5120261 Change-Id: Ic7869cfaa5361531e08d58d7dfa5ba0feab0613e
ridge/src/com/android/layoutlib/bridge/android/BridgeIInputMethodManager.java
|
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
ridge/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
ridge/src/android/graphics/Paint_Delegate.java
|
7f9f99ea11051614a7727dfb9f9578b518e76e3c |
11-Aug-2011 |
Xavier Ducrohet <xav@android.com> |
Make some methods/fields package private so that layoutlib can access them. Change-Id: I4aeadfbaf8a4f6a459fa19937c21ac23d9e5fb64
ridge/src/android/animation/AnimationThread.java
ridge/src/android/content/res/BridgeAssetManager.java
ridge/src/android/content/res/BridgeResources.java
ridge/src/android/content/res/BridgeTypedArray.java
ridge/src/android/content/res/TypedArray_Delegate.java
ridge/src/android/graphics/Bitmap_Delegate.java
ridge/src/android/graphics/Typeface_Accessor.java
ridge/src/android/os/Looper_Accessor.java
ridge/src/android/os/SystemClock_Delegate.java
ridge/src/android/util/BridgeXmlPullAttributes.java
ridge/src/android/view/AttachInfo_Accessor.java
ridge/src/android/view/BridgeInflater.java
ridge/src/android/view/Display_Delegate.java
ridge/src/android/view/LayoutInflater_Delegate.java
ridge/src/android/view/ViewConfiguration_Accessor.java
ridge/src/android/view/inputmethod/InputMethodManager_Accessor.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/android/BridgeAssetManager.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ridge/src/com/android/layoutlib/bridge/android/BridgeWindow.java
ridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
ridge/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParser.java
ridge/src/com/android/layoutlib/bridge/android/BridgeXmlPullAttributes.java
ridge/src/com/android/layoutlib/bridge/bars/PhoneSystemBar.java
ridge/src/com/android/layoutlib/bridge/impl/AnimationThread.java
ridge/src/com/android/layoutlib/bridge/impl/PlayAnimationThread.java
ridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
ridge/src/com/android/layoutlib/bridge/impl/RenderDrawable.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
reate/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
ridge/src/android/util/Log_Delegate.java
reate/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
ridge/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
ridge/src/android/content/res/BridgeResources.java
|
569ed054042f0350e898b4352694b792b0fdef9b |
02-Aug-2011 |
Xavier Ducrohet <xav@android.com> |
Layoutlib: simple comment fix. Change-Id: I402f6b465706e8edd14e512a973d087a14abbfe3
ridge/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
ridge/src/android/content/res/BridgeResources.java
ridge/src/android/content/res/BridgeTypedArray.java
ridge/src/android/graphics/BitmapFactory_Delegate.java
ridge/src/android/view/LayoutInflater_Delegate.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
reate/src/com/android/tools/layoutlib/create/Main.java
|
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
ridge/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.
|
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.
|
caed59d90db8626462baaec351e66b2a3280dc34 |
20-Jul-2011 |
Raphael Moll <ralf@android.com> |
Layoutlib_create flag -p: don't change all accesses to public. Change-Id: Icb1709ed0cb275a5a51ca34030695a5e94091499
reate/src/com/android/tools/layoutlib/create/DelegateClassAdapter.java
reate/src/com/android/tools/layoutlib/create/Main.java
reate/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
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/text/AndroidBidi_Delegate.java
ridge/src/android/view/inputmethod/InputMethodManager_Delegate.java
ridge/src/com/android/layoutlib/bridge/android/BridgeIInputMethodManager.java
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
|
91e88122cf28a48fd2e2260da7d3d87dd437227a |
18-Jul-2011 |
satok <satok@google.com> |
Enable IMEs to set additional subtypes in background Bug: 4591792 Change-Id: I7e61a576c56d1a3a56001bdf2fd51ad3801add01
ridge/src/com/android/layoutlib/bridge/android/BridgeIInputMethodManager.java
|
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.
|
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
ridge/src/android/view/accessibility/AccessibilityManager.java
ridge/src/android/view/inputmethod/InputMethodManager_Delegate.java
ridge/src/com/android/layoutlib/bridge/android/BridgeIInputMethodManager.java
ridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
reate/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
ridge/src/android/view/Display_Delegate.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java
ridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
ridge/tests/.classpath
reate/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
ridge/resources/bars/hdpi/ic_sysbar_back_default.png
ridge/resources/bars/hdpi/ic_sysbar_home_default.png
ridge/resources/bars/hdpi/ic_sysbar_recent_default.png
ridge/resources/bars/mdpi/ic_sysbar_back_default.png
ridge/resources/bars/mdpi/ic_sysbar_home_default.png
ridge/resources/bars/mdpi/ic_sysbar_recent_default.png
ridge/resources/bars/xhdpi/ic_sysbar_back_default.png
ridge/resources/bars/xhdpi/ic_sysbar_home_default.png
ridge/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
ridge/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.
|
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
ridge/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
ridge/src/libcore/icu/ICU_Delegate.java
ridge/tests/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParserTest.java
|
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
reate/README.txt
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
reate/src/com/android/tools/layoutlib/create/DelegateClassAdapter.java
reate/src/com/android/tools/layoutlib/create/DelegateMethodAdapter.java
reate/src/com/android/tools/layoutlib/create/DelegateMethodAdapter2.java
reate/src/com/android/tools/layoutlib/create/StubMethodAdapter.java
reate/tests/com/android/tools/layoutlib/create/DelegateClassAdapterTest.java
reate/tests/com/android/tools/layoutlib/create/dataclass/OuterClass.java
reate/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
ridge/tests/Android.mk
ridge/tests/res/com/android/layoutlib/testdata/layout1.xml
ridge/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
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ridge/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParser.java
ridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ridge/src/com/android/layoutlib/bridge/bars/PhoneSystemBar.java
ridge/src/com/android/layoutlib/bridge/bars/TitleBar.java
ridge/src/com/android/layoutlib/bridge/impl/ParserFactory.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
ridge/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
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/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
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
|
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.
|
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.
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ridge/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParser.java
ridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ridge/src/com/android/layoutlib/bridge/bars/FakeActionBar.java
ridge/src/com/android/layoutlib/bridge/bars/PhoneSystemBar.java
ridge/src/com/android/layoutlib/bridge/bars/TabletSystemBar.java
ridge/src/com/android/layoutlib/bridge/bars/TitleBar.java
ridge/src/com/android/layoutlib/bridge/impl/ParserFactory.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
ridge/tests/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParserTest.java
|
66743a1ec0dddadec7cd8f026f9b6a2239f515be |
15-Jun-2011 |
Xavier Ducrohet <xav@android.com> |
Fix changed native method delegates in layoutlib for ICS. Change-Id: I49306868cd8a41b6b7d919c3e8b108d5c014530e
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/Paint_Delegate.java
ridge/src/libcore/icu/ICU_Delegate.java
|
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.
|
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
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/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
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ridge/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.
|
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
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/os/HandlerThread_Delegate.java
ridge/src/android/view/LayoutInflater_Delegate.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
ridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
ridge/tests/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParserTest.java
reate/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
ridge/src/android/os/HandlerThread_Delegate.java
ridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
reate/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
ridge/src/android/graphics/Canvas_Delegate.java
|
f174cd86bd70c1f1322cc15f42d5fd87223933a0 |
03-Jun-2011 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: enable the LAYOUT_ONLY capability. Change-Id: Ib302af47d2a83a7ac3def6256bf0b892823f594f
ridge/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
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
ridge/tests/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParserTest.java
|
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
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
|
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
ridge/src/android/graphics/Canvas_Delegate.java
|
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
ridge/src/android/view/LayoutInflater_Delegate.java
ridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
|
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.
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/MockView.java
ridge/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
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/BridgeRenderSession.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ridge/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParser.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
ridge/src/com/android/layoutlib/bridge/impl/binding/BaseAdapter.java
ridge/src/com/android/layoutlib/bridge/impl/binding/FakeAdapter.java
ridge/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.
|
05b7b69c6c5d418e18db644feed1ec2ca83291cc |
17-May-2011 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: support the new baseline/margin query API. Change-Id: I856489df655960820b8eaa4c6179515a5c069b00
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/MockView.java
ridge/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
|
2fae858db55fc6984ef923a6226b9408c37c72cb |
29-Mar-2011 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: implement data binding for most AdapterView Change-Id: I27be96ed2c37573eb22cfbb391d96b6137b3df8c
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/BridgeRenderSession.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ridge/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParser.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
ridge/src/com/android/layoutlib/bridge/impl/binding/BaseAdapter.java
ridge/src/com/android/layoutlib/bridge/impl/binding/FakeAdapter.java
ridge/src/com/android/layoutlib/bridge/impl/binding/FakeExpandableAdapter.java
|
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
ridge/src/android/graphics/Shader_Delegate.java
ridge/src/com/android/layoutlib/bridge/impl/GcSnapshot.java
|
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
ridge/src/android/graphics/Shader_Delegate.java
ridge/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
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
|
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
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
|
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
ridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
|
67450db03eac59c93b2b46c7872ce4d7dca47265 |
17-Mar-2011 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: TypedArray.getDimensionPixelSize can actually return <0 Change-Id: I17853dc242e28f0c59916cad1b2a57beed480a57
ridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
|
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
ridge/src/android/graphics/Canvas_Delegate.java
ridge/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
ridge/src/android/graphics/Path_Delegate.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
|
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
ridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ridge/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.
ridge/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
ridge/src/android/graphics/Canvas_Delegate.java
ridge/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
ridge/src/android/graphics/Path_Delegate.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/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
ridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ridge/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
ridge/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
ridge/src/com/android/layoutlib/bridge/android/BridgeWindowSession.java
|
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.
gitignore
ridge/.classpath
ridge/Android.mk
ridge/tests/.classpath
ridge/tests/.project
ridge/tests/Android.mk
ridge/tests/com/android/layoutlib/bridge/AndroidGraphicsTests.java
ridge/tests/com/android/layoutlib/bridge/NinePatchTest.java
ridge/tests/com/android/layoutlib/bridge/TestDelegates.java
ridge/tests/com/android/layoutlib/bridge/android/BridgeXmlBlockParserTest.java
ridge/tests/com/android/layoutlib/testdata/button.9.png
ridge/tests/com/android/layoutlib/testdata/layout1.xml
ridge/tests/src/android/graphics/Matrix_DelegateTest.java
ridge/tests/src/com/android/layoutlib/bridge/TestDelegates.java
ridge/tests/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParserTest.java
ridge/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
ridge/src/android/graphics/Canvas_Delegate.java
|
1911a6f7812e3f7dcb83fd4741a297d043a80e46 |
24-Feb-2011 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: move tests to their own project. Change-Id: I8a9e128e4a17ab57ec7b126a378035d9ce5bc168
gitignore
ridge/.classpath
ridge/Android.mk
ridge/tests/.classpath
ridge/tests/.project
ridge/tests/Android.mk
ridge/tests/com/android/layoutlib/bridge/AndroidGraphicsTests.java
ridge/tests/com/android/layoutlib/bridge/NinePatchTest.java
ridge/tests/com/android/layoutlib/bridge/TestDelegates.java
ridge/tests/com/android/layoutlib/bridge/android/BridgeXmlBlockParserTest.java
ridge/tests/com/android/layoutlib/testdata/button.9.png
ridge/tests/com/android/layoutlib/testdata/layout1.xml
ridge/tests/src/android/graphics/Matrix_DelegateTest.java
ridge/tests/src/com/android/layoutlib/bridge/TestDelegates.java
ridge/tests/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParserTest.java
ridge/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
ridge/resources/bars/action_bar.xml
ridge/resources/bars/mdpi/ic_sysbar_back_default.png
ridge/resources/bars/mdpi/ic_sysbar_home_default.png
ridge/resources/bars/mdpi/ic_sysbar_recent_default.png
ridge/resources/bars/tablet_system_bar.xml
ridge/src/android/animation/PropertyValuesHolder_Delegate.java
ridge/src/android/app/Fragment_Delegate.java
ridge/src/android/graphics/BitmapFactory_Delegate.java
ridge/src/android/graphics/BitmapShader_Delegate.java
ridge/src/android/graphics/Bitmap_Delegate.java
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/ColorFilter_Delegate.java
ridge/src/android/graphics/ColorMatrixColorFilter_Delegate.java
ridge/src/android/graphics/ComposeShader_Delegate.java
ridge/src/android/graphics/LightingColorFilter_Delegate.java
ridge/src/android/graphics/LinearGradient_Delegate.java
ridge/src/android/graphics/Paint_Delegate.java
ridge/src/android/graphics/PorterDuffColorFilter_Delegate.java
ridge/src/android/graphics/RadialGradient_Delegate.java
ridge/src/android/graphics/Region_Delegate.java
ridge/src/android/graphics/Shader_Delegate.java
ridge/src/android/graphics/SweepGradient_Delegate.java
ridge/src/android/view/LayoutInflater_Delegate.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/BridgeRenderSession.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ridge/src/com/android/layoutlib/bridge/android/BridgeWindow.java
ridge/src/com/android/layoutlib/bridge/android/BridgeWindowSession.java
ridge/src/com/android/layoutlib/bridge/bars/FakeActionBar.java
ridge/src/com/android/layoutlib/bridge/bars/PhoneSystemBar.java
ridge/src/com/android/layoutlib/bridge/bars/TabletSystemBar.java
ridge/src/com/android/layoutlib/bridge/impl/AnimationThread.java
ridge/src/com/android/layoutlib/bridge/impl/GcSnapshot.java
ridge/src/com/android/layoutlib/bridge/impl/PlayAnimationThread.java
ridge/src/com/android/layoutlib/bridge/impl/RenderDrawable.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ridge/src/libcore/icu/ICU_Delegate.java
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
reate/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
EADME
ridge/.classpath
ridge/Android.mk
ridge/resources/bars/action_bar.xml
ridge/resources/bars/hdpi/stat_sys_wifi_signal_4_fully.png
ridge/resources/bars/hdpi/status_bar_background.9.png
ridge/resources/bars/mdpi/ic_sysbar_back_default.png
ridge/resources/bars/mdpi/ic_sysbar_home_default.png
ridge/resources/bars/mdpi/ic_sysbar_recent_default.png
ridge/resources/bars/mdpi/stat_sys_wifi_signal_4_fully.png
ridge/resources/bars/mdpi/status_bar_background.9.png
ridge/resources/bars/phone_system_bar.xml
ridge/resources/bars/tablet_system_bar.xml
ridge/resources/bars/title_bar.xml
ridge/src/android/animation/PropertyValuesHolder_Delegate.java
ridge/src/android/app/Fragment_Delegate.java
ridge/src/android/content/res/Resources_Theme_Delegate.java
ridge/src/android/graphics/AvoidXfermode_Delegate.java
ridge/src/android/graphics/Bitmap.java
ridge/src/android/graphics/BitmapFactory.java
ridge/src/android/graphics/BitmapFactory_Delegate.java
ridge/src/android/graphics/BitmapShader.java
ridge/src/android/graphics/BitmapShader_Delegate.java
ridge/src/android/graphics/Bitmap_Delegate.java
ridge/src/android/graphics/BlurMaskFilter_Delegate.java
ridge/src/android/graphics/Canvas.java
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/ColorFilter_Delegate.java
ridge/src/android/graphics/ColorMatrixColorFilter_Delegate.java
ridge/src/android/graphics/ComposePathEffect_Delegate.java
ridge/src/android/graphics/ComposeShader.java
ridge/src/android/graphics/ComposeShader_Delegate.java
ridge/src/android/graphics/CornerPathEffect_Delegate.java
ridge/src/android/graphics/DashPathEffect.java
ridge/src/android/graphics/DashPathEffect_Delegate.java
ridge/src/android/graphics/DiscretePathEffect_Delegate.java
ridge/src/android/graphics/DrawFilter_Delegate.java
ridge/src/android/graphics/EmbossMaskFilter_Delegate.java
ridge/src/android/graphics/GradientShader.java
ridge/src/android/graphics/Gradient_Delegate.java
ridge/src/android/graphics/LayerRasterizer_Delegate.java
ridge/src/android/graphics/LightingColorFilter_Delegate.java
ridge/src/android/graphics/LinearGradient.java
ridge/src/android/graphics/LinearGradient_Delegate.java
ridge/src/android/graphics/MaskFilter_Delegate.java
ridge/src/android/graphics/Matrix.java
ridge/src/android/graphics/Matrix_Delegate.java
ridge/src/android/graphics/NinePatch_Delegate.java
ridge/src/android/graphics/Paint.java
ridge/src/android/graphics/PaintFlagsDrawFilter_Delegate.java
ridge/src/android/graphics/Paint_Delegate.java
ridge/src/android/graphics/Path.java
ridge/src/android/graphics/PathDashPathEffect_Delegate.java
ridge/src/android/graphics/PathEffect_Delegate.java
ridge/src/android/graphics/Path_Delegate.java
ridge/src/android/graphics/PixelXorXfermode_Delegate.java
ridge/src/android/graphics/PorterDuffColorFilter_Delegate.java
ridge/src/android/graphics/PorterDuffXfermode.java
ridge/src/android/graphics/PorterDuffXfermode_Delegate.java
ridge/src/android/graphics/RadialGradient.java
ridge/src/android/graphics/RadialGradient_Delegate.java
ridge/src/android/graphics/Rasterizer_Delegate.java
ridge/src/android/graphics/Region_Delegate.java
ridge/src/android/graphics/Shader.java
ridge/src/android/graphics/Shader_Delegate.java
ridge/src/android/graphics/SumPathEffect_Delegate.java
ridge/src/android/graphics/SweepGradient.java
ridge/src/android/graphics/SweepGradient_Delegate.java
ridge/src/android/graphics/Typeface.java
ridge/src/android/graphics/Typeface_Delegate.java
ridge/src/android/graphics/Xfermode_Delegate.java
ridge/src/android/os/Build_Delegate.java
ridge/src/android/os/Handler_Delegate.java
ridge/src/android/os/SystemClock_Delegate.java
ridge/src/android/util/FloatMath.java
ridge/src/android/util/FloatMath_Delegate.java
ridge/src/android/view/BridgeInflater.java
ridge/src/android/view/LayoutInflater_Delegate.java
ridge/src/android/view/View_Delegate.java
ridge/src/com/android/internal/util/XmlUtils_Delegate.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/BridgeAssetManager.java
ridge/src/com/android/layoutlib/bridge/BridgeConstants.java
ridge/src/com/android/layoutlib/bridge/BridgeContentResolver.java
ridge/src/com/android/layoutlib/bridge/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/BridgeRenderSession.java
ridge/src/com/android/layoutlib/bridge/BridgeResources.java
ridge/src/com/android/layoutlib/bridge/BridgeTypedArray.java
ridge/src/com/android/layoutlib/bridge/BridgeXmlBlockParser.java
ridge/src/com/android/layoutlib/bridge/BridgeXmlPullAttributes.java
ridge/src/com/android/layoutlib/bridge/FontLoader.java
ridge/src/com/android/layoutlib/bridge/LayoutResult.java
ridge/src/com/android/layoutlib/bridge/NinePatchDrawable.java
ridge/src/com/android/layoutlib/bridge/ResourceHelper.java
ridge/src/com/android/layoutlib/bridge/ResourceValue.java
ridge/src/com/android/layoutlib/bridge/android/BridgeAssetManager.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContentProvider.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContentResolver.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ridge/src/com/android/layoutlib/bridge/android/BridgeLayoutParamsMapAttributes.java
ridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ridge/src/com/android/layoutlib/bridge/android/BridgeWindow.java
ridge/src/com/android/layoutlib/bridge/android/BridgeWindowSession.java
ridge/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParser.java
ridge/src/com/android/layoutlib/bridge/android/BridgeXmlPullAttributes.java
ridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ridge/src/com/android/layoutlib/bridge/bars/FakeActionBar.java
ridge/src/com/android/layoutlib/bridge/bars/PhoneSystemBar.java
ridge/src/com/android/layoutlib/bridge/bars/TabletSystemBar.java
ridge/src/com/android/layoutlib/bridge/bars/TitleBar.java
ridge/src/com/android/layoutlib/bridge/impl/AnimationThread.java
ridge/src/com/android/layoutlib/bridge/impl/DelegateManager.java
ridge/src/com/android/layoutlib/bridge/impl/FontLoader.java
ridge/src/com/android/layoutlib/bridge/impl/GcSnapshot.java
ridge/src/com/android/layoutlib/bridge/impl/PlayAnimationThread.java
ridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
ridge/src/com/android/layoutlib/bridge/impl/RenderDrawable.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
ridge/src/com/android/layoutlib/bridge/impl/Stack.java
ridge/src/com/android/layoutlib/bridge/util/Debug.java
ridge/src/com/android/layoutlib/bridge/util/SparseWeakArray.java
ridge/src/libcore/icu/ICU_Delegate.java
ridge/tests/com/android/layoutlib/bridge/AndroidGraphicsTests.java
ridge/tests/com/android/layoutlib/bridge/BridgeXmlBlockParserTest.java
ridge/tests/com/android/layoutlib/bridge/NinePatchTest.java
ridge/tests/com/android/layoutlib/bridge/TestClassReplacement.java
ridge/tests/com/android/layoutlib/bridge/TestDelegates.java
ridge/tests/com/android/layoutlib/bridge/android/BridgeXmlBlockParserTest.java
reate/README.txt
reate/src/com/android/tools/layoutlib/annotations/LayoutlibDelegate.java
reate/src/com/android/tools/layoutlib/annotations/Nullable.java
reate/src/com/android/tools/layoutlib/annotations/VisibleForTesting.java
reate/src/com/android/tools/layoutlib/create/AsmGenerator.java
reate/src/com/android/tools/layoutlib/create/ClassHasNativeVisitor.java
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
reate/src/com/android/tools/layoutlib/create/DelegateClassAdapter.java
reate/src/com/android/tools/layoutlib/create/DelegateMethodAdapter.java
reate/src/com/android/tools/layoutlib/create/ICreateInfo.java
reate/src/com/android/tools/layoutlib/create/Main.java
reate/src/com/android/tools/layoutlib/create/TransformClassAdapter.java
reate/tests/com/android/tools/layoutlib/create/AsmAnalyzerTest.java
reate/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
reate/tests/com/android/tools/layoutlib/create/ClassHasNativeVisitorTest.java
reate/tests/com/android/tools/layoutlib/create/DelegateClassAdapterTest.java
reate/tests/com/android/tools/layoutlib/create/LogTest.java
reate/tests/com/android/tools/layoutlib/create/MockLog.java
reate/tests/com/android/tools/layoutlib/create/dataclass/ClassWithNative.java
reate/tests/com/android/tools/layoutlib/create/dataclass/ClassWithNative_Delegate.java
reate/tests/com/android/tools/layoutlib/create/dataclass/OuterClass.java
reate/tests/com/android/tools/layoutlib/create/dataclass/OuterClass_Delegate.java
reate/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
ridge/src/android/graphics/Bitmap_Delegate.java
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/ColorFilter_Delegate.java
ridge/src/android/graphics/DrawFilter_Delegate.java
ridge/src/android/graphics/MaskFilter_Delegate.java
ridge/src/android/graphics/Matrix_Delegate.java
ridge/src/android/graphics/Paint_Delegate.java
ridge/src/android/graphics/PathEffect_Delegate.java
ridge/src/android/graphics/Path_Delegate.java
ridge/src/android/graphics/Rasterizer_Delegate.java
ridge/src/android/graphics/Region_Delegate.java
ridge/src/android/graphics/Shader_Delegate.java
ridge/src/android/graphics/Typeface_Delegate.java
ridge/src/android/graphics/Xfermode_Delegate.java
ridge/src/com/android/layoutlib/bridge/impl/DelegateManager.java
ridge/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
ridge/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
ridge/resources/bars/phone_system_bar.xml
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/Paint_Delegate.java
ridge/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
ridge/src/android/graphics/AvoidXfermode_Delegate.java
ridge/src/android/graphics/BitmapShader_Delegate.java
ridge/src/android/graphics/Bitmap_Delegate.java
ridge/src/android/graphics/BlurMaskFilter_Delegate.java
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/ColorFilter_Delegate.java
ridge/src/android/graphics/ColorMatrixColorFilter_Delegate.java
ridge/src/android/graphics/ComposePathEffect_Delegate.java
ridge/src/android/graphics/ComposeShader_Delegate.java
ridge/src/android/graphics/CornerPathEffect_Delegate.java
ridge/src/android/graphics/DashPathEffect_Delegate.java
ridge/src/android/graphics/DiscretePathEffect_Delegate.java
ridge/src/android/graphics/DrawFilter_Delegate.java
ridge/src/android/graphics/EmbossMaskFilter_Delegate.java
ridge/src/android/graphics/LayerRasterizer_Delegate.java
ridge/src/android/graphics/LightingColorFilter_Delegate.java
ridge/src/android/graphics/LinearGradient_Delegate.java
ridge/src/android/graphics/MaskFilter_Delegate.java
ridge/src/android/graphics/Matrix_Delegate.java
ridge/src/android/graphics/PaintFlagsDrawFilter_Delegate.java
ridge/src/android/graphics/Paint_Delegate.java
ridge/src/android/graphics/PathDashPathEffect_Delegate.java
ridge/src/android/graphics/PathEffect_Delegate.java
ridge/src/android/graphics/Path_Delegate.java
ridge/src/android/graphics/PixelXorXfermode_Delegate.java
ridge/src/android/graphics/PorterDuffColorFilter_Delegate.java
ridge/src/android/graphics/PorterDuffXfermode_Delegate.java
ridge/src/android/graphics/RadialGradient_Delegate.java
ridge/src/android/graphics/Rasterizer_Delegate.java
ridge/src/android/graphics/Region_Delegate.java
ridge/src/android/graphics/Shader_Delegate.java
ridge/src/android/graphics/SumPathEffect_Delegate.java
ridge/src/android/graphics/SweepGradient_Delegate.java
ridge/src/android/graphics/Typeface_Delegate.java
ridge/src/android/graphics/Xfermode_Delegate.java
ridge/src/com/android/layoutlib/bridge/impl/DelegateManager.java
ridge/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
ridge/src/com/android/layoutlib/bridge/util/SparseWeakArray.java
|
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
ridge/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
ridge/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
ridge/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
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
|
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.
|
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
ridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ridge/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParser.java
ridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ridge/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
ridge/src/android/graphics/Bitmap_Delegate.java
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/Paint_Delegate.java
ridge/src/android/graphics/Path_Delegate.java
ridge/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
ridge/src/android/animation/PropertyValuesHolder_Delegate.java
ridge/src/android/app/Fragment_Delegate.java
ridge/src/android/content/res/Resources_Theme_Delegate.java
ridge/src/android/graphics/AvoidXfermode_Delegate.java
ridge/src/android/graphics/BitmapFactory_Delegate.java
ridge/src/android/graphics/BitmapShader_Delegate.java
ridge/src/android/graphics/Bitmap_Delegate.java
ridge/src/android/graphics/BlurMaskFilter_Delegate.java
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/ColorFilter_Delegate.java
ridge/src/android/graphics/ColorMatrixColorFilter_Delegate.java
ridge/src/android/graphics/ComposePathEffect_Delegate.java
ridge/src/android/graphics/ComposeShader_Delegate.java
ridge/src/android/graphics/CornerPathEffect_Delegate.java
ridge/src/android/graphics/DashPathEffect_Delegate.java
ridge/src/android/graphics/DiscretePathEffect_Delegate.java
ridge/src/android/graphics/DrawFilter_Delegate.java
ridge/src/android/graphics/EmbossMaskFilter_Delegate.java
ridge/src/android/graphics/LayerRasterizer_Delegate.java
ridge/src/android/graphics/LightingColorFilter_Delegate.java
ridge/src/android/graphics/LinearGradient_Delegate.java
ridge/src/android/graphics/MaskFilter_Delegate.java
ridge/src/android/graphics/Matrix_Delegate.java
ridge/src/android/graphics/NinePatch_Delegate.java
ridge/src/android/graphics/PaintFlagsDrawFilter_Delegate.java
ridge/src/android/graphics/Paint_Delegate.java
ridge/src/android/graphics/PathDashPathEffect_Delegate.java
ridge/src/android/graphics/PathEffect_Delegate.java
ridge/src/android/graphics/Path_Delegate.java
ridge/src/android/graphics/PixelXorXfermode_Delegate.java
ridge/src/android/graphics/PorterDuffColorFilter_Delegate.java
ridge/src/android/graphics/PorterDuffXfermode_Delegate.java
ridge/src/android/graphics/RadialGradient_Delegate.java
ridge/src/android/graphics/Rasterizer_Delegate.java
ridge/src/android/graphics/Region_Delegate.java
ridge/src/android/graphics/Shader_Delegate.java
ridge/src/android/graphics/SumPathEffect_Delegate.java
ridge/src/android/graphics/SweepGradient_Delegate.java
ridge/src/android/graphics/Typeface_Delegate.java
ridge/src/android/graphics/Xfermode_Delegate.java
ridge/src/android/os/Build_Delegate.java
ridge/src/android/os/Handler_Delegate.java
ridge/src/android/os/SystemClock_Delegate.java
ridge/src/android/util/FloatMath_Delegate.java
ridge/src/android/view/LayoutInflater_Delegate.java
ridge/src/android/view/View_Delegate.java
ridge/src/com/android/internal/util/XmlUtils_Delegate.java
ridge/src/libcore/icu/ICU_Delegate.java
ridge/tests/com/android/layoutlib/bridge/TestClassReplacement.java
ridge/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
ridge/.classpath
ridge/Android.mk
|
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
ridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ridge/src/com/android/layoutlib/bridge/bars/PhoneSystemBar.java
ridge/src/com/android/layoutlib/bridge/bars/TabletSystemBar.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
|
4dd2299d5766bf14479578772a0946c5399a0158 |
07-Feb-2011 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: Update to latest API fix. Change-Id: I5147010e4f16a5c2ea0b98709c42f7ecd9412ff6
ridge/src/com/android/layoutlib/bridge/Bridge.java
|
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
ridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
|
13bdc3355c781dc2614f2810a42d3a9e73f5bed9 |
06-Feb-2011 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: improved rendering for system/title/action bars. Change-Id: I926531e9ad4a7b98e04e23cac3837794f7c89449
ridge/resources/bars/action_bar.xml
ridge/resources/bars/hdpi/stat_sys_wifi_signal_4_fully.png
ridge/resources/bars/hdpi/status_bar_background.9.png
ridge/resources/bars/mdpi/status_bar_background.9.png
ridge/resources/bars/phone_system_bar.xml
ridge/resources/bars/tablet_system_bar.xml
ridge/resources/bars/title_bar.xml
ridge/src/android/graphics/BitmapFactory_Delegate.java
ridge/src/android/graphics/NinePatch_Delegate.java
ridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ridge/src/com/android/layoutlib/bridge/bars/PhoneSystemBar.java
ridge/src/com/android/layoutlib/bridge/bars/TabletSystemBar.java
ridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
|
fd18f573280bbbcc549b35b548580a562bd960e2 |
05-Feb-2011 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: add implementation of Bridge.renderDrawable() Change-Id: Ic4d96488fd1a2e5b7d24353bebc8fdb24262c1d1
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
ridge/src/com/android/layoutlib/bridge/impl/RenderDrawable.java
|
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
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/impl/RenderAction.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
|
1126422ee1f532d8582a4e3b56dbfe505c15e775 |
05-Feb-2011 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: update to the new API. Change-Id: Ice028933cd2270c81c3d17f7bef7c5a9d14bd802
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
|
779c906592b67867fee83a6527d474c333a701ff |
05-Feb-2011 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: Replace custom BitmapFactory by a simpler delegate Change-Id: Ie61a0a5b4426e64bb71a22d76d05efa4c0865e5e
ridge/src/android/graphics/BitmapFactory.java
ridge/src/android/graphics/BitmapFactory_Delegate.java
ridge/src/android/graphics/Bitmap_Delegate.java
ridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
|
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
ridge/Android.mk
ridge/resources/bars/action_bar.xml
ridge/resources/bars/mdpi/ic_sysbar_back_default.png
ridge/resources/bars/mdpi/ic_sysbar_home_default.png
ridge/resources/bars/mdpi/ic_sysbar_recent_default.png
ridge/resources/bars/mdpi/stat_sys_wifi_signal_4_fully.png
ridge/resources/bars/phone_system_bar.xml
ridge/resources/bars/tablet_system_bar.xml
ridge/resources/bars/title_bar.xml
ridge/src/android/graphics/BitmapFactory.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/BridgeRenderSession.java
ridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ridge/src/com/android/layoutlib/bridge/bars/CustomBar.java
ridge/src/com/android/layoutlib/bridge/bars/FakeActionBar.java
ridge/src/com/android/layoutlib/bridge/bars/PhoneSystemBar.java
ridge/src/com/android/layoutlib/bridge/bars/TabletSystemBar.java
ridge/src/com/android/layoutlib/bridge/bars/TitleBar.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
|
33758ef8c98efb669c65eb9404b99ee5df09c6b5 |
03-Feb-2011 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: Fix some rendering issues Change-Id: I662a39a783de5bc7f3063f46cedaab11c7e6496e
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
|
345f866bfd09476fd62aa10345a0670cc110b63c |
02-Feb-2011 |
Xavier Ducrohet <xav@android.com> |
Make TimePicker/DatePicker/CalendarView render in Eclipse. Change-Id: Id5313a6f0f53bf45f6eaabc0e10fcf0660eeac08
ridge/src/android/content/res/Resources_Theme_Delegate.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ridge/src/libcore/icu/ICU_Delegate.java
ridge/tests/com/android/layoutlib/bridge/TestDelegates.java
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
|
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
reate/src/com/android/tools/layoutlib/create/DelegateMethodAdapter.java
reate/tests/com/android/tools/layoutlib/create/DelegateClassAdapterTest.java
reate/tests/com/android/tools/layoutlib/create/dataclass/ClassWithNative.java
reate/tests/com/android/tools/layoutlib/create/dataclass/ClassWithNative_Delegate.java
reate/tests/com/android/tools/layoutlib/create/dataclass/OuterClass.java
reate/tests/com/android/tools/layoutlib/create/dataclass/OuterClass_Delegate.java
reate/tests/com/android/tools/layoutlib/create/dataclass/OuterClass_InnerClass_Delegate.java
|
b353495192ba1acce94b8ab8aeeffe3c9a3bcfac |
28-Jan-2011 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: update with Pair API. Change-Id: Iba945153f7544872ea84e3311584223aea740e2e
ridge/.classpath
ridge/Android.mk
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ridge/src/com/android/layoutlib/bridge/android/BridgeXmlPullAttributes.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ridge/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
ridge/src/android/graphics/Gradient_Delegate.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ridge/src/com/android/layoutlib/bridge/android/BridgeXmlPullAttributes.java
ridge/src/com/android/layoutlib/bridge/impl/FontLoader.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ridge/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
ridge/.classpath
ridge/Android.mk
ridge/src/android/graphics/BitmapFactory.java
ridge/src/android/graphics/Bitmap_Delegate.java
ridge/src/com/android/layoutlib/bridge/BridgeRenderSession.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ridge/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
ridge/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
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/BridgeRenderSession.java
ridge/src/com/android/layoutlib/bridge/impl/AnimationThread.java
ridge/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
ridge/src/android/graphics/Region_Delegate.java
ridge/src/android/os/Build_Delegate.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/BridgeRenderSession.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
|
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
ridge/src/android/view/LayoutInflater_Delegate.java
ridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ridge/tests/com/android/layoutlib/bridge/TestDelegates.java
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
|
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
ridge/src/com/android/layoutlib/bridge/android/BridgeWindow.java
|
9d0577ec0c285c055da4c910dcb597fdae5bc5e5 |
18-Jan-2011 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: properly configure ApplicationInfo with targetSdkVersion. Change-Id: I1bfef890206552843d1a7a8d0564741f2a37494f
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/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
ridge/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
ridge/src/com/android/ide/common/resources/ResourceResolver.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ridge/src/com/android/layoutlib/bridge/android/BridgeXmlPullAttributes.java
ridge/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
ridge/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
ridge/Android.mk
ridge/src/com/android/ide/common/resources/ResourceResolver.java
ridge/src/com/android/layoutlib/bridge/BridgeConstants.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ridge/src/com/android/layoutlib/bridge/android/BridgeXmlPullAttributes.java
ridge/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
ridge/src/android/graphics/BitmapFactory.java
ridge/src/android/graphics/BitmapShader_Delegate.java
ridge/src/android/graphics/Bitmap_Delegate.java
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/LinearGradient_Delegate.java
ridge/src/android/graphics/Matrix_Delegate.java
ridge/src/android/graphics/NinePatch_Delegate.java
ridge/src/android/graphics/Paint_Delegate.java
ridge/src/android/graphics/Path_Delegate.java
ridge/src/android/graphics/PorterDuffXfermode_Delegate.java
ridge/src/android/graphics/RadialGradient_Delegate.java
ridge/src/android/graphics/Region_Delegate.java
ridge/src/android/graphics/SweepGradient_Delegate.java
ridge/src/android/graphics/Typeface_Delegate.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ridge/src/com/android/layoutlib/bridge/impl/GcSnapshot.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ridge/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
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/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
ridge/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
ridge/src/android/graphics/BitmapFactory.java
ridge/src/android/graphics/BitmapShader_Delegate.java
ridge/src/android/graphics/Bitmap_Delegate.java
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/LinearGradient_Delegate.java
ridge/src/android/graphics/Matrix_Delegate.java
ridge/src/android/graphics/NinePatch_Delegate.java
ridge/src/android/graphics/Paint_Delegate.java
ridge/src/android/graphics/Path_Delegate.java
ridge/src/android/graphics/PorterDuffXfermode_Delegate.java
ridge/src/android/graphics/RadialGradient_Delegate.java
ridge/src/android/graphics/Region_Delegate.java
ridge/src/android/graphics/SweepGradient_Delegate.java
ridge/src/android/graphics/Typeface_Delegate.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/BridgeConstants.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ridge/src/com/android/layoutlib/bridge/impl/GcSnapshot.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ridge/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
ridge/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
ridge/src/android/view/SurfaceView.java
ridge/src/android/webkit/WebView.java
ridge/src/com/android/layoutlib/bridge/MockView.java
ridge/src/com/android/layoutlib/bridge/android/MockView.java
ridge/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
ridge/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
ridge/src/android/graphics/BitmapFactory.java
ridge/src/android/graphics/BitmapShader_Delegate.java
ridge/src/android/graphics/Bitmap_Delegate.java
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/LinearGradient_Delegate.java
ridge/src/android/graphics/Matrix_Delegate.java
ridge/src/android/graphics/NinePatch_Delegate.java
ridge/src/android/graphics/Paint_Delegate.java
ridge/src/android/graphics/Path_Delegate.java
ridge/src/android/graphics/PorterDuffXfermode_Delegate.java
ridge/src/android/graphics/RadialGradient_Delegate.java
ridge/src/android/graphics/Region_Delegate.java
ridge/src/android/graphics/SweepGradient_Delegate.java
ridge/src/android/graphics/Typeface_Delegate.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/BridgeConstants.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ridge/src/com/android/layoutlib/bridge/impl/AnimationThread.java
ridge/src/com/android/layoutlib/bridge/impl/GcSnapshot.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ridge/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
ridge/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
ridge/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
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/BridgeRenderSession.java
|
6c740cf71e5ce5ba7c8493c545c3a57c57ac7024 |
11-Jan-2011 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: Improve error reporting. Change-Id: I37cad7e2efb959202960c57b271c55c759867139
ridge/src/android/graphics/BitmapFactory.java
ridge/src/android/graphics/NinePatch_Delegate.java
ridge/src/com/android/internal/util/XmlUtils_Delegate.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ridge/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
ridge/src/android/graphics/Region_Delegate.java
ridge/src/com/android/internal/util/XmlUtils_Delegate.java
reate/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
ridge/src/com/android/layoutlib/bridge/BridgeConstants.java
ridge/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
ridge/src/com/android/layoutlib/bridge/BridgeConstants.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
|
419e8296ea76c5f1db1abbaa88b39b538fa42403 |
10-Jan-2011 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: move asserts around. Change-Id: I6fcfcf2e6fad1d9fa172b9a8c20c72fa2533e7fa
ridge/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
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/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
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/impl/AnimationThread.java
ridge/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
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/Matrix_Delegate.java
ridge/src/android/graphics/Paint_Delegate.java
ridge/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
ridge/src/android/graphics/Typeface_Delegate.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/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
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
|
d7cc1244d7f0901688545c8535fa531fbb68669a |
08-Jan-2011 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: fix moveChild again. Change-Id: Ib69a06e44be1e332f0f43c36c795c86270cb1b71
ridge/src/com/android/layoutlib/bridge/impl/AnimationThread.java
ridge/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
ridge/src/com/android/layoutlib/bridge/impl/AnimationThread.java
ridge/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
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/Matrix_Delegate.java
ridge/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
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/Region_Delegate.java
ridge/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.
ridge/src/com/android/layoutlib/bridge/Bridge.java
|
c226e571fd6ce7db74fce87dbf300a70f8a58c29 |
03-Jan-2011 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: Misc javadoc fixes. Change-Id: Iabe081c20b361b034c2e66b975b8756c0fdcd3d1
ridge/src/android/graphics/ComposePathEffect_Delegate.java
ridge/src/android/graphics/CornerPathEffect_Delegate.java
ridge/src/android/graphics/DiscretePathEffect_Delegate.java
ridge/src/android/graphics/PathDashPathEffect_Delegate.java
ridge/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
ridge/src/android/graphics/Bitmap_Delegate.java
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/Paint_Delegate.java
ridge/src/android/graphics/Path_Delegate.java
ridge/src/android/graphics/Region_Delegate.java
ridge/src/com/android/layoutlib/bridge/impl/GcSnapshot.java
reate/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
ridge/src/android/graphics/BitmapShader_Delegate.java
ridge/src/android/graphics/Bitmap_Delegate.java
ridge/src/android/graphics/BlurMaskFilter_Delegate.java
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/ColorFilter_Delegate.java
ridge/src/android/graphics/ColorMatrixColorFilter_Delegate.java
ridge/src/android/graphics/DrawFilter_Delegate.java
ridge/src/android/graphics/EmbossMaskFilter_Delegate.java
ridge/src/android/graphics/LayerRasterizer_Delegate.java
ridge/src/android/graphics/LightingColorFilter_Delegate.java
ridge/src/android/graphics/MaskFilter_Delegate.java
ridge/src/android/graphics/Matrix_Delegate.java
ridge/src/android/graphics/NinePatch_Delegate.java
ridge/src/android/graphics/PaintFlagsDrawFilter_Delegate.java
ridge/src/android/graphics/Paint_Delegate.java
ridge/src/android/graphics/Path_Delegate.java
ridge/src/android/graphics/PorterDuffColorFilter_Delegate.java
ridge/src/android/graphics/Rasterizer_Delegate.java
ridge/src/android/graphics/Shader_Delegate.java
ridge/src/android/graphics/Typeface_Delegate.java
ridge/src/com/android/layoutlib/bridge/impl/DelegateManager.java
ridge/src/com/android/layoutlib/bridge/impl/GcSnapshot.java
reate/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
ridge/src/com/android/layoutlib/bridge/impl/GcSnapshot.java
|
b1da1afa7418960b650780250bbd34c81af61aa3 |
22-Dec-2010 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: improve bitmap support. Change-Id: I703c2bdf51380b54fd5c20b08d3bc74833d9bc6e
ridge/src/android/graphics/Bitmap_Delegate.java
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/NinePatch_Delegate.java
ridge/src/android/graphics/PorterDuffXfermode_Delegate.java
ridge/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
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/ComposePathEffect_Delegate.java
ridge/src/android/graphics/ComposeShader_Delegate.java
ridge/src/android/graphics/Matrix_Delegate.java
ridge/src/android/graphics/NinePatch_Delegate.java
ridge/src/android/graphics/Paint_Delegate.java
ridge/src/com/android/layoutlib/bridge/BridgeRenderSession.java
ridge/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
ridge/src/android/graphics/AvoidXfermode_Delegate.java
ridge/src/android/graphics/Bitmap_Delegate.java
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/DashPathEffect_Delegate.java
ridge/src/android/graphics/LinearGradient_Delegate.java
ridge/src/android/graphics/Paint_Delegate.java
ridge/src/android/graphics/PixelXorXfermode_Delegate.java
ridge/src/android/graphics/PorterDuffXfermode_Delegate.java
ridge/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.
ridge/src/android/graphics/AvoidXfermode_Delegate.java
ridge/src/android/graphics/BitmapShader_Delegate.java
ridge/src/android/graphics/Bitmap_Delegate.java
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/ComposePathEffect_Delegate.java
ridge/src/android/graphics/ComposeShader_Delegate.java
ridge/src/android/graphics/CornerPathEffect_Delegate.java
ridge/src/android/graphics/DashPathEffect_Delegate.java
ridge/src/android/graphics/DiscretePathEffect_Delegate.java
ridge/src/android/graphics/Gradient_Delegate.java
ridge/src/android/graphics/LinearGradient_Delegate.java
ridge/src/android/graphics/Matrix_Delegate.java
ridge/src/android/graphics/NinePatch_Delegate.java
ridge/src/android/graphics/Path.java
ridge/src/android/graphics/PathDashPathEffect_Delegate.java
ridge/src/android/graphics/PathEffect_Delegate.java
ridge/src/android/graphics/Path_Delegate.java
ridge/src/android/graphics/PixelXorXfermode_Delegate.java
ridge/src/android/graphics/PorterDuffXfermode_Delegate.java
ridge/src/android/graphics/RadialGradient_Delegate.java
ridge/src/android/graphics/Shader_Delegate.java
ridge/src/android/graphics/SumPathEffect_Delegate.java
ridge/src/android/graphics/SweepGradient_Delegate.java
ridge/src/android/graphics/Xfermode_Delegate.java
reate/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
ridge/src/android/app/Fragment_Delegate.java
ridge/src/android/graphics/BitmapFactory.java
ridge/src/android/graphics/Bitmap_Delegate.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/BridgeLayoutScene.java
ridge/src/com/android/layoutlib/bridge/BridgeRenderSession.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ridge/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParser.java
ridge/src/com/android/layoutlib/bridge/android/BridgeXmlPullAttributes.java
ridge/src/com/android/layoutlib/bridge/impl/AnimationThread.java
ridge/src/com/android/layoutlib/bridge/impl/LayoutSceneImpl.java
ridge/src/com/android/layoutlib/bridge/impl/PlayAnimationThread.java
ridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
ridge/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.
ridge/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
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/Matrix_Delegate.java
ridge/src/android/graphics/NinePatch_Delegate.java
ridge/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
ridge/src/android/graphics/Bitmap_Delegate.java
|
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
ridge/src/android/graphics/Gradient_Delegate.java
ridge/src/android/graphics/LinearGradient_Delegate.java
ridge/src/android/graphics/Matrix_Delegate.java
ridge/src/android/graphics/RadialGradient_Delegate.java
ridge/src/android/graphics/Shader_Delegate.java
ridge/src/android/graphics/SweepGradient_Delegate.java
|
f1416e4dffb0874f163febfa12f2648eac0c3a77 |
14-Dec-2010 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: Misc fix to rendering. Change-Id: Ia73fab1be3c01e6ce5791973e636e45a0f75ceb6
ridge/src/android/graphics/BitmapFactory.java
ridge/src/android/graphics/Matrix_Delegate.java
ridge/src/com/android/layoutlib/bridge/impl/LayoutSceneImpl.java
|
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
ridge/.classpath
ridge/Android.mk
ridge/src/android/graphics/NinePatch_Delegate.java
ridge/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
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/Paint_Delegate.java
|
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
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ridge/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
ridge/src/android/graphics/BitmapFactory.java
ridge/src/android/graphics/Bitmap_Delegate.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ridge/src/com/android/layoutlib/bridge/android/BridgeXmlPullAttributes.java
ridge/src/com/android/layoutlib/bridge/impl/LayoutSceneImpl.java
ridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
ridge/src/com/android/layoutlib/bridge/impl/TempResourceValue.java
|
8d74c978bbf3da4095ef8e40c005a6fdf0637071 |
07-Dec-2010 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: explicitely override PropertyValuesHolder native code. Change-Id: Ic7dd9efc990d01b20db144117cb11eb130349048
ridge/src/android/animation/PropertyValuesHolder_Delegate.java
ridge/src/com/android/layoutlib/bridge/impl/LayoutSceneImpl.java
reate/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
ridge/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
ridge/src/android/graphics/BitmapFactory.java
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/NinePatch_Delegate.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ridge/src/com/android/layoutlib/bridge/impl/AnimationThread.java
ridge/src/com/android/layoutlib/bridge/impl/LayoutSceneImpl.java
ridge/src/com/android/layoutlib/bridge/impl/PlayAnimationThread.java
ridge/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
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/impl/AnimationThread.java
ridge/src/com/android/layoutlib/bridge/impl/LayoutSceneImpl.java
ridge/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
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/BridgeLayoutScene.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/android/BridgeLayoutParamsMapAttributes.java
ridge/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParser.java
ridge/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
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/BridgeLayoutScene.java
|
c8aec064f9f304c88f61c8c1aa3d60521b92177a |
02-Dec-2010 |
Xavier Ducrohet <xav@android.com> |
Layoutlib: update with new add/movechild API. Change-Id: I33e3a07cd7db7fe996d1f52b84b4b3bf21065a51
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/BridgeLayoutScene.java
ridge/src/com/android/layoutlib/bridge/impl/AnimationThread.java
ridge/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
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/BridgeLayoutScene.java
ridge/src/com/android/layoutlib/bridge/impl/AnimationThread.java
ridge/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
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/BridgeLayoutScene.java
ridge/src/com/android/layoutlib/bridge/impl/AnimationThread.java
ridge/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
ridge/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
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/Matrix_Delegate.java
ridge/src/android/os/Handler_Delegate.java
ridge/src/android/os/SystemClock_Delegate.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/BridgeLayoutScene.java
ridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ridge/src/com/android/layoutlib/bridge/impl/AnimationThread.java
ridge/src/com/android/layoutlib/bridge/impl/LayoutSceneImpl.java
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
|
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
ridge/src/android/graphics/BitmapFactory.java
ridge/src/android/graphics/Bitmap_Delegate.java
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/NinePatch_Delegate.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/android/NinePatchDrawable.java
ridge/src/com/android/layoutlib/bridge/impl/LayoutSceneImpl.java
ridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
ridge/tests/com/android/layoutlib/bridge/NinePatchTest.java
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
|
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
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ridge/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParser.java
ridge/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
ridge/src/com/android/layoutlib/bridge/impl/LayoutSceneImpl.java
|
d73868859bf71bd98496157b94e21ef95fadd495 |
19-Nov-2010 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: fix some tests Change-Id: Iacd641e2fac663ff12fe2a08ba093c4eaa2e8862
ridge/src/android/graphics/Matrix_Delegate.java
ridge/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
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ridge/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
ridge/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
ridge/src/android/graphics/Bitmap_Delegate.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/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
ridge/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
ridge/src/android/graphics/Canvas_Delegate.java
ridge/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
ridge/src/com/android/layoutlib/bridge/BridgeLayoutScene.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/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
ridge/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
ridge/src/android/view/View_Delegate.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ridge/src/com/android/layoutlib/bridge/android/BridgeWindow.java
ridge/src/com/android/layoutlib/bridge/impl/TempResourceValue.java
ridge/tests/com/android/layoutlib/bridge/TestDelegates.java
ridge/tests/com/android/layoutlib/bridge/TestNativeDelegate.java
reate/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
ridge/.classpath
ridge/src/android/graphics/Bitmap_Delegate.java
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/DashPathEffect_Delegate.java
ridge/src/android/graphics/LinearGradient_Delegate.java
ridge/src/android/graphics/Matrix_Delegate.java
ridge/src/android/graphics/Paint_Delegate.java
ridge/src/android/graphics/PathEffect_Delegate.java
ridge/src/android/graphics/PorterDuffXfermode_Delegate.java
ridge/src/android/graphics/RadialGradient_Delegate.java
ridge/src/android/graphics/Shader_Delegate.java
ridge/src/android/graphics/SweepGradient_Delegate.java
ridge/src/android/graphics/Typeface_Delegate.java
ridge/src/android/graphics/Xfermode_Delegate.java
ridge/src/android/util/FloatMath_Delegate.java
ridge/src/android/view/BridgeInflater.java
ridge/src/android/view/SurfaceView.java
ridge/src/android/webkit/WebView.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/BridgeAssetManager.java
ridge/src/com/android/layoutlib/bridge/BridgeContentProvider.java
ridge/src/com/android/layoutlib/bridge/BridgeContentResolver.java
ridge/src/com/android/layoutlib/bridge/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/BridgeLayoutScene.java
ridge/src/com/android/layoutlib/bridge/BridgeResources.java
ridge/src/com/android/layoutlib/bridge/BridgeTypedArray.java
ridge/src/com/android/layoutlib/bridge/BridgeXmlBlockParser.java
ridge/src/com/android/layoutlib/bridge/BridgeXmlPullAttributes.java
ridge/src/com/android/layoutlib/bridge/DelegateManager.java
ridge/src/com/android/layoutlib/bridge/FontLoader.java
ridge/src/com/android/layoutlib/bridge/LayoutResult.java
ridge/src/com/android/layoutlib/bridge/MockView.java
ridge/src/com/android/layoutlib/bridge/NinePatchDrawable.java
ridge/src/com/android/layoutlib/bridge/ResourceHelper.java
ridge/src/com/android/layoutlib/bridge/ResourceValue.java
ridge/src/com/android/layoutlib/bridge/android/BridgeAssetManager.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContentProvider.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContentResolver.java
ridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/android/BridgeInflater.java
ridge/src/com/android/layoutlib/bridge/android/BridgeResources.java
ridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java
ridge/src/com/android/layoutlib/bridge/android/BridgeWindow.java
ridge/src/com/android/layoutlib/bridge/android/BridgeWindowSession.java
ridge/src/com/android/layoutlib/bridge/android/BridgeXmlBlockParser.java
ridge/src/com/android/layoutlib/bridge/android/BridgeXmlPullAttributes.java
ridge/src/com/android/layoutlib/bridge/android/MockView.java
ridge/src/com/android/layoutlib/bridge/android/NinePatchDrawable.java
ridge/src/com/android/layoutlib/bridge/impl/DelegateManager.java
ridge/src/com/android/layoutlib/bridge/impl/FontLoader.java
ridge/src/com/android/layoutlib/bridge/impl/LayoutSceneImpl.java
ridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java
ridge/src/com/android/layoutlib/bridge/impl/TempResourceValue.java
ridge/src/com/google/android/maps/MapView.java
ridge/tests/com/android/layoutlib/bridge/BridgeXmlBlockParserTest.java
ridge/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
ridge/src/android/app/Fragment_Delegate.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/BridgeContext.java
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
reate/src/com/android/tools/layoutlib/create/Main.java
|
e0c763f54f5848a2513990fe37791b6f60ef7760 |
05-Nov-2010 |
Xavier Ducrohet <xav@android.com> |
Layoutlib: more text drawing. Change-Id: I32f46d23e746b095be0577a53b61567a868f0b8a
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
|
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
ridge/src/android/util/FloatMath.java
ridge/src/android/util/FloatMath_Delegate.java
reate/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
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/DashPathEffect.java
ridge/src/android/graphics/DashPathEffect_Delegate.java
ridge/src/android/graphics/PathEffect_Delegate.java
ridge/src/android/graphics/PorterDuffXfermode.java
ridge/src/android/graphics/PorterDuffXfermode_Delegate.java
ridge/src/android/graphics/Xfermode_Delegate.java
reate/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
ridge/src/android/graphics/BitmapShader.java
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/ComposeShader.java
ridge/src/android/graphics/GradientShader.java
ridge/src/android/graphics/Gradient_Delegate.java
ridge/src/android/graphics/LinearGradient.java
ridge/src/android/graphics/LinearGradient_Delegate.java
ridge/src/android/graphics/Matrix_Delegate.java
ridge/src/android/graphics/Paint_Delegate.java
ridge/src/android/graphics/RadialGradient.java
ridge/src/android/graphics/RadialGradient_Delegate.java
ridge/src/android/graphics/Shader.java
ridge/src/android/graphics/Shader_Delegate.java
ridge/src/android/graphics/SweepGradient.java
ridge/src/android/graphics/SweepGradient_Delegate.java
reate/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
ridge/src/android/graphics/Canvas_Delegate.java
ridge/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
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/Matrix_Delegate.java
ridge/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
ridge/src/android/graphics/Bitmap_Delegate.java
ridge/src/android/graphics/Canvas.java
ridge/src/android/graphics/Canvas_Delegate.java
ridge/src/android/graphics/Paint.java
ridge/src/android/graphics/Paint_Delegate.java
ridge/src/android/graphics/Typeface_Delegate.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/NinePatchDrawable.java
ridge/tests/com/android/layoutlib/bridge/AndroidGraphicsTests.java
ridge/tests/com/android/layoutlib/bridge/TestNativeDelegate.java
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
reate/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
ridge/src/android/graphics/Bitmap.java
ridge/src/android/graphics/BitmapFactory.java
ridge/src/android/graphics/Bitmap_Delegate.java
ridge/src/android/graphics/Canvas.java
ridge/src/android/graphics/Matrix_Delegate.java
ridge/src/android/graphics/Typeface_Delegate.java
ridge/src/com/android/layoutlib/bridge/ResourceHelper.java
ridge/tests/com/android/layoutlib/bridge/TestNativeDelegate.java
reate/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
ridge/.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
ridge/src/android/graphics/Paint.java
ridge/src/android/graphics/Typeface.java
ridge/src/android/graphics/Typeface_Delegate.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/BridgeContentProvider.java
ridge/src/com/android/layoutlib/bridge/BridgeContentResolver.java
ridge/src/com/android/layoutlib/bridge/FontLoader.java
reate/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
ridge/.classpath
ridge/src/android/graphics/Canvas.java
ridge/src/android/graphics/Matrix.java
ridge/src/android/graphics/Matrix_Delegate.java
ridge/src/android/graphics/Path.java
ridge/src/com/android/layoutlib/bridge/DelegateManager.java
ridge/tests/com/android/layoutlib/bridge/TestNativeDelegate.java
reate/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
ridge/src/com/android/layoutlib/bridge/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/BridgeXmlPullAttributes.java
ridge/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
ridge/src/com/android/layoutlib/bridge/BridgeContentResolver.java
ridge/src/com/android/layoutlib/bridge/BridgeContext.java
reate/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.
ridge/src/com/android/layoutlib/bridge/BridgeContentResolver.java
ridge/src/com/android/layoutlib/bridge/BridgeContext.java
reate/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
ridge/src/com/android/layoutlib/bridge/BridgeContentResolver.java
ridge/src/com/android/layoutlib/bridge/BridgeContext.java
reate/src/com/android/tools/layoutlib/create/Main.java
|
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
reate/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
reate/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
reate/tests/com/android/tools/layoutlib/create/DelegateClassAdapterTest.java
|
0db38449257d6702d18ddf77b019bef38ce3d692 |
22-Oct-2010 |
Xavier Ducrohet <xav@android.com> |
Make layoutlib use the prebuilt of layoutlib_api Change-Id: Ie04a9e847acacf7b2aeb179589517fc75688c75b
ridge/.classpath
ridge/Android.mk
|
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
ridge/src/com/android/layoutlib/bridge/Bridge.java
|
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.
|
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
ridge/src/com/android/layoutlib/bridge/BridgeContext.java
|
3cff14ca778694c137052e83d7642ab7475b1319 |
04-Oct-2010 |
Raphael <raphael@google.com> |
Merge "layoutlib_create: Generate delegate to implement native methods."
|
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
ridge/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
reate/README.txt
reate/src/com/android/tools/layoutlib/annotations/LayoutlibDelegate.java
reate/src/com/android/tools/layoutlib/create/AsmGenerator.java
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
reate/src/com/android/tools/layoutlib/create/DelegateClassAdapter.java
reate/src/com/android/tools/layoutlib/create/DelegateMethodAdapter.java
reate/src/com/android/tools/layoutlib/create/ICreateInfo.java
reate/src/com/android/tools/layoutlib/create/Main.java
reate/src/com/android/tools/layoutlib/create/TransformClassAdapter.java
reate/tests/com/android/tools/layoutlib/create/AsmAnalyzerTest.java
reate/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
reate/tests/com/android/tools/layoutlib/create/ClassHasNativeVisitorTest.java
reate/tests/com/android/tools/layoutlib/create/DelegateClassAdapterTest.java
reate/tests/com/android/tools/layoutlib/create/LogTest.java
reate/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
ndroid.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
ridge/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
ridge/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
ridge/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
reate/src/com/android/tools/layoutlib/annotations/Nullable.java
reate/src/com/android/tools/layoutlib/annotations/VisibleForTesting.java
reate/src/com/android/tools/layoutlib/create/ClassHasNativeVisitor.java
reate/tests/com/android/tools/layoutlib/create/ClassHasNativeVisitorTest.java
|
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
ridge/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
reate/README.txt
|
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
ridge/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
ridge/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
ridge/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
ndroid.mk
|
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
ridge/src/com/android/layoutlib/bridge/Bridge.java
|
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
ridge/src/com/android/layoutlib/bridge/BridgeContext.java
|
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
EADME
|
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
ridge/src/android/graphics/Paint.java
|
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
ridge/src/com/android/layoutlib/bridge/Bridge.java
|
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
ridge/tests/com/android/layoutlib/bridge/NinePatchTest.java
|
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.
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/BridgeTypedArray.java
|
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.
ridge/src/android/graphics/Canvas.java
ridge/src/android/graphics/Matrix.java
ridge/src/android/graphics/Paint.java
|
bc3323bea64bbeab0edd0df5e344d844a8d89509 |
24-Feb-2010 |
Xavier Ducrohet <xav@android.com> |
Fix the layoutlib to still support fill_parent. Change-Id: I5e1825f1f853cf9e31b2ee262edce636a030429d
ridge/src/com/android/layoutlib/bridge/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/BridgeTypedArray.java
|
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.
ridge/src/com/android/layoutlib/bridge/Bridge.java
|
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
ridge/src/com/android/layoutlib/bridge/BridgeAssetManager.java
ridge/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.
ridge/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.
ridge/src/com/android/layoutlib/bridge/BridgeContext.java
|
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.
|
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.
|
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
|
3330927bdd2fedcbc8745f99d3f40929f47fdd31 |
20-Jan-2010 |
Xavier Ducrohet <xav@android.com> |
ADT/Layoutlib: implement sweep gradient. Change-Id: I2d460decff82f5f64b0a5cfeaa68156aad4fb3e6
ridge/src/android/graphics/GradientShader.java
ridge/src/android/graphics/RadialGradient.java
ridge/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.
|
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
ridge/src/android/graphics/GradientShader.java
ridge/src/android/graphics/LinearGradient.java
ridge/src/android/graphics/RadialGradient.java
|
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
|
36ab1284d8e89486cadbd55320ca965e96d65f44 |
15-Jan-2010 |
Xavier Ducrohet <xav@android.com> |
ADT/Layoutlib: Add dash support to stroke. Change-Id: I09a7e84948be013cbb11f6d9774ab81df897b424
ridge/src/android/graphics/Canvas.java
ridge/src/android/graphics/DashPathEffect.java
reate/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
ridge/src/android/graphics/Canvas.java
ridge/src/android/graphics/Paint.java
|
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
ridge/src/android/graphics/LinearGradient.java
|
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
ridge/src/android/graphics/Canvas.java
|
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
ridge/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
ridge/src/android/graphics/LinearGradient.java
|
5e083024269e7c5bf904301a98fa6eade6fec094 |
14-Jan-2010 |
Xavier Ducrohet <xav@android.com> |
ADT/Layoutlib: shader clean-up. Change-Id: I0a200f438b7ccde2bfc19fd23614a647cb19d312
ridge/src/android/graphics/BitmapShader.java
ridge/src/android/graphics/Canvas.java
ridge/src/android/graphics/ComposeShader.java
ridge/src/android/graphics/LinearGradient.java
ridge/src/android/graphics/RadialGradient.java
ridge/src/android/graphics/Shader.java
ridge/src/android/graphics/SweepGradient.java
|
63b2e616278c1b4284e1adbcc3936d0516083dcb |
14-Jan-2010 |
Xavier Ducrohet <xav@android.com> |
ADT/Layoutlib: 2 color, linear gradient support. Change-Id: Ifaafa4fc42a22f4851449a7c35a5b82e211aafe7
ridge/src/android/graphics/BitmapShader.java
ridge/src/android/graphics/Canvas.java
ridge/src/android/graphics/ComposeShader.java
ridge/src/android/graphics/LinearGradient.java
ridge/src/android/graphics/Paint.java
ridge/src/android/graphics/RadialGradient.java
ridge/src/android/graphics/Shader.java
ridge/src/android/graphics/SweepGradient.java
|
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
ridge/src/android/graphics/Canvas.java
ridge/src/android/graphics/Matrix.java
|
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
ridge/src/android/graphics/Bitmap.java
ridge/src/android/graphics/BitmapFactory.java
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
|
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.
|
9ce3b775f55abd0ceb1d8e96968ce725f1f8bade |
11-Jan-2010 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: support for custom styles. Change-Id: Ic6c2ef234589f45db15024261d698066aa6e2f4e
ridge/src/com/android/layoutlib/bridge/BridgeContext.java
|
2924a51fd04856012b4ac2acdfffc3b7d469f62f |
09-Jan-2010 |
Romain Guy <romainguy@android.com> |
Fix duplicate constant in layoutbridge.
ridge/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.
ridge/src/com/android/layoutlib/bridge/BridgeConstants.java
ridge/src/com/android/layoutlib/bridge/BridgeResources.java
ridge/src/com/android/layoutlib/bridge/BridgeTypedArray.java
ridge/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
|
82935938fa89e6acb1181eb621cb08828cd423c8 |
07-Jan-2010 |
Xavier Ducrohet <xav@android.com> |
Move Layoutlib API library to sdk.git Change-Id: I53f1c5d52447b6215ae7a6f2f1f82d0879e952ca
gitignore
pi/.classpath
pi/.project
pi/Android.mk
pi/src/com/android/layoutlib/api/IDensityBasedResourceValue.java
pi/src/com/android/layoutlib/api/ILayoutBridge.java
pi/src/com/android/layoutlib/api/ILayoutLog.java
pi/src/com/android/layoutlib/api/ILayoutResult.java
pi/src/com/android/layoutlib/api/IProjectCallback.java
pi/src/com/android/layoutlib/api/IResourceValue.java
pi/src/com/android/layoutlib/api/IStyleResourceValue.java
pi/src/com/android/layoutlib/api/IXmlPullParser.java
|
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.
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/BridgeTypedArray.java
|
a8ba3114e801282cf375c3ea2332164a52cb3813 |
11-Dec-2009 |
Xavier Ducrohet <xav@android.com> |
Layoutlib: Add a constant for default density value. Change-Id: I6dc8a694bbdae2385d4e877ea04a6b4325a5719e
pi/src/com/android/layoutlib/api/IDensityBasedResourceValue.java
|
9ddb7df88a62a131519264f75f5d6616ee11b6e6 |
17-Nov-2009 |
Dianne Hackborn <hackbod@google.com> |
Fix build. Change-Id: I70c86738e2894d7f8c51034aea8fda1585a6fcb3
ridge/src/com/android/layoutlib/bridge/BridgeAssetManager.java
|
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
ridge/src/com/android/layoutlib/bridge/Bridge.java
|
76410f1eb316763018b7480d9cd8dc3684803576 |
13-Nov-2009 |
Xavier Ducrohet <xav@android.com> |
Properly implement Paint.breakText for layoutlib. BUG 2260400 Change-Id: I7082e366b65da0b5de2a6dbb547f66e05e0b78e0
ridge/src/android/graphics/Paint.java
|
bf6956b1d95442e9d9c483894d578fe6b7044cbb |
10-Nov-2009 |
Marco Nelissen <marcone@google.com> |
Add a way for wallpapers to know the delta between virtual screens.
ridge/src/com/android/layoutlib/bridge/Bridge.java
|
9a4593ffcce99e9f7b89b165911c2a870c27cc45 |
09-Nov-2009 |
Xavier Ducrohet <xav@android.com> |
Support for fallback fonts in layoutlib. BUG 2041229 Change-Id: Ib12bcb7f6d8f0e4c2b51871f8129ecf51fa938ee
ridge/src/android/graphics/Canvas.java
ridge/src/android/graphics/Paint.java
ridge/src/android/graphics/Typeface.java
ridge/src/com/android/layoutlib/bridge/FontLoader.java
|
a86f28494c526ef14c736a977d746b3e5d9ab49e |
03-Nov-2009 |
Brett Chabot <brettchabot@android.com> |
Fix layoutlib tests so they pas when run from Eclipse workbench. Bug 2222616
ridge/tests/com/android/layoutlib/bridge/BridgeXmlBlockParserTest.java
ridge/tests/com/android/layoutlib/bridge/NinePatchTest.java
|
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
ridge/src/com/android/layoutlib/bridge/Bridge.java
|
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
ridge/tests/com/android/layoutlib/bridge/AndroidGraphicsTests.java
ridge/tests/com/android/layoutlib/bridge/BridgeTest.java
ridge/tests/com/android/layoutlib/bridge/BridgeXmlBlockParserTest.java
ridge/tests/com/android/layoutlib/bridge/button.9.png
ridge/tests/com/android/layoutlib/bridge/layout1.xml
ridge/tests/com/android/layoutlib/testdata/button.9.png
ridge/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
ridge/tests/com/android/layoutlib/bridge/NinePatchTest.java
ridge/tests/com/android/layoutlib/bridge/TestClassReplacement.java
|
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
ridge/src/android/graphics/Paint.java
|
8c739671d262c74c5743bf249180b1ba58bef4da |
06-Oct-2009 |
Xavier Ducrohet <xav@android.com> |
Fix the layoutlib test to run from adt-tests. Change-Id: I34f513429593dce9f781ed8a08c4664a5d6f9aa8
ridge/tests/com/android/layoutlib/bridge/BridgeTest.java
ridge/tests/com/android/layoutlib/bridge/BridgeXmlBlockParserTest.java
ridge/tests/com/android/layoutlib/bridge/NinePatchTest.java
ridge/tests/com/android/layoutlib/bridge/StyleResourceValue.java
ridge/tests/com/android/layoutlib/bridge/button.9.png
ridge/tests/com/android/layoutlib/bridge/layout1.xml
ridge/tests/data/button.9.png
ridge/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
reate/src/com/android/tools/layoutlib/create/AsmGenerator.java
reate/src/com/android/tools/layoutlib/create/CreateInfo.java
reate/src/com/android/tools/layoutlib/create/Main.java
|
f18ccc13a663fe385ecdfbdfd55ef503d48833f5 |
28-Sep-2009 |
Xavier Ducrohet <xav@android.com> |
Fix a warning output. This was introduced by the dpi work. Change-Id: I7c7b1596085f70532b8279139c287a2a58f57046
ridge/src/com/android/layoutlib/bridge/BridgeTypedArray.java
|
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
ridge/src/com/android/layoutlib/bridge/Bridge.java
|
56a92e3ba0d7da310b4c6e09f54dee10f1f395bb |
23-Sep-2009 |
Xavier Ducrohet <xav@android.com> |
Add density support to layoutlib so that bitmap are scaled if needed. Change-Id: I00204bb136ccaa44deeafbe0ea8746fea9903341
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/BridgeResources.java
ridge/src/com/android/layoutlib/bridge/BridgeTypedArray.java
ridge/src/com/android/layoutlib/bridge/ResourceHelper.java
|
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
ridge/src/android/graphics/Bitmap.java
|
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
pi/src/com/android/layoutlib/api/IDensityBasedResourceValue.java
|
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
pi/src/com/android/layoutlib/api/IDensityBasedResourceValue.java
|
efa199f016985b0a9d0471e42c803ee9f7941f0e |
19-Sep-2009 |
Dianne Hackborn <hackbod@google.com> |
Add API to send an ordered sticky broadcast. Change-Id: Ida7081204e226db0cd07ff618c08e308a909ec0c
ridge/src/com/android/layoutlib/bridge/BridgeContext.java
|
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
ridge/src/com/android/layoutlib/bridge/BridgeContext.java
|
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
ridge/src/com/android/layoutlib/bridge/Bridge.java
|
7a79628cd9b5149a7b38b90bf6cef9ea67cfbc21 |
14-Sep-2009 |
Raphael <raphael@google.com> |
Fix some LayoutBridge javadoc. Change-Id: I255d1d58d3537403ac9a8a5c7adece30ae989ce0
pi/src/com/android/layoutlib/api/ILayoutBridge.java
pi/src/com/android/layoutlib/api/ILayoutResult.java
|
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.
pi/src/com/android/layoutlib/api/ILayoutBridge.java
ridge/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).
pi/src/com/android/layoutlib/api/ILayoutBridge.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
|
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.
ridge/src/com/android/layoutlib/bridge/BridgeResources.java
|
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
|
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
|
8df8b2b405c60cacf7a66c4e2ca078dd3d7ec7bd |
18-Aug-2009 |
Dianne Hackborn <hackbod@google.com> |
Allow wallpapers to get touch events.
ridge/src/com/android/layoutlib/bridge/Bridge.java
|
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.
ridge/src/android/graphics/Bitmap.java
ridge/src/android/graphics/Canvas.java
ridge/src/android/graphics/Matrix.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/BridgeCanvas.java
ridge/src/com/android/layoutlib/bridge/NinePatchDrawable.java
reate/src/com/android/tools/layoutlib/create/Main.java
|
09701011bc489f117d88f2c0ed406120eb4562ab |
14-Aug-2009 |
Xavier Ducrohet <xav@android.com> |
Layoutlib now uses the dimen status_bar_height instead of hard-coded value BUG: 2053956
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/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
|
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
ridge/src/android/os/ServiceManager.java
ridge/src/android/view/accessibility/AccessibilityManager.java
ridge/src/com/android/layoutlib/bridge/BridgeResources.java
|
385df699a6d602cab501092821a79cc6ab3a390e |
13-Aug-2009 |
Andrei Popescu <andreip@google.com> |
remove Gears
ridge/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
ridge/src/android/os/ServiceManager.java
ridge/src/android/view/accessibility/AccessibilityManager.java
ridge/src/com/android/layoutlib/bridge/BridgeContext.java
reate/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.
ridge/src/com/android/layoutlib/bridge/Bridge.java
|
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.
ridge/src/com/android/layoutlib/bridge/Bridge.java
|
eba337ad09ba93b31f4e9ec8f99be3ae2811bf89 |
23-Jul-2009 |
Xavier Ducrohet <xav@android.com> |
Reimplement TypedArray.getLayoutDimension(int, int) for the layout bridge.
ridge/src/com/android/layoutlib/bridge/BridgeTypedArray.java
|
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.
ridge/src/com/android/layoutlib/bridge/Bridge.java
|
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.
ridge/src/com/android/layoutlib/bridge/BridgeAssetManager.java
|
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.
ridge/src/com/android/layoutlib/bridge/BridgeContext.java
|
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.
ridge/src/com/android/layoutlib/bridge/Bridge.java
|
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.
ridge/src/com/android/layoutlib/bridge/BridgeContext.java
|
1741ec39a90b95fff215a005b6b3941d7c1b4735 |
05-Jun-2009 |
Xavier Ducrohet <xav@android.com> |
Fix external bug 2875: Matrix#mValues[7] assigned twice in place of mValues[8]
ridge/src/android/graphics/Matrix.java
|
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.
ridge/src/com/android/layoutlib/bridge/BridgeContext.java
|
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.
ridge/src/com/android/layoutlib/bridge/BridgeContentResolver.java
|
33fbd3bee0d2160c79ffca246c6999e10a663aa2 |
05-May-2009 |
Raphael <raphael@google.com> |
Ignore layout bin directories in git.
gitignore
ridge/.gitignore
|
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
ridge/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.
ridge/.gitignore
|
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
ridge/src/com/android/layoutlib/bridge/BridgeCanvas.java
|
105925376f8d0f6b318c9938c7b83ef7fef094da |
19-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake_rel/...@140373
ridge/src/com/android/layoutlib/bridge/BridgeTypedArray.java
|
4df2423a947bcd3f024cc3d3a1a315a8dc428598 |
05-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@136594
ridge/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
ndroid.mk
pi/.classpath
pi/.project
pi/Android.mk
pi/src/com/android/layoutlib/api/ILayoutBridge.java
pi/src/com/android/layoutlib/api/ILayoutLog.java
pi/src/com/android/layoutlib/api/ILayoutResult.java
pi/src/com/android/layoutlib/api/IProjectCallback.java
pi/src/com/android/layoutlib/api/IResourceValue.java
pi/src/com/android/layoutlib/api/IStyleResourceValue.java
pi/src/com/android/layoutlib/api/IXmlPullParser.java
ridge/.classpath
ridge/.project
ridge/Android.mk
ridge/src/android/graphics/Bitmap.java
ridge/src/android/graphics/BitmapShader.java
ridge/src/android/graphics/ComposeShader.java
ridge/src/android/graphics/LinearGradient.java
ridge/src/android/graphics/Matrix.java
ridge/src/android/graphics/Paint.java
ridge/src/android/graphics/Path.java
ridge/src/android/graphics/PorterDuffXfermode.java
ridge/src/android/graphics/RadialGradient.java
ridge/src/android/graphics/Shader.java
ridge/src/android/graphics/SweepGradient.java
ridge/src/android/graphics/Typeface.java
ridge/src/android/util/FloatMath.java
ridge/src/android/view/BridgeInflater.java
ridge/src/android/view/SurfaceView.java
ridge/src/android/webkit/WebView.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/BridgeAssetManager.java
ridge/src/com/android/layoutlib/bridge/BridgeCanvas.java
ridge/src/com/android/layoutlib/bridge/BridgeConstants.java
ridge/src/com/android/layoutlib/bridge/BridgeContentResolver.java
ridge/src/com/android/layoutlib/bridge/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/BridgeResources.java
ridge/src/com/android/layoutlib/bridge/BridgeTypedArray.java
ridge/src/com/android/layoutlib/bridge/BridgeXmlBlockParser.java
ridge/src/com/android/layoutlib/bridge/BridgeXmlPullAttributes.java
ridge/src/com/android/layoutlib/bridge/FontLoader.java
ridge/src/com/android/layoutlib/bridge/LayoutResult.java
ridge/src/com/android/layoutlib/bridge/MockView.java
ridge/src/com/android/layoutlib/bridge/NinePatchDrawable.java
ridge/src/com/android/layoutlib/bridge/ResourceHelper.java
ridge/src/com/android/layoutlib/bridge/ResourceValue.java
ridge/src/com/google/android/maps/MapView.java
ridge/tests/com/android/layoutlib/bridge/AndroidGraphicsTests.java
ridge/tests/com/android/layoutlib/bridge/BridgeTest.java
ridge/tests/com/android/layoutlib/bridge/BridgeXmlBlockParserTest.java
ridge/tests/com/android/layoutlib/bridge/NinePatchTest.java
ridge/tests/com/android/layoutlib/bridge/StyleResourceValue.java
ridge/tests/data/button.9.png
ridge/tests/data/layout1.xml
reate/.classpath
reate/.project
reate/Android.mk
reate/README.txt
reate/manifest.txt
reate/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
reate/src/com/android/tools/layoutlib/create/AsmGenerator.java
reate/src/com/android/tools/layoutlib/create/ClassHasNativeVisitor.java
reate/src/com/android/tools/layoutlib/create/Log.java
reate/src/com/android/tools/layoutlib/create/LogAbortException.java
reate/src/com/android/tools/layoutlib/create/Main.java
reate/src/com/android/tools/layoutlib/create/MethodAdapter.java
reate/src/com/android/tools/layoutlib/create/MethodListener.java
reate/src/com/android/tools/layoutlib/create/OverrideMethod.java
reate/src/com/android/tools/layoutlib/create/RenameClassAdapter.java
reate/src/com/android/tools/layoutlib/create/StubMethodAdapter.java
reate/src/com/android/tools/layoutlib/create/TransformClassAdapter.java
reate/tests/com/android/tools/layoutlib/create/AsmAnalyzerTest.java
reate/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
reate/tests/com/android/tools/layoutlib/create/LogTest.java
reate/tests/com/android/tools/layoutlib/create/RenameClassAdapterTest.java
reate/tests/data/mock_android.jar
reate/tests/data/mock_android.jardesc
reate/tests/mock_android/dummy/InnerTest.java
reate/tests/mock_android/view/View.java
reate/tests/mock_android/view/ViewGroup.java
reate/tests/mock_android/widget/LinearLayout.java
reate/tests/mock_android/widget/TableLayout.java
|
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 |
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
ndroid.mk
pi/.classpath
pi/.project
pi/Android.mk
pi/src/com/android/layoutlib/api/ILayoutBridge.java
pi/src/com/android/layoutlib/api/ILayoutLog.java
pi/src/com/android/layoutlib/api/ILayoutResult.java
pi/src/com/android/layoutlib/api/IProjectCallback.java
pi/src/com/android/layoutlib/api/IResourceValue.java
pi/src/com/android/layoutlib/api/IStyleResourceValue.java
pi/src/com/android/layoutlib/api/IXmlPullParser.java
ridge/.classpath
ridge/.project
ridge/Android.mk
ridge/src/android/graphics/Bitmap.java
ridge/src/android/graphics/BitmapShader.java
ridge/src/android/graphics/ComposeShader.java
ridge/src/android/graphics/LinearGradient.java
ridge/src/android/graphics/Matrix.java
ridge/src/android/graphics/Paint.java
ridge/src/android/graphics/Path.java
ridge/src/android/graphics/PorterDuffXfermode.java
ridge/src/android/graphics/RadialGradient.java
ridge/src/android/graphics/Shader.java
ridge/src/android/graphics/SweepGradient.java
ridge/src/android/graphics/Typeface.java
ridge/src/android/util/FloatMath.java
ridge/src/android/view/BridgeInflater.java
ridge/src/android/view/SurfaceView.java
ridge/src/android/webkit/WebView.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/BridgeAssetManager.java
ridge/src/com/android/layoutlib/bridge/BridgeCanvas.java
ridge/src/com/android/layoutlib/bridge/BridgeConstants.java
ridge/src/com/android/layoutlib/bridge/BridgeContentResolver.java
ridge/src/com/android/layoutlib/bridge/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/BridgeResources.java
ridge/src/com/android/layoutlib/bridge/BridgeTypedArray.java
ridge/src/com/android/layoutlib/bridge/BridgeXmlBlockParser.java
ridge/src/com/android/layoutlib/bridge/BridgeXmlPullAttributes.java
ridge/src/com/android/layoutlib/bridge/FontLoader.java
ridge/src/com/android/layoutlib/bridge/LayoutResult.java
ridge/src/com/android/layoutlib/bridge/MockView.java
ridge/src/com/android/layoutlib/bridge/NinePatchDrawable.java
ridge/src/com/android/layoutlib/bridge/ResourceHelper.java
ridge/src/com/android/layoutlib/bridge/ResourceValue.java
ridge/src/com/google/android/maps/MapView.java
ridge/tests/com/android/layoutlib/bridge/AndroidGraphicsTests.java
ridge/tests/com/android/layoutlib/bridge/BridgeTest.java
ridge/tests/com/android/layoutlib/bridge/BridgeXmlBlockParserTest.java
ridge/tests/com/android/layoutlib/bridge/NinePatchTest.java
ridge/tests/com/android/layoutlib/bridge/StyleResourceValue.java
ridge/tests/data/button.9.png
ridge/tests/data/layout1.xml
reate/.classpath
reate/.project
reate/Android.mk
reate/README.txt
reate/manifest.txt
reate/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
reate/src/com/android/tools/layoutlib/create/AsmGenerator.java
reate/src/com/android/tools/layoutlib/create/ClassHasNativeVisitor.java
reate/src/com/android/tools/layoutlib/create/Log.java
reate/src/com/android/tools/layoutlib/create/LogAbortException.java
reate/src/com/android/tools/layoutlib/create/Main.java
reate/src/com/android/tools/layoutlib/create/MethodAdapter.java
reate/src/com/android/tools/layoutlib/create/MethodListener.java
reate/src/com/android/tools/layoutlib/create/OverrideMethod.java
reate/src/com/android/tools/layoutlib/create/RenameClassAdapter.java
reate/src/com/android/tools/layoutlib/create/StubMethodAdapter.java
reate/src/com/android/tools/layoutlib/create/TransformClassAdapter.java
reate/tests/com/android/tools/layoutlib/create/AsmAnalyzerTest.java
reate/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
reate/tests/com/android/tools/layoutlib/create/LogTest.java
reate/tests/com/android/tools/layoutlib/create/RenameClassAdapterTest.java
reate/tests/data/mock_android.jar
reate/tests/data/mock_android.jardesc
reate/tests/mock_android/dummy/InnerTest.java
reate/tests/mock_android/view/View.java
reate/tests/mock_android/view/ViewGroup.java
reate/tests/mock_android/widget/LinearLayout.java
reate/tests/mock_android/widget/TableLayout.java
|
076357b8567458d4b6dfdcf839ef751634cd2bfb |
03-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@132589
pi/src/com/android/layoutlib/api/ILayoutBridge.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/BridgeContext.java
|
3dec7d563a2f3e1eb967ce2054a00b6620e3558c |
03-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@137055
pi/src/com/android/layoutlib/api/ILayoutBridge.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/BridgeContext.java
|
da996f390e17e16f2dfa60e972e7ebc4f868f37e |
13-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@131421
ridge/src/com/android/layoutlib/bridge/Bridge.java
|
d24b8183b93e781080b2c16c487e60d51c12da31 |
11-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@130745
ridge/src/android/graphics/Paint.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/BridgeAssetManager.java
ridge/src/com/android/layoutlib/bridge/BridgeContentResolver.java
ridge/src/com/android/layoutlib/bridge/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/BridgeResources.java
ridge/src/com/android/layoutlib/bridge/MockView.java
|
b798689749c64baba81f02e10cf2157c747d6b46 |
10-Jan-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@125939
ridge/src/com/android/layoutlib/bridge/Bridge.java
reate/src/com/android/tools/layoutlib/create/AsmGenerator.java
reate/src/com/android/tools/layoutlib/create/Main.java
reate/src/com/android/tools/layoutlib/create/MethodAdapter.java
reate/src/com/android/tools/layoutlib/create/MethodListener.java
reate/src/com/android/tools/layoutlib/create/OverrideMethod.java
reate/src/com/android/tools/layoutlib/create/StubMethodAdapter.java
|
f013e1afd1e68af5e3b868c26a653bbfb39538f8 |
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
ndroid.mk
pi/.classpath
pi/src/com/android/layoutlib/api/ILayoutBridge.java
ridge/.classpath
ridge/src/android/graphics/Paint.java
ridge/src/android/view/BridgeInflater.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/BridgeResources.java
ridge/src/com/android/layoutlib/bridge/FontLoader.java
ridge/src/com/android/layoutlib/bridge/LayoutResult.java
ridge/src/com/android/layoutlib/bridge/ResourceHelper.java
reate/.classpath
reate/src/com/android/tools/layoutlib/create/AsmGenerator.java
reate/src/com/android/tools/layoutlib/create/Main.java
reate/src/com/android/tools/layoutlib/create/OverrideMethod.java
reate/src/com/android/tools/layoutlib/create/StubMethodAdapter.java
reate/src/com/android/tools/layoutlib/create/TransformClassAdapter.java
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
ndroid.mk
pi/.classpath
pi/.project
pi/Android.mk
pi/src/com/android/layoutlib/api/ILayoutBridge.java
pi/src/com/android/layoutlib/api/ILayoutLog.java
pi/src/com/android/layoutlib/api/ILayoutResult.java
pi/src/com/android/layoutlib/api/IProjectCallback.java
pi/src/com/android/layoutlib/api/IResourceValue.java
pi/src/com/android/layoutlib/api/IStyleResourceValue.java
pi/src/com/android/layoutlib/api/IXmlPullParser.java
ridge/.classpath
ridge/.project
ridge/Android.mk
ridge/src/android/graphics/Bitmap.java
ridge/src/android/graphics/BitmapShader.java
ridge/src/android/graphics/ComposeShader.java
ridge/src/android/graphics/LinearGradient.java
ridge/src/android/graphics/Matrix.java
ridge/src/android/graphics/Paint.java
ridge/src/android/graphics/Path.java
ridge/src/android/graphics/PorterDuffXfermode.java
ridge/src/android/graphics/RadialGradient.java
ridge/src/android/graphics/Shader.java
ridge/src/android/graphics/SweepGradient.java
ridge/src/android/graphics/Typeface.java
ridge/src/android/util/FloatMath.java
ridge/src/android/view/BridgeInflater.java
ridge/src/android/view/SurfaceView.java
ridge/src/android/webkit/WebView.java
ridge/src/com/android/layoutlib/bridge/Bridge.java
ridge/src/com/android/layoutlib/bridge/BridgeAssetManager.java
ridge/src/com/android/layoutlib/bridge/BridgeCanvas.java
ridge/src/com/android/layoutlib/bridge/BridgeConstants.java
ridge/src/com/android/layoutlib/bridge/BridgeContext.java
ridge/src/com/android/layoutlib/bridge/BridgeResources.java
ridge/src/com/android/layoutlib/bridge/BridgeTypedArray.java
ridge/src/com/android/layoutlib/bridge/BridgeXmlBlockParser.java
ridge/src/com/android/layoutlib/bridge/BridgeXmlPullAttributes.java
ridge/src/com/android/layoutlib/bridge/FontLoader.java
ridge/src/com/android/layoutlib/bridge/LayoutResult.java
ridge/src/com/android/layoutlib/bridge/MockView.java
ridge/src/com/android/layoutlib/bridge/NinePatchDrawable.java
ridge/src/com/android/layoutlib/bridge/ResourceHelper.java
ridge/src/com/android/layoutlib/bridge/ResourceValue.java
ridge/src/com/google/android/maps/MapView.java
ridge/tests/com/android/layoutlib/bridge/AndroidGraphicsTests.java
ridge/tests/com/android/layoutlib/bridge/BridgeTest.java
ridge/tests/com/android/layoutlib/bridge/BridgeXmlBlockParserTest.java
ridge/tests/com/android/layoutlib/bridge/NinePatchTest.java
ridge/tests/com/android/layoutlib/bridge/StyleResourceValue.java
ridge/tests/data/button.9.png
ridge/tests/data/layout1.xml
reate/.classpath
reate/.project
reate/Android.mk
reate/README.txt
reate/manifest.txt
reate/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
reate/src/com/android/tools/layoutlib/create/AsmGenerator.java
reate/src/com/android/tools/layoutlib/create/ClassHasNativeVisitor.java
reate/src/com/android/tools/layoutlib/create/Log.java
reate/src/com/android/tools/layoutlib/create/LogAbortException.java
reate/src/com/android/tools/layoutlib/create/Main.java
reate/src/com/android/tools/layoutlib/create/OverrideMethod.java
reate/src/com/android/tools/layoutlib/create/RenameClassAdapter.java
reate/src/com/android/tools/layoutlib/create/StubMethodAdapter.java
reate/src/com/android/tools/layoutlib/create/TransformClassAdapter.java
reate/tests/com/android/tools/layoutlib/create/AsmAnalyzerTest.java
reate/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
reate/tests/com/android/tools/layoutlib/create/LogTest.java
reate/tests/com/android/tools/layoutlib/create/RenameClassAdapterTest.java
reate/tests/data/mock_android.jar
reate/tests/data/mock_android.jardesc
reate/tests/mock_android/dummy/InnerTest.java
reate/tests/mock_android/view/View.java
reate/tests/mock_android/view/ViewGroup.java
reate/tests/mock_android/widget/LinearLayout.java
reate/tests/mock_android/widget/TableLayout.java
|