Commit Graph

19582 Commits

Author SHA1 Message Date
Lorenzo Colitti
e02265e264 Add a test definition for frameworks/base/core/tests/utiltests.
Change-Id: I490d475e22524bf86c92b0a3e418a5c1bb8ebe1f
2016-02-19 15:19:50 +09:00
Tor Norbye
4a3b43c457 Use api-generator 25 when buiding api-versions.xml
The new api-generator prebuilt fixes a bug where adding
"implements Interface" where Interface is already implemented
by a parent class would be treated as a newly added interface
on this class in the API version the subclass added the implements
statement. (This caused LinkedHashMap to be shown as only adding
the Map interface in API 24.)

Change-Id: I8a9e3971d8be3c4af2a2f68380486e77fe828444
2016-02-18 19:11:41 +00:00
Ian Pedowitz
3f63f35fbe Revert "Upgrade the Development app to 1.8, and use a lambda."
This reverts commit 17f05f5820.

Change-Id: Idc8259a5a2fd209c19a6f548ddf8b1a09ed33966
2016-02-18 16:45:52 +00:00
Lorenzo Colitti
17f05f5820 Upgrade the Development app to 1.8, and use a lambda.
Change-Id: Ifa3836a3c5fc36a1932ea0d841e412ef238fb4bb
2016-02-18 22:23:58 +09:00
Lorenzo Colitti
59f749683f Merge "Display a progress bar when a network is being brought up." into nyc-dev 2016-02-18 07:18:22 +00:00
Lorenzo Colitti
0c87eb6453 Display a progress bar when a network is being brought up.
Change-Id: I5d2c14ffc6010d29ffb832cb924c6b0108fd0048
2016-02-18 16:15:39 +09:00
Lorenzo Colitti
dafe3703da Merge "Add the ability to file a NetworkRequest for TRANSPORT_WIFI." into nyc-dev 2016-02-18 06:00:24 +00:00
Lorenzo Colitti
4b2d88768c Merge "Improve the Connectivity section of the Dev Tools app." into nyc-dev 2016-02-18 05:13:59 +00:00
Lorenzo Colitti
0b3999da19 Add the ability to file a NetworkRequest for TRANSPORT_WIFI.
Change-Id: I3a2cbdbcb94a6d63e853f2dc87ed0ef737620684
2016-02-18 14:13:19 +09:00
Ian Pedowitz
0a03658eca Merge "Revert "Remove AccountsTester"" into nyc-dev 2016-02-18 04:50:34 +00:00
Ian Pedowitz
3047d0b67d Revert "Remove AccountsTester"
This reverts commit db65fef1ae.

Change-Id: Idbd18ab7fd4a0e9e0c99ce83dd7d65a2770d8239
2016-02-18 04:50:05 +00:00
Carlos Valdivia
ac6ca9c2e6 Merge "Remove AccountsTester" into nyc-dev 2016-02-17 23:42:51 +00:00
Aurimas Liutikas
e556d2d8cb Allow unknown JavaDoc tags to not warn about @hide.
Bug: 27208696
Change-Id: I4a23abbe2bde4aad817e5cc475d7ecc5f8af54e8
2016-02-17 14:37:06 -08:00
Lorenzo Colitti
fd99d399e5 Improve the Connectivity section of the Dev Tools app.
1. Remove one more usage of startUsingNetworkFeature.
2. Use new APIs for bound HTTP requests.

Bug: 25824776
Change-Id: Ic2f30ce9ffc873be198f6ad29cf928dc33574d84
2016-02-17 12:09:09 +09:00
Makoto Onuki
68bfa3736d Make ApiDemos movable to SD card
Change-Id: I53d923a44360c16d42d1b646a182c706888027a8
2016-02-16 17:03:02 -08:00
Neil Fuller
79c3a724b8 Switch RmTypeDefs over to asm v5
Required if it is to deal with v52 class files.

Bug: 27189914
Change-Id: I056072113d9ed0955fd248fad7ace2fc71be358a
2016-02-15 19:15:35 +00:00
Miao Wang
75b8fb738f [RenderScript] Add arm64 prebuilts to BuildTools am: 4d6b8c48b6 am: c01d0fc70e am: 356d779616
am: b82c47c128

* commit 'b82c47c1285676e6127510d9afbe593c01172cb1':
  [RenderScript] Add arm64 prebuilts to BuildTools
2016-02-13 02:03:15 +00:00
Miao Wang
b82c47c128 [RenderScript] Add arm64 prebuilts to BuildTools am: 4d6b8c48b6 am: c01d0fc70e
am: 356d779616

* commit '356d779616784da5e0103652bb223208b1c0e0f4':
  [RenderScript] Add arm64 prebuilts to BuildTools
2016-02-13 01:56:42 +00:00
Miao Wang
356d779616 [RenderScript] Add arm64 prebuilts to BuildTools am: 4d6b8c48b6
am: c01d0fc70e

