From e6705bf25d00048ee7b9cc4b6bf9699c17d53306 Mon Sep 17 00:00:00 2001 From: David Friedman Date: Tue, 14 Jul 2015 22:42:53 -0700 Subject: Docs: Creating interactive watch faces Bug: 21721463 Training module and related API-reference documentation. This is new material for Android Wear D(iamond) release. Change-Id: I9959bca50fd96812abd7cfb693139986bc59b133 --- docs/html/design/media/wear/1-tap-launch.png | Bin 0 -> 24353 bytes docs/html/design/media/wear/2-tap-launch.png | Bin 0 -> 35815 bytes docs/html/design/media/wear/aesthetic.png | Bin 0 -> 24989 bytes docs/html/design/media/wear/available_gestures.png | Bin 0 -> 518432 bytes .../design/media/wear/available_gestures_2x.png | Bin 0 -> 83710 bytes docs/html/design/media/wear/changing-target.png | Bin 0 -> 28122 bytes docs/html/design/media/wear/revealing-info.png | Bin 0 -> 31672 bytes docs/html/design/media/wear/toggling-states.png | Bin 0 -> 31029 bytes docs/html/design/media/wear/visual_feedback.gif | Bin 0 -> 588821 bytes docs/html/design/wear/watchfaces.jd | 101 ++++ .../reference/android/support/wearable/R.anim.html | 6 +- .../android/support/wearable/R.animator.html | 6 +- .../reference/android/support/wearable/R.attr.html | 349 ++++++++++--- .../android/support/wearable/R.color.html | 6 +- .../android/support/wearable/R.dimen.html | 6 +- .../android/support/wearable/R.drawable.html | 6 +- .../html/reference/android/support/wearable/R.html | 41 +- .../reference/android/support/wearable/R.id.html | 6 +- .../android/support/wearable/R.interpolator.html | 6 +- .../android/support/wearable/R.layout.html | 6 +- .../android/support/wearable/R.string.html | 6 +- .../android/support/wearable/R.style.html | 6 +- .../android/support/wearable/R.styleable.html | 561 ++++++++++++++++----- .../wearable/activity/ConfirmationActivity.html | 5 +- .../wearable/activity/WearableActivity.html | 5 +- .../support/wearable/activity/package-summary.html | 5 +- .../wearable/companion/WatchFaceCompanion.html | 5 +- .../wearable/companion/package-summary.html | 5 +- .../wearable/input/RemoteInputConstants.html | 5 +- .../support/wearable/input/RemoteInputIntent.html | 7 +- .../support/wearable/input/package-summary.html | 5 +- .../wearable/media/MediaControlConstants.html | 5 +- .../support/wearable/media/package-summary.html | 5 +- .../android/support/wearable/package-summary.html | 35 +- .../WearableCalendarContract.Attendees.html | 5 +- .../WearableCalendarContract.Instances.html | 5 +- .../WearableCalendarContract.Reminders.html | 5 +- .../provider/WearableCalendarContract.html | 5 +- .../support/wearable/provider/package-summary.html | 5 +- .../android/support/wearable/view/ActionLabel.html | 6 +- .../android/support/wearable/view/ActionPage.html | 6 +- .../wearable/view/BoxInsetLayout.LayoutParams.html | 6 +- .../support/wearable/view/BoxInsetLayout.html | 6 +- .../support/wearable/view/CardFragment.html | 6 +- .../android/support/wearable/view/CardFrame.html | 6 +- .../support/wearable/view/CardScrollView.html | 6 +- .../support/wearable/view/CircledImageView.html | 156 +++++- .../support/wearable/view/CircularButton.html | 6 +- .../support/wearable/view/CrossfadeDrawable.html | 6 +- ...nfirmationView.DelayedConfirmationListener.html | 6 +- .../wearable/view/DelayedConfirmationView.html | 60 ++- .../support/wearable/view/DismissOverlayView.html | 6 +- .../support/wearable/view/DotsPageIndicator.html | 6 +- .../wearable/view/FragmentGridPagerAdapter.html | 312 +++++++++++- .../view/GridPageOptions.BackgroundListener.html | 6 +- .../support/wearable/view/GridPageOptions.html | 6 +- .../support/wearable/view/GridPagerAdapter.html | 94 +++- .../wearable/view/GridViewPager.LayoutParams.html | 6 +- .../GridViewPager.OnAdapterChangeListener.html | 6 +- .../view/GridViewPager.OnPageChangeListener.html | 6 +- .../support/wearable/view/GridViewPager.html | 6 +- .../wearable/view/SimpleAnimatorListener.html | 6 +- .../WatchViewStub.OnLayoutInflatedListener.html | 6 +- .../support/wearable/view/WatchViewStub.html | 6 +- .../view/WearableFrameLayout.LayoutParams.html | 6 +- .../support/wearable/view/WearableFrameLayout.html | 6 +- .../wearable/view/WearableListView.Adapter.html | 6 +- .../view/WearableListView.ClickListener.html | 6 +- ...WearableListView.OnCenterProximityListener.html | 6 +- ...eListView.OnCentralPositionChangedListener.html | 6 +- .../view/WearableListView.OnScrollListener.html | 6 +- .../wearable/view/WearableListView.ViewHolder.html | 6 +- .../support/wearable/view/WearableListView.html | 125 ++++- .../support/wearable/view/package-summary.html | 29 +- .../watchface/CanvasWatchFaceService.Engine.html | 99 +++- .../wearable/watchface/CanvasWatchFaceService.html | 48 +- .../watchface/Gles2WatchFaceService.Engine.html | 99 +++- .../wearable/watchface/Gles2WatchFaceService.html | 48 +- .../watchface/WatchFaceService.Engine.html | 228 ++++++++- .../wearable/watchface/WatchFaceService.html | 195 ++++++- .../wearable/watchface/WatchFaceStyle.Builder.html | 98 +++- .../support/wearable/watchface/WatchFaceStyle.html | 95 +++- .../wearable/watchface/package-summary.html | 31 +- docs/html/training/training_toc.cs | 3 + docs/html/training/wearables/watch-faces/index.jd | 3 + .../training/wearables/watch-faces/interacting.jd | 133 +++++ 86 files changed, 2796 insertions(+), 458 deletions(-) create mode 100644 docs/html/design/media/wear/1-tap-launch.png create mode 100644 docs/html/design/media/wear/2-tap-launch.png create mode 100644 docs/html/design/media/wear/aesthetic.png create mode 100644 docs/html/design/media/wear/available_gestures.png create mode 100644 docs/html/design/media/wear/available_gestures_2x.png create mode 100644 docs/html/design/media/wear/changing-target.png create mode 100644 docs/html/design/media/wear/revealing-info.png create mode 100644 docs/html/design/media/wear/toggling-states.png create mode 100644 docs/html/design/media/wear/visual_feedback.gif create mode 100644 docs/html/training/wearables/watch-faces/interacting.jd (limited to 'docs') diff --git a/docs/html/design/media/wear/1-tap-launch.png b/docs/html/design/media/wear/1-tap-launch.png new file mode 100644 index 0000000..c0c9aca Binary files /dev/null and b/docs/html/design/media/wear/1-tap-launch.png differ diff --git a/docs/html/design/media/wear/2-tap-launch.png b/docs/html/design/media/wear/2-tap-launch.png new file mode 100644 index 0000000..395a3ce Binary files /dev/null and b/docs/html/design/media/wear/2-tap-launch.png differ diff --git a/docs/html/design/media/wear/aesthetic.png b/docs/html/design/media/wear/aesthetic.png new file mode 100644 index 0000000..f6e5f3e Binary files /dev/null and b/docs/html/design/media/wear/aesthetic.png differ diff --git a/docs/html/design/media/wear/available_gestures.png b/docs/html/design/media/wear/available_gestures.png new file mode 100644 index 0000000..677076b Binary files /dev/null and b/docs/html/design/media/wear/available_gestures.png differ diff --git a/docs/html/design/media/wear/available_gestures_2x.png b/docs/html/design/media/wear/available_gestures_2x.png new file mode 100644 index 0000000..eced0c7 Binary files /dev/null and b/docs/html/design/media/wear/available_gestures_2x.png differ diff --git a/docs/html/design/media/wear/changing-target.png b/docs/html/design/media/wear/changing-target.png new file mode 100644 index 0000000..427531f Binary files /dev/null and b/docs/html/design/media/wear/changing-target.png differ diff --git a/docs/html/design/media/wear/revealing-info.png b/docs/html/design/media/wear/revealing-info.png new file mode 100644 index 0000000..e419e9f Binary files /dev/null and b/docs/html/design/media/wear/revealing-info.png differ diff --git a/docs/html/design/media/wear/toggling-states.png b/docs/html/design/media/wear/toggling-states.png new file mode 100644 index 0000000..93398e6 Binary files /dev/null and b/docs/html/design/media/wear/toggling-states.png differ diff --git a/docs/html/design/media/wear/visual_feedback.gif b/docs/html/design/media/wear/visual_feedback.gif new file mode 100644 index 0000000..e07000a Binary files /dev/null and b/docs/html/design/media/wear/visual_feedback.gif differ diff --git a/docs/html/design/wear/watchfaces.jd b/docs/html/design/wear/watchfaces.jd index e018523..c8c6d5a 100644 --- a/docs/html/design/wear/watchfaces.jd +++ b/docs/html/design/wear/watchfaces.jd @@ -288,6 +288,107 @@ Try your concept out with lots of different types of data and scenarios. Test yo with an actual watch screen before you start coding.

+

Design Interactive Watch Faces

+ +

Your watch face can respond to a single-tap gesture from the user, as long as +there’s not another UI element that also responds to that gesture. Some possible use cases for +interacting with the watch face include:

+ + + +

Available gestures

+

Only single taps are available. This restriction is important for maintaining clear and +consistent system interactions, and for making watch face interactions as simple as +possible: Neither you nor the user should think of watch faces as full-fledged apps. Figure 1 +summarizes the categories of gestures, and their uses.

+ + +

+ Figure 1. Available, reserved, and blocked gestures. +

+ +As a rule, watch-face interaction should be lightweight, with the user completing their desired +action within one or two touches. + +

Tap targets

+ +

If you want to cause a simple state change on the watch face, such as a purely aesthetic +change, you can use the entire canvas of the watch face as the tap target.

+ +

For a more significant change or action, such as launching an activity or sending a message to a +friend, it’s important to keep targets smaller, between 48-90 dpi, to avoid false-positive taps. +There should be a gap between targets of at least 8-16 dpi. For an optimized tappable experience, +display a maximum of 7 to 9 targets at once.

+ +

Tap regions

+ +

You can also use different regions of the screen to trigger different changes to the watch face. +For example, tapping on the entire canvas could toggle states for the entire face. Tapping a specific target +could produce an inline display of information related to the target. Last, tapping outside the +target could restore the watch face to its default state.

+ +
+ The watch face should show where the user’s finger has made contact. +
+ + +

Visual feedback

+ +

Provide visual feedback when the user’s finger touches down on the watch face. The tap +event does not trigger until the user lifts their finger, but visual feedback on touchdown helps +indicate that the system has received the touch, and also helps the user know where the touch +landed.

+ +

Warning: Do not immediately launch a UI on touchdown. A UI that +you launch on touchdown conflicts with gestures for interacting with system UI elements including +the watch face picker, notification stream, settings shade, and app launcher.

+ +

Design examples

+ +Here are some examples of approaches for interactive watch faces: + +

Applying an aesthetic change

+ + + +

Toggling states

+ + + +

Changing a targeted UI element

+ + + +

Revealing information inline

+ + + +

Launching an activity with a single tap

+ + + +

Launching an activity with two taps

+ +

Support the Android Wear Companion App

