Filip Gruszczynski
f77a6dbac6
Merge "Refactoring: Delete AppWindowToken.willBeHidden field."
2015-09-27 21:50:49 +00:00
Filip Gruszczynski
8aafd3a81b
Refactoring: Delete AppWindowToken.willBeHidden field.
...
The only time AppWindowToken.willBeHidden is used is for determining
if the app should contribute to calculating orientation. In the same
check AppWindowToken.hiddenRequested will be or-ed with willBeHiden,
so it's enough that hiddenRequested to be set.
The only place where willBeHidden is set, is right before
WMS.setAppVisibility is called, which will set hiddenRequested.
Because of this willBeHidden is unnecessary.
Change-Id: Iea35f39f72e7f0dcd76205ef580f3a74cac72d08
2015-09-26 15:40:58 -07:00
Deepanshu Gupta
ef6439c857
am e5346dca: am 51a05d74: Merge "Fix TypedArray.getTextArray()" into mnc-ub-dev
...
* commit 'e5346dca479ecf87d5a3e412307e5f7ebe28ccb9':
Fix TypedArray.getTextArray()
2015-09-23 23:26:52 +00:00
Deepanshu Gupta
e5346dca47
am 51a05d74: Merge "Fix TypedArray.getTextArray()" into mnc-ub-dev
...
* commit '51a05d74a81aeb334ef095fc6f1aa98e5163763f':
Fix TypedArray.getTextArray()
2015-09-23 23:17:22 +00:00
Deepanshu Gupta
6649ca3711
Fix TypedArray.getTextArray()
...
Change-Id: Ic55b52840892fbf2a4258ba97ed31ca0283da8ed
2015-09-23 16:03:02 -07:00
Diego Perez
184427444b
am 36152328: am 0e766de7: Avoid calling scrollBy(0,0) on render
...
* commit '361523281c88a7e453e0eef961ed7f16a55785a5':
Avoid calling scrollBy(0,0) on render
2015-09-22 20:05:30 +00:00
Diego Perez
361523281c
am 0e766de7: Avoid calling scrollBy(0,0) on render
...
* commit '0e766de7c52d7e375e04676c93a872cb2d6eea63':
Avoid calling scrollBy(0,0) on render
2015-09-22 16:56:35 +00:00
Diego Perez
0e766de7c5
Avoid calling scrollBy(0,0) on render
...
Usually scrollBy(0, 0) won't have any effect but when called on the
NumberPicker but, in some cases, it seems to cause an endless loop.
When called from layoutlib, this will hold the read lock causing all
operations trying to acquire the write lock to block forever.
Bug: http://b.android.com/182506
Change-Id: Ib25427d3f32d804d1c481d979795eee71fbdbc6d
2015-09-22 16:44:37 +00:00
Wale Ogunwale
61b009e059
Don't crop home activity windows to stack bounds.
...
We crop windows to their stack bounds when the docked stack
exists. We don't want to do this for the home activity since
the docked stack isn't visible when the home activity is visible.
Change-Id: Ibb3157dabbb6c979358ddc2098a01c6ddf6540e8
2015-09-16 22:23:47 -07:00
Chong Zhang
173b6c2d1a
Fix build break with startMovingTask API
...
Change-Id: I4dc44ca04c75a9dfed079338e4906d317f50a1e3
2015-09-12 15:22:24 -07:00
Chong Zhang
8e89b31a62
Move window moving and resizing handling to WindowManager
...
- add a startMoving API to initiate a window move from app, once
the move starts WindowManager will take over the event handling.
- detect touch events along window's outside border and start
a resize if necessary
Change-Id: Ic7e8baba34e0aa27a43173e044ffb46e93e219e0
2015-09-11 17:15:19 -07:00
Deepanshu Gupta
44c75820b4
am b3382661: am ee1eed7e: am 7209945f: am 0e150a8b: am 0c5fd7e3: am eb541727: am dd21212f: am eb26f5ce: LayoutLib: Fix typedArray caching.
...
* commit 'b3382661eb3af61815812bd762ac1fcc2f5d9ef5':
LayoutLib: Fix typedArray caching.
2015-09-03 05:03:04 +00:00
Deepanshu Gupta
b3382661eb
am ee1eed7e: am 7209945f: am 0e150a8b: am 0c5fd7e3: am eb541727: am dd21212f: am eb26f5ce: LayoutLib: Fix typedArray caching.
...
* commit 'ee1eed7e711228008dc91a7da800be6527539e87':
LayoutLib: Fix typedArray caching.
2015-09-03 04:24:04 +00:00
Deepanshu Gupta
ee1eed7e71
am 7209945f: am 0e150a8b: am 0c5fd7e3: am eb541727: am dd21212f: am eb26f5ce: LayoutLib: Fix typedArray caching.
...
* commit '7209945fd38d22078b2fd208abe0aa976c311dde':
LayoutLib: Fix typedArray caching.
2015-09-02 01:21:26 +00:00
Deepanshu Gupta
0c5fd7e379
am eb541727: am dd21212f: am eb26f5ce: LayoutLib: Fix typedArray caching.
...
* commit 'eb54172719db60740a0b8dde6380db54d4006159':
LayoutLib: Fix typedArray caching.
2015-09-02 00:11:24 +00:00
Deepanshu Gupta
eb54172719
am dd21212f: am eb26f5ce: LayoutLib: Fix typedArray caching.
...
* commit 'dd21212fa1a9c907d5d2f80f3de2413f6c14da7a':
LayoutLib: Fix typedArray caching.
2015-09-01 23:59:10 +00:00
Deepanshu Gupta
eb26f5cecd
LayoutLib: Fix typedArray caching.
...
The typedArray depends on the current context (more specifically, the
themes set on the context). The fact was ignored in the caching of the
typedArray and caused the android:theme attribute to be ignored in
certain cases.
Change-Id: If095580919474f12c0eb4e1f8fb7f076cf3c4ed0
2015-09-01 23:17:56 +00:00
Filip Gruszczynski
1bca297bd3
Fix build.
...
Change-Id: Ibda30d85280cc72641e0baf2c6a69171a03fc7fb
2015-09-01 09:29:11 -07:00
Deepanshu Gupta
45b50acf61
am 4845fa72: am b8ae1879: Merge "Fix android:theme parsing for custom views." into mnc-ub-dev
...
* commit '4845fa72c236f7c70572a9ae24a8e183edfd485f':
Fix android:theme parsing for custom views.
2015-08-29 01:28:06 +00:00
Deepanshu Gupta
4845fa72c2
am b8ae1879: Merge "Fix android:theme parsing for custom views." into mnc-ub-dev
...
* commit 'b8ae187932ff783711ea8715d7f5891d9e4ebb32':
Fix android:theme parsing for custom views.
2015-08-29 00:02:26 +00:00
Deepanshu Gupta
753517700d
Fix android:theme parsing for custom views.
...
Change-Id: Iba83ba1d2e4a96461cc298a759e32e4e51e311a0
2015-08-28 14:49:04 -07:00
Deepanshu Gupta
c816122501
Merge "Revert "LayoutLib: Switch SimpleDateFormat to icu.""
2015-08-28 16:00:35 +00:00
Deepanshu Gupta
0fdf3fc659
am 3a6567a8: am 4eb298a9: LayoutLib: Fix true transparency in status bar.
...
* commit '3a6567a86e33071871ed950006ae286750727b0e':
LayoutLib: Fix true transparency in status bar.
2015-08-26 21:12:15 +00:00
Deepanshu Gupta
ebdedb47e5
am 42994097: am a1be8b43: LayoutLib: Update golden test images. [DO NOT MERGE]
...
* commit '4299409775ffd5cb70a8970c15807f33fc8b08d4':
LayoutLib: Update golden test images. [DO NOT MERGE]
2015-08-26 20:22:48 +00:00
Deepanshu Gupta
68ff174b09
am 2b99b5da: am c9862b44: An ugly hack to render CalendarView. [DO NOT MERGE]
...
* commit '2b99b5da279a7cbf1f6412a8ac7d6bfdd82e26c6':
An ugly hack to render CalendarView. [DO NOT MERGE]
2015-08-26 20:22:43 +00:00
Deepanshu Gupta
d9600c986d
am 7eb81868: am b1ad4a15: LayoutLib: Fix true transparency in status bar. [DO NOT MERGE]
...
* commit '7eb81868c338fc78139592ac81845c080f53b1c5':
LayoutLib: Fix true transparency in status bar. [DO NOT MERGE]
2015-08-26 20:22:35 +00:00
Deepanshu Gupta
5769732e6e
am 9d6e87b6: am da687918: Make getInt in BridgeTypedArray accept empty String. [DO NOT MERGE]
...
* commit '9d6e87b67eb0d39d7584b12a3e843db68c8c9f3b':
Make getInt in BridgeTypedArray accept empty String. [DO NOT MERGE]
2015-08-26 20:22:29 +00:00
Deepanshu Gupta
728fc73130
am c43506fc: am 8c674fda: Fix layout mirroring. [DO NOT MERGE]
...
* commit 'c43506fc2dbe3fea6885e74ac8c67b91a0a644ff':
Fix layout mirroring. [DO NOT MERGE]
2015-08-26 20:22:23 +00:00
Deepanshu Gupta
37ae8f4ef8
am 918e62f1: am 7aa36129: Fix typo: s/FullScreen/Fullscreen/ in LayoutLib. [DO NOT MERGE]
...
* commit '918e62f1cb7e5802cfb7435dd606380fa5d3a278':
Fix typo: s/FullScreen/Fullscreen/ in LayoutLib. [DO NOT MERGE]
2015-08-26 20:22:17 +00:00
Deepanshu Gupta
e4b4b08446
am eb15670c: am 92f373fe: Fix Matrix_Delegate.native_getValues() [DO NOT MERGE]
...
* commit 'eb15670ccc46c688537cd99fa1af2e475a5fd2be':
Fix Matrix_Delegate.native_getValues() [DO NOT MERGE]
2015-08-26 20:22:11 +00:00
Deepanshu Gupta
05ed2d9148
am 42e53ecb: am 66d91401: Revert to using AppTheme for LayoutLib tests. [DO NOT MERGE]
...
* commit '42e53ecbc146c4b131961e1f1764fcf886204b07':
Revert to using AppTheme for LayoutLib tests. [DO NOT MERGE]
2015-08-26 20:22:05 +00:00
Deepanshu Gupta
21f66a6b9f
am 5078ad32: am 6b1b651f: Fix imports. [DO NOT MERGE]
...
* commit '5078ad325b0da36fe798df1df428d12732548217':
Fix imports. [DO NOT MERGE]
2015-08-26 20:21:55 +00:00
Deepanshu Gupta
34f6f59790
am 4a213763: am 5ad4dae1: Fix theme namespace in tests. [DO NOT MERGE]
...
* commit '4a2137639aba761dcf289f1e2cc2e48dd42e7a3f':
Fix theme namespace in tests. [DO NOT MERGE]
2015-08-26 20:21:49 +00:00
Deepanshu Gupta
39b4f4cc75
am f988761c: am 723e136f: Run setup for full tests only once. [DO NOT MERGE]
...
* commit 'f988761c0acc02bb4b21b6357e418da7799f11e7':
Run setup for full tests only once. [DO NOT MERGE]
2015-08-26 20:21:43 +00:00
Deepanshu Gupta
de8da2793d
am e54dbc4a: am 3ba16c1d: LayoutLib: fix layout when nav bar is absent. [DO NOT MERGE]
...
* commit 'e54dbc4ac74d110c4121932a22d04447a0e15b65':
LayoutLib: fix layout when nav bar is absent. [DO NOT MERGE]
2015-08-26 20:21:38 +00:00
Deepanshu Gupta
963cac18ad
am 147c0506: am 55a36337: LayoutLib: Fix Status/Navigation Bar color. [DO NOT MERGE]
...
* commit '147c0506d5425633f0d45e1489262d4e27a35921':
LayoutLib: Fix Status/Navigation Bar color. [DO NOT MERGE]
2015-08-26 20:21:29 +00:00
Deepanshu Gupta
76111ecbbd
am e093bbf3: am d861fd81: Set support flag for custom layouts for RecyclerView. [DO NOT MERGE]
...
* commit 'e093bbf3997de7d2dddc2122c1349f734478f09f':
Set support flag for custom layouts for RecyclerView. [DO NOT MERGE]
2015-08-26 20:21:23 +00:00
Deepanshu Gupta
c5bd6146f7
am 8a50ecea: am 82fae621: LayoutLib: translucent sys ui bars [DO NOT MERGE]
...
* commit '8a50ecea2ea0218377f7af8b4334b4ee4d386ef7':
LayoutLib: translucent sys ui bars [DO NOT MERGE]
2015-08-26 20:21:16 +00:00
Deepanshu Gupta
6dcfe1e2b4
am d4be80d9: am 9068539a: Update nav bar icons. [DO NOT MERGE]
...
* commit 'd4be80d9962cdf5d68dccd3291ed1cabb76b6df2':
Update nav bar icons. [DO NOT MERGE]
2015-08-26 20:21:09 +00:00
Deepanshu Gupta
5eaa09ff9e
am d1dde055: am e5afc311: Move the layout code out of RenderSessionImpl. [DO NOT MERGE]
...
* commit 'd1dde055060d63f8981ba51aeb75ab8a459db9b4':
Move the layout code out of RenderSessionImpl. [DO NOT MERGE]
2015-08-26 20:20:58 +00:00
Deepanshu Gupta
1f2c15ca8e
am 87f5fd6b: am c989950d: CalendarView rendering: use R.styleable to find attr. [DO NOT MERGE]
...
* commit '87f5fd6bf2c0d72fd37fb923b4d38225caa55d55':
CalendarView rendering: use R.styleable to find attr. [DO NOT MERGE]
2015-08-26 20:20:53 +00:00
Deepanshu Gupta
36e164e095
am e3eecca9: am b2fdaca9: Add tools:openDrawer to open a DrawerLayout. [DO NOT MERGE]
...
* commit 'e3eecca924e7c7961c54eb37336767c995c936e7':
Add tools:openDrawer to open a DrawerLayout. [DO NOT MERGE]
2015-08-26 20:20:45 +00:00
Deepanshu Gupta
13cd766081
am b4060700: am a14ec6f4: Change tools:list_item to listitem. [DO NOT MERGE]
...
* commit 'b406070040d1370b6ef6154cba3965c4ab016d66':
Change tools:list_item to listitem. [DO NOT MERGE]
2015-08-26 20:20:35 +00:00
Deepanshu Gupta
a556d7566b
am 8bfc5a9d: am b1e21330: Implement tools:list_item for RecyclerView. [DO NOT MERGE]
...
* commit '8bfc5a9d14000a436e54350099bd460f55418f27':
Implement tools:list_item for RecyclerView. [DO NOT MERGE]
2015-08-26 20:20:30 +00:00
Jens Ole Lauridsen
413d41aac4
am 67b73b60: am cd4d5b3f: Support AppBar from Material Design. [DO NOT MERGE]
...
* commit '67b73b60bf9c9f433ed282abdc3691ee0cc6dda0':
Support AppBar from Material Design. [DO NOT MERGE]
2015-08-26 20:20:24 +00:00
Deepanshu Gupta
7a92c26e20
am 6f5709ca: am de13095d: Update tests per new layoutlib_api [DO NOT MERGE]
...
* commit '6f5709ca97b27db9877c2fc65b083783d3f41e02':
Update tests per new layoutlib_api [DO NOT MERGE]
2015-08-26 20:20:17 +00:00
Deepanshu Gupta
c5c2ea0478
am 9a13b1e7: am db67caa6: Add missing resolveResValue call. [DO NOT MERGE]
...
* commit '9a13b1e7502734fbe54d6f0e1c386f5382dfa662':
Add missing resolveResValue call. [DO NOT MERGE]
2015-08-26 20:20:11 +00:00
Deepanshu Gupta
e4acf0ad4a
am ad16968d: am 6eef1246: LayoutLib: Skip classes from java package. [DO NOT MERGE]
...
* commit 'ad16968d506840a1c1824c4ab6b5c181c8e04086':
LayoutLib: Skip classes from java package. [DO NOT MERGE]
2015-08-26 20:20:05 +00:00
Deepanshu Gupta
7911c8b97d
am 15e549a8: am 4f5e6c63: Skip warnings for some unresolved references. [DO NOT MERGE]
...
* commit '15e549a81f59daf016f29c6ed6f1aa3d5f65d41c':
Skip warnings for some unresolved references. [DO NOT MERGE]
2015-08-26 20:19:58 +00:00
Deepanshu Gupta
13670bc6de
am 669e4969: am 3e875dbb: Fix import order. [DO NOT MERGE]
...
* commit '669e4969a7245cf9d1febc5d4e67a0f2063e87fb':
Fix import order. [DO NOT MERGE]
2015-08-26 20:19:52 +00:00