* commit 'c01d0fc70e7668f59b02cb70450a5cec485fa022':
  [RenderScript] Add arm64 prebuilts to BuildTools
2016-02-13 01:50:33 +00:00
Miao Wang
c01d0fc70e [RenderScript] Add arm64 prebuilts to BuildTools
am: 4d6b8c48b6

* commit '4d6b8c48b695b8837762c0cd69ef19e351cc9faa':
  [RenderScript] Add arm64 prebuilts to BuildTools
2016-02-13 01:44:42 +00:00
Carlos Valdivia
db65fef1ae Remove AccountsTester
I don't think anybody uses this anymore. Certainly not the auth team.
Probably best to get rid of this now and then introduce a new sample app
that better excercises modern AccountManager features.

Bug: 21901286
Change-Id: Iec05353ce7a4514a02a32cdc0958d228c257804f
2016-02-12 13:57:11 -08:00
Narayan Kamath
e54bbd8e64 Include source jar for generated stubs in the SDK.
(cherry picked from commit b6e4261bc200c17986a753eb239f313e4b4ef2f8)

Change-Id: I6675d023a9270afac83e8fc1313b114b722d9712
2016-02-12 10:41:04 +00:00
Narayan Kamath
a945326bad Include libcore / ojluni licensing info in stubs jar.
(cherry picked from commit d2e36837b012f7f73b1aece724a0672adfe76086)

Change-Id: I21ab7f5e9053dfce98bc4e6820aa039dbdc0e7bd
2016-02-12 10:40:55 +00:00
Mitchell Wills
3e2dff238f Merge "Add OuterTypeFilename rule to Checkstyle" into nyc-dev 2016-02-12 01:08:22 +00:00
Mitchell Wills
e524e6070b Add OuterTypeFilename rule to Checkstyle
This also requires modifying the logic to create temporary files so that
the filename is the same as that in source tree.

Bug: 27109166
Change-Id: I73f2406d5c85d45b0b259f0fd7dd081e44df029c
2016-02-11 16:59:56 -08:00
Aurimas Liutikas
8820526415 Update the message for Checkstyle header warning.
Bug: 27137275
Change-Id: I22f2a83153726457b78a950cb524c128b506b266
2016-02-12 00:48:24 +00:00
Chris Banes
51cc7ee42e Copy res-public in AppCompat + Design lib into JAR targets
am: 6893be043e

* commit '6893be043ef4e259f751009459ffc5a7858c9458':
  Copy res-public in AppCompat + Design lib into JAR targets
2016-02-11 19:24:57 +00:00
Chris Banes
6893be043e Copy res-public in AppCompat + Design lib into JAR targets
BUG: 26297204

Change-Id: I78a6a9e2445e3693e0d9cceab7ab11a4e768cf7c
2016-02-11 18:50:30 +00:00
Keyvan Amiri
304b67538e SupportLeanbackDemos: Fixed password crash when no payment is selected
am: be98b3af70

* commit 'be98b3af70d0fb280dd688040b04880a9e4d543f':
  SupportLeanbackDemos: Fixed password crash when no payment is selected
2016-02-10 21:57:59 +00:00
Keyvan Amiri
be98b3af70 SupportLeanbackDemos: Fixed password crash when no payment is selected
The second Guided Step fragment crashed when a password was entered but
no credit card info was selected, because it was trying to extract "Visa"
or "Master" substrings from an empty string. Put a check for string
sizes before this extraction is performed.

Change-Id: I9b93a302f5f855b1853885ff4e5fc9a04c200766
2016-02-10 13:46:30 -08:00
Makoto Onuki
08d2a04420 Add a secondary DA to ApiDemos for testing
Bug 27107878

Change-Id: Id8179926d424ca8b4678ac028f4c9eab7a81a4c2
2016-02-10 11:28:49 -08:00
Miao Wang
4d6b8c48b6 [RenderScript] Add arm64 prebuilts to BuildTools
Bug: 27107290

 - Fix arm64 RS compat mode compilation.

Change-Id: I6cdcb86e412e490ca159132d41d99d0d4ae75c15
2016-02-09 20:22:44 -08:00
Keyvan Amiri
781069923c SupportLeanbackShowcase: Added new credit card workflow and theme background for the wizard view
am: 64cae78d53

* commit '64cae78d53a7c0d4dc0a80bfddc03ecdee2667f7':
  SupportLeanbackShowcase: Added new credit card workflow and theme background for the wizard view
2016-02-10 02:32:00 +00:00
Keyvan Amiri
767529d63b SupportLeanbackShowcase: Fixed the crash/background color/selector in Guided Step Wizard view
am: 285adeccf2

* commit '285adeccf24b63136af8d9b9075c51089f143f1d':
  SupportLeanbackShowcase: Fixed the crash/background color/selector in Guided Step Wizard view
