Commit Graph

2101 Commits

Author SHA1 Message Date
Fred Chung
b71371d3af App restriction for restricted profile sample.
This sample demonstrates how to expose restrictions for a restricted user on a multiuser device.  This feature is available on Android 4.3 (API level 18) and above platforms.

Change-Id: I4ef1bbda8e530dd8370d754de814fce96eaae1f1
2013-07-21 23:19:18 -07:00
Stephan Linzner
8397e0c6f7 Fixed startActivity() Bug in LaunchActivityTest
Activity under test was called in setUp instead of each test method.
Now each test method makes a separate call to startActivity() like
mentioned in our documentation.

Change-Id: I41df74cd5dae30e57cb481bb85714e361a9189e8
Signed-off-by: Stephan Linzner <slinzner@google.com>
2013-07-12 13:21:47 +02:00
Stephan Linzner
682ed1d880 Merge "Initial Commit for Android Testing Training Sample" 2013-07-12 11:15:31 +00:00
Stephan Linzner
fcf428647f Initial Commit for Android Testing Training Sample
Testing training sample code for Activity testing. Including
test cases for Instrumentation and Unit Testing of Activities
Uses old test structure with src/ and tests/ folder for
easy import to eclipse. Contains a build.gradle to
easily run it via the new build system from cli. Remapping
of tests/ is done within the build.gradle configuration file

Change-Id: I15f815ad185257a8fa650b3c0f10ba761044379c
Signed-off-by: Stephan Linzner <slinzner@google.com>
2013-07-11 16:05:31 +02:00
Fred Chung
fde787842f am b597143c: am 7167a054: Bluetooth LE sample.
* commit 'b597143cce0eefc7c749f82e233667a6975c4c75':
  Bluetooth LE sample.
2013-07-08 15:24:08 -07:00
Fred Chung
b597143cce am 7167a054: Bluetooth LE sample.
* commit '7167a054a8027f75025c865322fa84791a9b3bd1':
  Bluetooth LE sample.
2013-07-08 15:22:09 -07:00
Fred Chung
7167a054a8 Bluetooth LE sample.
This sample demonstrates how to communicate with a Generic Attribute Profile (GATT) server over
Bluetooth Low Energy.  This feature is available on Android 4.3 (API level 18) and above
platforms.

You can test this sample app using any Bluetooth Low Energy-capable devices.  If the device
supports the Heart Rate Profile, the app will parse and display the heart rate.

Change-Id: I69a4955cb9929f837e81ad1c19145ff45bdd27ec
2013-07-08 13:22:56 -07:00
Elliott Hughes
c8d1c9576b am 532fc970: am 34a5e96b: am 070228fa: Merge "Extend the TimePickerDialog test to cover 12- and 24-hour clocks."
* commit '532fc97091883b5f04fd746f5bfbb8f9ad12fa15':
  Extend the TimePickerDialog test to cover 12- and 24-hour clocks.
2013-06-13 10:43:47 -07:00
Elliott Hughes
532fc97091 am 34a5e96b: am 070228fa: Merge "Extend the TimePickerDialog test to cover 12- and 24-hour clocks."
* commit '34a5e96b210af65c61f17052445fc7eb17b43ab9':
  Extend the TimePickerDialog test to cover 12- and 24-hour clocks.
2013-06-13 10:22:32 -07:00
Elliott Hughes
34a5e96b21 am 070228fa: Merge "Extend the TimePickerDialog test to cover 12- and 24-hour clocks."
* commit '070228fa263678b906d845039a314f2ec45f52e0':
  Extend the TimePickerDialog test to cover 12- and 24-hour clocks.
2013-06-13 10:21:35 -07:00
Dianne Hackborn
82c9189430 Add API demo for scheme specific intent filters.
Change-Id: I9363d5098e97cc035478849755d8b9a77a41e7c0
2013-06-12 18:08:54 -07:00
Jeff Brown
37c910f092 am ab95e666: am 972588ab: Redefine content position in milliseconds instead of seconds.
* commit 'ab95e66679685b3316b7b28bf81eaf4756ff675f':
  Redefine content position in milliseconds instead of seconds.
2013-06-12 00:08:38 -07:00
Jeff Brown
972588aba0 Redefine content position in milliseconds instead of seconds.
Made a note to update some other parts of the sample that need
to be fixed after other recent API changes.

Bug: 9380827
Change-Id: I23ccfa9ab434d4c7661ae379b77fa95e128513eb
2013-06-11 18:51:17 -07:00
Jeff Brown
5fa9006b9e am ef89f3f3: am fad7c428: Update media router api.
* commit 'ef89f3f34c0a7f57e1a51c5c58b63c7143cd3608':
  Update media router api.
