Commit Graph

52 Commits

Author SHA1 Message Date
Alan Viverette
13b90285ed Update DrawerLayout demo code to use title API
BUG: 12460402
Change-Id: Id3873bf850f4fac67593c86be9aa2e9e1adb78ba
2014-01-17 10:54:15 -08:00
Mindy Pereira
18152c7cea Swiperefresh sample
Change-Id: Ifc5736c91e61b592a010bd212752347e141849cc
2013-11-19 17:14:06 -08:00
Alan Viverette
5d5026ee66 Update Support4Demos targetSdkVersion to 19
BUG: 10752103
Change-Id: I11954c70b6b6a473a86264ea67961bb3b3a260cd
2013-10-03 17:00:16 -07:00
Alan Viverette
8a30cb9940 Fix drawer mirroring in Support4Demos
BUG: 10209321
Change-Id: I2a96fb2448a30a1635920346826f598d09decf20
2013-09-13 16:04:26 -07:00
Adam Powell
ba321696dd am e1d4743d: am 3c16ec88: Fix bugs in FragmentLayoutSupport sample in Support4Demos
* commit 'e1d4743db13fc4f99f4608876f36d0e44e3f854a':
  Fix bugs in FragmentLayoutSupport sample in Support4Demos
2013-08-12 14:02:15 -07:00
Adam Powell
3c16ec8855 Fix bugs in FragmentLayoutSupport sample in Support4Demos
Change-Id: I6b2828f8f6510e34cc11c3dc24b5022b241bd542
2013-08-12 13:50:02 -07:00
Alan Viverette
08f1ee33a1 am 19142864: am 1cb84db2: Merge "Add RTL support in Support4Demos manifest, fix DrawerLayout sample" into jb-mr2-ub-dev
* commit '19142864e826415f6be4f04a9fe125ba6d44cc54':
  Add RTL support in Support4Demos manifest, fix DrawerLayout sample
2013-08-07 13:18:49 -07:00
Alan Viverette
1cb84db2c9 Merge "Add RTL support in Support4Demos manifest, fix DrawerLayout sample" into jb-mr2-ub-dev 2013-08-06 18:11:11 +00:00
Alan Viverette
c7c384b4f6 Add RTL support in Support4Demos manifest, fix DrawerLayout sample
Change-Id: I1152ad6e49a1b1dc88a70f701bf7ed2fe882e242
2013-08-06 11:10:22 -07:00
Mindy DelliCarpini
e1d5cb5997 resolved conflicts for merge of 73a12453 to master
Change-Id: Ib6944821270b6a76272625748190926adcad8eda
2013-08-06 09:45:39 -07:00
Mindy DelliCarpini
3e28c84e96 Add sample for new ContentLoadingProgressBar.
Change-Id: I057fbe3f355030eb5d857e1a86f04302bb1e147e
2013-08-05 16:36:02 -07:00
Alan Viverette
f8506eaed1 Add sample code for ExploreByTouchHelper class.
Change-Id: Id8f0ba809746114434d553885ddfed9260bdaa45
2013-06-06 13:03:52 -07:00
Fabrice Di Meglio
9851ff9ca4 Fix bug #8656546 API REVIEW: android.text.bidi / android.text
- clean BidiFormatter APIs

Change-Id: I231a3511850b7149f675debb68e2dd7f1de8308b
2013-04-19 17:28:23 -07:00
Dianne Hackborn
3da1568ae8 Merge "Update to follow TransportMediator API changes." into jb-mr2-dev 2013-04-19 17:58:00 +00:00
Adam Powell
4f48d97441 resolved conflicts for merge of b105894b to jb-mr2-dev
Change-Id: Ifa617d1807d29e91998d98482e50bdd40ee61b1a
2013-04-19 09:35:00 -07:00
Dianne Hackborn
74c5bcff29 Update to follow TransportMediator API changes.
Change-Id: Icedd0fbe15cf84ff4d3f0c59826f698e92138b47
2013-04-18 18:26:18 -07:00
Adam Powell
98c5d4a228 Add Support4Demos examples for DrawerLayout and SlidingPaneLayout
Show basic usage of these two new widgets.

Change-Id: I1ec82041c198e2b2853a0d1eb07e0ab78dbea61c
2013-04-18 17:31:30 -07:00
Dianne Hackborn
041bfcd9e4 Fix issue #8520788: Add WakefulBroadcastReceiver
Add sample code.

