160786 Commits

Author SHA1 Message Date
Diego Perez
635d8f4fe7 Fix crash when shadowSize is 0
Change-Id: I9f131afc95a2571fbc8a737df37f43653cfbb90d
(cherry picked from commit e81096458f689ab3c0c4dbab2452722c3e3623c4)
2015-05-08 02:01:53 +01: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
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
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
9aa600e79f Merge "LayoutLib: fix crash when shadow size <=0." into lmp-mr1-dev 2015-05-06 23:41:36 +00:00
Andrew Solovay
c11741042d am fbd4af0f: Merge "Docs: New swipe-to-refresh training guide." into lmp-docs
* commit 'fbd4af0f9b6614482c846404434af8571bad5817':
  Docs: New swipe-to-refresh training guide.
2015-05-04 18:27:33 +00:00
Andrew Solovay
fbd4af0f9b Merge "Docs: New swipe-to-refresh training guide." into lmp-docs 2015-05-04 18:12:55 +00:00
Rich Slogar
a541020ac5 am e7bfe5b3: docs: sdk 24.2.0 revisions
* commit 'e7bfe5b3ccdaa84f94eb30c607d7d6a831d57b7b':
  docs: sdk 24.2.0 revisions
2015-05-02 00:38:59 +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
Rich Slogar
e7bfe5b3cc docs: sdk 24.2.0 revisions
Change-Id: I658ddc34c134741f706d58fd0bbf085ee4724fcf
2015-05-01 10:47:56 -07:00
Rich Slogar
a00cf1276b am 3e70c6b4: Merge "docs: studio 1.2 download link fix" into lmp-docs
* commit '3e70c6b49ff993aef9fd554ade3444e3d3afa032':
  docs: studio 1.2 download link fix
2015-04-30 17:59:51 +00:00
Rich Slogar
3e70c6b49f Merge "docs: studio 1.2 download link fix" into lmp-docs 2015-04-30 17:46:18 +00:00
Rich Slogar
c395bd2417 docs: studio 1.2 download link fix
Change-Id: Ib0234749f64427fbada795a49d2b52d5a67dbd3b
2015-04-30 10:25:56 -07:00
Diego Perez
d0546353a8 Move StatusBar to use statusBarColor theme attribute
Change-Id: Ic0d8f4520a6dcb7225a2947cc56dc06a7340d3ba
2015-04-30 16:28:06 +00:00
Rich Slogar
f4b1df3403 am 2a3aa2d3: docs: studio 1.2 updates
* commit '2a3aa2d343820be9e05101a25b955d525e9bfa54':
  docs: studio 1.2 updates
2015-04-30 03:01:14 +00:00
Rich Slogar
541dda1cd6 am 999b08b7: Merge "docs: studio 1.2 downloads" into lmp-docs
* commit '999b08b74c29937b49c4106a784117eed6168045':
  docs: studio 1.2 downloads
2015-04-30 02:53:22 +00:00
Rich Slogar
b874dc04db am 07aca646: Merge "docs: plugin 1.2.0 revision updates" into lmp-docs
* commit '07aca646e43ea27329c079d8ff6549127e4fcc25':
  docs: plugin 1.2.0 revision updates
2015-04-30 02:53:17 +00:00
Rich Slogar
ff24e8e165 am 5b7546a6: Merge "docs: studio 1.2 revision updates" into lmp-docs
* commit '5b7546a67b5fef2adab70d95da4879381b9b0e92':
  docs: studio 1.2 revision updates
2015-04-30 02:53:13 +00:00
Rich Slogar
2a3aa2d343 docs: studio 1.2 updates
Change-Id: I893af7af0f686d0eeab11f881256c0cf26eb4605
2015-04-29 19:47:25 -07:00
Rich Slogar
999b08b74c Merge "docs: studio 1.2 downloads" into lmp-docs 2015-04-30 02:40:26 +00:00
Rich Slogar
07aca646e4 Merge "docs: plugin 1.2.0 revision updates" into lmp-docs 2015-04-30 02:39:58 +00:00
Rich Slogar
5b7546a67b Merge "docs: studio 1.2 revision updates" into lmp-docs 2015-04-30 02:39:27 +00:00
Rich Slogar
6170c00f05 docs: studio 1.2 revision updates
Change-Id: I3bf392596d418b3bba63bbcc09663f2d3f4d6e2a
2015-04-29 19:03:59 -07:00
Rich Slogar
e4dc509393 docs: studio 1.2 downloads
Change-Id: I43c1d1bad9c110e0e87383ce6ff95ee5706e777e
2015-04-29 18:12:49 -07:00
Rich Slogar
e5eceefff9 docs: plugin 1.2.0 revision updates
Change-Id: Ic58da005e16c4a51dacff741ac3e5a7856ac3edb
2015-04-29 15:58:27 -07:00
David Friedman
c637af9eee am 75f071df: Merge "Localized Android landing pages Bug: 19124242" into lmp-docs
* commit '75f071df44d3231f2f9d2616277b9065e1dedc12':
  Localized Android landing pages Bug: 19124242
