153311 Commits

Author SHA1 Message Date
Deepanshu Gupta
c5871ea1b8 am dbd64f7c: (-s ours) Support Locale.toLanguageTag on Java 6
* commit 'dbd64f7c904287f9e1bf5bb22385aace85274cab':
  Support Locale.toLanguageTag on Java 6
2015-01-10 03:51:01 +00:00
Deepanshu Gupta
db703ab646 am 51fb7754: (-s ours) LayoutLib: Fix System.arraycopy()
* commit '51fb7754fc9a232a225b31b37219f4b0dcba6711':
  LayoutLib: Fix System.arraycopy()
2015-01-10 03:43:48 +00:00
Deepanshu Gupta
dbd64f7c90 Support Locale.toLanguageTag on Java 6
Change-Id: I255e79e2c288cd24b350b7c26128bbbb0b2cb9a3
(cherry picked from commit 5cd9dde5a2a77c5095f985186d8f03147fd22870)
2015-01-09 17:43:12 -08:00
Deepanshu Gupta
51fb7754fc LayoutLib: Fix System.arraycopy()
Framework has specialized versions of java.lang.System.arraycopy() for
all primitive data types. These versions are not present on the Desktop
VM. This change replaces calls to any of the specialized versions with
the more general alternative - the one using Objects.

Note that this was already being done for char.

Change-Id: If1584125fea8ecc080fb39a5ee6cdb4d922d0c98
(cherry picked from commit e1960cc0b541cda93db94de5bef42dff922b9ec3)
2015-01-09 17:03:54 -08:00
Deepanshu Gupta
3bd33f1d9e Merge "Fix tests on jenkins, take 2." into lmp-dev 2015-01-07 19:29:40 +00:00
Deepanshu Gupta
d657b14927 Fix tests on jenkins, take 2.
Change-Id: I67386c34a7abd7c3afdf9f0768f36f4786399be0
2015-01-07 11:22:22 -08:00
Joe Fernandez
d385640f81 am 491a8257: docs: Update Dashboard for January 2015
* commit '491a8257f46999d75ddc5c4c9eb599067ad380a0':
  docs: Update Dashboard for January 2015
2015-01-07 08:41:24 +00:00
Joe Fernandez
491a8257f4 docs: Update Dashboard for January 2015
Change-Id: I20b2b2e22199db64367d5ed99b751353c3add07b
2015-01-07 00:31:45 -08:00
Deepanshu Gupta
48603a39d4 Fix tests on jenkins
When the tests are run on the build server, they are run from the jar,
as opposed to the extracted build, which is default when run from an
IDE. Thus, when class.getResourceAsStream() is called with ".." in the
path, it is not resolved properly. This change explicitly resolves the
relative path, so that the test is run properly on the server.

Change-Id: Ib5fabd617dca4052220e5173a8bf4fb4234254ff
2015-01-06 17:32:26 -08:00
Quddus Chong
dc649c8da4 am 8a195822: Merge "docs: Added explicit filepath for Android Media Browser and Android Messaging simulators. bug: 18759727" into lmp-docs
* commit '8a195822e264754f08f43322348ebce273f72c40':
  docs: Added explicit filepath for Android Media Browser and Android Messaging simulators. bug: 18759727
2015-01-06 18:15:54 +00:00
Quddus Chong
14694d6e6d am 3bdc68ed: Merge "docs: Updated GMS version numbering to be consistent with blog post. bug: 18718181" into lmp-docs
* commit '3bdc68edcf98a1ccdfea9539fe5e3a4d4416f8a8':
  docs: Updated GMS version numbering to be consistent with blog post. bug: 18718181
2015-01-06 18:15:51 +00:00
Quddus Chong
a63d2b8383 am b55e2bf0: Merge "docs: Updated the description of the enhanced camera APIs in L. bug: 18142680" into lmp-docs
* commit 'b55e2bf0e0ab3150f99a6c50af56e99cc660e094':
  docs: Updated the description of the enhanced camera APIs in L. bug: 18142680
