summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* am 42994097: am a1be8b43: LayoutLib: Update golden test images. [DO NOT MERGE]Deepanshu Gupta2015-08-269-0/+0
|\ | | | | | | | | * commit '4299409775ffd5cb70a8970c15807f33fc8b08d4': LayoutLib: Update golden test images. [DO NOT MERGE]
| * am a1be8b43: LayoutLib: Update golden test images. [DO NOT MERGE]Deepanshu Gupta2015-08-269-0/+0
| |\ | | | | | | | | | | | | * commit 'a1be8b43e49d7b3555af6f284e4bb416ae6d477f': LayoutLib: Update golden test images. [DO NOT MERGE]
| | * LayoutLib: Update golden test images. [DO NOT MERGE]Deepanshu Gupta2015-08-259-0/+0
| | | | | | | | | | | | | | | | | | Also update the generated classes from the MyApplication test project. Change-Id: I97bce3737c0cb528a61fa652988a2edb09ec885d
* | | am 2b99b5da: am c9862b44: An ugly hack to render CalendarView. [DO NOT MERGE]Deepanshu Gupta2015-08-263-1/+100
|\ \ \ | |/ / | | | | | | | | | * commit '2b99b5da279a7cbf1f6412a8ac7d6bfdd82e26c6': An ugly hack to render CalendarView. [DO NOT MERGE]
| * | am c9862b44: An ugly hack to render CalendarView. [DO NOT MERGE]Deepanshu Gupta2015-08-263-1/+100
| |\ \ | | |/ | | | | | | | | | * commit 'c9862b4429b32985d5267fa6ae28025278bdd603': An ugly hack to render CalendarView. [DO NOT MERGE]
| | * An ugly hack to render CalendarView. [DO NOT MERGE]Deepanshu Gupta2015-08-253-1/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an ugly hack to switch the field android.widget.SimpleMonthView.mDayFormatter from java.text.SimpleDateFormat to icu's version of the same class. The hack is only for the L version of the LayoutLib. It's done in a better way in M and even better in N. Change-Id: Id84a1d32040211c46b20cdaf3a77119676e748b6
* | | am 7eb81868: am b1ad4a15: LayoutLib: Fix true transparency in status bar. ↵Deepanshu Gupta2015-08-264-12/+16
|\ \ \ | |/ / | | | | | | | | | | | | | | | [DO NOT MERGE] * commit '7eb81868c338fc78139592ac81845c080f53b1c5': LayoutLib: Fix true transparency in status bar. [DO NOT MERGE]
| * | am b1ad4a15: LayoutLib: Fix true transparency in status bar. [DO NOT MERGE]Deepanshu Gupta2015-08-264-12/+16
| |\ \ | | |/ | | | | | | | | | * commit 'b1ad4a155957160de9c4ad5c5beb39ce00ef6799': LayoutLib: Fix true transparency in status bar. [DO NOT MERGE]
| | * LayoutLib: Fix true transparency in status bar. [DO NOT MERGE]Deepanshu Gupta2015-08-254-12/+16
| | | | | | | | | | | | | | | Change-Id: Ieedf23cde9ab3e36c77501d30cc7e808e66a4782 (cherry picked from commit f9662c006c650c9f61f19a5e1ea4a76640eb85ca)
* | | am 9d6e87b6: am da687918: Make getInt in BridgeTypedArray accept empty ↵Deepanshu Gupta2015-08-261-5/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | String. [DO NOT MERGE] * commit '9d6e87b67eb0d39d7584b12a3e843db68c8c9f3b': Make getInt in BridgeTypedArray accept empty String. [DO NOT MERGE]
| * | am da687918: Make getInt in BridgeTypedArray accept empty String. [DO NOT MERGE]Deepanshu Gupta2015-08-261-5/+2
| |\ \ | | |/ | | | | | | | | | * commit 'da687918e13010d56e3d067e0ef477165cf38e10': Make getInt in BridgeTypedArray accept empty String. [DO NOT MERGE]
| | * Make getInt in BridgeTypedArray accept empty String. [DO NOT MERGE]Deepanshu Gupta2015-08-251-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The XML editor already warns about the empty strings in places where an int value is required. There's no need to show another warning for it in the rendering panel. Also, the rendering might have also failed when the empty string is encountered. Try an continue the rendering, because no rendering state is really bad. Change-Id: I85106f37e4462f237e85f0b065b4ce8a4bfabf4d (cherry picked from commit 0437cac76c24dc6cac7b530e6d80f789565550ec)
* | | am c43506fc: am 8c674fda: Fix layout mirroring. [DO NOT MERGE]Deepanshu Gupta2015-08-261-0/+1
|\ \ \ | |/ / | | | | | | | | | * commit 'c43506fc2dbe3fea6885e74ac8c67b91a0a644ff': Fix layout mirroring. [DO NOT MERGE]
| * | am 8c674fda: Fix layout mirroring. [DO NOT MERGE]Deepanshu Gupta2015-08-261-0/+1
| |\ \ | | |/ | | | | | | | | | * commit '8c674fda8939c2d30f85e0341b70d9f3edd04d6c': Fix layout mirroring. [DO NOT MERGE]
| | * Fix layout mirroring. [DO NOT MERGE]Deepanshu Gupta2015-08-251-0/+1
| | | | | | | | | | | | | | | Change-Id: I7db398aa2d11dac1210e84922138f78f0c23bb9b (cherry picked from commit a9090705efcc44f015486944e5aeb926173a7968)
* | | am 918e62f1: am 7aa36129: Fix typo: s/FullScreen/Fullscreen/ in LayoutLib. ↵Deepanshu Gupta2015-08-261-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | [DO NOT MERGE] * commit '918e62f1cb7e5802cfb7435dd606380fa5d3a278': Fix typo: s/FullScreen/Fullscreen/ in LayoutLib. [DO NOT MERGE]
| * | am 7aa36129: Fix typo: s/FullScreen/Fullscreen/ in LayoutLib. [DO NOT MERGE]Deepanshu Gupta2015-08-261-1/+1
| |\ \ | | |/ | | | | | | | | | * commit '7aa36129403de74c485f286d290787e38565ddae': Fix typo: s/FullScreen/Fullscreen/ in LayoutLib. [DO NOT MERGE]
| | * Fix typo: s/FullScreen/Fullscreen/ in LayoutLib. [DO NOT MERGE]Deepanshu Gupta2015-08-251-1/+1
| | | | | | | | | | | | | | | Change-Id: Ia8d223ae01f08df945ab05615b07075b98a54a32 (cherry picked from commit 5a8f33f1b09b0311f1bbd1ec6b90db706edb5219)
* | | am eb15670c: am 92f373fe: Fix Matrix_Delegate.native_getValues() [DO NOT MERGE]Deepanshu Gupta2015-08-261-1/+1
|\ \ \ | |/ / | | | | | | | | | * commit 'eb15670ccc46c688537cd99fa1af2e475a5fd2be': Fix Matrix_Delegate.native_getValues() [DO NOT MERGE]
| * | am 92f373fe: Fix Matrix_Delegate.native_getValues() [DO NOT MERGE]Deepanshu Gupta2015-08-261-1/+1
| |\ \ | | |/ | | | | | | | | | * commit '92f373fe3209f9372d6168b016ae613f7df0625b': Fix Matrix_Delegate.native_getValues() [DO NOT MERGE]
| | * Fix Matrix_Delegate.native_getValues() [DO NOT MERGE]Deepanshu Gupta2015-08-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The bug manifested itself by not rendering the wifi icon in the status bar. Change-Id: I7debf3eef387965d774bf66e856812e67c8552a7 (cherry picked from commit 9f280a9301566c94a583cc45b6abea8a4488e33c)
* | | am 42e53ecb: am 66d91401: Revert to using AppTheme for LayoutLib tests. [DO ↵Deepanshu Gupta2015-08-262-7/+8
|\ \ \ | |/ / | | | | | | | | | | | | | | | NOT MERGE] * commit '42e53ecbc146c4b131961e1f1764fcf886204b07': Revert to using AppTheme for LayoutLib tests. [DO NOT MERGE]
| * | am 66d91401: Revert to using AppTheme for LayoutLib tests. [DO NOT MERGE]Deepanshu Gupta2015-08-262-7/+8
| |\ \ | | |/ | | | | | | | | | * commit '66d914018cf605c25fb6b2f53627ef702decbdd1': Revert to using AppTheme for LayoutLib tests. [DO NOT MERGE]
| | * Revert to using AppTheme for LayoutLib tests. [DO NOT MERGE]Deepanshu Gupta2015-08-252-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use AppTheme for all tests other than testExpand. AppTheme contains an attribute needed by testArrayCheck. Also, since the AppTheme extends Theme.Material.Light.DarkActionBar, other tests should be unaffected. Also, update the golden image for the testArrayCheck. Change-Id: Ib5f53f3b029c5aceef2b622e5ac63952d6b1972a (cherry picked from commit 89a045c31f4f08bc0d9d533ef47f321e6423f656)
* | | am 5078ad32: am 6b1b651f: Fix imports. [DO NOT MERGE]Deepanshu Gupta2015-08-263-23/+12
|\ \ \ | |/ / | | | | | | | | | * commit '5078ad325b0da36fe798df1df428d12732548217': Fix imports. [DO NOT MERGE]
| * | am 6b1b651f: Fix imports. [DO NOT MERGE]Deepanshu Gupta2015-08-263-23/+12
| |\ \ | | |/ | | | | | | | | | * commit '6b1b651fedc421265d328f1b74512e62ac8a2e13': Fix imports. [DO NOT MERGE]
| | * Fix imports. [DO NOT MERGE]Deepanshu Gupta2015-08-253-23/+12
| | | | | | | | | | | | | | | | | | | | | | | | Also remove null checks on return value of ReflectionUtils.getMethod() as the method always return non null. Change-Id: Ib476302c2cf0504a0f54db4e795955ad10e5df3f (cherry picked from commit 671b7f9b99316f7224c1213d6923d449a2de9b62)
* | | am 4a213763: am 5ad4dae1: Fix theme namespace in tests. [DO NOT MERGE]Deepanshu Gupta2015-08-261-1/+1
|\ \ \ | |/ / | | | | | | | | | * commit '4a2137639aba761dcf289f1e2cc2e48dd42e7a3f': Fix theme namespace in tests. [DO NOT MERGE]
| * | am 5ad4dae1: Fix theme namespace in tests. [DO NOT MERGE]Deepanshu Gupta2015-08-261-1/+1
| |\ \ | | |/ | | | | | | | | | * commit '5ad4dae1578dd6823da93ee8382f07ec2814e3ba': Fix theme namespace in tests. [DO NOT MERGE]
| | * Fix theme namespace in tests. [DO NOT MERGE]Deepanshu Gupta2015-08-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | The tests used framework theme (Material), but the ResourceResolver was created with project theme. This caused tests to fail becasue of missing resources. Change-Id: Ia17ee19054f6689f85e3423e83c1f47a2cc4364f (cherry picked from commit 4a6ee98d39ab2300b2cd17c60221e43bf4ade8e7)
* | | am f988761c: am 723e136f: Run setup for full tests only once. [DO NOT MERGE]Deepanshu Gupta2015-08-261-26/+36
|\ \ \ | |/ / | | | | | | | | | * commit 'f988761c0acc02bb4b21b6357e418da7799f11e7': Run setup for full tests only once. [DO NOT MERGE]
| * | am 723e136f: Run setup for full tests only once. [DO NOT MERGE]Deepanshu Gupta2015-08-261-26/+36
| |\ \ | | |/ | | | | | | | | | * commit '723e136f96a06360a62dc981da1c8ea0ae546660': Run setup for full tests only once. [DO NOT MERGE]
| | * Run setup for full tests only once. [DO NOT MERGE]Deepanshu Gupta2015-08-251-26/+36
| | | | | | | | | | | | | | | Change-Id: Iee64dbd88d473b7be08581f26ccddf649aed8e56 (cherry picked from commit a12ec8f1e28cb5a8601bf606852f1d34d7c91996)
* | | am e54dbc4a: am 3ba16c1d: LayoutLib: fix layout when nav bar is absent. [DO ↵Deepanshu Gupta2015-08-261-12/+19
|\ \ \ | |/ / | | | | | | | | | | | | | | | NOT MERGE] * commit 'e54dbc4ac74d110c4121932a22d04447a0e15b65': LayoutLib: fix layout when nav bar is absent. [DO NOT MERGE]
| * | am 3ba16c1d: LayoutLib: fix layout when nav bar is absent. [DO NOT MERGE]Deepanshu Gupta2015-08-261-12/+19
| |\ \ | | |/ | | | | | | | | | * commit '3ba16c1d9d53d520543e1bd363236453101096ec': LayoutLib: fix layout when nav bar is absent. [DO NOT MERGE]
| | * LayoutLib: fix layout when nav bar is absent. [DO NOT MERGE]Deepanshu Gupta2015-08-251-12/+19
| | | | | | | | | | | | | | | Change-Id: I0d3ee6fd5a4656156a630d3b298533ea13eb8415 (cherry picked from commit 6e8d8ad2b7cffed751b2a382ac7b761954767188)
* | | am 147c0506: am 55a36337: LayoutLib: Fix Status/Navigation Bar color. [DO ↵Deepanshu Gupta2015-08-261-2/+16
|\ \ \ | |/ / | | | | | | | | | | | | | | | NOT MERGE] * commit '147c0506d5425633f0d45e1489262d4e27a35921': LayoutLib: Fix Status/Navigation Bar color. [DO NOT MERGE]
| * | am 55a36337: LayoutLib: Fix Status/Navigation Bar color. [DO NOT MERGE]Deepanshu Gupta2015-08-261-2/+16
| |\ \ | | |/ | | | | | | | | | * commit '55a363376b4d877870650a5a4b757d286f571345': LayoutLib: Fix Status/Navigation Bar color. [DO NOT MERGE]
| | * LayoutLib: Fix Status/Navigation Bar color. [DO NOT MERGE]Deepanshu Gupta2015-08-251-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the color value for status bar or navigation bar is declared directly in the theme (i.e. doesn't reference a color resource via @color/foo), the ResourceType for the attribute is not assigned by the IDE. LayoutLib used to ignore resources that were not of type color. This change fixes the issue by also checking the resources without a type. Change-Id: I94735ec225415282db06ab9db5c3233ad89c052f (cherry picked from commit e3f9834ebd8a6e4ee155c8e4c9456dfc98e8b832)
* | | am e093bbf3: am d861fd81: Set support flag for custom layouts for ↵Deepanshu Gupta2015-08-261-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | RecyclerView. [DO NOT MERGE] * commit 'e093bbf3997de7d2dddc2122c1349f734478f09f': Set support flag for custom layouts for RecyclerView. [DO NOT MERGE]
| * | am d861fd81: Set support flag for custom layouts for RecyclerView. [DO NOT ↵Deepanshu Gupta2015-08-261-1/+1
| |\ \ | | |/ | | | | | | | | | | | | | | | MERGE] * commit 'd861fd81f7a2e62a31c4f2c7aed66fceb475d0c8': Set support flag for custom layouts for RecyclerView. [DO NOT MERGE]
| | * Set support flag for custom layouts for RecyclerView. [DO NOT MERGE]Deepanshu Gupta2015-08-251-1/+1
| | | | | | | | | | | | | | | Change-Id: I3a0349c0482ae45e226b2016a0f24707c85edff4 (cherry picked from commit f7712d3524309c365b68f93497771084e6b5a66b)
* | | am 8a50ecea: am 82fae621: LayoutLib: translucent sys ui bars [DO NOT MERGE]Deepanshu Gupta2015-08-266-62/+113
|\ \ \ | |/ / | | | | | | | | | * commit '8a50ecea2ea0218377f7af8b4334b4ee4d386ef7': LayoutLib: translucent sys ui bars [DO NOT MERGE]
| * | am 82fae621: LayoutLib: translucent sys ui bars [DO NOT MERGE]Deepanshu Gupta2015-08-266-62/+113
| |\ \ | | |/ | | | | | | | | | * commit '82fae621533f9d8fc92f5a8d330ebe94a67ff07d': LayoutLib: translucent sys ui bars [DO NOT MERGE]
| | * LayoutLib: translucent sys ui bars [DO NOT MERGE]Deepanshu Gupta2015-08-256-62/+113
| | | | | | | | | | | | | | | Change-Id: I9c294329fc78418c505a5115bc9c07da29595af2 (cherry picked from commit fc8f4aad7395eca11f6d9b82eb266b1f4ee5041b)
* | | am d4be80d9: am 9068539a: Update nav bar icons. [DO NOT MERGE]Deepanshu Gupta2015-08-2623-14/+149
|\ \ \ | |/ / | | | | | | | | | * commit 'd4be80d9962cdf5d68dccd3291ed1cabb76b6df2': Update nav bar icons. [DO NOT MERGE]
| * | am 9068539a: Update nav bar icons. [DO NOT MERGE]Deepanshu Gupta2015-08-2623-14/+149
| |\ \ | | |/ | | | | | | | | | * commit '9068539a48e13a7d32342e46db32b6f5fa3d531e': Update nav bar icons. [DO NOT MERGE]
| | * Update nav bar icons. [DO NOT MERGE]Deepanshu Gupta2015-08-2523-14/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add a script to copy the icons from the original source. - Update layout used for the navigation bar to be closer to the original layout. - Update test image with the latest rendering. - Add a nexus 5 landscape device config to help with testing. Change-Id: I0b6674955e0970a6a8cce148b1b7aa61e1752ccd (cherry picked from commit 139d6ff12d395a888624113fdd2521861b47d761)
* | | am d1dde055: am e5afc311: Move the layout code out of RenderSessionImpl. [DO ↵Deepanshu Gupta2015-08-2611-490/+511
|\ \ \ | |/ / | | | | | | | | | | | | | | | NOT MERGE] * commit 'd1dde055060d63f8981ba51aeb75ab8a459db9b4': Move the layout code out of RenderSessionImpl. [DO NOT MERGE]
| * | am e5afc311: Move the layout code out of RenderSessionImpl. [DO NOT MERGE]Deepanshu Gupta2015-08-2611-490/+511
| |\ \ | | |/ | | | | | | | | | * commit 'e5afc3117be394fdd92496b39e9bad248972902a': Move the layout code out of RenderSessionImpl. [DO NOT MERGE]