2015-04-29 03:01:10 +00:00
David Friedman
75f071df44 Merge "Localized Android landing pages Bug: 19124242" into lmp-docs 2015-04-29 02:49:24 +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 c13aa0c035cd226d27323bc0e533632ba32f6a84)
2015-04-28 08:52:08 +00:00
Scott Rowe
5827af11bd am 02e4f2fb: Merge "docs: Supported media protocols, codecs, formats for Android TV" into lmp-docs
* commit '02e4f2fbe6e0511789d42d5942548158d2dd154f':
  docs: Supported media protocols, codecs, formats for Android TV
2015-04-24 18:01:15 +00:00
Scott Rowe
02e4f2fbe6 Merge "docs: Supported media protocols, codecs, formats for Android TV" into lmp-docs 2015-04-24 17:49:16 +00:00
Leon Scroggins III
41c458c811 am 67326bcb: am ea2dcda7: am ee35410f: (-s ours) am a7501119: am 69b8e962: Make Bitmap_createFromParcel check the color count. DO NOT MERGE
* commit '67326bcba0f7287367dedba4caaf2a168a43f057':
  Make Bitmap_createFromParcel check the color count. DO NOT MERGE
2015-04-24 17:15:55 +00:00
Leon Scroggins III
38cf068c04 am 16ac8ad7: am 4a6ca672: Make Bitmap_createFromParcel check the color count. DO NOT MERGE
* commit '16ac8ad7fac73524b5296f955884bd2aec405ded':
  Make Bitmap_createFromParcel check the color count. DO NOT MERGE
2015-04-24 17:15:43 +00:00
Andrew Solovay
44fa5e71ab am 5b3152cf: Merge "Docs: Correcting section on how to escape quotes in strings." into lmp-docs
* commit '5b3152cffcd90441ca4cacdf5596e9bb3428af08':
  Docs: Correcting section on how to escape quotes in strings.
2015-04-23 20:18:51 +00:00
Andrew Solovay
5b3152cffc Merge "Docs: Correcting section on how to escape quotes in strings." into lmp-docs 2015-04-23 20:06:34 +00:00
Andrew Solovay
7a866a8831 am 09cf4d50: Merge "docs: Update to doc on listening for restrictions-changed intent" into lmp-docs
* commit '09cf4d500dd27342c913d2333f4f0fd2fa9dbfd0':
  docs: Update to doc on listening for restrictions-changed intent
2015-04-23 18:31:59 +00:00
Andrew Solovay
09cf4d500d Merge "docs: Update to doc on listening for restrictions-changed intent" into lmp-docs 2015-04-23 18:20:07 +00:00
Leon Scroggins III
67326bcba0 am ea2dcda7: am ee35410f: (-s ours) am a7501119: am 69b8e962: Make Bitmap_createFromParcel check the color count. DO NOT MERGE
* commit 'ea2dcda788e035ccdc55ab16303c9e34740a3f8c':
  Make Bitmap_createFromParcel check the color count. DO NOT MERGE
2015-04-23 16:41:49 +00:00
Leon Scroggins III
ea2dcda788 am ee35410f: (-s ours) am a7501119: am 69b8e962: Make Bitmap_createFromParcel check the color count. DO NOT MERGE
* commit 'ee35410ff8297b1ab39f3e546ebcedc27300a7de':
  Make Bitmap_createFromParcel check the color count. DO NOT MERGE
2015-04-23 16:29:22 +00:00
Leon Scroggins III
ee35410ff8 am a7501119: am 69b8e962: Make Bitmap_createFromParcel check the color count. DO NOT MERGE
* commit 'a7501119e341626536ce12c3539c2f9a986a2945':
  Make Bitmap_createFromParcel check the color count. DO NOT MERGE
2015-04-23 16:20:02 +00:00
Leon Scroggins III
16ac8ad7fa am 4a6ca672: Make Bitmap_createFromParcel check the color count. DO NOT MERGE
* commit '4a6ca6724c789603626d74a8cc187365788a6cfd':
  Make Bitmap_createFromParcel check the color count. DO NOT MERGE
2015-04-23 15:53:24 +00:00
Leon Scroggins III
a7501119e3 am 69b8e962: Make Bitmap_createFromParcel check the color count. DO NOT MERGE
* commit '69b8e962e1b8346b33a2c14889547a0ac00c8b17':
  Make Bitmap_createFromParcel check the color count. DO NOT MERGE
2015-04-23 15:48:12 +00:00
Svet Ganov
00e91901fd Merge "DO NOT MERGE Don't take flags when creating app widget config activity." into lmp-mr1-dev 2015-04-23 15:09:48 +00:00