Change-Id: I46f4f25ceb4e12f975e3cebd83f62de2555a8996
2013-04-17 10:33:16 -07:00
Dianne Hackborn
7cf29a7636 Update for java docs.
Change-Id: I1a34e5d3aaf2b00717d65b3487a919f237738dc2
2013-04-11 19:10:54 -07:00
Dianne Hackborn
1abc05040f Update media controller sample.
Now use the new abstractions of TransportMediator.  Guess I should
also change the name of this sample to match it...  that'll be for
a future change. :)

Change-Id: I932f8215bba51dfaa1bd5766ab9551c9dc440657
2013-04-05 19:08:48 -07:00
Dianne Hackborn
9b4e96dcb8 Improve TransportController demo.
This is an actually realistic implementation of a
video player.  It's still delibrately simple, but it's
not outright broken.  We now have our own media controller
since that is the only way to get something that actually
works, we use system UI flags to hide nav/status bar when
playing, we use the new TransportController APIs to go
into a formal playback state where we take audio focus.

Change-Id: I19ac171483637b8ee94c9c07aea39c11748cbc46
2013-04-04 18:36:56 -07:00
Dianne Hackborn
e5d68096be Move media key handling to here.
Change-Id: I6b8c66ef465640951da4b36da53e7fda00e48d20
2013-04-04 12:25:28 -07:00
Jeff Sharkey
29045946c0 Remove reference to <root-path>.
Bug: 8409523
Change-Id: I42834e33d0d664977dca9277ae364d2cf8986d07
2013-03-25 16:16:51 -07:00
Dianne Hackborn
d2655277cd Add TransportController API demo.
Change-Id: Id852ac8de1bcfbfba2d9e8557664c1aaa1e75df4
2013-03-22 14:28:52 -07:00
Jeff Brown
bda0c73168 Move media router samples to new Support7Demos project.
Add media router support library to SDK build.

Bug: 8175766
Change-Id: I2f333d40ad39e820e8d706a7dab086241692a861
2013-03-20 18:20:18 -07:00
Fabrice Di Meglio
65e58fe5c9 Fix #8185319 Need to put Android BidiFormatter into the Support Library
- add demo into Support4Demos

Change-Id: I041144510c907dd1639ea56c45321486d86fe859
2013-03-14 12:00:10 -07:00
Jeff Brown
fd5a3f30de Samples for media router support library.
Change-Id: I3c578f61e310b552b0dd372dc27c709c35193bbd
2013-03-12 21:34:38 -07:00
Jeff Sharkey
01ae453b0e Example code for FileProvider.
Shows simple usage of FileProvider to share a private thumbnail
across process boundaries.  Also serves as sample code for javadoc
on FileProvider.

Bug: 7005318
Change-Id: I0ca12977a3832c7c2ac1c254d411a547ffee0a51
2013-03-08 10:02:39 -08:00
Dianne Hackborn
613e19b740 SDK Only: Fix search interaction with various samples.
These were broken where pressing back would not clear the
search filter.