2015-01-06 18:15:47 +00:00
Quddus Chong
8a195822e2 Merge "docs: Added explicit filepath for Android Media Browser and Android Messaging simulators. bug: 18759727" into lmp-docs 2015-01-06 18:10:38 +00:00
Quddus Chong
3bdc68edcf Merge "docs: Updated GMS version numbering to be consistent with blog post. bug: 18718181" into lmp-docs 2015-01-06 18:10:17 +00:00
Quddus Chong
b55e2bf0e0 Merge "docs: Updated the description of the enhanced camera APIs in L. bug: 18142680" into lmp-docs 2015-01-06 18:09:45 +00:00
Joe Fernandez
f50be1fcce am 91c35ce1: Merge "docs: studio index typo" into lmp-docs
* commit '91c35ce153aa89f76ce60c6a77e21a4abc7614b5':
  docs: studio index typo
2015-01-06 17:56:31 +00:00
Joe Fernandez
62c3abe730 am acb35e19: Merge "docs: studio bundle checksum update" into lmp-docs
* commit 'acb35e19d12d775bee761bef25c6d1581f015c11':
  docs: studio bundle checksum update
2015-01-06 17:51:19 +00:00
Joe Fernandez
91c35ce153 Merge "docs: studio index typo" into lmp-docs 2015-01-06 17:50:58 +00:00
Joe Fernandez
acb35e19d1 Merge "docs: studio bundle checksum update" into lmp-docs 2015-01-06 17:46:04 +00:00
Joe Fernandez
37425662d3 am 26994aa7: Merge "docs: Checklist for TV Apps" into lmp-docs
* commit '26994aa7d41038127a6df6557e74fc833e540bcb':
  docs: Checklist for TV Apps
2015-01-06 04:42:17 +00:00
Joe Fernandez
26994aa7d4 Merge "docs: Checklist for TV Apps" into lmp-docs 2015-01-06 04:35:33 +00:00
Scott Rowe
7515d188dd docs: Checklist for TV Apps
Change-Id: I93b57161b3e519164dab551068411f686d772596
2015-01-05 17:50:59 -08:00
Rich Slogar
626128b1db docs: studio bundle checksum update
Change-Id: I3307009db1be1c4d6f01d158d577a6c373b316bf
2015-01-05 16:23:55 -08:00
Quddus Chong
32176c4ca1 docs: Updated GMS version numbering to be consistent with blog post.
bug: 18718181

Change-Id: I185157d84ebfe4ecc7b166b44d3d4735d8a106e3
2015-01-05 15:55:13 -08:00
Ricardo Cervera
f211b6257d am fa6fb0da: docs: Minor fixes to Watch Faces design guidelines.
* commit 'fa6fb0daa5e6f9d3b0c17c8831c7525e403bd785':
  docs: Minor fixes to Watch Faces design guidelines.
2015-01-05 23:28:24 +00:00
Deepanshu Gupta
6461e05420 Merge "Add image comparison to LayoutLib tests." into lmp-dev 2015-01-05 23:24:59 +00:00
Deepanshu Gupta
b2ebb9683f Merge "Remove Time from CreateInfo" into lmp-dev 2015-01-05 23:24:31 +00:00
Deepanshu Gupta
53f73a9754 Merge "Add DatePicker, CalendarView to LayoutLib tests" into lmp-dev 2015-01-05 23:23:42 +00:00
Deepanshu Gupta
f9bb0b5e13 Merge "Fix DatePicker rendering." into lmp-dev 2015-01-05 23:23:33 +00:00
Deepanshu Gupta
d20a518c82 Merge "Make Preference-cookie map non static." into lmp-dev 2015-01-05 23:22:58 +00:00
Deepanshu Gupta
f861c0ce3f Merge "Fix default initial value for preferences" into lmp-dev 2015-01-05 23:22:45 +00:00
Deepanshu Gupta
7081a114d4 Merge "Add preferences rendering." into lmp-dev 2015-01-05 23:22:29 +00:00
Ricardo Cervera
fa6fb0daa5 docs: Minor fixes to Watch Faces design guidelines.
Change-Id: I1b9c26d12bac1b5e5d649e7ea665f58b50d621d7
2015-01-05 15:03:34 -08:00
Quddus Chong
1139a0a4a2 docs: Added explicit filepath for Android Media Browser and Android Messaging simulators.
bug: 18759727

Change-Id: Ided6dc4f30d43f8fce252e56a6291bbb1a3d2e05
2015-01-05 15:01:27 -08:00
Rich Slogar
ee371073f1 docs: studio index typo
Change-Id: I185e59cdba604ee894bc08f55ebb042281d44cd2
2015-01-05 14:47:19 -08:00
Quddus Chong
5619d929a6 docs: Updated the description of the enhanced camera APIs in L.
bug: 18142680