diff --git a/docs/html/reference/android/support/wearable/R.anim.html b/docs/html/reference/android/support/wearable/R.anim.html index 11d766d..8976afe 100644 --- a/docs/html/reference/android/support/wearable/R.anim.html +++ b/docs/html/reference/android/support/wearable/R.anim.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -473,6 +473,7 @@ type="text/css">
  • R
  • R.anim
  • R.animator
  • +
  • R.array
  • R.attr
  • R.color
  • R.dimen
  • @@ -614,7 +615,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -1322,6 +1323,7 @@ From class + diff --git a/docs/html/reference/android/support/wearable/R.animator.html b/docs/html/reference/android/support/wearable/R.animator.html index 9fa6445..7ab63f2 100644 --- a/docs/html/reference/android/support/wearable/R.animator.html +++ b/docs/html/reference/android/support/wearable/R.animator.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -473,6 +473,7 @@ type="text/css">
  • R
  • R.anim
  • R.animator
  • +
  • R.array
  • R.attr
  • R.color
  • R.dimen
  • @@ -614,7 +615,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -1134,6 +1135,7 @@ From class + diff --git a/docs/html/reference/android/support/wearable/R.attr.html b/docs/html/reference/android/support/wearable/R.attr.html index 1f043a2..099c981 100644 --- a/docs/html/reference/android/support/wearable/R.attr.html +++ b/docs/html/reference/android/support/wearable/R.attr.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -473,6 +473,7 @@ type="text/css">
  • R
  • R.anim
  • R.animator
  • +
  • R.array
  • R.attr
  • R.color
  • R.dimen
  • @@ -614,7 +615,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -697,6 +698,23 @@ Summary: static int + + + + + + + - + - + - + - + - + - + - + + + + + + + + - + - + + + + + + + + + + + + + + + - + - + - + - + - + - + - + - + - + - + - + - + + - - +
    buttonRippleColor +

    May be a reference to another resource, in the form "@[+][package:]type:name" +or to a theme attribute in the form "?[package:][type:]name". + + + +

    + public + static + + int circle_border_color

    Must be a color value, in the form of "#rgb", "#argb", @@ -708,7 +726,7 @@ Summary:

    public static @@ -724,7 +742,7 @@ Summary:
    public static @@ -741,7 +759,7 @@ Summary:
    public static @@ -757,7 +775,7 @@ Summary:
    public static @@ -773,7 +791,7 @@ Summary:
    public static @@ -789,7 +807,7 @@ Summary:
    public static @@ -805,7 +823,7 @@ Summary:
    public static @@ -821,6 +839,23 @@ Summary:
    + public + static + + intcolor_sequence +

    May be a reference to another resource, in the form "@[+][package:]type:name" +or to a theme attribute in the form "?[package:][type:]name". + + + +

    public @@ -1054,9 +1089,9 @@ Summary: static intlayout_boximage_circle_percentage -

    Must be one or more (separated by '|') of the following constant values. +

    Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". @@ -1070,7 +1105,40 @@ Summary: static int

    layout_gravityRoundimage_horizontal_offcenter_percentage +

    Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". + + + +

    + public + static + + intimage_tint +

    Must be a color value, in the form of "#rgb", "#argb", +"#rrggbb", or "#aarrggbb". + + + +

    + public + static + + intlayout_box

    Must be one or more (separated by '|') of the following constant values. @@ -1086,9 +1154,9 @@ Summary: static int

    layout_heightRoundlayout_gravityRound -

    Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". +

    Must be one or more (separated by '|') of the following constant values. @@ -1102,7 +1170,7 @@ Summary: static int

    layout_marginBottomRoundlayout_heightRound

    Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". @@ -1118,7 +1186,7 @@ Summary: static int

    layout_marginLeftRoundlayout_marginBottomRound

    Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". @@ -1134,7 +1202,7 @@ Summary: static int

    layout_marginRightRoundlayout_marginLeftRound

    Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". @@ -1150,7 +1218,7 @@ Summary: static int

    layout_marginRoundlayout_marginRightRound

    Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". @@ -1166,7 +1234,7 @@ Summary: static int

    layout_marginTopRoundlayout_marginRound

    Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". @@ -1182,7 +1250,7 @@ Summary: static int

    layout_widthRoundlayout_marginTopRound

    Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". @@ -1198,7 +1266,7 @@ Summary: static int

    maxTextSizelayout_widthRound

    Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". @@ -1214,7 +1282,7 @@ Summary: static int

    minTextSizemaxTextSize

    Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". @@ -1230,7 +1298,7 @@ Summary: static int

    pressedTranslationZminTextSize

    Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". @@ -1246,10 +1314,9 @@ Summary: static int

    rectLayoutpressedButtonTranslationZ -

    Must be a reference to another resource, in the form "@[+][package:]type:name" -or to a theme attribute in the form "?[package:][type:]name". +

    Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". @@ -1263,9 +1330,9 @@ or to a theme attribute in the form "?[package:][type:]na static int

    rippleColorrectLayout -

    May be a reference to another resource, in the form "@[+][package:]type:name" +

    Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name". @@ -1605,6 +1672,41 @@ From class + + +

    +

    + + public + static + + int + + buttonRippleColor +

    +
    + + + + +
    +
    + + + + +

    May be a reference to another resource, in the form "@[+][package:]type:name" +or to a theme attribute in the form "?[package:][type:]name". +

    May be a color value, in the form of "#rgb", "#argb", +"#rrggbb", or "#aarrggbb". +

    + + +
    +
    + + +
    @@ -1921,6 +2023,41 @@ containing a value of this type. + + +
    +

    + + public + static + + int + + color_sequence +

    +
    + + + + +
    +
    + + + + +

    May be a reference to another resource, in the form "@[+][package:]type:name" +or to a theme attribute in the form "?[package:][type:]name". +

    May be a color value, in the form of "#rgb", "#argb", +"#rrggbb", or "#aarrggbb". +

    + + +
    +
    + + +
    @@ -2457,6 +2594,122 @@ containing a value of this type. + + +
    +

    + + public + static + + int + + image_circle_percentage +

    +
    + + + + +
    +
    + + + + +

    Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". +Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), +in (inches), mm (millimeters). +

    This may also be a reference to a resource (in the form +"@[package:]type:name") or +theme attribute (in the form +"?[package:][type:]name") +containing a value of this type. +

    + + +
    +
    + + + + + +
    +

    + + public + static + + int + + image_horizontal_offcenter_percentage +

    +
    + + + + +
    +
    + + + + +

    Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". +Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), +in (inches), mm (millimeters). +

    This may also be a reference to a resource (in the form +"@[package:]type:name") or +theme attribute (in the form +"?[package:][type:]name") +containing a value of this type. +

    + + +
    +
    + + + + + +
    +

    + + public + static + + int + + image_tint +

    +
    + + + + +
    +
    + + + + +

    Must be a color value, in the form of "#rgb", "#argb", +"#rrggbb", or "#aarrggbb". +

    This may also be a reference to a resource (in the form +"@[package:]type:name") or +theme attribute (in the form +"?[package:][type:]name") +containing a value of this type. +

    + + +
    +
    + + +
    @@ -2903,7 +3156,7 @@ containing a value of this type. - +

    @@ -2913,7 +3166,7 @@ containing a value of this type. int - pressedTranslationZ + pressedButtonTranslationZ

    @@ -2975,41 +3228,6 @@ or to a theme attribute in the form "?[package:][type:]na - - -
    -

    - - public - static - - int - - rippleColor -

    -
    - - - - -
    -
    - - - - -

    May be a reference to another resource, in the form "@[+][package:]type:name" -or to a theme attribute in the form "?[package:][type:]name". -

    May be a color value, in the form of "#rgb", "#argb", -"#rrggbb", or "#aarrggbb". -

    - - -
    -
    - - -
    @@ -3233,6 +3451,7 @@ containing a value of this type. + diff --git a/docs/html/reference/android/support/wearable/R.color.html b/docs/html/reference/android/support/wearable/R.color.html index cdfd0a8..07b5e0c 100644 --- a/docs/html/reference/android/support/wearable/R.color.html +++ b/docs/html/reference/android/support/wearable/R.color.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -473,6 +473,7 @@ type="text/css">
  • R
  • R.anim
  • R.animator
  • +
  • R.array
  • R.attr
  • R.color
  • R.dimen
  • @@ -614,7 +615,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -2450,6 +2451,7 @@ From class + diff --git a/docs/html/reference/android/support/wearable/R.dimen.html b/docs/html/reference/android/support/wearable/R.dimen.html index c24ef8d..215b2b3 100644 --- a/docs/html/reference/android/support/wearable/R.dimen.html +++ b/docs/html/reference/android/support/wearable/R.dimen.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -473,6 +473,7 @@ type="text/css">
  • R
  • R.anim
  • R.animator
  • +
  • R.array
  • R.attr
  • R.color
  • R.dimen
  • @@ -614,7 +615,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -1839,6 +1840,7 @@ From class + diff --git a/docs/html/reference/android/support/wearable/R.drawable.html b/docs/html/reference/android/support/wearable/R.drawable.html index 167c8ab..c83cd2e 100644 --- a/docs/html/reference/android/support/wearable/R.drawable.html +++ b/docs/html/reference/android/support/wearable/R.drawable.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -473,6 +473,7 @@ type="text/css">
  • R
  • R.anim
  • R.animator
  • +
  • R.array
  • R.attr
  • R.color
  • R.dimen
  • @@ -614,7 +615,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -1557,6 +1558,7 @@ From class + diff --git a/docs/html/reference/android/support/wearable/R.html b/docs/html/reference/android/support/wearable/R.html index fd87f79..714f287 100644 --- a/docs/html/reference/android/support/wearable/R.html +++ b/docs/html/reference/android/support/wearable/R.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -473,6 +473,7 @@ type="text/css">
  • R
  • R.anim
  • R.animator
  • +
  • R.array
  • R.attr
  • R.color
  • R.dimen
  • @@ -614,7 +615,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -717,7 +718,7 @@ Summary: class - + - + - + - + - + - + - + - + - + + + + + + + + + + +
    R.attrR.array   @@ -734,7 +735,7 @@ Summary: classR.colorR.attr   @@ -751,7 +752,7 @@ Summary: classR.dimenR.color   @@ -768,7 +769,7 @@ Summary: classR.drawableR.dimen   @@ -785,7 +786,7 @@ Summary: classR.idR.drawable   @@ -802,7 +803,7 @@ Summary: classR.interpolatorR.id   @@ -819,7 +820,7 @@ Summary: classR.layoutR.interpolator   @@ -836,7 +837,7 @@ Summary: classR.stringR.layout   @@ -853,7 +854,7 @@ Summary: classR.styleR.string   @@ -870,6 +871,23 @@ Summary: classR.style +   + + + +
    + + + + + class R.styleable   @@ -1283,6 +1301,7 @@ From class + diff --git a/docs/html/reference/android/support/wearable/R.id.html b/docs/html/reference/android/support/wearable/R.id.html index 2b3db85..c6bad3b 100644 --- a/docs/html/reference/android/support/wearable/R.id.html +++ b/docs/html/reference/android/support/wearable/R.id.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -473,6 +473,7 @@ type="text/css">
  • R
  • R.anim
  • R.animator
  • +
  • R.array
  • R.attr
  • R.color
  • R.dimen
  • @@ -614,7 +615,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -2262,6 +2263,7 @@ From class + diff --git a/docs/html/reference/android/support/wearable/R.interpolator.html b/docs/html/reference/android/support/wearable/R.interpolator.html index ae6cac1..01391a8 100644 --- a/docs/html/reference/android/support/wearable/R.interpolator.html +++ b/docs/html/reference/android/support/wearable/R.interpolator.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -473,6 +473,7 @@ type="text/css">
  • R
  • R.anim
  • R.animator
  • +
  • R.array
  • R.attr
  • R.color
  • R.dimen
  • @@ -614,7 +615,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -1369,6 +1370,7 @@ From class + diff --git a/docs/html/reference/android/support/wearable/R.layout.html b/docs/html/reference/android/support/wearable/R.layout.html index 7a87cf2..4987ba7 100644 --- a/docs/html/reference/android/support/wearable/R.layout.html +++ b/docs/html/reference/android/support/wearable/R.layout.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -473,6 +473,7 @@ type="text/css">
  • R
  • R.anim
  • R.animator
  • +
  • R.array
  • R.attr
  • R.color
  • R.dimen
  • @@ -614,7 +615,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -1275,6 +1276,7 @@ From class + diff --git a/docs/html/reference/android/support/wearable/R.string.html b/docs/html/reference/android/support/wearable/R.string.html index 3d13614..c8707ef 100644 --- a/docs/html/reference/android/support/wearable/R.string.html +++ b/docs/html/reference/android/support/wearable/R.string.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -473,6 +473,7 @@ type="text/css">
  • R
  • R.anim
  • R.animator
  • +
  • R.array
  • R.attr
  • R.color
  • R.dimen
  • @@ -614,7 +615,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -1134,6 +1135,7 @@ From class + diff --git a/docs/html/reference/android/support/wearable/R.style.html b/docs/html/reference/android/support/wearable/R.style.html index 48837d0..38ce308 100644 --- a/docs/html/reference/android/support/wearable/R.style.html +++ b/docs/html/reference/android/support/wearable/R.style.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -473,6 +473,7 @@ type="text/css">
  • R
  • R.anim
  • R.animator
  • +
  • R.array
  • R.attr
  • R.color
  • R.dimen
  • @@ -614,7 +615,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -2262,6 +2263,7 @@ From class + diff --git a/docs/html/reference/android/support/wearable/R.styleable.html b/docs/html/reference/android/support/wearable/R.styleable.html index d1e4ca3..e43e070 100644 --- a/docs/html/reference/android/support/wearable/R.styleable.html +++ b/docs/html/reference/android/support/wearable/R.styleable.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -473,6 +473,7 @@ type="text/css">
  • R
  • R.anim
  • R.animator
  • +
  • R.array
  • R.attr
  • R.color
  • R.dimen
  • @@ -614,7 +615,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -1137,9 +1138,9 @@ Summary: static int - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + @@ -1822,7 +1907,7 @@ Summary: - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + - - +
    ActionPage_imageScaleModeActionPage_buttonRippleColor -

    This symbol is the offset where the imageScaleMode +

    This symbol is the offset where the buttonRippleColor attribute's value can be found in the ActionPage array. @@ -1154,9 +1155,9 @@ Summary: static int

    ActionPage_maxTextSizeActionPage_imageScaleMode -

    This symbol is the offset where the maxTextSize +

    This symbol is the offset where the imageScaleMode attribute's value can be found in the ActionPage array. @@ -1171,9 +1172,9 @@ Summary: static int

    ActionPage_minTextSizeActionPage_maxTextSize -

    This symbol is the offset where the minTextSize +

    This symbol is the offset where the maxTextSize attribute's value can be found in the ActionPage array. @@ -1188,9 +1189,9 @@ Summary: static int

    ActionPage_pressedTranslationZActionPage_minTextSize -

    This symbol is the offset where the pressedTranslationZ +

    This symbol is the offset where the minTextSize attribute's value can be found in the ActionPage array. @@ -1205,9 +1206,9 @@ Summary: static int

    ActionPage_rippleColorActionPage_pressedButtonTranslationZ -

    This symbol is the offset where the rippleColor +

    This symbol is the offset where the pressedButtonTranslationZ attribute's value can be found in the ActionPage array. @@ -1390,6 +1391,57 @@ Summary: static int

    CircledImageView_image_circle_percentage +

    This symbol is the offset where the image_circle_percentage + attribute's value can be found in the CircledImageView array. + + + +

    + public + static + + intCircledImageView_image_horizontal_offcenter_percentage +

    This symbol is the offset where the image_horizontal_offcenter_percentage + attribute's value can be found in the CircledImageView array. + + + +

    + public + static + + intCircledImageView_image_tint +

    This symbol is the offset where the image_tint + attribute's value can be found in the CircledImageView array. + + + +

    + public + static + + int CircledImageView_shadow_width

    This symbol is the offset where the shadow_width @@ -1401,7 +1453,7 @@ Summary:

    public static @@ -1417,7 +1469,7 @@ Summary:
    public static @@ -1434,7 +1486,7 @@ Summary:
    public static @@ -1451,7 +1503,7 @@ Summary:
    public static @@ -1468,7 +1520,7 @@ Summary:
    public static @@ -1485,15 +1537,15 @@ Summary:
    public static intCircularButton_imageScaleModeCircularButton_buttonRippleColor -

    This symbol is the offset where the imageScaleMode +

    This symbol is the offset where the buttonRippleColor attribute's value can be found in the CircularButton array. @@ -1502,15 +1554,15 @@ Summary:

    public static intCircularButton_pressedTranslationZCircularButton_imageScaleMode -

    This symbol is the offset where the pressedTranslationZ +

    This symbol is the offset where the imageScaleMode attribute's value can be found in the CircularButton array. @@ -1519,15 +1571,15 @@ Summary:

    public static intCircularButton_rippleColorCircularButton_pressedButtonTranslationZ -

    This symbol is the offset where the rippleColor +

    This symbol is the offset where the pressedButtonTranslationZ attribute's value can be found in the CircularButton array. @@ -1536,7 +1588,7 @@ Summary:

    public static @@ -1552,7 +1604,7 @@ Summary:
    public static @@ -1569,7 +1621,7 @@ Summary:
    public static @@ -1585,7 +1637,7 @@ Summary:
    public static @@ -1602,7 +1654,7 @@ Summary:
    public static @@ -1619,7 +1671,7 @@ Summary:
    public static @@ -1636,7 +1688,7 @@ Summary:
    public static @@ -1653,7 +1705,7 @@ Summary:
    public static @@ -1670,7 +1722,7 @@ Summary:
    public static @@ -1687,7 +1739,7 @@ Summary:
    public static @@ -1704,7 +1756,7 @@ Summary:
    public static @@ -1721,7 +1773,7 @@ Summary:
    public static @@ -1738,7 +1790,7 @@ Summary:
    public static @@ -1755,7 +1807,7 @@ Summary:
    public static @@ -1772,7 +1824,7 @@ Summary:
    public static @@ -1789,7 +1841,7 @@ Summary:
    public static @@ -1806,10 +1858,43 @@ Summary:
    + public + static + final + int[]ProgressSpinner + Attributes that can be used with a ProgressSpinner. + + + +
    public static + + intProgressSpinner_color_sequence +

    This symbol is the offset where the color_sequence + attribute's value can be found in the ProgressSpinner array. + + + +

    + public + static final int[] WatchViewStub
    public static @@ -1839,7 +1924,7 @@ Summary:
    public static @@ -1856,7 +1941,7 @@ Summary:
    public static @@ -1872,7 +1957,7 @@ Summary:
    public static @@ -1889,7 +1974,7 @@ Summary:
    public static @@ -1906,7 +1991,7 @@ Summary:
    public static @@ -1923,7 +2008,7 @@ Summary:
    public static @@ -1940,7 +2025,7 @@ Summary:
    public static @@ -1957,7 +2042,7 @@ Summary:
    public static @@ -1974,7 +2059,7 @@ Summary:
    public static @@ -1991,7 +2076,7 @@ Summary:
    public static @@ -2008,7 +2093,7 @@ Summary:
    public static @@ -2025,7 +2110,7 @@ Summary:
    public static @@ -2042,7 +2127,7 @@ Summary:
    public static @@ -2059,7 +2144,7 @@ Summary:
    public static @@ -2076,7 +2161,7 @@ Summary:
    public static @@ -2092,7 +2177,7 @@ Summary:
    public static @@ -2109,7 +2194,7 @@ Summary:
    public static @@ -2875,15 +2960,15 @@ containing a value of this type.

    android:textColor
    android:textStyle
    android:typeface
    android.support.wearable:buttonRippleColor
    android.support.wearable:imageScaleMode
    android.support.wearable:maxTextSize
    android.support.wearable:minTextSize
    android.support.wearable:pressedTranslationZ
    android.support.wearable:rippleColor
    android.support.wearable:pressedButtonTranslationZ

    @@ -3309,7 +3394,7 @@ containing a value of this type.

    - +

    @@ -3319,7 +3404,7 @@ containing a value of this type.

    int - ActionPage_imageScaleMode + ActionPage_buttonRippleColor
    @@ -3332,19 +3417,14 @@ containing a value of this type.

    -

    This symbol is the offset where the imageScaleMode +

    This symbol is the offset where the buttonRippleColor attribute's value can be found in the ActionPage array. -

    Must be one of the following constant values.

    - ---- - - -
    ConstantValueDescription
    fit0
    center1

    +

    May be a reference to another resource, in the form "@[+][package:]type:name" +or to a theme attribute in the form "?[package:][type:]name". +

    May be a color value, in the form of "#rgb", "#argb", +"#rrggbb", or "#aarrggbb".

    @@ -3352,7 +3432,7 @@ containing a value of this type.

    - +

    @@ -3362,7 +3442,7 @@ containing a value of this type.

    int - ActionPage_maxTextSize + ActionPage_imageScaleMode
    @@ -3375,18 +3455,19 @@ containing a value of this type.

    -

    This symbol is the offset where the maxTextSize +

    This symbol is the offset where the imageScaleMode attribute's value can be found in the ActionPage array. -

    Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". -Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), -in (inches), mm (millimeters). -

    This may also be a reference to a resource (in the form -"@[package:]type:name") or -theme attribute (in the form -"?[package:][type:]name") -containing a value of this type.

    +

    Must be one of the following constant values.

    + ++++ + + +
    ConstantValueDescription
    fit0
    center1

    @@ -3394,7 +3475,7 @@ containing a value of this type.

    - +

    @@ -3404,7 +3485,7 @@ containing a value of this type.

    int - ActionPage_minTextSize + ActionPage_maxTextSize
    @@ -3417,7 +3498,7 @@ containing a value of this type.

    -

    This symbol is the offset where the minTextSize +

    This symbol is the offset where the maxTextSize attribute's value can be found in the ActionPage array. @@ -3436,7 +3517,7 @@ containing a value of this type.

    - +

    @@ -3446,7 +3527,7 @@ containing a value of this type.

    int - ActionPage_pressedTranslationZ + ActionPage_minTextSize
    @@ -3459,7 +3540,7 @@ containing a value of this type.

    -

    This symbol is the offset where the pressedTranslationZ +

    This symbol is the offset where the minTextSize attribute's value can be found in the ActionPage array. @@ -3478,7 +3559,7 @@ containing a value of this type.

    - +

    @@ -3488,7 +3569,7 @@ containing a value of this type.

    int - ActionPage_rippleColor + ActionPage_pressedButtonTranslationZ
    @@ -3501,14 +3582,18 @@ containing a value of this type.

    -

    This symbol is the offset where the rippleColor +

    This symbol is the offset where the pressedButtonTranslationZ attribute's value can be found in the ActionPage array. -

    May be a reference to another resource, in the form "@[+][package:]type:name" -or to a theme attribute in the form "?[package:][type:]name". -

    May be a color value, in the form of "#rgb", "#argb", -"#rrggbb", or "#aarrggbb".

    +

    Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". +Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), +in (inches), mm (millimeters). +

    This may also be a reference to a resource (in the form +"@[package:]type:name") or +theme attribute (in the form +"?[package:][type:]name") +containing a value of this type.

    @@ -3641,11 +3726,14 @@ or to a theme attribute in the form "?[package:][type:]na
    android.support.wearable:circle_padding
    android.support.wearable:circle_radius
    android.support.wearable:circle_radius_pressed
    android.support.wearable:image_circle_percentage
    android.support.wearable:image_horizontal_offcenter_percentage
    android.support.wearable:image_tint
    android.support.wearable:shadow_width

    @@ -3937,6 +4025,131 @@ containing a value of this type.

    + + +
    +

    + + public + static + + int + + CircledImageView_image_circle_percentage +

    +
    + + + + +
    +
    + + + + +

    This symbol is the offset where the image_circle_percentage + attribute's value can be found in the CircledImageView array. + + +

    Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". +Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), +in (inches), mm (millimeters). +

    This may also be a reference to a resource (in the form +"@[package:]type:name") or +theme attribute (in the form +"?[package:][type:]name") +containing a value of this type.

    + + +
    +
    + + + + + +
    +

    + + public + static + + int + + CircledImageView_image_horizontal_offcenter_percentage +

    +
    + + + + +
    +
    + + + + +

    This symbol is the offset where the image_horizontal_offcenter_percentage + attribute's value can be found in the CircledImageView array. + + +

    Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". +Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), +in (inches), mm (millimeters). +

    This may also be a reference to a resource (in the form +"@[package:]type:name") or +theme attribute (in the form +"?[package:][type:]name") +containing a value of this type.

    + + +
    +
    + + + + + +
    +

    + + public + static + + int + + CircledImageView_image_tint +

    +
    + + + + +
    +
    + + + + +

    This symbol is the offset where the image_tint + attribute's value can be found in the CircledImageView array. + + +

    Must be a color value, in the form of "#rgb", "#argb", +"#rrggbb", or "#aarrggbb". +

    This may also be a reference to a resource (in the form +"@[package:]type:name") or +theme attribute (in the form +"?[package:][type:]name") +containing a value of this type.

    + + +
    +
    + + +
    @@ -4012,13 +4225,13 @@ containing a value of this type.

    android:elevation
    android:src
    android:stateListAnimator
    android.support.wearable:buttonRippleColor
    android.support.wearable:imageScaleMode
    android.support.wearable:pressedTranslationZ
    android.support.wearable:rippleColor
    android.support.wearable:pressedButtonTranslationZ

    @@ -4156,7 +4369,7 @@ containing a value of this type.

    - +

    @@ -4166,7 +4379,7 @@ containing a value of this type.

    int - CircularButton_imageScaleMode + CircularButton_buttonRippleColor
    @@ -4179,19 +4392,14 @@ containing a value of this type.

    -

    This symbol is the offset where the imageScaleMode +

    This symbol is the offset where the buttonRippleColor attribute's value can be found in the CircularButton array. -

    Must be one of the following constant values.

    - ---- - - -
    ConstantValueDescription
    fit0
    center1

    +

    May be a reference to another resource, in the form "@[+][package:]type:name" +or to a theme attribute in the form "?[package:][type:]name". +

    May be a color value, in the form of "#rgb", "#argb", +"#rrggbb", or "#aarrggbb".

    @@ -4199,7 +4407,7 @@ containing a value of this type.

    - +

    @@ -4209,7 +4417,7 @@ containing a value of this type.

    int - CircularButton_pressedTranslationZ + CircularButton_imageScaleMode
    @@ -4222,18 +4430,19 @@ containing a value of this type.

    -

    This symbol is the offset where the pressedTranslationZ +

    This symbol is the offset where the imageScaleMode attribute's value can be found in the CircularButton array. -

    Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". -Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), -in (inches), mm (millimeters). -

    This may also be a reference to a resource (in the form -"@[package:]type:name") or -theme attribute (in the form -"?[package:][type:]name") -containing a value of this type.

    +

    Must be one of the following constant values.

    + ++++ + + +
    ConstantValueDescription
    fit0
    center1

    @@ -4241,7 +4450,7 @@ containing a value of this type.

    - +

    @@ -4251,7 +4460,7 @@ containing a value of this type.

    int - CircularButton_rippleColor + CircularButton_pressedButtonTranslationZ
    @@ -4264,14 +4473,18 @@ containing a value of this type.

    -

    This symbol is the offset where the rippleColor +

    This symbol is the offset where the pressedButtonTranslationZ attribute's value can be found in the CircularButton array. -

    May be a reference to another resource, in the form "@[+][package:]type:name" -or to a theme attribute in the form "?[package:][type:]name". -

    May be a color value, in the form of "#rgb", "#argb", -"#rrggbb", or "#aarrggbb".

    +

    Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". +Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), +in (inches), mm (millimeters). +

    This may also be a reference to a resource (in the form +"@[package:]type:name") or +theme attribute (in the form +"?[package:][type:]name") +containing a value of this type.

    @@ -4952,6 +5165,87 @@ containing a value of this type.

    + + +
    +

    + + public + static + final + int[] + + ProgressSpinner +

    +
    + + + + +
    +
    + + + + +

    Attributes that can be used with a ProgressSpinner. +

    Includes the following attributes:

    + + + + + +
    AttributeDescription
    android.support.wearable:color_sequence

    + + + +
    +
    + + + + + +
    +

    + + public + static + + int + + ProgressSpinner_color_sequence +

    +
    + + + + +
    +
    + + + + +

    This symbol is the offset where the color_sequence + attribute's value can be found in the ProgressSpinner array. + + +

    May be a reference to another resource, in the form "@[+][package:]type:name" +or to a theme attribute in the form "?[package:][type:]name". +

    May be a color value, in the form of "#rgb", "#argb", +"#rrggbb", or "#aarrggbb".

    + + +
    +
    + + +
    @@ -5847,6 +6141,7 @@ containing a value of this type.

    + diff --git a/docs/html/reference/android/support/wearable/activity/ConfirmationActivity.html b/docs/html/reference/android/support/wearable/activity/ConfirmationActivity.html index f7cd613..92bfeca 100644 --- a/docs/html/reference/android/support/wearable/activity/ConfirmationActivity.html +++ b/docs/html/reference/android/support/wearable/activity/ConfirmationActivity.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -713,7 +713,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -10110,6 +10110,7 @@ From interface + diff --git a/docs/html/reference/android/support/wearable/activity/WearableActivity.html b/docs/html/reference/android/support/wearable/activity/WearableActivity.html index 2698dca..6f70f74 100644 --- a/docs/html/reference/android/support/wearable/activity/WearableActivity.html +++ b/docs/html/reference/android/support/wearable/activity/WearableActivity.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -716,7 +716,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -10513,6 +10513,7 @@ From interface + diff --git a/docs/html/reference/android/support/wearable/activity/package-summary.html b/docs/html/reference/android/support/wearable/activity/package-summary.html index 4dd01b7..e3a691a 100644 --- a/docs/html/reference/android/support/wearable/activity/package-summary.html +++ b/docs/html/reference/android/support/wearable/activity/package-summary.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -542,7 +542,7 @@ type="text/css">
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -654,6 +654,7 @@ type="text/css"> + diff --git a/docs/html/reference/android/support/wearable/companion/WatchFaceCompanion.html b/docs/html/reference/android/support/wearable/companion/WatchFaceCompanion.html index ce369f2..8174777 100644 --- a/docs/html/reference/android/support/wearable/companion/WatchFaceCompanion.html +++ b/docs/html/reference/android/support/wearable/companion/WatchFaceCompanion.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -599,7 +599,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -1158,6 +1158,7 @@ From class + diff --git a/docs/html/reference/android/support/wearable/companion/package-summary.html b/docs/html/reference/android/support/wearable/companion/package-summary.html index 0447708..7404dcd 100644 --- a/docs/html/reference/android/support/wearable/companion/package-summary.html +++ b/docs/html/reference/android/support/wearable/companion/package-summary.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -541,7 +541,7 @@ type="text/css">
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -641,6 +641,7 @@ type="text/css"> + diff --git a/docs/html/reference/android/support/wearable/input/RemoteInputConstants.html b/docs/html/reference/android/support/wearable/input/RemoteInputConstants.html index f3cb90c..35fe2d5 100644 --- a/docs/html/reference/android/support/wearable/input/RemoteInputConstants.html +++ b/docs/html/reference/android/support/wearable/input/RemoteInputConstants.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -603,7 +603,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -1151,6 +1151,7 @@ From class + diff --git a/docs/html/reference/android/support/wearable/input/RemoteInputIntent.html b/docs/html/reference/android/support/wearable/input/RemoteInputIntent.html index 92d90bc..34ae2d5 100644 --- a/docs/html/reference/android/support/wearable/input/RemoteInputIntent.html +++ b/docs/html/reference/android/support/wearable/input/RemoteInputIntent.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -603,7 +603,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -644,7 +644,7 @@ Summary: new RemoteInput.Builder(KEY_QUICK_REPLY_TEXT).setLabel("Quick reply").build() }; Intent intent = new Intent(ACTION_REMOTE_INPUT); - intent.putExtra(EXTRA_REMOTE_INPUT, remoteInputs); + intent.putExtra(EXTRA_REMOTE_INPUTS, remoteInputs); startActivity(intent); @@ -1496,6 +1496,7 @@ From class + diff --git a/docs/html/reference/android/support/wearable/input/package-summary.html b/docs/html/reference/android/support/wearable/input/package-summary.html index 2071e28..314838d 100644 --- a/docs/html/reference/android/support/wearable/input/package-summary.html +++ b/docs/html/reference/android/support/wearable/input/package-summary.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -542,7 +542,7 @@ type="text/css">
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -653,6 +653,7 @@ type="text/css"> + diff --git a/docs/html/reference/android/support/wearable/media/MediaControlConstants.html b/docs/html/reference/android/support/wearable/media/MediaControlConstants.html index 42c141b..30ddc45 100644 --- a/docs/html/reference/android/support/wearable/media/MediaControlConstants.html +++ b/docs/html/reference/android/support/wearable/media/MediaControlConstants.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -602,7 +602,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -1370,6 +1370,7 @@ From class + diff --git a/docs/html/reference/android/support/wearable/media/package-summary.html b/docs/html/reference/android/support/wearable/media/package-summary.html index 3310b5a..72dce84 100644 --- a/docs/html/reference/android/support/wearable/media/package-summary.html +++ b/docs/html/reference/android/support/wearable/media/package-summary.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -541,7 +541,7 @@ type="text/css">
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -641,6 +641,7 @@ type="text/css"> + diff --git a/docs/html/reference/android/support/wearable/package-summary.html b/docs/html/reference/android/support/wearable/package-summary.html index a8e3db0..a4ef376 100644 --- a/docs/html/reference/android/support/wearable/package-summary.html +++ b/docs/html/reference/android/support/wearable/package-summary.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -474,6 +474,7 @@ type="text/css">
  • R
  • R.anim
  • R.animator
  • +
  • R.array
  • R.attr
  • R.color
  • R.dimen
  • @@ -553,7 +554,7 @@ type="text/css">
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -607,7 +608,7 @@ type="text/css">
    - + - + - + - + - + - + - + - + - + + + + + + +
    R.attrR.array   @@ -618,7 +619,7 @@ type="text/css">
    R.colorR.attr   @@ -629,7 +630,7 @@ type="text/css">
    R.dimenR.color   @@ -640,7 +641,7 @@ type="text/css">
    R.drawableR.dimen   @@ -651,7 +652,7 @@ type="text/css">
    R.idR.drawable   @@ -662,7 +663,7 @@ type="text/css">
    R.interpolatorR.id   @@ -673,7 +674,7 @@ type="text/css">
    R.layoutR.interpolator   @@ -684,7 +685,7 @@ type="text/css">
    R.stringR.layout   @@ -695,7 +696,7 @@ type="text/css">
    R.styleR.string   @@ -706,6 +707,17 @@ type="text/css">
    R.style +   + + + +
    R.styleable   @@ -785,6 +797,7 @@ type="text/css"> + diff --git a/docs/html/reference/android/support/wearable/provider/WearableCalendarContract.Attendees.html b/docs/html/reference/android/support/wearable/provider/WearableCalendarContract.Attendees.html index ba439b3..794973f 100644 --- a/docs/html/reference/android/support/wearable/provider/WearableCalendarContract.Attendees.html +++ b/docs/html/reference/android/support/wearable/provider/WearableCalendarContract.Attendees.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -602,7 +602,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -1063,6 +1063,7 @@ From class + diff --git a/docs/html/reference/android/support/wearable/provider/WearableCalendarContract.Instances.html b/docs/html/reference/android/support/wearable/provider/WearableCalendarContract.Instances.html index 70ad4d9..77c3c67 100644 --- a/docs/html/reference/android/support/wearable/provider/WearableCalendarContract.Instances.html +++ b/docs/html/reference/android/support/wearable/provider/WearableCalendarContract.Instances.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -602,7 +602,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -1063,6 +1063,7 @@ From class + diff --git a/docs/html/reference/android/support/wearable/provider/WearableCalendarContract.Reminders.html b/docs/html/reference/android/support/wearable/provider/WearableCalendarContract.Reminders.html index 752da5e..9dfd7f7 100644 --- a/docs/html/reference/android/support/wearable/provider/WearableCalendarContract.Reminders.html +++ b/docs/html/reference/android/support/wearable/provider/WearableCalendarContract.Reminders.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -602,7 +602,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -1063,6 +1063,7 @@ From class + diff --git a/docs/html/reference/android/support/wearable/provider/WearableCalendarContract.html b/docs/html/reference/android/support/wearable/provider/WearableCalendarContract.html index 919306b..588ae71 100644 --- a/docs/html/reference/android/support/wearable/provider/WearableCalendarContract.html +++ b/docs/html/reference/android/support/wearable/provider/WearableCalendarContract.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -611,7 +611,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -1265,6 +1265,7 @@ From class + diff --git a/docs/html/reference/android/support/wearable/provider/package-summary.html b/docs/html/reference/android/support/wearable/provider/package-summary.html index f82ce5c..bb4c581 100644 --- a/docs/html/reference/android/support/wearable/provider/package-summary.html +++ b/docs/html/reference/android/support/wearable/provider/package-summary.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -544,7 +544,7 @@ type="text/css">
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -677,6 +677,7 @@ type="text/css"> + diff --git a/docs/html/reference/android/support/wearable/view/ActionLabel.html b/docs/html/reference/android/support/wearable/view/ActionLabel.html index 3716018..f8cb733 100644 --- a/docs/html/reference/android/support/wearable/view/ActionLabel.html +++ b/docs/html/reference/android/support/wearable/view/ActionLabel.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -501,6 +501,7 @@ type="text/css">
  • GridPagerAdapter
  • GridViewPager
  • GridViewPager.LayoutParams
  • +
  • ProgressSpinner
  • SimpleAnimatorListener
  • WatchViewStub
  • WearableFrameLayout
  • @@ -684,7 +685,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -12362,6 +12363,7 @@ From interface + diff --git a/docs/html/reference/android/support/wearable/view/ActionPage.html b/docs/html/reference/android/support/wearable/view/ActionPage.html index 268bba1..69c4dfb 100644 --- a/docs/html/reference/android/support/wearable/view/ActionPage.html +++ b/docs/html/reference/android/support/wearable/view/ActionPage.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -501,6 +501,7 @@ type="text/css">
  • GridPagerAdapter
  • GridViewPager
  • GridViewPager.LayoutParams
  • +
  • ProgressSpinner
  • SimpleAnimatorListener
  • WatchViewStub
  • WearableFrameLayout
  • @@ -714,7 +715,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -15449,6 +15450,7 @@ From interface + diff --git a/docs/html/reference/android/support/wearable/view/BoxInsetLayout.LayoutParams.html b/docs/html/reference/android/support/wearable/view/BoxInsetLayout.LayoutParams.html index 43097b4..d716836 100644 --- a/docs/html/reference/android/support/wearable/view/BoxInsetLayout.LayoutParams.html +++ b/docs/html/reference/android/support/wearable/view/BoxInsetLayout.LayoutParams.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -501,6 +501,7 @@ type="text/css">
  • GridPagerAdapter
  • GridViewPager
  • GridViewPager.LayoutParams
  • +
  • ProgressSpinner
  • SimpleAnimatorListener
  • WatchViewStub
  • WearableFrameLayout
  • @@ -687,7 +688,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -2431,6 +2432,7 @@ From class + diff --git a/docs/html/reference/android/support/wearable/view/BoxInsetLayout.html b/docs/html/reference/android/support/wearable/view/BoxInsetLayout.html index 5619e75..d315135 100644 --- a/docs/html/reference/android/support/wearable/view/BoxInsetLayout.html +++ b/docs/html/reference/android/support/wearable/view/BoxInsetLayout.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -501,6 +501,7 @@ type="text/css">
  • GridPagerAdapter
  • GridViewPager
  • GridViewPager.LayoutParams
  • +
  • ProgressSpinner
  • SimpleAnimatorListener
  • WatchViewStub
  • WearableFrameLayout
  • @@ -725,7 +726,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -15573,6 +15574,7 @@ From interface + diff --git a/docs/html/reference/android/support/wearable/view/CardFragment.html b/docs/html/reference/android/support/wearable/view/CardFragment.html index 9437e93..b73c6ca 100644 --- a/docs/html/reference/android/support/wearable/view/CardFragment.html +++ b/docs/html/reference/android/support/wearable/view/CardFragment.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -501,6 +501,7 @@ type="text/css">
  • GridPagerAdapter
  • GridViewPager
  • GridViewPager.LayoutParams
  • +
  • ProgressSpinner
  • SimpleAnimatorListener
  • WatchViewStub
  • WearableFrameLayout
  • @@ -679,7 +680,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -4875,6 +4876,7 @@ From interface + diff --git a/docs/html/reference/android/support/wearable/view/CardFrame.html b/docs/html/reference/android/support/wearable/view/CardFrame.html index 1beeda2..32224d5 100644 --- a/docs/html/reference/android/support/wearable/view/CardFrame.html +++ b/docs/html/reference/android/support/wearable/view/CardFrame.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -501,6 +501,7 @@ type="text/css">
  • GridPagerAdapter
  • GridViewPager
  • GridViewPager.LayoutParams
  • +
  • ProgressSpinner
  • SimpleAnimatorListener
  • WatchViewStub
  • WearableFrameLayout
  • @@ -714,7 +715,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -15930,6 +15931,7 @@ From interface + diff --git a/docs/html/reference/android/support/wearable/view/CardScrollView.html b/docs/html/reference/android/support/wearable/view/CardScrollView.html index 0364eb9..a361847 100644 --- a/docs/html/reference/android/support/wearable/view/CardScrollView.html +++ b/docs/html/reference/android/support/wearable/view/CardScrollView.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -501,6 +501,7 @@ type="text/css">
  • GridPagerAdapter
  • GridViewPager
  • GridViewPager.LayoutParams
  • +
  • ProgressSpinner
  • SimpleAnimatorListener
  • WatchViewStub
  • WearableFrameLayout
  • @@ -722,7 +723,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -15898,6 +15899,7 @@ From interface + diff --git a/docs/html/reference/android/support/wearable/view/CircledImageView.html b/docs/html/reference/android/support/wearable/view/CircledImageView.html index 1c9451b..a2ba3f7 100644 --- a/docs/html/reference/android/support/wearable/view/CircledImageView.html +++ b/docs/html/reference/android/support/wearable/view/CircledImageView.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -501,6 +501,7 @@ type="text/css">
  • GridPagerAdapter
  • GridViewPager
  • GridViewPager.LayoutParams
  • +
  • ProgressSpinner
  • SimpleAnimatorListener
  • WatchViewStub
  • WearableFrameLayout
  • @@ -684,7 +685,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -2857,12 +2858,44 @@ android.view.View void + + + + + + + + + + + + @@ -2905,7 +2938,7 @@ android.view.View void @@ -2921,6 +2954,22 @@ android.view.View void + + + + + + +
    + setImageCirclePercentage(float percentage) + +
    + + + + + + void + setImageDrawable(Drawable drawable)
    + + + + + + void + + setImageHorizontalOffcenterPercentage(float percentage) + +
    @@ -2889,7 +2922,7 @@ android.view.View void - setPressed(boolean pressed) + setImageTint(int tint)
    - setProgress(float progress) + setPressed(boolean pressed)
    + setProgress(float progress) + +
    + + + + + + void + setShadowVisibility(float shadowVisibility)
    @@ -2934,7 +2983,7 @@ android.view.View -
    @@ -11857,6 +11906,38 @@ From interface + + +
    +

    + + public + + + + + void + + setImageCirclePercentage + (float percentage) +

    +
    +
    + + + +
    +
    + + + + +

    + +
    +
    + +
    @@ -11889,6 +11970,38 @@ From interface
    + + +
    +

    + + public + + + + + void + + setImageHorizontalOffcenterPercentage + (float percentage) +

    +
    +
    + + + +
    +
    + + + + +

    + +
    +
    + +
    @@ -11921,6 +12034,38 @@ From interface
    + + +
    +

    + + public + + + + + void + + setImageTint + (int tint) +

    +
    +
    + + + +
    +
    + + + + +

    + +
    +
    + +
    @@ -12330,6 +12475,7 @@ From interface + diff --git a/docs/html/reference/android/support/wearable/view/CircularButton.html b/docs/html/reference/android/support/wearable/view/CircularButton.html index edcb3f2..ff626ce 100644 --- a/docs/html/reference/android/support/wearable/view/CircularButton.html +++ b/docs/html/reference/android/support/wearable/view/CircularButton.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -501,6 +501,7 @@ type="text/css">
  • GridPagerAdapter
  • GridViewPager
  • GridViewPager.LayoutParams
  • +
  • ProgressSpinner
  • SimpleAnimatorListener
  • WatchViewStub
  • WearableFrameLayout
  • @@ -687,7 +688,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -11986,6 +11987,7 @@ From interface + diff --git a/docs/html/reference/android/support/wearable/view/CrossfadeDrawable.html b/docs/html/reference/android/support/wearable/view/CrossfadeDrawable.html index f346b82..176e532 100644 --- a/docs/html/reference/android/support/wearable/view/CrossfadeDrawable.html +++ b/docs/html/reference/android/support/wearable/view/CrossfadeDrawable.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -501,6 +501,7 @@ type="text/css">
  • GridPagerAdapter
  • GridViewPager
  • GridViewPager.LayoutParams
  • +
  • ProgressSpinner
  • SimpleAnimatorListener
  • WatchViewStub
  • WearableFrameLayout
  • @@ -665,7 +666,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -3562,6 +3563,7 @@ From interface + diff --git a/docs/html/reference/android/support/wearable/view/DelayedConfirmationView.DelayedConfirmationListener.html b/docs/html/reference/android/support/wearable/view/DelayedConfirmationView.DelayedConfirmationListener.html index 6159875..459b683 100644 --- a/docs/html/reference/android/support/wearable/view/DelayedConfirmationView.DelayedConfirmationListener.html +++ b/docs/html/reference/android/support/wearable/view/DelayedConfirmationView.DelayedConfirmationListener.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -501,6 +501,7 @@ type="text/css">
  • GridPagerAdapter
  • GridViewPager
  • GridViewPager.LayoutParams
  • +
  • ProgressSpinner
  • SimpleAnimatorListener
  • WatchViewStub
  • WearableFrameLayout
  • @@ -602,7 +603,7 @@ type="text/css">
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -908,6 +909,7 @@ type="text/css"> + diff --git a/docs/html/reference/android/support/wearable/view/DelayedConfirmationView.html b/docs/html/reference/android/support/wearable/view/DelayedConfirmationView.html index 3b61bf0..10e10b9 100644 --- a/docs/html/reference/android/support/wearable/view/DelayedConfirmationView.html +++ b/docs/html/reference/android/support/wearable/view/DelayedConfirmationView.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -501,6 +501,7 @@ type="text/css">
  • GridPagerAdapter
  • GridViewPager
  • GridViewPager.LayoutParams
  • +
  • ProgressSpinner
  • SimpleAnimatorListener
  • WatchViewStub
  • WearableFrameLayout
  • @@ -698,7 +699,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -3164,12 +3165,44 @@ From class void + + + + + + + + + + + + @@ -3212,7 +3245,7 @@ From class void @@ -3228,6 +3261,22 @@ From class void + + + + + + +
    + setImageCirclePercentage(float percentage) + +
    + + + + + + void + setImageDrawable(Drawable drawable)
    + + + + + + void + + setImageHorizontalOffcenterPercentage(float percentage) + +
    @@ -3196,7 +3229,7 @@ From class void - setPressed(boolean pressed) + setImageTint(int tint)
    - setProgress(float progress) + setPressed(boolean pressed)
    + setProgress(float progress) + +
    + + + + + + void + setShadowVisibility(float shadowVisibility)
    @@ -3241,7 +3290,7 @@ From class -
    @@ -11914,6 +11963,7 @@ From interface + diff --git a/docs/html/reference/android/support/wearable/view/DismissOverlayView.html b/docs/html/reference/android/support/wearable/view/DismissOverlayView.html index f455403..f146daf 100644 --- a/docs/html/reference/android/support/wearable/view/DismissOverlayView.html +++ b/docs/html/reference/android/support/wearable/view/DismissOverlayView.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -501,6 +501,7 @@ type="text/css">
  • GridPagerAdapter
  • GridViewPager
  • GridViewPager.LayoutParams
  • +
  • ProgressSpinner
  • SimpleAnimatorListener
  • WatchViewStub
  • WearableFrameLayout
  • @@ -719,7 +720,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -15317,6 +15318,7 @@ From interface + diff --git a/docs/html/reference/android/support/wearable/view/DotsPageIndicator.html b/docs/html/reference/android/support/wearable/view/DotsPageIndicator.html index 006a270..634cf95 100644 --- a/docs/html/reference/android/support/wearable/view/DotsPageIndicator.html +++ b/docs/html/reference/android/support/wearable/view/DotsPageIndicator.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -501,6 +501,7 @@ type="text/css">
  • GridPagerAdapter
  • GridViewPager
  • GridViewPager.LayoutParams
  • +
  • ProgressSpinner
  • SimpleAnimatorListener
  • WatchViewStub
  • WearableFrameLayout
  • @@ -705,7 +706,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -13437,6 +13438,7 @@ From interface + diff --git a/docs/html/reference/android/support/wearable/view/FragmentGridPagerAdapter.html b/docs/html/reference/android/support/wearable/view/FragmentGridPagerAdapter.html index 9df4ae7..ed7fecd 100644 --- a/docs/html/reference/android/support/wearable/view/FragmentGridPagerAdapter.html +++ b/docs/html/reference/android/support/wearable/view/FragmentGridPagerAdapter.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -501,6 +501,7 @@ type="text/css">
  • GridPagerAdapter
  • GridViewPager
  • GridViewPager.LayoutParams
  • +
  • ProgressSpinner
  • SimpleAnimatorListener
  • WatchViewStub
  • WearableFrameLayout
  • @@ -611,6 +612,9 @@ Summary: + | Protected Methods + + | Inherited Methods @@ -660,7 +664,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -965,6 +969,22 @@ Summary: + Fragment + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + - + - +
    + findExistingFragment(int row, int column) + +
    + + + + + void @@ -981,7 +1001,7 @@ Summary: -
    @@ -1004,7 +1024,7 @@ Summary: -
    abstract @@ -1027,7 +1047,7 @@ Summary: -
    @@ -1050,7 +1070,7 @@ Summary: -
    @@ -1074,7 +1094,7 @@ Summary: -
    @@ -1097,7 +1117,7 @@ Summary: -
    @@ -1126,6 +1146,71 @@ Summary: + + + + + + + + + + + + + + + + + + + + + + + + +
    Protected Methods
    + + + + + + void + + applyItemPosition(Object object, Point position) + +
    + Called after getItemPosition(Object) to allow superclasses to update their + internal bookkeeping if a subclass has overridden getItemPosition(Object). + + + +
    + +
    + + + + + + void + + removeFragment(Fragment fragment, FragmentTransaction transaction) + +
    + + + + + + void + + restoreFragment(Fragment fragment, FragmentTransaction transaction) + +
    + + @@ -1157,6 +1242,30 @@ From class
    + + + + + + void + + applyItemPosition(Object object, Point position) + +
    + Called after getItemPosition(Object) to allow superclasses to update their + internal bookkeeping if a subclass has overridden getItemPosition(Object). + + + +
    + +
    abstract @@ -1178,7 +1287,7 @@ From class -
    @@ -1201,7 +1310,7 @@ From class -
    @@ -1224,7 +1333,7 @@ From class -
    @@ -1247,7 +1356,7 @@ From class -
    abstract @@ -1270,7 +1379,7 @@ From class -
    @@ -1293,7 +1402,7 @@ From class -
    @@ -1316,7 +1425,7 @@ From class -
    @@ -1339,7 +1448,7 @@ From class -
    abstract @@ -1362,7 +1471,7 @@ From class -
    abstract @@ -1385,7 +1494,7 @@ From class -
    abstract @@ -1409,7 +1518,7 @@ From class -
    @@ -1433,7 +1542,7 @@ From class -
    @@ -1457,7 +1566,7 @@ From class -
    @@ -1481,7 +1590,7 @@ From class -
    @@ -1504,7 +1613,7 @@ From class -
    @@ -1527,7 +1636,7 @@ From class -
    @@ -1550,7 +1659,7 @@ From class -
    @@ -1573,7 +1682,7 @@ From class -
    @@ -1596,7 +1705,7 @@ From class -
    @@ -1964,6 +2073,38 @@ From class + + +
    +

    + + public + + + + + Fragment + + findExistingFragment + (int row, int column) +

    +
    +
    + + + +
    +
    + + + + +

    + +
    +
    + +
    @@ -2331,6 +2472,122 @@ From class +

    Protected Methods

    + + + + + +
    +

    + + protected + + + + + void + + applyItemPosition + (Object object, Point position) +

    +
    +
    + + + +
    +
    + + + + +

    Called after getItemPosition(Object) to allow superclasses to update their + internal bookkeeping if a subclass has overridden getItemPosition(Object).

    +
    +
    Parameters
    + + + + + + + +
    object + Object representing the item passed to getItemPosition(Object).
    position + position which was returned from getItemPosition(Object). +
    +
    + +
    +
    + + + + +
    +

    + + protected + + + + + void + + removeFragment + (Fragment fragment, FragmentTransaction transaction) +

    +
    +
    + + + +
    +
    + + + + +

    + +
    +
    + + + + +
    +

    + + protected + + + + + void + + restoreFragment + (Fragment fragment, FragmentTransaction transaction) +

    +
    +
    + + + +
    +
    + + + + +

    + +
    +
    + + + @@ -2389,6 +2646,7 @@ From class + diff --git a/docs/html/reference/android/support/wearable/view/GridPageOptions.BackgroundListener.html b/docs/html/reference/android/support/wearable/view/GridPageOptions.BackgroundListener.html index a37d8f8..1e066c1 100644 --- a/docs/html/reference/android/support/wearable/view/GridPageOptions.BackgroundListener.html +++ b/docs/html/reference/android/support/wearable/view/GridPageOptions.BackgroundListener.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -501,6 +501,7 @@ type="text/css">
  • GridPagerAdapter
  • GridViewPager
  • GridViewPager.LayoutParams
  • +
  • ProgressSpinner
  • SimpleAnimatorListener
  • WatchViewStub
  • WearableFrameLayout
  • @@ -602,7 +603,7 @@ type="text/css">
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -853,6 +854,7 @@ type="text/css"> + diff --git a/docs/html/reference/android/support/wearable/view/GridPageOptions.html b/docs/html/reference/android/support/wearable/view/GridPageOptions.html index 56cfa05..8c22582 100644 --- a/docs/html/reference/android/support/wearable/view/GridPageOptions.html +++ b/docs/html/reference/android/support/wearable/view/GridPageOptions.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -501,6 +501,7 @@ type="text/css">
  • GridPagerAdapter
  • GridViewPager
  • GridViewPager.LayoutParams
  • +
  • ProgressSpinner
  • SimpleAnimatorListener
  • WatchViewStub
  • WearableFrameLayout
  • @@ -602,7 +603,7 @@ type="text/css">
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -948,6 +949,7 @@ type="text/css"> + diff --git a/docs/html/reference/android/support/wearable/view/GridPagerAdapter.html b/docs/html/reference/android/support/wearable/view/GridPagerAdapter.html index 9876a82..b157c39 100644 --- a/docs/html/reference/android/support/wearable/view/GridPagerAdapter.html +++ b/docs/html/reference/android/support/wearable/view/GridPagerAdapter.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -501,6 +501,7 @@ type="text/css">
  • GridPagerAdapter
  • GridViewPager
  • GridViewPager.LayoutParams
  • +
  • ProgressSpinner
  • SimpleAnimatorListener
  • WatchViewStub
  • WearableFrameLayout
  • @@ -600,6 +601,9 @@ Summary: + | Protected Methods + + | Inherited Methods @@ -645,7 +649,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -1369,6 +1373,39 @@ Summary: + +
    + + + + + + + + + + +
    Protected Methods
    + + + + + + void + + applyItemPosition(Object object, Point position) + +
    + Called after getItemPosition(Object) to allow superclasses to update their + internal bookkeeping if a subclass has overridden getItemPosition(Object). + + + +
    + +
    + + @@ -2742,6 +2779,58 @@ From class +

    Protected Methods

    + + + + + +
    +

    + + protected + + + + + void + + applyItemPosition + (Object object, Point position) +

    +
    +
    + + + +
    +
    + + + + +

    Called after getItemPosition(Object) to allow superclasses to update their + internal bookkeeping if a subclass has overridden getItemPosition(Object).

    +
    +
    Parameters
    + + + + + + + +
    object + Object representing the item passed to getItemPosition(Object).
    position + position which was returned from getItemPosition(Object). +
    +
    + +
    +
    + + + @@ -2800,6 +2889,7 @@ From class + diff --git a/docs/html/reference/android/support/wearable/view/GridViewPager.LayoutParams.html b/docs/html/reference/android/support/wearable/view/GridViewPager.LayoutParams.html index 9db55c9..c4d63e2 100644 --- a/docs/html/reference/android/support/wearable/view/GridViewPager.LayoutParams.html +++ b/docs/html/reference/android/support/wearable/view/GridViewPager.LayoutParams.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -501,6 +501,7 @@ type="text/css">
  • GridPagerAdapter
  • GridViewPager
  • GridViewPager.LayoutParams
  • +
  • ProgressSpinner
  • SimpleAnimatorListener
  • WatchViewStub
  • WearableFrameLayout
  • @@ -673,7 +674,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -1787,6 +1788,7 @@ From class + diff --git a/docs/html/reference/android/support/wearable/view/GridViewPager.OnAdapterChangeListener.html b/docs/html/reference/android/support/wearable/view/GridViewPager.OnAdapterChangeListener.html index 1cbec14..fcd6a3d 100644 --- a/docs/html/reference/android/support/wearable/view/GridViewPager.OnAdapterChangeListener.html +++ b/docs/html/reference/android/support/wearable/view/GridViewPager.OnAdapterChangeListener.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -501,6 +501,7 @@ type="text/css">
  • GridPagerAdapter
  • GridViewPager
  • GridViewPager.LayoutParams
  • +
  • ProgressSpinner
  • SimpleAnimatorListener
  • WatchViewStub
  • WearableFrameLayout
  • @@ -621,7 +622,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -968,6 +969,7 @@ Summary: + diff --git a/docs/html/reference/android/support/wearable/view/GridViewPager.OnPageChangeListener.html b/docs/html/reference/android/support/wearable/view/GridViewPager.OnPageChangeListener.html index fd81fbe..072f6c5 100644 --- a/docs/html/reference/android/support/wearable/view/GridViewPager.OnPageChangeListener.html +++ b/docs/html/reference/android/support/wearable/view/GridViewPager.OnPageChangeListener.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -501,6 +501,7 @@ type="text/css">
  • GridPagerAdapter
  • GridViewPager
  • GridViewPager.LayoutParams
  • +
  • ProgressSpinner
  • SimpleAnimatorListener
  • WatchViewStub
  • WearableFrameLayout
  • @@ -621,7 +622,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -1085,6 +1086,7 @@ Summary: + diff --git a/docs/html/reference/android/support/wearable/view/GridViewPager.html b/docs/html/reference/android/support/wearable/view/GridViewPager.html index b92720c..3e2179d 100644 --- a/docs/html/reference/android/support/wearable/view/GridViewPager.html +++ b/docs/html/reference/android/support/wearable/view/GridViewPager.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -501,6 +501,7 @@ type="text/css">
  • GridPagerAdapter
  • GridViewPager
  • GridViewPager.LayoutParams
  • +
  • ProgressSpinner
  • SimpleAnimatorListener
  • WatchViewStub
  • WearableFrameLayout
  • @@ -717,7 +718,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -16881,6 +16882,7 @@ From interface + diff --git a/docs/html/reference/android/support/wearable/view/SimpleAnimatorListener.html b/docs/html/reference/android/support/wearable/view/SimpleAnimatorListener.html index 454f420..9940f3b 100644 --- a/docs/html/reference/android/support/wearable/view/SimpleAnimatorListener.html +++ b/docs/html/reference/android/support/wearable/view/SimpleAnimatorListener.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -501,6 +501,7 @@ type="text/css">
  • GridPagerAdapter
  • GridViewPager
  • GridViewPager.LayoutParams
  • +
  • ProgressSpinner
  • SimpleAnimatorListener
  • WatchViewStub
  • WearableFrameLayout
  • @@ -651,7 +652,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -1525,6 +1526,7 @@ From interface + diff --git a/docs/html/reference/android/support/wearable/view/WatchViewStub.OnLayoutInflatedListener.html b/docs/html/reference/android/support/wearable/view/WatchViewStub.OnLayoutInflatedListener.html index b05ce34..9492429 100644 --- a/docs/html/reference/android/support/wearable/view/WatchViewStub.OnLayoutInflatedListener.html +++ b/docs/html/reference/android/support/wearable/view/WatchViewStub.OnLayoutInflatedListener.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -501,6 +501,7 @@ type="text/css">
  • GridPagerAdapter
  • GridViewPager
  • GridViewPager.LayoutParams
  • +
  • ProgressSpinner
  • SimpleAnimatorListener
  • WatchViewStub
  • WearableFrameLayout
  • @@ -602,7 +603,7 @@ type="text/css">
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -847,6 +848,7 @@ type="text/css"> + diff --git a/docs/html/reference/android/support/wearable/view/WatchViewStub.html b/docs/html/reference/android/support/wearable/view/WatchViewStub.html index 8fd5fee..170a165 100644 --- a/docs/html/reference/android/support/wearable/view/WatchViewStub.html +++ b/docs/html/reference/android/support/wearable/view/WatchViewStub.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -501,6 +501,7 @@ type="text/css">
  • GridPagerAdapter
  • GridViewPager
  • GridViewPager.LayoutParams
  • +
  • ProgressSpinner
  • SimpleAnimatorListener
  • WatchViewStub
  • WearableFrameLayout
  • @@ -725,7 +726,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -15465,6 +15466,7 @@ From interface + diff --git a/docs/html/reference/android/support/wearable/view/WearableFrameLayout.LayoutParams.html b/docs/html/reference/android/support/wearable/view/WearableFrameLayout.LayoutParams.html index 93f4b0d..fb54c95 100644 --- a/docs/html/reference/android/support/wearable/view/WearableFrameLayout.LayoutParams.html +++ b/docs/html/reference/android/support/wearable/view/WearableFrameLayout.LayoutParams.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -501,6 +501,7 @@ type="text/css">
  • GridPagerAdapter
  • GridViewPager
  • GridViewPager.LayoutParams
  • +
  • ProgressSpinner
  • SimpleAnimatorListener
  • WatchViewStub
  • WearableFrameLayout
  • @@ -684,7 +685,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -2322,6 +2323,7 @@ From class + diff --git a/docs/html/reference/android/support/wearable/view/WearableFrameLayout.html b/docs/html/reference/android/support/wearable/view/WearableFrameLayout.html index f2b0df7..e269ab8 100644 --- a/docs/html/reference/android/support/wearable/view/WearableFrameLayout.html +++ b/docs/html/reference/android/support/wearable/view/WearableFrameLayout.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -501,6 +501,7 @@ type="text/css">
  • GridPagerAdapter
  • GridViewPager
  • GridViewPager.LayoutParams
  • +
  • ProgressSpinner
  • SimpleAnimatorListener
  • WatchViewStub
  • WearableFrameLayout
  • @@ -714,7 +715,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -16352,6 +16353,7 @@ From interface + diff --git a/docs/html/reference/android/support/wearable/view/WearableListView.Adapter.html b/docs/html/reference/android/support/wearable/view/WearableListView.Adapter.html index 9619c5d..0686ff2 100644 --- a/docs/html/reference/android/support/wearable/view/WearableListView.Adapter.html +++ b/docs/html/reference/android/support/wearable/view/WearableListView.Adapter.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -501,6 +501,7 @@ type="text/css">
  • GridPagerAdapter
  • GridViewPager
  • GridViewPager.LayoutParams
  • +
  • ProgressSpinner
  • SimpleAnimatorListener
  • WatchViewStub
  • WearableFrameLayout
  • @@ -647,7 +648,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -1561,6 +1562,7 @@ From class + diff --git a/docs/html/reference/android/support/wearable/view/WearableListView.ClickListener.html b/docs/html/reference/android/support/wearable/view/WearableListView.ClickListener.html index 84cb188..17431c4 100644 --- a/docs/html/reference/android/support/wearable/view/WearableListView.ClickListener.html +++ b/docs/html/reference/android/support/wearable/view/WearableListView.ClickListener.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -501,6 +501,7 @@ type="text/css">
  • GridPagerAdapter
  • GridViewPager
  • GridViewPager.LayoutParams
  • +
  • ProgressSpinner
  • SimpleAnimatorListener
  • WatchViewStub
  • WearableFrameLayout
  • @@ -602,7 +603,7 @@ type="text/css">
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -919,6 +920,7 @@ type="text/css"> + diff --git a/docs/html/reference/android/support/wearable/view/WearableListView.OnCenterProximityListener.html b/docs/html/reference/android/support/wearable/view/WearableListView.OnCenterProximityListener.html index b2b9246..936a163 100644 --- a/docs/html/reference/android/support/wearable/view/WearableListView.OnCenterProximityListener.html +++ b/docs/html/reference/android/support/wearable/view/WearableListView.OnCenterProximityListener.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -501,6 +501,7 @@ type="text/css">
  • GridPagerAdapter
  • GridViewPager
  • GridViewPager.LayoutParams
  • +
  • ProgressSpinner
  • SimpleAnimatorListener
  • WatchViewStub
  • WearableFrameLayout
  • @@ -602,7 +603,7 @@ type="text/css">
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -930,6 +931,7 @@ type="text/css"> + diff --git a/docs/html/reference/android/support/wearable/view/WearableListView.OnCentralPositionChangedListener.html b/docs/html/reference/android/support/wearable/view/WearableListView.OnCentralPositionChangedListener.html index 66eeac3..c49bbcc 100644 --- a/docs/html/reference/android/support/wearable/view/WearableListView.OnCentralPositionChangedListener.html +++ b/docs/html/reference/android/support/wearable/view/WearableListView.OnCentralPositionChangedListener.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -501,6 +501,7 @@ type="text/css">
  • GridPagerAdapter
  • GridViewPager
  • GridViewPager.LayoutParams
  • +
  • ProgressSpinner
  • SimpleAnimatorListener
  • WatchViewStub
  • WearableFrameLayout
  • @@ -602,7 +603,7 @@ type="text/css">
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -861,6 +862,7 @@ type="text/css"> + diff --git a/docs/html/reference/android/support/wearable/view/WearableListView.OnScrollListener.html b/docs/html/reference/android/support/wearable/view/WearableListView.OnScrollListener.html index de2bcd7..2871600 100644 --- a/docs/html/reference/android/support/wearable/view/WearableListView.OnScrollListener.html +++ b/docs/html/reference/android/support/wearable/view/WearableListView.OnScrollListener.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -501,6 +501,7 @@ type="text/css">
  • GridPagerAdapter
  • GridViewPager
  • GridViewPager.LayoutParams
  • +
  • ProgressSpinner
  • SimpleAnimatorListener
  • WatchViewStub
  • WearableFrameLayout
  • @@ -602,7 +603,7 @@ type="text/css">
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -1065,6 +1066,7 @@ type="text/css"> + diff --git a/docs/html/reference/android/support/wearable/view/WearableListView.ViewHolder.html b/docs/html/reference/android/support/wearable/view/WearableListView.ViewHolder.html index b7953d4..270d8d8 100644 --- a/docs/html/reference/android/support/wearable/view/WearableListView.ViewHolder.html +++ b/docs/html/reference/android/support/wearable/view/WearableListView.ViewHolder.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -501,6 +501,7 @@ type="text/css">
  • GridPagerAdapter
  • GridViewPager
  • GridViewPager.LayoutParams
  • +
  • ProgressSpinner
  • SimpleAnimatorListener
  • WatchViewStub
  • WearableFrameLayout
  • @@ -652,7 +653,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -1346,6 +1347,7 @@ From class + diff --git a/docs/html/reference/android/support/wearable/view/WearableListView.html b/docs/html/reference/android/support/wearable/view/WearableListView.html index eec5c32..7fb9565 100644 --- a/docs/html/reference/android/support/wearable/view/WearableListView.html +++ b/docs/html/reference/android/support/wearable/view/WearableListView.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -501,6 +501,7 @@ type="text/css">
  • GridPagerAdapter
  • GridViewPager
  • GridViewPager.LayoutParams
  • +
  • ProgressSpinner
  • SimpleAnimatorListener
  • WatchViewStub
  • WearableFrameLayout
  • @@ -724,7 +725,7 @@ Summary:
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -3236,7 +3237,7 @@ android.view.View boolean @@ -3252,7 +3253,7 @@ android.view.View boolean @@ -3265,6 +3266,22 @@ android.view.View + boolean + + + + + + + + + + + + + + + + + + + +
    - onInterceptTouchEvent(MotionEvent event) + isAtTop()
    - onTouchEvent(MotionEvent event) + onInterceptTouchEvent(MotionEvent event)
    + onTouchEvent(MotionEvent event) + +
    + + + + + void @@ -3281,7 +3298,7 @@ android.view.View -
    @@ -3304,7 +3321,7 @@ android.view.View -
    @@ -3327,7 +3344,7 @@ android.view.View -
    @@ -3343,7 +3360,7 @@ android.view.View -
    @@ -3366,7 +3383,7 @@ android.view.View -
    @@ -3390,7 +3407,7 @@ android.view.View -
    @@ -3413,7 +3430,7 @@ android.view.View -
    @@ -3436,6 +3453,22 @@ android.view.View
    + + + + + + void + + smoothScrollToPosition(int position, RecyclerView.SmoothScroller smoothScroller) + +
    @@ -16613,6 +16646,43 @@ From interface
    + + +
    +

    + + public + + + + + boolean + + isAtTop + () +

    +
    +
    + + + +
    +
    + + + + +

    +
    +
    Returns
    +
    • true if the list is scrolled all the way to the top. +
    +
    + +
    +
    + +
    @@ -16963,6 +17033,38 @@ From interface
    + + +
    +

    + + public + + + + + void + + smoothScrollToPosition + (int position, RecyclerView.SmoothScroller smoothScroller) +

    +
    +
    + + + +
    +
    + + + + +

    + +
    +
    + + @@ -17026,6 +17128,7 @@ From interface + diff --git a/docs/html/reference/android/support/wearable/view/package-summary.html b/docs/html/reference/android/support/wearable/view/package-summary.html index 28f94db..f76e378 100644 --- a/docs/html/reference/android/support/wearable/view/package-summary.html +++ b/docs/html/reference/android/support/wearable/view/package-summary.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -502,6 +502,7 @@ type="text/css">
  • GridPagerAdapter
  • GridViewPager
  • GridViewPager.LayoutParams
  • +
  • ProgressSpinner
  • SimpleAnimatorListener
  • WatchViewStub
  • WearableFrameLayout
  • @@ -578,7 +579,7 @@ type="text/css">
    -

    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

    +
    @@ -920,6 +921,17 @@ type="text/css">
    ProgressSpinner + An indeterminate progress spinner designed for wearables which cycles through colors.  + + + +
    SimpleAnimatorListener Convenience class for listening for Animator events that implements the AnimatorListener @@ -931,7 +943,7 @@ type="text/css">
    WatchViewStub A WatchViewStub allows for the use of different sub-layouts depending on the @@ -944,7 +956,7 @@ type="text/css">
    WearableFrameLayout WearableFrameLayout works exactly like FrameLayout, except it can have overrides for a round @@ -956,7 +968,7 @@ type="text/css">
    WearableFrameLayout.LayoutParams Per-child layout information for layouts on wearable devices.  @@ -967,7 +979,7 @@ type="text/css">
    WearableListView An alternative version of ListView that is optimized for ease of use on small screen wearable @@ -979,7 +991,7 @@ type="text/css">
    WearableListView.Adapter Base class for adapters providing data for the WearableListView.  @@ -990,7 +1002,7 @@ type="text/css">
    WearableListView.ViewHolder Wrapper around items displayed in the list view.  @@ -1070,6 +1082,7 @@ type="text/css"> + diff --git a/docs/html/reference/android/support/wearable/watchface/CanvasWatchFaceService.Engine.html b/docs/html/reference/android/support/wearable/watchface/CanvasWatchFaceService.Engine.html index bbae62a..1a7aa76 100644 --- a/docs/html/reference/android/support/wearable/watchface/CanvasWatchFaceService.Engine.html +++ b/docs/html/reference/android/support/wearable/watchface/CanvasWatchFaceService.Engine.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -466,6 +466,11 @@ type="text/css">
      +
    • Annotations

      + +
    • Classes

      @@ -631,7 +636,7 @@ Summary:
      -

      Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

      +
      @@ -968,6 +973,29 @@ From class final + int + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      + getNotificationCount() + +
      + Returns the total number of notification cards in the stream. + + + +
      + +
      + + + final + + Rect @@ -984,7 +1012,7 @@ From class -
      @@ -1007,7 +1035,7 @@ From class -
      @@ -1030,7 +1058,7 @@ From class -
      @@ -1053,7 +1081,7 @@ From class -
      @@ -1069,7 +1097,7 @@ From class -
      @@ -1085,7 +1113,7 @@ From class -
      @@ -1101,7 +1129,7 @@ From class -
      @@ -1124,6 +1152,29 @@ From class +
      + + + + + + void + + onNotificationCountChanged(int count) + +
      + Called when the total number of notification cards in the stream has changed. + + + +
      + +
      @@ -1180,6 +1231,29 @@ From class void + onTapCommand(int tapType, int x, int y, long eventTime) + +
      + Called when a tap or touch related event occurs. + + + +
      + +
      + + + + + + void + onTimeTick()
      @@ -1193,7 +1267,7 @@ From class -
      @@ -1216,7 +1290,7 @@ From class -
      @@ -1239,7 +1313,7 @@ From class -
      @@ -2201,6 +2275,7 @@ From class + diff --git a/docs/html/reference/android/support/wearable/watchface/CanvasWatchFaceService.html b/docs/html/reference/android/support/wearable/watchface/CanvasWatchFaceService.html index 5dbd8ea..aee337f 100644 --- a/docs/html/reference/android/support/wearable/watchface/CanvasWatchFaceService.html +++ b/docs/html/reference/android/support/wearable/watchface/CanvasWatchFaceService.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -466,6 +466,11 @@ type="text/css">
        +
      • Annotations

        + +
      • Classes

        @@ -694,7 +699,7 @@ Summary:
        -

        Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

        +
        @@ -952,6 +957,44 @@ Summary: + + + + + + + + + + + + + + + + + + + + +
        intTAP_TYPE_TAP + Used in onTapCommaned to indicate that an "up" event on the watch face has occurred that + has not been consumed by another activity. + + + +
        intTAP_TYPE_TOUCH + Used in onTapCommand to indicate a "down" touch event on the watch face. + + + +
        intTAP_TYPE_TOUCH_CANCEL + Used in onTapCaommand to indicate that a previous TAP_TYPE_TOUCH touch event has been + canceled. + + + +
        @@ -6238,6 +6281,7 @@ From interface + diff --git a/docs/html/reference/android/support/wearable/watchface/Gles2WatchFaceService.Engine.html b/docs/html/reference/android/support/wearable/watchface/Gles2WatchFaceService.Engine.html index 7619178..aba23a6 100644 --- a/docs/html/reference/android/support/wearable/watchface/Gles2WatchFaceService.Engine.html +++ b/docs/html/reference/android/support/wearable/watchface/Gles2WatchFaceService.Engine.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -466,6 +466,11 @@ type="text/css">
          +
        • Annotations

          + +
        • Classes

          @@ -631,7 +636,7 @@ Summary:
          -

          Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

          +
          @@ -1138,6 +1143,29 @@ From class final + int + + + + + + + + + + + + + + + + + + + + + + + + + + + +
          + getNotificationCount() + +
          + Returns the total number of notification cards in the stream. + + + +
          + +
          + + + final + + Rect @@ -1154,7 +1182,7 @@ From class -
          @@ -1177,7 +1205,7 @@ From class -
          @@ -1200,7 +1228,7 @@ From class -
          @@ -1223,7 +1251,7 @@ From class -
          @@ -1239,7 +1267,7 @@ From class -
          @@ -1255,7 +1283,7 @@ From class -
          @@ -1271,7 +1299,7 @@ From class -
          @@ -1294,6 +1322,29 @@ From class +
          + + + + + + void + + onNotificationCountChanged(int count) + +
          + Called when the total number of notification cards in the stream has changed. + + + +
          + +
          @@ -1350,6 +1401,29 @@ From class void + onTapCommand(int tapType, int x, int y, long eventTime) + +
          + Called when a tap or touch related event occurs. + + + +
          + +
          + + + + + + void + onTimeTick()
          @@ -1363,7 +1437,7 @@ From class -
          @@ -1386,7 +1460,7 @@ From class -
          @@ -1409,7 +1483,7 @@ From class -
          @@ -2668,6 +2742,7 @@ From class + diff --git a/docs/html/reference/android/support/wearable/watchface/Gles2WatchFaceService.html b/docs/html/reference/android/support/wearable/watchface/Gles2WatchFaceService.html index 6371290..1dcc7dd 100644 --- a/docs/html/reference/android/support/wearable/watchface/Gles2WatchFaceService.html +++ b/docs/html/reference/android/support/wearable/watchface/Gles2WatchFaceService.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -466,6 +466,11 @@ type="text/css">
            +
          • Annotations

            + +
          • Classes

            @@ -694,7 +699,7 @@ Summary:
            -

            Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

            +
            @@ -955,6 +960,44 @@ Summary: + + + + + + + + + + + + + + + + + + + + +
            intTAP_TYPE_TAP + Used in onTapCommaned to indicate that an "up" event on the watch face has occurred that + has not been consumed by another activity. + + + +
            intTAP_TYPE_TOUCH + Used in onTapCommand to indicate a "down" touch event on the watch face. + + + +
            intTAP_TYPE_TOUCH_CANCEL + Used in onTapCaommand to indicate that a previous TAP_TYPE_TOUCH touch event has been + canceled. + + + +
            @@ -6241,6 +6284,7 @@ From interface + diff --git a/docs/html/reference/android/support/wearable/watchface/WatchFaceService.Engine.html b/docs/html/reference/android/support/wearable/watchface/WatchFaceService.Engine.html index 2326386..ad6cc2c 100644 --- a/docs/html/reference/android/support/wearable/watchface/WatchFaceService.Engine.html +++ b/docs/html/reference/android/support/wearable/watchface/WatchFaceService.Engine.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -466,6 +466,11 @@ type="text/css">
              +
            • Annotations

              + +
            • Classes

              @@ -620,7 +625,7 @@ Summary:
              -

              Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

              +
              @@ -831,6 +836,29 @@ Summary: final + int + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              + getNotificationCount() + +
              + Returns the total number of notification cards in the stream. + + + +
              + +
              + + + final + + Rect @@ -847,7 +875,7 @@ Summary: -
              @@ -870,7 +898,7 @@ Summary: -
              @@ -893,7 +921,7 @@ Summary: -
              @@ -916,7 +944,7 @@ Summary: -
              @@ -932,7 +960,7 @@ Summary: -
              @@ -948,7 +976,7 @@ Summary: -
              @@ -964,7 +992,7 @@ Summary: -
              @@ -987,6 +1015,29 @@ Summary: +
              + + + + + + void + + onNotificationCountChanged(int count) + +
              + Called when the total number of notification cards in the stream has changed. + + + +
              + +
              @@ -1043,6 +1094,29 @@ Summary: void + onTapCommand(int tapType, int x, int y, long eventTime) + +
              + Called when a tap or touch related event occurs. + + + +
              + +
              + + + + + + void + onTimeTick()
              @@ -1056,7 +1130,7 @@ Summary: -
              @@ -1079,7 +1153,7 @@ Summary: -
              @@ -1102,7 +1176,7 @@ Summary: -
              @@ -1805,6 +1879,39 @@ From class + + +
              +

              + + public + + final + + + int + + getNotificationCount + () +

              +
              +
              + + + +
              +
              + + + + +

              Returns the total number of notification cards in the stream. +

              + +
              +
              + +
              @@ -2075,6 +2182,48 @@ From class
              + + +
              +

              + + public + + + + + void + + onNotificationCountChanged + (int count) +

              +
              +
              + + + +
              +
              + + + + +

              Called when the total number of notification cards in the stream has changed.

              +
              +
              Parameters
              + + + + +
              count + total number of the notification cards in the stream +
              +
              + +
              +
              + +
              @@ -2154,6 +2303,60 @@ From class
              + + +
              +

              + + public + + + + + void + + onTapCommand + (int tapType, int x, int y, long eventTime) +

              +
              +
              + + + +
              +
              + + + + +

              Called when a tap or touch related event occurs.

              +
              +
              Parameters
              + + + + + + + + + + + + + +
              tapType + Value representing the event sent to the wallpaper.
              x + X coordinate of the event.
              y + Y coordinate of the event.
              eventTime + The time, in millis, of the event. +
              +
              + +
              +
              + +
              @@ -2369,6 +2572,7 @@ From class + diff --git a/docs/html/reference/android/support/wearable/watchface/WatchFaceService.html b/docs/html/reference/android/support/wearable/watchface/WatchFaceService.html index f566e7e..40cf0a3 100644 --- a/docs/html/reference/android/support/wearable/watchface/WatchFaceService.html +++ b/docs/html/reference/android/support/wearable/watchface/WatchFaceService.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -466,6 +466,11 @@ type="text/css">
                +
              • Annotations

                + +
              • Classes

                @@ -684,7 +689,7 @@ Summary:
                -

                Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

                +
                @@ -922,6 +927,23 @@ Summary: + + + + + + + @@ -1005,6 +1027,44 @@ Summary: + + + + + + + + + + + + + + + + + + + + +
                + + + + + @interfaceWatchFaceService.TapType +   + + + +
                intTAP_TYPE_TAP + Used in onTapCommaned to indicate that an "up" event on the watch face has occurred that + has not been consumed by another activity. + + + +
                intTAP_TYPE_TOUCH + Used in onTapCommand to indicate a "down" touch event on the watch face. + + + +
                intTAP_TYPE_TOUCH_CANCEL + Used in onTapCaommand to indicate that a previous TAP_TYPE_TOUCH touch event has been + canceled. + + + +
                @@ -6330,6 +6390,136 @@ From interface + + +
                +

                + + public + static + final + int + + TAP_TYPE_TAP +

                +
                + + + + +
                +
                + + + + +

                Used in onTapCommaned to indicate that an "up" event on the watch face has occurred that + has not been consumed by another activity. A TAP_TYPE_TOUCH will always occur first. This + event will not occur if a TAP_TYPE_TOUCH_CANCEL is sent. +

                + + +
                + Constant Value: + + + 2 + (0x00000002) + + +
                + +
                +
                + + + + + +
                +

                + + public + static + final + int + + TAP_TYPE_TOUCH +

                +
                + + + + +
                +
                + + + + +

                Used in onTapCommand to indicate a "down" touch event on the watch face. +

                + + +
                + Constant Value: + + + 0 + (0x00000000) + + +
                + +
                +
                + + + + + +
                +

                + + public + static + final + int + + TAP_TYPE_TOUCH_CANCEL +

                +
                + + + + +
                +
                + + + + +

                Used in onTapCaommand to indicate that a previous TAP_TYPE_TOUCH touch event has been + canceled. This generally happens when the watch face is touched but then a move or long + press occurs. +

                + + +
                + Constant Value: + + + 1 + (0x00000001) + + +
                + +
                +
                + + + @@ -6484,6 +6674,7 @@ From interface + diff --git a/docs/html/reference/android/support/wearable/watchface/WatchFaceStyle.Builder.html b/docs/html/reference/android/support/wearable/watchface/WatchFaceStyle.Builder.html index 956e3a8..a5401e5 100644 --- a/docs/html/reference/android/support/wearable/watchface/WatchFaceStyle.Builder.html +++ b/docs/html/reference/android/support/wearable/watchface/WatchFaceStyle.Builder.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -466,6 +466,11 @@ type="text/css">
                  +
                • Annotations

                  + +
                • Classes

                  @@ -609,7 +614,7 @@ Summary:
                  -

                  Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

                  +
                  @@ -758,6 +763,29 @@ Summary: WatchFaceStyle.Builder + + + + + + + + + + + + + + +
                  + setAcceptsTapEvents(boolean acceptsTapEvents) + +
                  + Sets whether this watchface accepts tap events. + + + +
                  + +
                  + + + + + + WatchFaceStyle.Builder + setAmbientPeekMode(int ambientPeekMode)
                  @@ -772,7 +800,7 @@ Summary: -
                  @@ -795,7 +823,7 @@ Summary: -
                  @@ -818,7 +846,7 @@ Summary: -
                  @@ -841,7 +869,7 @@ Summary: -
                  @@ -864,7 +892,7 @@ Summary: -
                  @@ -887,7 +915,7 @@ Summary: -
                  @@ -910,7 +938,7 @@ Summary: -
                  @@ -933,7 +961,7 @@ Summary: -
                  @@ -959,7 +987,7 @@ Summary: -
                  @@ -1312,6 +1340,53 @@ From class + + +
                  +

                  + + public + + + + + WatchFaceStyle.Builder + + setAcceptsTapEvents + (boolean acceptsTapEvents) +

                  +
                  +
                  + + + +
                  +
                  + + + + +

                  Sets whether this watchface accepts tap events. The default is false. +

                  + Watchfaces that set this true are indicating they are prepared to receive + TAP_TYPE_TOUCH, + TAP_TYPE_TOUCH_CANCEL, + and TAP_TYPE_TAP

                  +
                  +
                  Parameters
                  + + + + +
                  acceptsTapEvents + whether to receive touch events. +
                  +
                  + +
                  +
                  + +
                  @@ -1825,6 +1900,7 @@ From class + diff --git a/docs/html/reference/android/support/wearable/watchface/WatchFaceStyle.html b/docs/html/reference/android/support/wearable/watchface/WatchFaceStyle.html index e08608f..70c3851 100644 --- a/docs/html/reference/android/support/wearable/watchface/WatchFaceStyle.html +++ b/docs/html/reference/android/support/wearable/watchface/WatchFaceStyle.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -466,6 +466,11 @@ type="text/css">
                    +
                  • Annotations

                    + +
                  • Classes

                    @@ -632,7 +637,7 @@ Summary:
                    -

                    Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

                    +
                    @@ -1022,6 +1027,29 @@ android.os.Parcelable + boolean + + + + + + + + + + + + + + + + + + +
                    + getAcceptsTapEvents() + +
                    + Whether the watchface accepts tap events. + + + +
                    + +
                    + + + + + int @@ -1039,7 +1067,7 @@ android.os.Parcelable -
                    @@ -1062,7 +1090,7 @@ android.os.Parcelable -
                    @@ -1085,7 +1113,7 @@ android.os.Parcelable -
                    @@ -1108,7 +1136,7 @@ android.os.Parcelable -
                    @@ -1131,7 +1159,7 @@ android.os.Parcelable -
                    @@ -1154,7 +1182,7 @@ android.os.Parcelable -
                    @@ -1177,7 +1205,7 @@ android.os.Parcelable -
                    @@ -1200,7 +1228,7 @@ android.os.Parcelable -
                    @@ -1223,7 +1251,7 @@ android.os.Parcelable -
                    @@ -1247,7 +1275,7 @@ android.os.Parcelable -
                    @@ -1263,7 +1291,7 @@ android.os.Parcelable -
                    @@ -1279,7 +1307,7 @@ android.os.Parcelable -
                    @@ -1706,7 +1734,8 @@ From interface

                    When this background visibility is selected, the background of the peek card should only be - shown briefly, and only if the peek card represents an interruptive notification. + shown briefly, and only if the peek card represents an interruptive notification. This is the + default mode.

                    @@ -1749,7 +1778,7 @@ From interface

                    When this background visibility is selected, the background of the peek card should always - be shown. This is the default mode. + be shown. Note that this will obscure your watch face whenever there is a peek card showing.

                    @@ -2191,6 +2220,39 @@ From interface + + +
                    +

                    + + public + + + + + boolean + + getAcceptsTapEvents + () +

                    +
                    +
                    + + + +
                    +
                    + + + + +

                    Whether the watchface accepts tap events. The default is false. +

                    + +
                    +
                    + +
                    @@ -2705,6 +2767,7 @@ From interface + diff --git a/docs/html/reference/android/support/wearable/watchface/package-summary.html b/docs/html/reference/android/support/wearable/watchface/package-summary.html index 6853fc4..a654b13 100644 --- a/docs/html/reference/android/support/wearable/watchface/package-summary.html +++ b/docs/html/reference/android/support/wearable/watchface/package-summary.html @@ -128,7 +128,7 @@ type="text/css"> var metaTags = []; var devsite = false; - + @@ -467,6 +467,11 @@ type="text/css">
                      +
                    • Annotations

                      + +
                    • Classes

                      @@ -548,7 +553,7 @@ type="text/css">
                      -

                      Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

                      +
                      @@ -556,6 +561,27 @@ type="text/css"> +

                      Annotations

                      +
                      + + + + + + + + + + +
                      WatchFaceService.TapType +   + + + +
                      + +
                      + @@ -726,6 +752,7 @@ type="text/css"> + diff --git a/docs/html/training/training_toc.cs b/docs/html/training/training_toc.cs index 5279969..7cffdd8 100644 --- a/docs/html/training/training_toc.cs +++ b/docs/html/training/training_toc.cs @@ -989,6 +989,9 @@ include the action bar on devices running Android 2.1 or higher." Showing Information in Watch Faces
                    • + Creating Interactive Watch Faces +
                    • +
                    • Providing Configuration Activities
                    • diff --git a/docs/html/training/wearables/watch-faces/index.jd b/docs/html/training/wearables/watch-faces/index.jd index ec428c1..b544636 100644 --- a/docs/html/training/wearables/watch-faces/index.jd +++ b/docs/html/training/wearables/watch-faces/index.jd @@ -65,6 +65,9 @@ Drawing Watch Faces
                      Showing Information in Watch Faces
                      Learn how to incorporate contextual information into your watch face.
                      +
                      +Making Your Watch Face Interactive
                      +
                      Learn how to enable the user to interact with your watch face.
                      Providing Configuration Activities
                      Learn how to create watch faces with configurable parameters.
                      diff --git a/docs/html/training/wearables/watch-faces/interacting.jd b/docs/html/training/wearables/watch-faces/interacting.jd new file mode 100644 index 0000000..4f2486c --- /dev/null +++ b/docs/html/training/wearables/watch-faces/interacting.jd @@ -0,0 +1,133 @@ +page.title=Creating Interactive Watch Faces + +@jd:body + +
                      +
                      +

                      This lesson teaches you to

                      +
                        +
                      1. Construct an Interactive Watch Face
                      2. +
                      3. Handle Gestures
                      4. +
                      +

                      You should also read

                      + +

                      Related Samples

                      + +
                      +
                      + +

                      Your watch's display is more than just a pretty face: Users can interact with it. +For example, a user might tap the watch face to learn what song is currently playing, or +to see the day's agenda. Android Wear allows Android Wear watch faces to accept +the single-tap gesture at a given location on the watch face, as long as there's not another +UI element that also responds to that gesture. + +

                      This lesson teaches you how to implement an interactive watch face by first constructing the +watch face style, and then implementing gesture handling.

                      + +

                      Note: Before beginning development work on your interactive watch +face, you should be sure to read the Watch Faces for +Android Wear design guide. + +

                      Handling Tap Events

                      + +

                      When constructing an interactive watch-face style, the first thing the app must do is tell the +system that the watch face receives tap events. +The following example shows how to do this: + +

                      +setWatchFaceStyle(new WatchFaceStyle.Builder(mService)
                      +    .setAcceptsTapEvents(true)
                      +    // other style customizations
                      +    .build());
                      +
                      + +

                      When the system detects a tap on the watch face, it triggers the + +{@code WatchFaceService.Engine.onTapCommand()} method. Override this method in your +implementation of + +{@code WatchFaceService.Engine}to initiate the action you wish to perform, such +as showing a detailed step count or changing the theme of the watch face. The code snippet +in Handle Gestures shows an example of such an +implementation.

                      + +

                      Handle Gestures

                      + +

                      To provide a consistent user experience, the system +reserves gestures such as drag and long-press for system UI elements. +Therefore, the system does not send raw touch events to the watch face. Instead, the system forwards specific commands to the + +method. + +

                      The system sends the first command, + +{@code TAP_TYPE_TOUCH}, when the user initially touches the +screen. This event lets you provide visual feedback to the user on touch. Your app should not +launch a UI when this event triggers. Launching a UI prevents drag events from opening the app +launcher, settings shade, and notifications stream.

                      + +

                      Before sending the next command, the system judges whether the contact is a single tap, which is +the only gesture allowed. If the user +immediately lifts their finger, the system determines that a single tap took place, and forwards +a + +{@code TAP_TYPE_TAP} event. If the user does not immediately lift their finger, the system +forwards a + +{@code TAP_TYPE_TOUCH_CANCEL} event. Once the user has triggered a + +{@code TAP_TYPE_TOUCH_CANCEL} event, they cannot trigger a + +{@code TAP_TYPE_TAP} event until they +make a new contact with the screen.

                      + +

                      The following example shows you how to implement tap events on a watch face:

                      + + +
                      +@Override
                      +public void onTapCommand(
                      +       @TapType int tapType, int x, int y, long eventTime) {
                      +    switch (tapType) {
                      +        case WatchFaceService.TAP_TYPE_TAP:
                      +            hideTapHighlight();
                      +            if (withinTapRegion(x, y)) {
                      +                // Implement the tap action
                      +                // (e.g. show detailed step count)
                      +                onWatchFaceTap();
                      +            }
                      +            break;
                      +
                      +        case WatchFaceService.TAP_TYPE_TOUCH:
                      +            if (withinTapRegion(x, y)) {
                      +                // Provide visual feedback of touch event
                      +                startTapHighlight(x, y, eventTime);
                      +            }
                      +            break;
                      +
                      +        case WatchFaceService.TAP_TYPE_TOUCH_CANCEL:
                      +            hideTapHighlight();
                      +            break;
                      +
                      +        default:
                      +            super.onTapCommand(tapType, x, y, eventTime);
                      +            break;
                      +    }
                      +}
                      +
                      + +

                      In this example, the app determines what kind of event has taken place, +and responds accordingly. If the event is initial contact by the user's finger, +the app displays visual feedback. If the event is an immediate lifting +of the finger after contact, it performs the action on which the +user tapped. If the event is prolonged contact by the finger, the app +does nothing.

                      + + + + -- cgit v1.1