Commit Graph

3534 Commits

Author SHA1 Message Date
TreeHugger Robot
ffb38bcc8c Merge "Add Pointer capture demo to APIDemos" 2017-01-27 19:43:41 +00:00
Vladislav Kaznacheev
5dab9f1f4f Add Pointer capture demo to APIDemos
Bug: 30897034
Test: manually in ApiDemos > Graphics > OpenGL ES > Touch Rotate
Change-Id: Id87b17938cf876b4886de69ffaa8a2b3c4f27143
2017-01-27 09:05:41 -08:00
Sunny Goyal
8e930924c5 Merge "Updating samples as per API changes" 2017-01-26 22:22:57 +00:00
Hyunyoung Song
1ab4cd2194 Merge "Sample app that use MaskableIconDrawable as its launcher icons" 2017-01-24 23:01:40 +00:00
Sunny Goyal
fb19290186 Updating samples as per API changes
Test: Manually tested on device
Bug: 34174006
Change-Id: I811753b2ebfb7319f50b1eabbc00c3decaaea755
2017-01-24 12:21:20 -08:00
Dianne Hackborn
235a87737e Merge "API demo for notification that starts a background service." 2017-01-24 00:49:11 +00:00
Hyunyoung Song
851d2896f2 Sample app that use MaskableIconDrawable as its launcher icons
Test: this is a manual test app to MaskableIconDrawable class CL in the same
topic branch.

Bug: 32063838

Change-Id: I15317fb01f0e114467ea6f76e568a68f88e5191d
2017-01-23 15:43:26 -08:00
Dianne Hackborn
8a416b3033 API demo for notification that starts a background service.
Test: not relevant

Change-Id: I9ad6640dccded3be0baf879a6694f9535144d80c
2017-01-23 14:20:03 -08:00
Makoto Onuki
68c1022e01 Fix shortcut sample
Bug: 34615774
Test: manual tests
Change-Id: Ie9527f58a76a5ead412f4ef51f46e1b1295a3ecc
2017-01-23 12:25:05 -08:00
Makoto Onuki
64ef7bcd6f Support new ACTION_CREATE_SHORTCUT in sample apps
Test: manual tests
Change-Id: I188b846152ccf7fdb143be69d6375ece4f61211b
2017-01-20 16:38:27 -08:00
Makoto Onuki
02a314b14c Merge "Use the new API being introduced in I34e9f351d2a8addf" 2017-01-20 23:35:56 +00:00
Makoto Onuki
0778a898f4 Use the new API being introduced in I34e9f351d2a8addf
Bug: 34340531
Test: Manual tests
Change-Id: I5c4a95edb7008bbd5723f87249cbc68c06f82234
2017-01-20 09:10:07 -08:00
Vladislav Kaznacheev
0f87eb452f Rename View.setTooltip/getTooltip to setTooltipText/getTooltipText
Bug: 34454987
Test: adb shell am start -n com.example.android.apis/.view.Tooltips
Change-Id: I16156e5b928202f50f7290ff30ad36aa80d615d2
2017-01-19 11:05:47 -08:00
Paul Duffin
437f7e0553 Merge "Prepare for removal of legacy-test from default targets" am: 3c371ed8e4 am: 4199fe0d9c am: 26d21cc0e1
am: 6aebad5966

Change-Id: Ieb788dc147a2770cf2d16f9b4b4ff5b1ff7bf8aa
2017-01-18 16:22:38 +00:00
Paul Duffin
26d21cc0e1 Merge "Prepare for removal of legacy-test from default targets" am: 3c371ed8e4
am: 4199fe0d9c

Change-Id: Ib0d8a55ba985937ab1a7a6f1cdf9d079697b815e
2017-01-18 15:32:45 +00:00
Paul Duffin
24306258e0 Prepare for removal of legacy-test from default targets
In preparation for removing junit classes from the Android API
the legacy-test target will be removed from the
TARGET_DEFAULT_JAVA_LIBRARIES. This change adds explicit
dependencies on junit and/or legacy-android-test to ensure that
modules will compile properly once it is removed.

Bug: 30188076
Test: make checkbuild
Change-Id: I63b6cb622e46952a48938ed055e8892eeaa67f72
2017-01-17 14:49:41 +00:00
Steve McKay
9650440ff2 Disambiguate call to queryChildDocuments.
Test: Build, but tests don't build due to an unrelated error.

Change-Id: I7e3c213c81b4b989cf664a21c87dffa490ebc215
2017-01-10 13:51:30 -08:00
Vladislav Kaznacheev
e4b96eb9fc Correct string resources for tooltips demo in ApiDemos
Bug: None
Test: manual
Change-Id: I7bea1d0beb0ec94217fa6aa30c11c32702cd05ba
2016-12-22 14:47:50 -08:00
Makoto Onuki
d865a3cfe9 Add request-pin-shortcut support
Bug 32908854
Test: manual test