Change-Id: I0b15048bb099443a4cb790fbd2100456f2bfa4d6
2015-01-05 14:15:45 -08:00
Deepanshu Gupta
58df125bbc Add image comparison to LayoutLib tests.
The LayoutLib rendering tests now compares the rendered image with a
golden file from a previous execution. This will help catch any
unexpected changes in the final rendering.

Change-Id: I80251a778e89df7d7ec13863a8f299967f3d747d
2015-01-05 11:32:41 -08:00
Ricardo Cervera
d69238ef03 am 4bb503cf: docs: Minor fixes in Android Studio pages.
* commit '4bb503cf1209d113face24267d4ed2f19828aa3d':
  docs: Minor fixes in Android Studio pages.
2015-01-05 17:43:43 +00:00
Ricardo Cervera
4bb503cf12 docs: Minor fixes in Android Studio pages.
https://code.google.com/p/android/issues/detail?id=92839
https://code.google.com/p/android/issues/detail?id=92840
https://code.google.com/p/android/issues/detail?id=92661

Change-Id: I8a45112371da6ca144e0da28701a92254d98774b
2015-01-05 09:31:41 -08:00
Deepanshu Gupta
4022272a4f Remove Time from CreateInfo
Time_Delegate was removed in change with Change-Id:
Iae5ef65678f0e6c7c5af520c45bd15980ce3fa55. But the name wasn't removed
from CreateInfo. This didn't cause any problems at runtime, but caused
the layoutlib_create tests to fail.

Change-Id: I079b1e024b97d389eb07d4f088fd860efbb02eb3
2015-01-02 13:55:20 -08:00
Deepanshu Gupta
eae390a94e Add DatePicker, CalendarView to LayoutLib tests
Change-Id: Ice8c41ff90ccb0ffe90fcbfcccc91ea24225a3d9
2015-01-02 11:20:19 -08:00
Deepanshu Gupta
e64a5bd2fb Fix DatePicker rendering.
1. Return AccessibilityManager service from context.
2. Don't throw an exception if no style specifited in
obtainStyledAttributes. Specifying no style is valid and it's supposed
to use the default theme in that case.

Bug: http://b.android.com/82712 and http://b.android.com/79218
Change-Id: Iba7097f36996e4d6f1e9db778dc73294f2854c79
2014-12-29 12:29:16 -08:00
Deepanshu Gupta
0ff4568ca0 Make Preference-cookie map non static.
Moved the map from Preference to View Cookie to BridgeContext. This
means the map need not be static anymore.

NO_SQ: Depends on unsubmitted changes.
Change-Id: I662513def17bd6ec3a2646c3bec9bf4f9f89fc15
2014-12-23 12:04:30 -08:00
Deepanshu Gupta
dfeffd4c0a Fix default initial value for preferences
NO_SQ: Depends on unsubmitted changes.
Change-Id: I061cf71f6167d382e9ef060abeb4d5cff83c4104
2014-12-23 12:04:30 -08:00
Deepanshu Gupta
10bb1371dc Add preferences rendering.
NO_SQ: Depends on updating layoutlib-api-prebuilt.jar
Change-Id: Iae93ab74c478e6f2158e1528467bec9ee2d7ee9b
2014-12-23 12:04:30 -08:00
Sarah Maddox
029acc8ee8 am ab515931: Merge "docs: Fixes typo on Play services page for Maps." into lmp-docs
* commit 'ab5159310ad68f4a4325d772dc7369f7368b5a5b':
  docs: Fixes typo on Play services page for Maps.
2014-12-23 02:51:47 +00:00
Sarah Maddox
ab5159310a Merge "docs: Fixes typo on Play services page for Maps." into lmp-docs 2014-12-23 02:20:23 +00:00
Sarah Maddox
71de8ea11f docs: Fixes typo on Play services page for Maps.
Bug: 18832605
Change-Id: I31cd802c80fe5f1c5b0c600859e9a32b020344e7
2014-12-23 13:08:08 +11:00
Joe Fernandez
180bd6be52 am 76db15a8: docs: fix problem with TOC after Japanese pages merge
* commit '76db15a8c9a644bdff854763a922e1e3fd525e9c':
  docs: fix problem with TOC after Japanese pages merge
2014-12-20 06:49:19 +00:00
Joe Fernandez
76db15a8c9 docs: fix problem with TOC after Japanese pages merge
Change-Id: I75c78bd600907467fa81af197df216d5e6a31b1f
2014-12-19 22:38:47 -08:00