Commit Graph

875 Commits

Author SHA1 Message Date
Tenghui Zhu
ed6385398a Merge "Add horizontal indeterminate progress bar into ApiDemos" 2015-11-05 23:21:32 +00:00
Tenghui Zhu
6cff2e6826 Merge "Remove ProgressBar4, it is deprecated from Lollipop" 2015-11-05 23:21:24 +00:00
Teng-Hui Zhu
6324dbbae2 Add horizontal indeterminate progress bar into ApiDemos
Change-Id: Iae72019d5ecdfbc710d01bd341b6de058d3b665a
2015-11-03 15:08:20 -08:00
Teng-Hui Zhu
ac7c153cce Remove ProgressBar4, it is deprecated from Lollipop
Change-Id: Ia2a038a973eb6c6021c73d157410be6e64c2b1a7
2015-11-03 13:57:44 -08:00
Alan Viverette
ec7c91da60 Add more submenus to ApiDemos submenus sample
Change-Id: I42d700732758db2829d3c3f885f00eb5125a931c
2015-10-22 17:52:12 -04:00
Todd Kennedy
156f27b34d Merge "update show/hide button" 2015-09-21 18:01:28 +00:00
Alan Viverette
93e094856e Add number picker to ApiDemos
Change-Id: I33dc7a01f543cb5308e810f508bedc3d25eb366a
2015-09-18 09:43:08 -04:00
Todd Kennedy
5383dc24fc update show/hide button
A Fragment saves its hidden state. Update the text of the button
accodring to state of the Fragment.

Bug: 22666353
2015-07-23 12:31:33 -07:00
Chris Wren
b6ba3c5f64 remove setLatestEventInfo from API samples
Bug: 18510449
Change-Id: I26a9dbc6c92b226e28798e5a348c9357c85405ab
2015-06-11 16:51:44 -04:00
Jeff Brown
86cd5e82b9 Expand Presentation demo to test 4K mode switches.
Bug: 18241736
Change-Id: I5bedb656696bc3dfc756df35dd326ff3524152c1
2015-06-09 19:52:17 -07:00
James Cook
3a7f265938 Merge "Add more text samples to ApiDemos, move to Views/Text" into mnc-dev 2015-06-08 20:08:34 +00:00
Alan Viverette
75f0029e5f More seek bars in ApiDemos
Change-Id: I4a868da4ebfd527609d9983d5236d89624c2c011
2015-05-29 16:24:22 -07:00
James Cook
6a57fe0646 Add more text samples to ApiDemos, move to Views/Text
There are many more variants of TextView and EditText than are shown
in Views/Controls. Add new pages with some of the variants and move
all the text examples to Views/Text.

Bug: 21518721
Change-Id: Ie839e9c964d019ffbe8be2170e124276b087916d
2015-05-29 14:50:40 -07:00
Dianne Hackborn
57f208bd11 Fix service samples, especially remote services.
Change-Id: I02c761f24ffddc1108b2c032f1820eac19ed2c05
2015-05-22 11:53:05 -07:00
Alex Klyubin
62ff695bdc Switch Android Keystore sample code to new API.
Bug: 18088752
Change-Id: I7cae9af4676decc405f00896b6fdeda405ee6855
2015-05-19 13:35:13 -07:00
Clara Bayarri
8027fa76f3 Merge "Fix the description text for the Text Processing sample" into mnc-dev 2015-05-19 14:41:57 +00:00
Clara Bayarri
54ada6e220 Fix the description text for the Text Processing sample
Change-Id: I288ad5e1cf3790d0cf31398e83f8a4cf424ef87b
2015-05-19 15:21:42 +01:00
Wale Ogunwale
e6dc9d0ff5 Added no transiton animation option to animation demos.
Bug: 20823935
Change-Id: Ie43fb14c1df5a4216a8523761ea4bd30da5a66e9
2015-05-14 17:39:10 -07:00
Robin Lee
d72e5b22bb Fix keystore demo layout for Nexus 7
The plaintext and ciphertext fields weren't showing up on Nexus 7
(possibly other devices too) because of some unresolvable dependencies
between UI elements.

Also stopped leaving these fields editable when no key was selected
and corresponding action buttons were switched off.