Change-Id: Iafd4a497a31a9689efabe7d92f44618a5e8dc80c
2012-12-05 15:17:31 -08:00
Dianne Hackborn
7263dad223 Update API demos to match new tab interaction.
Follow changes to FragmentTabManager to continue to work
correctly with it.  Fix the code in the base API demo (which
can't use FragmentTabManager) to work correctly.

Bug #7232088: ListView saved state being lost in some cases

Change-Id: Ib7ba1ab20ff00f2cc95c9f6024ab94783237c9be
2012-09-25 15:07:06 -07:00
Dianne Hackborn
bd783a0e87 New API demo for nested fragments in support lib.
Also some cleanup of other demos.

Change-Id: I8c4265218c87e490718c9c908803fc09303873a6
2012-09-09 14:41:24 -07:00
Dianne Hackborn
77201b5414 Rename UserId to UserHandle.
Change-Id: I701335483628d30c875d087f27287e084789f10c
2012-08-16 12:46:49 -07:00
Dianne Hackborn
80df91c7f2 New API demos for retained fragments with loaders.
Also tweak the cursor loader samples to filter out query
callbacks that don't change the filter, to avoid restarting the
loader on a configuration change.

Change-Id: Iac9293fed45e127698be59262d68b0b59a8ec9ce
2012-06-04 11:12:37 -07:00
Adam Powell
770fc91f54 Update SharingSupport demo for support lib API change
Change-Id: I351271b9847d7444470ed8c74dd18ff580718aca
2012-02-13 16:41:31 -08:00
Dianne Hackborn
3c40738530 am e03f7627: am 85241cc7: Add button to clear back stack.
* commit 'e03f7627874b4f8c0bfa5c302f59a6d0cd83ee40':
  Add button to clear back stack.
2012-01-25 08:57:43 -08:00
Dianne Hackborn
85241cc795 Add button to clear back stack.
Change-Id: I4f02714ec349055a486608ff0eab75a46d6ba7cd
2012-01-24 13:39:02 -08:00
Adam Powell
e882d4c266 Catch IOException for close
Change-Id: I23115f6fa4f54fd4e1de59f3bb781dcf28e1371b
2012-01-10 14:07:23 -08:00
Adam Powell
1bc7aaff48 Add code sample for ShareCompat
Add SharingSupport activity - use ShareCompat.IntentBuilder to produce
sharing intents for menu item sharing, text only, single stream, and
multiple stream.

Add SharingReceiverSupport - receive text/plain content as text only,
single stream, and multiple stream.

Add SharingSupportProvider - simple filesystem-based read-only
ContentProvider for providing a data stream.

Change-Id: I7e69a80984c0c5a8d93663f928f644d55c92350d
2011-12-14 12:14:40 -08:00
Dianne Hackborn
e0c8f946e6 SDK only: add markup for use in documentation.
Change-Id: Ia379c178a41db146a47a494b5c24e5f77d65ada7
2011-12-12 15:15:19 -08:00
Svetoslav Ganov
cd2db139ae Add the support libraries to the platform documentation (demos).
Updated the support demos due to renamed support classes.

bug:5629339

Change-Id: Ia94cd60ea2b89ad74003baaa8eb8e84d21822374
2011-11-17 15:15:24 -08:00
Svetoslav Ganov
a09e21a223 Fix the support-v4 demos to work on a platform with APIs V4 (samples part)
Some of the samples are using APIs that are introduced after v4 but not supported
in the v4 library.  Update the samples to use the new stuff added to the support
library.

bug:5616340

Change-Id: I90889f5e9ee48e7e30249464e60d5d28cd3f7a4b
2011-11-15 11:38:45 -08:00
Svetoslav Ganov
bd9f43a8e8 Adding a sample showing how to use the accessibility API in the compat library.
NOTE: This affects only the SDK and not the system image.

bug:5485208

Change-Id: I2b086e880cfe147883a0db8222522710132d67a3
2011-10-20 18:33:59 -07:00
Dianne Hackborn
648e25f0c7 Dang you, TabHost.
Change-Id: I937cd0748fe0c44d6cd642637321aa6eb550cf91
2011-08-29 18:39:21 -07:00
Romain Guy
c35d058e8d Add new API demos for fragment custom animations.
Change-Id: Ia4339d4e4c1617907a9c707e1b8c2309b303e267
2011-07-25 16:29:00 -07:00
Dianne Hackborn
72ad4eef97 Add API demo for LocalBroadcastManager.
Change-Id: Iee1e1189c579ab287718d138916448a02a833e44
2011-06-24 14:35:54 -07:00
Dianne Hackborn
102041a8bc SDK only: add documentation tags.
Also fix up the new support API demo documentation.

Change-Id: I7a6945ffafa6a93cd394d5ce5729d6f9dfc0a183
2011-06-16 14:38:03 -07:00
Adam Powell
b0b4bcfc31 DO NOT MERGE. Only impacts SDK. Integrate from master.
Update for ViewPager changes

Change-Id: Ib7024ae0ba2759a8477f267438b7b3a35ae51d23
2011-06-16 00:42:18 -07:00
Dianne Hackborn
be6b6b494f New API demos showing use of tabs with fragments.
Also various cleanup in other demos.

Change-Id: I4f5669117e28312bcd4b28795c5eca5f4ab6dcfb
2011-06-13 16:27:17 -07:00
Dianne Hackborn
7ffb7d4b2f Update pager demos to match new v4 ViewPager API.
Change-Id: I3b0f3382d56b477868b5a5fbf5af22fa83c3e06a
2011-06-06 15:01:45 -07:00
Dianne Hackborn
47f569e460 Lost and found.
Change-Id: I3aa4824e2c2157be715d93b698963c54dd98e099
2011-06-03 12:31:09 -07:00