Chris Craik
caa6226b17
Revert "Anti-alias by default"
...
bug:20948129
Keep HIDDEN_DEFAULT_PAINT_FLAGS name.
This reverts commit 1b60cc0529161b5eca6407b551d67d355994c567.
Change-Id: I97cd9c556375c74c52b006bda4fc7b3a2cfa89e1
2015-05-13 13:44:30 -07:00
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 01cdf8b135be3bf67b9386dc929109c3db82c730.
Change-Id: I596855047d78c3c718744ad61432fc45e1239634
(cherry picked from commit 1f158819bc7cf58f97e47fabfaf23b2fb838f2eb)
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
Chih-Hung Hsieh
9a59a991dd
Remove unused aapt target.
...
BUG: 20765163
Change-Id: I13f36f76541216c5c1c20ae8866e09038e08e6f8
(cherry picked from AOSP commit 97627314a4d3e114afe3dbd764a51523e9f0b787)
2015-05-06 00:13:37 +00:00
Prerepa Viswanadham
d1808401ca
Merge changes from topic 'mwd-merge-050415' into mnc-dev
...
* changes:
Merge commit 'b6f59f4' into master_merge
Merge commit 'f6db0ce' into master_merge
Merge commit '17455a3' into master_merge
Merge commit 'b4d5b32' into master_merge
Merge commit 'a1a2fa7' into master_merge
Merge commit '8dfdb98' into master_merge
Merge commit 'eba66c3' into master_merge
2015-05-05 01:06:38 +00:00
Adam Lesinski
6d8e4c48f9
AAPT2: Add option to generate static library
...
Difference between normal app and static library is that
the R file uses non-final fields, and the extra chunks added
by AAPT2 remain in the final APK.
Change-Id: I61416387ca9bb3c21857ff7cfab5847ac3edf57a
2015-05-04 16:43:24 -07:00
Adam Lesinski
838a68705b
AAPT2: Include package name of attributes in styleable from another package
...
Change-Id: I44f902e297238e7ee4ae27c02aaaf9e148652d2a
2015-05-04 16:43:24 -07:00
Adam Lesinski
6ff19664f9
AAPT2: Record public status in a more robust way
...
This allows us to store the source and comments of a resource's
public declaration and avoids issues where there is no default
configuration for a publicly declared resource (like with drawables
of various densities) and AAPT2 mistakenly took this as an error.
Change-Id: I07a2fe9f551daefcce842f205fb219d2fa453ebc
2015-05-04 16:43:24 -07:00