Change-Id: Ic0ab41ed6cc4dabd5865f2cc9adcf1e0bfbdf087
2016-12-15 11:13:05 -08:00
Makoto Onuki
fc6a83fd85 Use the new shortcut manager APIs
Test: Manual tests
Change-Id: Ia521472f42cac7057afd42648339d3b0fb7d432a
2016-12-12 15:55:46 -08:00
Makoto Onuki
d4c3e6f7a4 Merge "Don't assume getActivity() is @NonNull" 2016-12-02 16:35:04 +00:00
Makoto Onuki
ea9c4b3b05 Don't assume getActivity() is @NonNull
Test: Manual testing.
Change-Id: I871a8b4341cfa32c142c2f7a84fc1b2b5ca32271
2016-12-01 08:44:23 -08:00
Nasir Khan
3a746f6b2f Update the Notepad sample app to: 1. Show that any application state should be saved in onStop() versus onPause(). 2. Remove the deprecated methods and start using CursorLoader instead of any managedQuery. 3. Remove deprecated LiveFolders usage. am: 3468e63e12 am: ed5495cdee am: 8dc5ea8f13
am: 2d693fd83b

Change-Id: I4fbbf382ff165eab2bbf9bef2c1678841eda01dc
2016-11-30 20:16:21 +00:00
Nasir Khan
8dc5ea8f13 Update the Notepad sample app to: 1. Show that any application state should be saved in onStop() versus onPause(). 2. Remove the deprecated methods and start using CursorLoader instead of any managedQuery. 3. Remove deprecated LiveFolders usage. am: 3468e63e12
am: ed5495cdee

Change-Id: Id3794178b8ded31df2cbb167c14224218a3b231f
2016-11-30 20:05:21 +00:00
Nasir Khan
3468e63e12 Update the Notepad sample app to:
1. Show that any application state should be saved in onStop() versus
   onPause().
2. Remove the deprecated methods and start using CursorLoader instead
   of any managedQuery.
3. Remove deprecated LiveFolders usage.

Change-Id: I65be6b91ee1d4d0980494fb8455ce0906691dc21
2016-11-28 15:03:26 -08:00
TreeHugger Robot
3d87989183 Merge "Add tooltip demo to ApiDemos" 2016-11-22 22:15:47 +00:00
Vladislav Kaznacheev
922dea9376 Add tooltip demo to ApiDemos
Test: launch com.example.android.apis.view.Tooltips
Bug: 31515376
Change-Id: I5456740c4e93105c5058c198b22f4fd7634f3b46
2016-10-20 15:28:25 -07:00
Robert Carr
bde918648d API Demos: Specify rotation animation in manifest
Just an example of specifying rotation animation
in manifest.

Test: Try running the activity and verify the rotation animation is crossfade
Change-Id: I4481c0fd317fa4f472822159288bd5521cc52ec2
2016-10-19 14:49:18 -07:00
TreeHugger Robot
ab87b42182 Merge "Include seamless rotation mode in API Demo." 2016-10-19 01:50:24 +00:00
Robert Carr
3ca1a928a4 Include seamless rotation mode in API Demo.
Test: Try the RotationAnimation activity of API demos.
Change-Id: I4f3aba54d310ecbe06776190a4096c71fdf85d24
2016-10-18 14:42:10 -07:00
Trevor Johns
434b838861 docs: Add new samples for N MR1 am: 0af1e772c4 am: 2b4561c639 am: fb01ea0180 am: 969d9efc63
am: 6b945e5cc6

Change-Id: I1ffb10b74af951206ce53cb2dd1fd471d22ae7c5
2016-10-18 17:21:50 +00:00
Trevor Johns
6b945e5cc6 docs: Add new samples for N MR1 am: 0af1e772c4 am: 2b4561c639 am: fb01ea0180
am: 969d9efc63

Change-Id: I03ae89253e88d8c5f37a07219fe6fa205a641ab5
2016-10-18 17:13:49 +00:00
Trevor Johns
fb01ea0180 docs: Add new samples for N MR1 am: 0af1e772c4
am: 2b4561c639

Change-Id: I9fd2e353866986677a9724931196820afabd6dc2
2016-10-18 17:00:31 +00:00
Trevor Johns
2b4561c639 docs: Add new samples for N MR1
am: 0af1e772c4

Change-Id: Ifb45550dc950204362d88e31901243ddd50ba9ed
2016-10-18 16:55:33 +00:00
Trevor Johns
0af1e772c4 docs: Add new samples for N MR1
- AppShortcuts
- CommitContentSampleApp
- CommitContentSampleIME