Change-Id: I32ed3e2f24c134504a02db6fdfb9905ec147fbdd
2015-05-11 13:43:56 +00:00
Clara Bayarri
9326316443 ApiDemos: Add a sample for Text Processing intents.
Change-Id: Ic2b333a6c83d24e73216daa69e68f473e33d103f
2015-04-09 19:28:54 +01:00
Doris Liu
2ef936dbae Add sample code for specifying per-keyframe interpolator in xml
Depend on ag/667176
Bug: 19913234

Change-Id: Iaf4160646a972dcc9fd1d885f1ffc0cd68a3b6ac
2015-04-02 18:00:48 -07:00
Dianne Hackborn
3e8a010ab6 Merge "Add API demo for sharing." 2015-03-16 18:05:59 +00:00
Dianne Hackborn
aa9e46deb6 Add API demo for sharing.
Change-Id: I8f65979ab67297932e82f26eba8c4729725ee6d5
2015-03-12 11:20:52 -07:00
Adrian Roos
6826ec699f Merge "Revert "Fix the build"" 2015-03-11 16:05:40 +00:00
James Cook
5c42f75896 Re-enable the undo demo activity
The UI now shows these input fields:
* A normal field with buttons for programmatic SetText, append and insert.
* A field with undo disabled.
* A field with a length limit (via InputFilter).
* A field with a credit card input formatter (via TextWatcher)

Bug: 19332904
Change-Id: I41df56c84dd5232918e7ee5e6ed5874b2023cc78
2015-03-10 17:00:19 +00:00
Adrian Roos
b9c9443703 Revert "Fix the build"
This reverts commit 18c5fb7c2c, which
disabled the trust agent whitelisting in the sample device admin. Now
that the API is re-enabled, that code should be too.

Bug: 19461292
Change-Id: I85e3b4dcaab500ea9dd4b7e75490ca840ff396be
2015-03-09 16:08:55 +00:00
Jim Miller
94b490117c am 71abf355: am 34bdc613: am fe07a079: am 18c5fb7c: Fix the build
* commit '71abf355011906353a571b471c04027bf2112804':
  Fix the build
2015-02-25 19:11:20 +00:00
Jim Miller
71abf35501 am 34bdc613: am fe07a079: am 18c5fb7c: Fix the build
* commit '34bdc6136f13d01af339fd0c8f1f569bb28d6971':
  Fix the build
2015-02-25 19:04:55 +00:00
Jim Miller
18c5fb7c2c Fix the build
This API was hidden for MR1.

Bug 19461292

Change-Id: Ib0a5ca536e843c91a142faeeccf684294aa3e274
2015-02-25 10:37:37 -08:00
Neil Fuller
f9c21d6616 am e0a3b19f: am f66c8d36: Merge "Remove usages of FloatMath"
* commit 'e0a3b19ffbd69b4401724477d346dc1494bad04a':
  Remove usages of FloatMath
2015-02-12 19:30:31 +00:00
Neil Fuller
e0a3b19ffb am f66c8d36: Merge "Remove usages of FloatMath"
* commit 'f66c8d36ed081d901e495b904965e8f341ed47de':
  Remove usages of FloatMath
2015-02-12 17:42:38 +00:00
Neil Fuller
501302f264 Remove usages of FloatMath
Bug: https://code.google.com/p/android/issues/detail?id=36199
Change-Id: Id6c206045a4d54befe99af9e44732c4967460b28
2015-02-11 15:52:31 +00:00
Chet Haase
eda0dbc81c Add examples of animator resource files to ApiDemos
Issue #17939329 Expose multi-property and multi-keyframe capabilities in animation resources

Change-Id: If5b66b054b132b34c56b921209835793c7bbe674
2015-01-09 13:08:29 -08:00
Michael Wright
7dda1047dd am e9860761: am 2503a62b: Merge "Have the MediaProjection sample use the callback." into lmp-mr1-dev
* commit 'e98607612927716a2b3730702f056528d5fd6b29':
  Have the MediaProjection sample use the callback.
2014-12-03 02:51:51 +00:00
Michael Wright
bcbb01686c Have the MediaProjection sample use the callback.
Bug: 18393320
Change-Id: I482ed9cde5444d62a5486f4ca91e3dc6b441e673
2014-11-21 14:11:52 -08:00
Ye Wen
55e7d1831c am 42ca4250: am 565cafe7: Merge "PduParser MSIM support (4/4)" into lmp-mr1-dev
* commit '42ca42509c76f23d883ffa991d06afb36673b21c':
  PduParser MSIM support (4/4)
