Commit Graph

22 Commits

Author SHA1 Message Date
anaddaf
b0c76f62e7 am fb58f56d: am 543a86c1: Merge "Removing the screenOrientation attribute from the wearable manifest" into klp-modular-dev
* commit 'fb58f56d3a9c6654f362e18a0dedc417b873a96c':
  Removing the screenOrientation attribute from the wearable manifest
2014-09-10 17:21:30 +00:00
anaddaf
71d2803430 am 684651a6: am ee12f01d: Updating build.gradle files for play services dependency
* commit '684651a66edba3c6a2ed8c481bc1df440fd4e97a':
  Updating build.gradle files for play services dependency
2014-09-10 17:21:28 +00:00
anaddaf
543a86c17b Merge "Removing the screenOrientation attribute from the wearable manifest" into klp-modular-dev 2014-09-10 16:26:16 +00:00
anaddaf
34eb5d8c69 Removing the screenOrientation attribute from the wearable manifest
Bug: 17397357
Change-Id: I81cc3500d25fe22b21ba820d8999a547d8d78097
2014-09-10 09:20:17 -07:00
anaddaf
ee12f01d6b Updating build.gradle files for play services dependency
A number of samples were not using the play services from the
repository. In one sample, the incorrect variant
of play services was used on the wearable module.

Bug: 17196108
Change-Id: I5276747a0c7eaf48c542d2540c36819422839d9b
2014-09-10 09:10:50 -07:00
anaddaf
b794db463f Adding a missing permission to phone component
Since the Wearable component needed VIBRATE permissions and since
that was missing on the phone component, auto install was not
successful.

Bug: 17334885
Change-Id: I898792e459aedf50902bc9eb54755d187bfc2dc0
2014-09-05 10:25:50 -07:00
anaddaf
d97ecae3db Upating the "date" content of notifications to include seconds
Including "seconds" in the content of notifications to enables fast
creation/update of notifications; previously, the watch-only ones
could be created once every minute.

Bug: 16898049
Change-Id: Idd7a5b78d4cc948d4c8b3862fd998a91044d6007
2014-08-15 09:46:44 -07:00
Mark Renouf
35b1a50abd Explicitly call onApplyWindowInsets from a listener
Fixes layout for round displays, following revert of 41d69c3
(ag/512678 - "Override dispatchApplyWindowInsets in GridViewPager")

Change-Id: Ic1a423b8be3dd7e52f61f109eb9f2cc549a5e311
2014-08-11 11:13:35 -04:00
Alan Lau
2d0d654104 Change setScrollVertically to protected to make scroll work in subclasses.
setScrollVertically is called by the animator and if it has no access to the
method in the subclass.  This will allow 3P app to extend the view.

Change-Id: I976355168fe1ed4e1f70b66aaab27ca16214dc05
2014-07-25 11:03:48 -07:00
Tony Wickham
ab63d27944 Added _index.html and screenshots to all samples.
Bug 15814554

Change-Id: Icdb08c5cc39f97c88674e4177b88b47adce59127
2014-07-08 19:48:23 -07:00
Andy Wickham
ea56da7073 Use WearableListView in Timer sample app.
Bug: 15864517
Change-Id: Ia56111457c2d74571e69a5a554d5755bb1c1b220
2014-07-02 20:45:22 -07:00
Andy Wickham
50532de03f Add AOSP Copyright header to samples.
Bug: 16039713
Change-Id: I0aead1428c7c6a100214dabb85dbf357e37fcfc8
2014-07-02 14:23:37 -07:00
Andy Wickham
5fa0a4c90d Make connected watches show as compatible with Wearable samples.
Bug: 15840402

Change-Id: I805153643b8c307eab9b2c2cf278042b968c16af
2014-06-30 16:48:26 -07:00
Tony Wickham
8be07748c0 Merge "Timer sample app now uses Set a timer voice command instead of Set alarm." into klp-modular-dev 2014-06-26 18:34:16 +00:00
Tony Wickham
2184712510 Timer sample app now uses Set a timer voice command instead of Set alarm.
Change-Id: I1904d3b164d06d987eca0568b9c22a2ae36c8563
2014-06-24 17:40:30 -07:00
Andy Wickham
11b32f0384 Clean up samples (gradle files and Compat stuff in wearable code).
- Remove -v13 and -v4 dependencies on wearable side
- Verify phone is set to compile on API 19 and wearable on 20
- Replace NotificationCompat in wearable side since it uses API 20
- Move ElizaChat code to Application directory

Bug: 15809453
Change-Id: Ib75e7894505f82e5b4d8591b4dfa91a3de8e0329
2014-06-23 19:15:26 -07:00
Griff Hazen
96f19c456f Sample showing how to embed a wearable app into a phone
With a keystore present.

Change-Id: I3693f8c4b7ff09fe2fc3023bfe561b929333b8a4
2014-06-23 15:36:51 -07:00
Dan Aminzade
9fd71d61f2 Add new SynchronizedNotifications sample.
This sample demonstrates how to use DataItems to construct linked
phone- and wearable-side notifications.

Change-Id: I6defa7fad671ba2ec0de25c8913abd66d07846a2
2014-06-23 15:32:56 -07:00
Griff Hazen
6cb66cf80e Switch wearable samples to gradle 0.12.
And remove unnecessary lint warning skips and noCompress 'apk'

Bug: 15827591
Change-Id: I862fa7188277ac7de0dca22ecf0d9129ca941ee5
2014-06-23 14:41:03 -07:00
Mark Renouf
2cba0745a4 Adds a GridViewPager sample wearable app
Change-Id: I014670493bb54bc1a6e3c1ecda716b9ea8d83412
2014-06-22 21:24:55 -04:00
Griff Hazen
9872c0c7c0 Move all wearable samples to development/samples/wearable
Update build.gradle to compile them all, and remove
gradle stopships.

Copied from vendor/google_clockwork klp-modular-dev as of:
01930cc85bc1ba974a412db7d3c9d17387702e16

Bug: 15591212
Bug: 15264403

Change-Id: I4d05c35c995e675d92039b1dfb2a33e454285af5
2014-06-22 00:18:09 -07:00
Griff Hazen
b6bca95390 Add first wearable sample to sdk samples distribution
Wearable samples sometimes have special gradle setups that nest
one application within another. As such, inclusion in the existing
samples generator may be tricky. Instead, just prepare the sample
for direct inclusion into the sdk distribution.

Create a convenience gradle build to build all wearable samples
at once.

Bug: 15591212
Change-Id: I6e03f7c5cc87909430b927aca4b403ded77917ab
2014-06-20 16:31:07 -07:00