2013-06-11 18:06:03 -07:00
Jeff Brown
fad7c428e1 Update media router api.
Bug: 9380827
Change-Id: I74b5d5150336be95bd66bab35be8837c9cdf49de
2013-06-11 00:55:32 -07:00
Alan Viverette
f8506eaed1 Add sample code for ExploreByTouchHelper class.
Change-Id: Id8f0ba809746114434d553885ddfed9260bdaa45
2013-06-06 13:03:52 -07:00
Elliott Hughes
94c272bf79 Extend the TimePickerDialog test to cover 12- and 24-hour clocks.
Used to test https://android-review.googlesource.com/54121.

Change-Id: Ibf8418f21a7c242aac27c7e05b4990149c8305b3
2013-06-05 16:16:04 -07:00
Jeff Brown
c30ae6d59e am abd8491b: am 998bd113: Update media router API.
* commit 'abd8491b52adc749ec63593a74545a1319aba434':
  Update media router API.
2013-06-01 09:51:57 -07:00
Jeff Brown
998bd1138a Update media router API.
Bug: 9210033
Change-Id: I11a3bb3691096cdea60823d92245cbf86770f23b
2013-05-30 19:23:15 -07:00
Chet Haase
b80fe5c1f9 am a09c37f8: am 14f47b87: am 9c6fb05e: am 58cbe71c: am 8654b6c6: am 3ff1591c: am 28b127ec: New DevBytes animation demos
* commit 'a09c37f81e169078b50876ea0afdf81708af015b':
  New DevBytes animation demos
2013-05-30 15:34:06 -07:00
Chet Haase
14f47b87c0 am 9c6fb05e: am 58cbe71c: am 8654b6c6: am 3ff1591c: am 28b127ec: New DevBytes animation demos
* commit '9c6fb05ed859cd9939504edc8fa40a0c2ea91516':
  New DevBytes animation demos
2013-05-30 15:07:27 -07:00
Chet Haase
9c6fb05ed8 am 58cbe71c: am 8654b6c6: am 3ff1591c: am 28b127ec: New DevBytes animation demos
* commit '58cbe71cc434d787e54d3b3a1d7d86af9727857c':
  New DevBytes animation demos
2013-05-30 15:05:47 -07:00
Chet Haase
58cbe71cc4 am 8654b6c6: am 3ff1591c: am 28b127ec: New DevBytes animation demos
* commit '8654b6c6ac430c285d9ad5bc7999a1c5390efa61':
  New DevBytes animation demos
2013-05-30 15:03:54 -07:00
Chet Haase
3ff1591c5b am 28b127ec: New DevBytes animation demos
* commit '28b127ec1e5af575a74af679a8542042112d177e':
  New DevBytes animation demos
2013-05-30 15:00:20 -07:00
Chet Haase
28b127ec1e New DevBytes animation demos
Change-Id: Ib475ddb109e0e62f0f085b6591ca15af0b79f75b
2013-05-30 13:38:02 -07:00
Alan Viverette
4e8b0858c8 Remove AccessibilityNodeProvider sample code.
This code has been superseded by the ExploreByTouchHelper class in the
support-v4 library.

Change-Id: I3ff499e3c5f404c9252d967d1a3cb4ff999dfdfb
2013-05-29 17:20:12 -07:00
Chris Banes
a76512dec1 am 3c3e0dae: am 247fe6d4: Remove Toggle System UI options from Support7Demos
* commit '3c3e0dae9ee8167e04c4adc0199be500f32f5bc1':
  Remove Toggle System UI options from Support7Demos
2013-05-29 01:26:17 -07:00
Dianne Hackborn
16f07133fb Merge "Add "do nothing" receiver." 2013-05-29 01:45:22 +00:00
Dianne Hackborn
f8e68ca19f Add "do nothing" receiver.
For testing overhead of empty processes.

Change-Id: I14803cb6b9c434bb1b1c4a17d3811f34a4063bdc
2013-05-28 15:58:48 -07:00
Dianne Hackborn
f1f4c0cbe1 This sample shouldn't be hiding the nav bar.
Change-Id: I442c8abccf7c1d2969f5e6271c24b048b42b3110
2013-05-28 14:42:27 -07:00
Chris Banes
247fe6d499 Remove Toggle System UI options from Support7Demos
As system ui visibility can not be reliably controlled
at the moment for <v11. Remove this from the demo.