2014-11-19 00:19:17 +00:00
Ye Wen
03f9acc909 PduParser MSIM support (4/4)
PduParser needs to know if Content-Disposition part header is supported
for a specific carrier. Originally this is loaded directly from system
resource in PduParser. This won't work for multi-SIM, which requires
getting that config based on carrier. This change adds parameter to
indicate if this header is supported and requires caller to provider the
config.

b/18371228

Change-Id: I8a0a7ce91d1b9581fe5d4545fa954277a661751b
2014-11-18 12:34:04 -08:00
Jim Miller
b7651e12c4 am 1064b49c: am eb7edd58: Merge "Update TrustAgentService API after review" into lmp-mr1-dev
* commit '1064b49cedcf80bcfaf8bd6824fc8cabae256e99':
  Update TrustAgentService API after review
2014-11-06 03:01:41 +00:00
Jim Miller
d4adb57e07 Update TrustAgentService API after review
Add test for DPM.setTrustAgentConfiguration()

Also fixes bug where DPM flags were set in onPreferenceChanged()
which happened before being set on the checkbox preference.

Fixes bug 17008504

Change-Id: I165cd73d11c0a68ee6667cb1fd88892a39267903
2014-11-03 18:48:45 -08:00
Neil Fuller
29329726c3 am 29923a44: am a6e8e0d8: Merge "Remove dependencies on FloatMath"
* commit '29923a44e65d97b211484f6667c3155bfc396ec9':
  Remove dependencies on FloatMath
2014-10-15 10:34:45 +00:00
Neil Fuller
b48e878893 am 29923a44: am a6e8e0d8: Merge "Remove dependencies on FloatMath"
* commit '29923a44e65d97b211484f6667c3155bfc396ec9':
  Remove dependencies on FloatMath
2014-10-15 10:34:37 +00:00
Neil Fuller
dd4697d316 Remove dependencies on FloatMath
See frameworks/base commit 33253a4baa6279f81a73425b49dfb6abe5f5416e
for details.

Bug: https://code.google.com/p/android/issues/detail?id=36199
Change-Id: I01126788f34b9a464b873bc2fff03acedc43bb52
2014-10-02 15:19:08 +01:00
Cheuksan Wang
33fe444f11 Merge "Send and download MMS via content provider instead of PDU bytes." into lmp-dev 2014-09-12 17:08:18 +00:00
Michael Wright
2326f11a21 Change getScreenCaptureIntent to createScreenCaptureIntent.
Bug: 17389882
Change-Id: Icaccc6572f7fd5865f3013960bae196afa6d5dd5
2014-09-11 19:37:51 +00:00
Alan Viverette
bbb85f6351 Fix progress spinner dialog in ApiDemos
BUG: 17446820
Change-Id: If6201e4483a5102d0f1567a36d1edf70392d5b8f
2014-09-09 18:20:08 -07:00
Cheuksan Wang
cfb685d52e Send and download MMS via content provider instead of PDU bytes.
Change-Id: Ib5a93d07799c9e14fea8be820c6bd4bc7ae8be3a
2014-09-09 16:53:38 -07:00
Alan Viverette
b4ced6163b Update alert dialogs in ApiDemos for Material theme
BUG: 17415772
Change-Id: Ifc1de793458f678a3c40b734d5ab08b2eb382f7a
2014-09-07 17:45:26 -07:00
Ye Wen
ab56bf9812 Revert "Enforce READ_SMS permission in file provider used by MMS API demo"
This reverts commit 3060e54b6e.

Change-Id: I430f84f2694511130879eefb11311fe7d2565f43
2014-09-05 21:23:47 +00:00
Ye Wen
3060e54b6e Enforce READ_SMS permission in file provider used by MMS API demo
b/17403930

Change-Id: I7cc17f53c95d3779e43003538b8c833369c5a182
2014-09-05 11:40:48 -07:00
George Mount
0911ea8db7 Merge "API Review: change SharedElementListener to SharedElementCallback" into lmp-dev 2014-09-05 13:55:45 +00:00