Alan Viverette
78f12e43f0
Update LayoutLib for theme key changes to fix build
...
Change-Id: I47b400b320f16688cd32c1d8955a660637d93f4d
2015-05-07 16:24:10 -07:00
Seigo Nonaka
14e139179b
Retry "Always show auxiliary subtypes from NavBar keyboard icon."
...
This CL relands I1e50ee42838a1bf64a612da4904aa93458d44ea4, which was
reverted by I3decaf37198e5864a1763a059df4a36ebc70c5a7 due to the build
breakage in 'layoutlib' target, with a proper fix.
Hereafter the original CL description is repeated.
The auxiliary subtypes should be listed if the input method picker is
opened from NavBar keyboard icon. However there is only
IMM#showInputMethodPicker() API to open input method picker and this is
also used from LockScreen or Settings UI. Auxiliary subtypes should not
be listed there(Id7cf5d122). Thus framework shows auxiliary subtypes
based on IMMS#mInputShown and LockScreen state, but it is not a perfect
solution. If a physical keyboard is connected, the soft input may be
gone. As the result, auxiliary subtypes won't be listed even if it is
opened from NavBar keyboard icon.
To fix this issue, this CL introduces IMM#showInputMethodPicker(boolean)
to be able to decide showing auxiliary subtypes by caller.
Note that IMM#showInputMethodPicker(boolean) is still hidden with @hide.
There is no public API change in this CL.
Bug: 20763994
Change-Id: Id156c85535a221235737ea6dcc15a67f1c4b9f71
2015-05-06 21:34:07 -07:00
Diego Perez
70280a20f3
am 0fe14486: am 2021c877: am 33e54563: am 4b125836: Merge "Added function to render a drawable in all available states" into lmp-mr1-dev
...
* commit '0fe14486211e3ade7f29ea76e16211853fe9cd7a':
Added function to render a drawable in all available states
2015-05-07 03:14:30 +00:00
Diego Perez
0fe1448621
am 2021c877: am 33e54563: am 4b125836: Merge "Added function to render a drawable in all available states" into lmp-mr1-dev
...
* commit '2021c8773150dd47d8781375af94143cb22afd9d':
Added function to render a drawable in all available states
2015-05-07 03:02:34 +00:00
Diego Perez
2021c87731
am 33e54563: am 4b125836: Merge "Added function to render a drawable in all available states" into lmp-mr1-dev
...
* commit '33e54563daa0db610f9dc8b9d4fca8f826ffec73':
Added function to render a drawable in all available states
2015-05-07 02:49:50 +00:00
Diego Perez
4b12583653
Merge "Added function to render a drawable in all available states" into lmp-mr1-dev
2015-05-07 02:28:51 +00:00
Andrew Shulaev
681c7d142a
Added function to render a drawable in all available states
...
This reverts commit 01cdf8b135 .
Change-Id: I596855047d78c3c718744ad61432fc45e1239634
(cherry picked from commit 1f158819bc )
2015-05-07 02:05:48 +01:00
Diego Perez
c000db78d7
am 9af506fb: am 143eaa81: am 2ea82244: am 263e6dfa: Merge "Make status and navigation bars widgets and usable from layouts" into lmp-mr1-dev
...
* commit '9af506fb5b5f1c7f36fb439c2b120ad2b0cda602':
Make status and navigation bars widgets and usable from layouts
2015-05-07 00:49:57 +00:00
Diego Perez
9207b8567a
am ae4619dd: am df4c977d: am 24e10c0b: am 19dbe50b: Merge "Move StatusBar to use statusBarColor theme attribute" into lmp-mr1-dev
...
* commit 'ae4619dd7f3d48cae2e9b83681849a77a8201142':
Move StatusBar to use statusBarColor theme attribute
2015-05-07 00:49:51 +00:00
Deepanshu Gupta
790f6925a7
am a131bfe0: am 3dbd18cd: am 872e9950: am 1f8e3de4: Merge "More layoutlib tests." into lmp-mr1-dev
...
* commit 'a131bfe094c007721d006fc9ca21cfa74f41dfef':
More layoutlib tests.
2015-05-07 00:49:40 +00:00
Diego Perez
c2ba739170
am 613aef87: am 86bff0bb: am 0e20bd8e: Merge changes I60c09f33,Ie0134c2b into lmp-mr1-dev
...
* commit '613aef87cf6a5958ff2fd255348f92f8d3de152e':
Add new parameter to the render method to allow forcing a measure pass.
Avoid caching mImage on the main render loop and use clipping.
2015-05-07 00:47:08 +00:00
Deepanshu Gupta
2ab7b46056
resolved conflicts for merge of a663e012 to mnc-dev
...
Change-Id: I279cad7db6e9b5e97da3ea3c3bb91e09cabc7076
2015-05-06 17:45:29 -07:00
Diego Perez
d7a53dab44
am 9efcb308: am 21246bd9: am 8e75e307: am 1bc7fb2d: Merge "Fix isThemeAppCompat NPE when using an invalid theme" into lmp-mr1-dev
...
* commit '9efcb308615c0adaf418d430adabea3d271bcbb4':
Fix isThemeAppCompat NPE when using an invalid theme
2015-05-07 00:34:32 +00:00
Deepanshu Gupta
15432daa6e
am 9c9bcd34: am cae76a70: am 46241071: am 4f8a9996: Merge "Nullity annotations to some tests." into lmp-mr1-dev
...
* commit '9c9bcd3486d9f7557329dea90b3c5fa1bdace91c':
Nullity annotations to some tests.
2015-05-07 00:34:26 +00:00
Deepanshu Gupta
dbcedeea20
am b2951490: am b19325be: am 2e3c41a4: am 92e79868: Merge "Fix title bar showing when not required." into lmp-mr1-dev
...
* commit 'b2951490eabf71e14c8fc5d50397adf869a2a291':
Fix title bar showing when not required.
2015-05-07 00:34:21 +00:00
Deepanshu Gupta
c49b8f9d1b
am 88b193d7: am 047a28ec: am 96437fb4: am 9aa600e7: Merge "LayoutLib: fix crash when shadow size <=0." into lmp-mr1-dev
...
* commit '88b193d717bb73cbe555e4e621f7b6efdf49cdaa':
LayoutLib: fix crash when shadow size <=0.
2015-05-07 00:34:14 +00:00
Diego Perez
613aef87cf
am 86bff0bb: am 0e20bd8e: Merge changes I60c09f33,Ie0134c2b into lmp-mr1-dev
...
* commit '86bff0bb63f3667f0b450420514c931b1f4d25d2':
Add new parameter to the render method to allow forcing a measure pass.
Avoid caching mImage on the main render loop and use clipping.
2015-05-07 00:33:51 +00:00
Diego Perez
9af506fb5b
am 143eaa81: am 2ea82244: am 263e6dfa: Merge "Make status and navigation bars widgets and usable from layouts" into lmp-mr1-dev
...
* commit '143eaa81934e47c8acb8338d1a2383eb79b690ef':
Make status and navigation bars widgets and usable from layouts
2015-05-07 00:21:35 +00:00
Diego Perez
ae4619dd7f
am df4c977d: am 24e10c0b: am 19dbe50b: Merge "Move StatusBar to use statusBarColor theme attribute" into lmp-mr1-dev
...
* commit 'df4c977d760ccfcf929c77b100faa5f8f38df158':
Move StatusBar to use statusBarColor theme attribute
2015-05-07 00:21:29 +00:00
Diego Perez
52ef7fce16
am ffeb8117: am 9c13c8de: am bc47abe4: Merge "Make sure shaders use a color model compatible with the destination." into lmp-mr1-dev
...
* commit 'ffeb8117b139f61dd7c92bda6a7d47b83871cb66':
Make sure shaders use a color model compatible with the destination.
2015-05-07 00:21:24 +00:00
Deepanshu Gupta
a131bfe094
am 3dbd18cd: am 872e9950: am 1f8e3de4: Merge "More layoutlib tests." into lmp-mr1-dev
...
* commit '3dbd18cdfe6af1a9c36261551ef98d39e849d389':
More layoutlib tests.
2015-05-07 00:21:19 +00:00
Deepanshu Gupta
a663e01204
am 9abe4232: am 7e4c1a92: am b4ca896f: Merge "RecyclerView in LayoutLib: better XML attrs." into lmp-mr1-dev
...
* commit '9abe42324f2252460b003e6fcdb097910e16178a':
RecyclerView in LayoutLib: better XML attrs.
2015-05-07 00:21:14 +00:00
Diego Perez
9efcb30861
am 21246bd9: am 8e75e307: am 1bc7fb2d: Merge "Fix isThemeAppCompat NPE when using an invalid theme" into lmp-mr1-dev
...
* commit '21246bd92f54be468496848b659bf47f2522430a':
Fix isThemeAppCompat NPE when using an invalid theme
2015-05-07 00:21:09 +00:00
Deepanshu Gupta
9c9bcd3486
am cae76a70: am 46241071: am 4f8a9996: Merge "Nullity annotations to some tests." into lmp-mr1-dev
...
* commit 'cae76a70bfca9f37a10f34582cddbe0792625f26':
Nullity annotations to some tests.
2015-05-07 00:21:03 +00:00
Deepanshu Gupta
b2951490ea
am b19325be: am 2e3c41a4: am 92e79868: Merge "Fix title bar showing when not required." into lmp-mr1-dev
...
* commit 'b19325be074e466c39e86fd4418726a7c305546c':
Fix title bar showing when not required.
2015-05-07 00:20:59 +00:00
Deepanshu Gupta
88b193d717
am 047a28ec: am 96437fb4: am 9aa600e7: Merge "LayoutLib: fix crash when shadow size <=0." into lmp-mr1-dev
...
* commit '047a28ec506bb40081eef6eaf8434884157709ce':
LayoutLib: fix crash when shadow size <=0.
2015-05-07 00:20:53 +00:00
Diego Perez
0e20bd8e50
Merge changes I60c09f33,Ie0134c2b into lmp-mr1-dev
...
* changes:
Add new parameter to the render method to allow forcing a measure pass.
Avoid caching mImage on the main render loop and use clipping.
2015-05-07 00:14:26 +00:00
Diego Perez
143eaa8193
am 2ea82244: am 263e6dfa: Merge "Make status and navigation bars widgets and usable from layouts" into lmp-mr1-dev
...
* commit '2ea82244f0b4396444ec891ab664f9ac40c0b55b':
Make status and navigation bars widgets and usable from layouts
2015-05-07 00:09:11 +00:00
Diego Perez
df4c977d76
am 24e10c0b: am 19dbe50b: Merge "Move StatusBar to use statusBarColor theme attribute" into lmp-mr1-dev
...
* commit '24e10c0bad54bdd3b37f6f7effea8f76b687ce3f':
Move StatusBar to use statusBarColor theme attribute
2015-05-07 00:09:00 +00:00
Diego Perez
ffeb8117b1
am 9c13c8de: am bc47abe4: Merge "Make sure shaders use a color model compatible with the destination." into lmp-mr1-dev
...
* commit '9c13c8de8291aac69958a106248d3229ff90609f':
Make sure shaders use a color model compatible with the destination.
2015-05-07 00:08:53 +00:00
Deepanshu Gupta
3dbd18cdfe
am 872e9950: am 1f8e3de4: Merge "More layoutlib tests." into lmp-mr1-dev
...
* commit '872e9950a227128d323c24eb369863e16964493a':
More layoutlib tests.
2015-05-07 00:08:45 +00:00
Deepanshu Gupta
9abe42324f
am 7e4c1a92: am b4ca896f: Merge "RecyclerView in LayoutLib: better XML attrs." into lmp-mr1-dev
...
* commit '7e4c1a92b8f3ce02df0a1502be45c450308d81b7':
RecyclerView in LayoutLib: better XML attrs.
2015-05-07 00:08:36 +00:00
Diego Perez
21246bd92f
am 8e75e307: am 1bc7fb2d: Merge "Fix isThemeAppCompat NPE when using an invalid theme" into lmp-mr1-dev
...
* commit '8e75e307373a03dcbc55ce71be5b50f80e0474db':
Fix isThemeAppCompat NPE when using an invalid theme
2015-05-07 00:08:29 +00:00
Deepanshu Gupta
cae76a70bf
am 46241071: am 4f8a9996: Merge "Nullity annotations to some tests." into lmp-mr1-dev
...
* commit '4624107185135db9db6bfbfb3d0c3a0951c19ee1':
Nullity annotations to some tests.
2015-05-07 00:08:22 +00:00
Deepanshu Gupta
b19325be07
am 2e3c41a4: am 92e79868: Merge "Fix title bar showing when not required." into lmp-mr1-dev
...
* commit '2e3c41a4e4fbb811cdafc754708d62cba7c6c1b6':
Fix title bar showing when not required.
2015-05-07 00:08:01 +00:00
Deepanshu Gupta
047a28ec50
am 96437fb4: am 9aa600e7: Merge "LayoutLib: fix crash when shadow size <=0." into lmp-mr1-dev
...
* commit '96437fb4b05be2602bb0fa215988be646aec28fc':
LayoutLib: fix crash when shadow size <=0.
2015-05-07 00:07:54 +00:00
Diego Perez
263e6dfa6a
Merge "Make status and navigation bars widgets and usable from layouts" into lmp-mr1-dev
2015-05-06 23:52:06 +00:00
Diego Perez
19dbe50bb5
Merge "Move StatusBar to use statusBarColor theme attribute" into lmp-mr1-dev
2015-05-06 23:45:41 +00:00
Diego Perez
bc47abe4b4
Merge "Make sure shaders use a color model compatible with the destination." into lmp-mr1-dev
2015-05-06 23:43:50 +00:00
Deepanshu Gupta
1f8e3de40c
Merge "More layoutlib tests." into lmp-mr1-dev
2015-05-06 23:43:15 +00:00
Deepanshu Gupta
b4ca896f05
Merge "RecyclerView in LayoutLib: better XML attrs." into lmp-mr1-dev
2015-05-06 23:42:56 +00:00
Diego Perez
1bc7fb2dcc
Merge "Fix isThemeAppCompat NPE when using an invalid theme" into lmp-mr1-dev
2015-05-06 23:42:35 +00:00
Deepanshu Gupta
4f8a999682
Merge "Nullity annotations to some tests." into lmp-mr1-dev
2015-05-06 23:42:20 +00:00
Deepanshu Gupta
92e798682b
Merge "Fix title bar showing when not required." into lmp-mr1-dev
2015-05-06 23:42:01 +00:00
Deepanshu Gupta
0aa004c3cf
LayoutLib: fix crash when shadow size <=0.
...
Drawing empty rects results in IllegalArgumentException on Mac JRE 1.6.
Prevent that by checking the bounds before attempting to draw the rect.
Bug: 20687353
Change-Id: I45f48ee125196480bb6510cc49b24d2122bc3e48
2015-05-01 21:38:02 +00:00
Alan Viverette
5181f279c8
Fix layoutlib build breakage
...
Change-Id: Id3a9b79ac47ef27b04a96ff3ee50688bbb58f9c0
2015-04-30 15:57:42 -07:00
Diego Perez
d0546353a8
Move StatusBar to use statusBarColor theme attribute
...
Change-Id: Ic0d8f4520a6dcb7225a2947cc56dc06a7340d3ba
2015-04-30 16:28:06 +00:00
Diego Perez
8ff8de2cf2
Add new parameter to the render method to allow forcing a measure pass.
...
Change-Id: I60c09f3375fc85c257a449f4372220741e01db54
(cherry picked from commit c13aa0c035 )
2015-04-28 08:52:08 +00:00
Deepanshu Gupta
8381e2cdcc
Merge "Fix view outline for shadows in LayoutLib." into mnc-dev
2015-04-27 23:20:35 +00:00
Raph Levien
c6abf5bff6
Expose drawTextRun publicly
...
For correct low-level drawing of low level text, a method that
includes context for shaping is necessary, and it's similarly useful
to provide the direction explicitly rather than running the BiDi
algorithm on the text. The drawTextRun method (in both char[] and
CharSequence variants) has provided this functionality for several
major releases but has been internal. This patch exposes the
methods publicly, and also improves the doc strings for both
the new method and some related ones.
Bug: 20193553
Change-Id: I9be33ca5ae3e7db2b69a56298400671d5ef8ad05
2015-04-27 15:33:03 -07:00