Bug: 8910792.

Change-Id: Id55f8ae57c0961130c2ad2ab7a5b97cc43e36883
Signed-off-by: Chris Banes <chrisbanes@google.com>
2013-05-25 13:27:28 +01:00
Jeff Brown
379a2a8788 am 8132e40e: am ff342b42: Update media router API.
* commit '8132e40ebfbc5eb79686e2f184d9fc12a9d33f9c':
  Update media router API.
2013-05-20 19:23:04 -07:00
Jeff Brown
ff342b425c Update media router API.
Bug: 8175766
Change-Id: Ib93572738b912530e96f8772bf7961af4b57c0c7
2013-05-20 16:55:24 -07:00
Jeff Brown
e91f85158f am 1d1be032: am 8b25a687: Update media router API.
* commit '1d1be0327c754672295b529e40ef73115b588d70':
  Update media router API.
2013-05-17 14:00:52 -07:00
Jeff Brown
8b25a68775 Update media router API.
Bug: 8175766
Change-Id: Id6f895e3c6339eee83cb616816dab8f77f5b54ce
2013-05-16 14:41:03 -07:00
Jeff Brown
ef24b7add1 am 1c1cf7b0: am 1c1a36cf: Merge "Update media router API." into jb-mr2-dev
* commit '1c1cf7b02ba84fe7dc547f91b5b6c69af6da6f2c':
  Update media router API.
2013-05-13 17:42:03 -07:00
Jeff Brown
5d41beb706 Update media router API.
Bug: 8175766
Change-Id: Ie780c6c6309d111019ddf7ba37612c09242b923e
2013-05-13 16:59:32 -07:00
Xavier Ducrohet
fae6eb7aa4 am 5f1aa33a: am 44bafdcc: Merge "DO NOT MERGE. Example code for FileProvider." into jb-mr1.1-ub-dev
* commit '5f1aa33aa321f61ba9b5cffbef6d80ae79c55455':
  DO NOT MERGE. Example code for FileProvider.
2013-05-13 11:44:39 -07:00
Xavier Ducrohet
44bafdcc06 Merge "DO NOT MERGE. Example code for FileProvider." into jb-mr1.1-ub-dev 2013-05-13 18:40:48 +00:00
Jeff Sharkey
739532e2c7 DO NOT MERGE. 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-05-13 11:38:44 -07:00
Scott Main
9ecda6617e am 617cf35c: am 2d7f45c9: am 1aa17274: am a50fc7f1: am 138f3a31: add nav drawer sample
* commit '617cf35cb63e42ef59978b5a179660e292be308c':
  add nav drawer sample
2013-05-10 15:17:03 -07:00
Scott Main
2d7f45c9ae am 1aa17274: am a50fc7f1: am 138f3a31: add nav drawer sample
* commit '1aa17274e000e306995db13605556060fb7c4664':
  add nav drawer sample
2013-05-10 13:41:44 -07:00
Scott Main
1aa17274e0 am a50fc7f1: am 138f3a31: add nav drawer sample
* commit 'a50fc7f10f92fa461441a671c5b6d8bb15e8fc61':
  add nav drawer sample
2013-05-10 13:39:44 -07:00
Scott Main
138f3a3139 add nav drawer sample
Change-Id: I561c7577554c587b4ecacfc6f22fc2beefce27b1
2013-05-10 13:16:09 -07:00
Dianne Hackborn
f25ca509d5 New API demo for UndoManager.
Change-Id: Ic49211c771db275f27ceefa5372b005a357fce21
2013-05-07 15:05:15 -07:00
Chris Banes
8942438f38 Update Support7Demos for MenuInflater change:
I7a4504aeae2795e8d9d6f4cd4ecd20b8d4ea7602

Change-Id: I4896483669c877f3d8ed05a81d789750b39ab32d
Signed-off-by: Chris Banes <chrisbanes@google.com>
2013-04-30 12:07:57 +01:00
Adam Powell
04c8633dee Update Support7Demos for action bar compat API changes.
Change-Id: I61914ff777a0eada9525db6fad7d53c97303eb36
2013-04-29 17:38:23 -07:00
Fabrice Di Meglio
c7023a80c9 Merge "Fix bug #8656546 API REVIEW: android.text.bidi / android.text" into jb-mr2-dev 2013-04-20 00:42:58 +00: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
Jeff Brown
8db9516710 Merge "appcompat: Add samples for options menu usage with fragments." into jb-mr2-dev 2013-04-20 00:28:10 +00:00