2016-02-10 02:31:51 +00:00
Keyvan Amiri
9ad3922d43 SupportLeanbackShowcase: Provided context for calls to GuidedAction.Builder
am: 329cd510f0

* commit '329cd510f09bcff759f6e63e54aa7fb85b955444':
  SupportLeanbackShowcase: Provided context for calls to GuidedAction.Builder
2016-02-10 02:31:42 +00:00
Keyvan Amiri
64cae78d53 SupportLeanbackShowcase: Added new credit card workflow and theme
background for the wizard view

Created a payment workflow consisting of a set of fragments for
entering & adding new credit card information (checks in place
for validity of the card number as well as expiration date).
Also, changed the dropdown subaction's background colors to
be consistent with the rest of guided step fragment view.
Fixed the back key pressed to "not" exit the entire wizard on the last
fragment (it not goes back to the payment fragment section when back
button is pressed).

Change-Id: I39cf316f09b765cffbd0a7e012539c49dbe238ed
2016-02-09 18:20:57 -08:00
Keyvan Amiri
285adeccf2 SupportLeanbackShowcase: Fixed the crash/background color/selector in Guided Step
Wizard view

Guided Action layout have gone through changes that caused "Rent" action to fail
in the example wizard view. Added layout_width and layout_height to all
the containers, as well as a changing "addSharedElement" in
"TransitionsHelper" in leanback support library.

Background color was added & action selector (while loading a video) was
removed by defining new themes.

Change-Id: Ia296e02720513edaea1d4197aacb5b4f88776545
2016-02-09 18:08:31 -08:00
Keyvan Amiri
329cd510f0 SupportLeanbackShowcase: Provided context for calls to
GuidedAction.Builder

GuidedActions were created without the activity argument in the old
version; updated the API calls to use their context within the fragment.

Change-Id: I4b3433f9e0cdfe5fa84a56a78413c219fbc4d939
2016-02-09 18:06:18 -08:00
Kirill Grouchnikov
cbe66188b7 Switch DrawerLayout to new listener API.
am: 8369074daf

* commit '8369074daf4603fa483aac75a423e7041adde04e':
  Switch DrawerLayout to new listener API.
2016-02-10 02:05:40 +00:00
Kirill Grouchnikov
8369074daf Switch DrawerLayout to new listener API.
setDrawerListener is deprecated in favor of the new
addDrawerListener.

Change-Id: I374cff5ff481f206d5a94835c0c00e719c2f6e25
2016-02-09 17:07:03 -08:00
Dongwon Kang
faf2da3510 LeanbackDemo: Bring piped activity to full-screen when relaunched
Bug: 26696836
Change-Id: Ic0e682d79eaa76b8e53b9a7c58c667fe22d3ab42
2016-02-10 00:42:23 +00:00
Aurimas Liutikas
51e6c1e91e Add new rules to Checkstyle config.
am: ab86053704

* commit 'ab8605370476effda49404ca6f65ecc1bc3dfa7b':
  Add new rules to Checkstyle config.
2016-02-09 01:01:40 +00:00
Steven Dao
f290b1df4a Merge "Add role description sample to Support4Demos" into nyc-dev 2016-02-09 00:44:39 +00:00
Aurimas Liutikas
54e456023b Merge "Add new rules to Checkstyle config." into nyc-dev 2016-02-09 00:42:45 +00:00
Vladislav Kaznacheev
c2baa88d9d Merge "Introduce the example of pointer capture API" into nyc-dev 2016-02-09 00:39:58 +00:00
Vladislav Kaznacheev
2ba9c45dc0 Add example of pointer icon resource reference to ApiDemos
Change-Id: I3e88a097725b69aefd38169c0b37d64ebd6ddec5
2016-02-09 00:37:12 +00:00
Steven Dao
6993542bfc Add role description sample to Support4Demos
Change-Id: I031d018724d7a9213de8fa2d6c1626f057946b2c
2016-02-09 00:36:27 +00:00
Vladislav Kaznacheev
8789484eab Introduce the example of pointer capture API
Change-Id: I36276669ca0c8d8b200390064deca8c42603cb0d
2016-02-09 00:36:02 +00:00
Miao Wang
bbf6a79091 Add arm64 runtime prebuilts for RenderScript am: 01a78dbf40 am: 70984008ae am: 173e51a4f1
am: 5699b65a56

* commit '5699b65a5657a84341f79081ddd44c575100ada5':
  Add arm64 runtime prebuilts for RenderScript
2016-02-09 00:22:23 +00:00
Miao Wang
5699b65a56 Add arm64 runtime prebuilts for RenderScript am: 01a78dbf40 am: 70984008ae
am: 173e51a4f1

* commit '173e51a4f144d4d344dbb53a65a7c0b5a0c893b7':
  Add arm64 runtime prebuilts for RenderScript
2016-02-09 00:18:53 +00:00