Change-Id: I3cefc134839f944b1c0c5efc943fb779c7e7ee70
2016-10-18 03:19:42 -07:00
Trevor Johns
dd2e50bc3b Syncing latest sample prebuilts for mnc-dev. am: 697d71f7cc am: dbd82b9b22 am: 99136d6c64
am: 8467f3ec07

Change-Id: I74ef7ac933e992623974fffe2076f21192161ad8
2016-09-29 05:47:54 +00:00
Trevor Johns
8467f3ec07 Syncing latest sample prebuilts for mnc-dev. am: 697d71f7cc am: dbd82b9b22
am: 99136d6c64

Change-Id: I0f1b7e6a4081a16985f2ea25b5368bf18b1500bf
2016-09-29 05:38:09 +00:00
Trevor Johns
2d4385d054 Syncing latest sample prebuilts for mnc-dev. am: 697d71f7cc am: dbd82b9b22
am: d3f580780b

Change-Id: I04f552f971bf45e416b81b970c1b4443fa46de3c
2016-09-29 05:38:06 +00:00
Trevor Johns
99136d6c64 Syncing latest sample prebuilts for mnc-dev. am: 697d71f7cc
am: dbd82b9b22

Change-Id: I0ea216993b39947fcfcd2dd9ad9d37cbef8667ba
2016-09-29 05:34:09 +00:00
Trevor Johns
d3f580780b Syncing latest sample prebuilts for mnc-dev. am: 697d71f7cc
am: dbd82b9b22

Change-Id: I2ace1b9340ed24f714da0eec682207d0101b55f1
2016-09-29 05:34:07 +00:00
Trevor Johns
697d71f7cc Syncing latest sample prebuilts for mnc-dev.
developers/build: 3c56004c2e943b3a87d99958c18950de0f89f3a7
developers/samples/android: d72f3df26721c64aa403e3b6d400cf8b99260dd1

Change-Id: Ice543fd11f2956aacfa3301bf9bdb4b1f49e9c4d
2016-09-29 05:17:16 +00:00
Trevor Johns
38a507379e docs: Add AccelerometerPlay sample to prebuilts am: ef51b0db8e am: 2fbc4b7d6a am: 2da40e2ef5
am: 008955c28f

Change-Id: I0badb6002b7904d5c0999802246709a0adf10edd
2016-08-28 11:38:37 +00:00
Trevor Johns
008955c28f docs: Add AccelerometerPlay sample to prebuilts am: ef51b0db8e am: 2fbc4b7d6a
am: 2da40e2ef5

Change-Id: I993abfa8d0cd840232864837f17e3eeeb6c329cc
2016-08-28 11:13:13 +00:00
Trevor Johns
c21b5a0ab8 docs: Add AccelerometerPlay sample to prebuilts am: ef51b0db8e am: 2fbc4b7d6a
am: 947579e66d

Change-Id: I1248cfebf34f2d3865f159046e094fe20e7b26f4
2016-08-28 11:13:11 +00:00
Trevor Johns
947579e66d docs: Add AccelerometerPlay sample to prebuilts am: ef51b0db8e
am: 2fbc4b7d6a

Change-Id: Ie5691a6e495b4df968ae35847e976d44772a60f1
2016-08-28 11:10:08 +00:00
Trevor Johns
2da40e2ef5 docs: Add AccelerometerPlay sample to prebuilts am: ef51b0db8e
am: 2fbc4b7d6a

Change-Id: Ib6dc7cd0a64a0f1a590f5471b8758902dae5dda9
2016-08-28 11:10:00 +00:00
Trevor Johns
ef51b0db8e docs: Add AccelerometerPlay sample to prebuilts
Change-Id: I8e4146cd00df889e60aa9f03f9a79231b02dfdd5
2016-08-28 10:58:43 +00:00
Makoto Onuki
45684520ab Update shortcut sample am: 8d2a8f05c7 am: 252f0b4be1
am: c46c66135e

Change-Id: Ic581babe55bec179066362f610e0f0001b9819bc
2016-08-19 22:22:35 +00:00
Makoto Onuki
c46c66135e Update shortcut sample am: 8d2a8f05c7
am: 252f0b4be1

Change-Id: Ide1cd60070e1c90c1929978225ddeb9888861ca1
2016-08-19 22:18:42 +00:00
Makoto Onuki
8d2a8f05c7 Update shortcut sample
Use favicon as a shortcut icon, if available.

Change-Id: Ic2393e2de6ce9eb39b5d25d0dafd9686416cdfe7
2016-08-18 11:11:09 -07:00