From 917a2f26b740b7763401cef3f0c8ff63b4ea19f1 Mon Sep 17 00:00:00 2001 From: Luan Nguyen Date: Fri, 1 May 2015 09:29:01 -0700 Subject: [PATCH] docs: Refresh Wearable support library reference for Diamond Change-Id: Id22e676fdda060a954e0d189c90ce11162def08b --- .../reference/android/support/wearable/R.anim.html | 1380 ++ .../android/support/wearable/R.animator.html | 1192 ++ .../reference/android/support/wearable/R.attr.html | 763 +- .../android/support/wearable/R.color.html | 499 +- .../android/support/wearable/R.dimen.html | 640 +- .../android/support/wearable/R.drawable.html | 3979 +---- .../html/reference/android/support/wearable/R.html | 93 +- .../reference/android/support/wearable/R.id.html | 437 +- .../android/support/wearable/R.interpolator.html | 1427 ++ .../android/support/wearable/R.layout.html | 78 +- .../android/support/wearable/R.string.html | 1192 ++ .../android/support/wearable/R.style.html | 497 +- .../android/support/wearable/R.styleable.html | 4054 ++++- .../wearable/activity/ConfirmationActivity.html | 773 +- .../wearable/activity/WearableActivity.html | 10572 ++++++++++++ .../support/wearable/activity/package-summary.html | 32 +- .../wearable/companion/WatchFaceCompanion.html | 20 +- .../wearable/companion/package-summary.html | 20 +- .../wearable/input/RemoteInputConstants.html | 1210 ++ .../support/wearable/input/RemoteInputIntent.html | 1555 ++ .../support/wearable/input/package-summary.html | 710 + .../wearable/media/MediaControlConstants.html | 1429 ++ .../support/wearable/media/package-summary.html | 698 + .../android/support/wearable/package-summary.html | 68 +- .../WearableCalendarContract.Attendees.html | 21 +- .../WearableCalendarContract.Instances.html | 21 +- .../WearableCalendarContract.Reminders.html | 21 +- .../provider/WearableCalendarContract.html | 20 +- .../support/wearable/provider/package-summary.html | 20 +- .../android/support/wearable/view/ActionLabel.html | 12421 ++++++++++++++ .../android/support/wearable/view/ActionPage.html | 15508 ++++++++++++++++++ .../wearable/view/BoxInsetLayout.LayoutParams.html | 26 +- .../support/wearable/view/BoxInsetLayout.html | 360 +- .../support/wearable/view/CardFragment.html | 1070 +- .../android/support/wearable/view/CardFrame.html | 588 +- .../support/wearable/view/CardScrollView.html | 440 +- .../support/wearable/view/CircledImageView.html | 6391 ++------ .../support/wearable/view/CircularButton.html | 12045 ++++++++++++++ .../support/wearable/view/CrossfadeDrawable.html | 240 +- ...nfirmationView.DelayedConfirmationListener.html | 46 +- .../wearable/view/DelayedConfirmationView.html | 6212 ++----- .../support/wearable/view/DismissOverlayView.html | 390 +- .../support/wearable/view/DotsPageIndicator.html | 528 +- .../wearable/view/FragmentGridPagerAdapter.html | 611 +- .../view/GridPageOptions.BackgroundListener.html | 36 +- .../support/wearable/view/GridPageOptions.html | 46 +- .../support/wearable/view/GridPagerAdapter.html | 727 +- .../wearable/view/GridViewPager.LayoutParams.html | 26 +- .../GridViewPager.OnAdapterChangeListener.html | 46 +- .../view/GridViewPager.OnPageChangeListener.html | 56 +- .../support/wearable/view/GridViewPager.html | 875 +- .../wearable/view/SimpleAnimatorListener.html | 46 +- .../WatchViewStub.OnLayoutInflatedListener.html | 26 +- .../support/wearable/view/WatchViewStub.html | 444 +- .../view/WearableFrameLayout.LayoutParams.html | 2381 +++ .../support/wearable/view/WearableFrameLayout.html | 16411 +++++++++++++++++++ .../wearable/view/WearableListView.Adapter.html | 52 +- .../view/WearableListView.ClickListener.html | 46 +- ...WearableListView.OnCenterProximityListener.html | 46 +- ...eListView.OnCentralPositionChangedListener.html | 920 ++ .../view/WearableListView.OnScrollListener.html | 76 +- .../wearable/view/WearableListView.ViewHolder.html | 60 +- .../support/wearable/view/WearableListView.html | 866 +- .../support/wearable/view/package-summary.html | 118 +- .../watchface/CanvasWatchFaceService.Engine.html | 198 +- .../wearable/watchface/CanvasWatchFaceService.html | 348 +- .../watchface/Gles2WatchFaceService.Engine.html | 477 +- .../wearable/watchface/Gles2WatchFaceService.html | 348 +- .../watchface/WatchFaceService.Engine.html | 208 +- .../wearable/watchface/WatchFaceService.html | 350 +- .../wearable/watchface/WatchFaceStyle.Builder.html | 200 +- .../support/wearable/watchface/WatchFaceStyle.html | 125 +- .../wearable/watchface/package-summary.html | 20 +- docs/html/reference/packages-wearable-support.html | 34 +- 74 files changed, 96670 insertions(+), 19239 deletions(-) create mode 100644 docs/html/reference/android/support/wearable/R.anim.html create mode 100644 docs/html/reference/android/support/wearable/R.animator.html create mode 100644 docs/html/reference/android/support/wearable/R.interpolator.html create mode 100644 docs/html/reference/android/support/wearable/R.string.html create mode 100644 docs/html/reference/android/support/wearable/activity/WearableActivity.html create mode 100644 docs/html/reference/android/support/wearable/input/RemoteInputConstants.html create mode 100644 docs/html/reference/android/support/wearable/input/RemoteInputIntent.html create mode 100644 docs/html/reference/android/support/wearable/input/package-summary.html create mode 100644 docs/html/reference/android/support/wearable/media/MediaControlConstants.html create mode 100644 docs/html/reference/android/support/wearable/media/package-summary.html create mode 100644 docs/html/reference/android/support/wearable/view/ActionLabel.html create mode 100644 docs/html/reference/android/support/wearable/view/ActionPage.html create mode 100644 docs/html/reference/android/support/wearable/view/CircularButton.html create mode 100644 docs/html/reference/android/support/wearable/view/WearableFrameLayout.LayoutParams.html create mode 100644 docs/html/reference/android/support/wearable/view/WearableFrameLayout.html create mode 100644 docs/html/reference/android/support/wearable/view/WearableListView.OnCentralPositionChangedListener.html diff --git a/docs/html/reference/android/support/wearable/R.anim.html b/docs/html/reference/android/support/wearable/R.anim.html new file mode 100644 index 000000000000..c32aeb861156 --- /dev/null +++ b/docs/html/reference/android/support/wearable/R.anim.html @@ -0,0 +1,1380 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +R.anim | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + +
+ + + + + + + +
+
+
+
+
+ +
+ +
+
+
Android APIs
+
+ + + + +
+
+ + + + + + +
+ +
+ + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + static + final + + class +

R.anim

+ + + + + extends Object
+ + + + + + + + + + + + +
+ +
+ +

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

+ + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳android.support.wearable.R.anim
+ + + + + + + +
+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Fields
+ public + static + + intgeneric_confirmation_generic_confirmation_animation + + + + +
+ public + static + + intgeneric_confirmation_icon_animation + + + + +
+ public + static + + intopen_on_phone_arrow_animation + + + + +
+ public + static + + intopen_on_phone_path_1_animation + + + + +
+ public + static + + intopen_on_phone_path_2_animation + + + + +
+ + + + + + + + + + + + + + + + + + + +
Public Constructors
+ + + + + + + + R.anim() + +
+ + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + java.lang.Object + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + +

Fields

+ + + + + + +
+

+ + public + static + + int + + generic_confirmation_generic_confirmation_animation +

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

+ + +
+
+ + + + + +
+

+ + public + static + + int + + generic_confirmation_icon_animation +

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

+ + +
+
+ + + + + +
+

+ + public + static + + int + + open_on_phone_arrow_animation +

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

+ + +
+
+ + + + + +
+

+ + public + static + + int + + open_on_phone_path_1_animation +

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

+ + +
+
+ + + + + +
+

+ + public + static + + int + + open_on_phone_path_2_animation +

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

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

Public Constructors

+ + + + + +
+

+ + public + + + + + + + R.anim + () +

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

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/android/support/wearable/R.animator.html b/docs/html/reference/android/support/wearable/R.animator.html new file mode 100644 index 000000000000..35a25050a935 --- /dev/null +++ b/docs/html/reference/android/support/wearable/R.animator.html @@ -0,0 +1,1192 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +R.animator | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + +
+ + + + + + + +
+
+
+
+
+ +
+ +
+
+
Android APIs
+
+ + + + +
+
+ + + + + + +
+ +
+ + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+ public + static + final + + class +

R.animator

+ + + + + extends Object
+ + + + + + + + + + + + +
+ +
+ +

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

+ + + + + + + + + + + + + + + + + +
java.lang.Object
   ↳android.support.wearable.R.animator
+ + + + + + + +
+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Fields
+ public + static + + intcircular_image_button_anim + + + + +
+ + + + + + + + + + + + + + + + + + + +
Public Constructors
+ + + + + + + + R.animator() + +
+ + + + + + + + + + + + + + + + + + + +
+ [Expand] +
Inherited Methods
+ +From class + + java.lang.Object + +
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + +

Fields

+ + + + + + +
+

+ + public + static + + int + + circular_image_button_anim +

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

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

Public Constructors

+ + + + + +
+

+ + public + + + + + + + R.animator + () +

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

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + diff --git a/docs/html/reference/android/support/wearable/R.attr.html b/docs/html/reference/android/support/wearable/R.attr.html index 33bf1b6ff677..b0a14a52814c 100644 --- a/docs/html/reference/android/support/wearable/R.attr.html +++ b/docs/html/reference/android/support/wearable/R.attr.html @@ -113,7 +113,7 @@ href="http://fonts.googleapis.com/css?family=Roboto+Condensed"> - + @@ -397,6 +397,7 @@ type="text/css">
  • Get Users
  • Engage & Retain
  • Monetize
  • +
  • Analyze
  • Tools & Reference
  • Developer Stories
  • @@ -413,19 +414,6 @@ type="text/css"> - -
    -
    -
    -
    Help Android Wear and TV developers
    - Learn more -
    -
    -
    -
    - @@ -413,19 +414,6 @@ type="text/css"> - -
    -
    -
    -
    Help Android Wear and TV developers
    - Learn more -
    -
    -
    -
    -
    @@ -413,19 +414,6 @@ type="text/css"> - -
    -
    -
    -
    Help Android Wear and TV developers
    - Learn more -
    -
    -
    -
    -
    @@ -413,19 +414,6 @@ type="text/css"> - -
    -
    -
    -
    Help Android Wear and TV developers
    - Learn more -
    -
    -
    -
    - @@ -413,19 +414,6 @@ type="text/css"> - -
    -
    -
    -
    Help Android Wear and TV developers
    - Learn more -
    -
    -
    -
    - @@ -413,19 +414,6 @@ type="text/css"> - -
    -
    -
    -
    Help Android Wear and TV developers
    - Learn more -
    -
    -
    -
    -
    @@ -413,19 +414,6 @@ type="text/css"> - -
    -
    -
    -
    Help Android Wear and TV developers
    - Learn more -
    -
    -
    -
    -
    @@ -413,19 +414,6 @@ type="text/css"> - -
    -
    -
    -
    Help Android Wear and TV developers
    - Learn more -
    -
    -
    -
    - @@ -413,19 +414,6 @@ type="text/css"> - -
    -
    -
    -
    Help Android Wear and TV developers
    - Learn more -
    -
    -
    -
    - @@ -413,19 +414,6 @@ type="text/css"> - -
    -
    -
    -
    Help Android Wear and TV developers
    - Learn more -
    -
    -
    -
    - @@ -414,19 +415,6 @@ type="text/css"> - -
    -
    -
    -
    Help Android Wear and TV developers
    - Learn more -
    -
    -
    -
    - @@ -413,19 +414,6 @@ type="text/css"> - -
    -
    -
    -
    Help Android Wear and TV developers
    - Learn more -
    -
    -
    -
    - @@ -414,19 +415,6 @@ type="text/css"> - -
    -
    -
    -
    Help Android Wear and TV developers
    - Learn more -
    -
    -
    -
    - @@ -414,19 +415,6 @@ type="text/css"> - -
    -
    -
    -
    Help Android Wear and TV developers
    - Learn more -
    -
    -
    -
    - @@ -413,19 +414,6 @@ type="text/css"> - -
    -
    -
    -
    Help Android Wear and TV developers
    - Learn more -
    -
    -
    -
    - - 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 8c8e28431464..b275ae9b1699 100644 --- a/docs/html/reference/android/support/wearable/provider/WearableCalendarContract.Instances.html +++ b/docs/html/reference/android/support/wearable/provider/WearableCalendarContract.Instances.html @@ -113,7 +113,7 @@ href="http://fonts.googleapis.com/css?family=Roboto+Condensed"> - + @@ -397,6 +397,7 @@ type="text/css">
  • Get Users
  • Engage & Retain
  • Monetize
  • +
  • Analyze
  • Tools & Reference
  • Developer Stories
  • @@ -413,19 +414,6 @@ type="text/css"> - -
    -
    -
    -
    Help Android Wear and TV developers
    - Learn more -
    -
    -
    -
    - - 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 d30c834f72bf..e2b4ec78ac04 100644 --- a/docs/html/reference/android/support/wearable/provider/WearableCalendarContract.Reminders.html +++ b/docs/html/reference/android/support/wearable/provider/WearableCalendarContract.Reminders.html @@ -113,7 +113,7 @@ href="http://fonts.googleapis.com/css?family=Roboto+Condensed"> - + @@ -397,6 +397,7 @@ type="text/css">
  • Get Users
  • Engage & Retain
  • Monetize
  • +
  • Analyze
  • Tools & Reference
  • Developer Stories
  • @@ -413,19 +414,6 @@ type="text/css"> - -
    -
    -
    -
    Help Android Wear and TV developers
    - Learn more -
    -
    -
    -
    - - diff --git a/docs/html/reference/android/support/wearable/provider/WearableCalendarContract.html b/docs/html/reference/android/support/wearable/provider/WearableCalendarContract.html index f78ac77d2cd2..a04797587748 100644 --- a/docs/html/reference/android/support/wearable/provider/WearableCalendarContract.html +++ b/docs/html/reference/android/support/wearable/provider/WearableCalendarContract.html @@ -113,7 +113,7 @@ href="http://fonts.googleapis.com/css?family=Roboto+Condensed"> - + @@ -397,6 +397,7 @@ type="text/css">
  • Get Users
  • Engage & Retain
  • Monetize
  • +
  • Analyze
  • Tools & Reference
  • Developer Stories
  • @@ -413,19 +414,6 @@ type="text/css"> - -
    -
    -
    -
    Help Android Wear and TV developers
    - Learn more -
    -
    -
    -
    - @@ -414,19 +415,6 @@ type="text/css"> - -
    -
    -
    -
    Help Android Wear and TV developers
    - Learn more -
    -
    -
    -
    - @@ -413,19 +414,6 @@ type="text/css"> - -
    -
    -
    -
    Help Android Wear and TV developers
    - Learn more -
    -
    -
    -
    -
  • Classes

    @@ -413,19 +414,6 @@ type="text/css"> - -
    -
    -
    -
    Help Android Wear and TV developers
    - Learn more -
    -
    -
    -
    -
  • Classes

      +
    • ActionLabel
    • +
    • ActionPage
    • BoxInsetLayout
    • BoxInsetLayout.LayoutParams
    • CardFragment
    • CardFrame
    • CardScrollView
    • CircledImageView
    • +
    • CircularButton
    • CrossfadeDrawable
    • DelayedConfirmationView
    • DismissOverlayView
    • @@ -575,6 +571,8 @@ type="text/css">
    • GridViewPager.LayoutParams
    • SimpleAnimatorListener
    • WatchViewStub
    • +
    • WearableFrameLayout
    • +
    • WearableFrameLayout.LayoutParams
    • WearableListView
    • WearableListView.Adapter
    • WearableListView.ViewHolder
    • @@ -2945,13 +2943,13 @@ android.view.View
      isRound() -
      - determine screen shape - +
      + determine screen shape + -
      - +
      + @@ -4107,7 +4105,7 @@ From class void - dispatchFreezeSelfOnly(SparseArray<Parcelable> arg0) + dispatchDrawableHotspotChanged(float arg0, float arg1) @@ -4120,10 +4118,10 @@ From class - boolean + void - dispatchGenericFocusedEvent(MotionEvent arg0) + dispatchFreezeSelfOnly(SparseArray<Parcelable> arg0) @@ -4139,7 +4137,7 @@ From class boolean - dispatchGenericPointerEvent(MotionEvent arg0) + dispatchGenericFocusedEvent(MotionEvent arg0) @@ -4155,7 +4153,7 @@ From class boolean - dispatchHoverEvent(MotionEvent arg0) + dispatchGenericPointerEvent(MotionEvent arg0) @@ -4171,7 +4169,7 @@ From class boolean - dispatchKeyEvent(KeyEvent arg0) + dispatchHoverEvent(MotionEvent arg0) @@ -4187,7 +4185,7 @@ From class boolean - dispatchKeyEventPreIme(KeyEvent arg0) + dispatchKeyEvent(KeyEvent arg0) @@ -4203,7 +4201,7 @@ From class boolean - dispatchKeyShortcutEvent(KeyEvent arg0) + dispatchKeyEventPreIme(KeyEvent arg0) @@ -4216,10 +4214,10 @@ From class - void + boolean - dispatchRestoreInstanceState(SparseArray<Parcelable> arg0) + dispatchKeyShortcutEvent(KeyEvent arg0) @@ -4235,7 +4233,7 @@ From class void - dispatchSaveInstanceState(SparseArray<Parcelable> arg0) + dispatchRestoreInstanceState(SparseArray<Parcelable> arg0) @@ -4251,7 +4249,7 @@ From class void - dispatchSetActivated(boolean arg0) + dispatchSaveInstanceState(SparseArray<Parcelable> arg0) @@ -4267,7 +4265,7 @@ From class void - dispatchSetPressed(boolean arg0) + dispatchSetActivated(boolean arg0) @@ -4283,7 +4281,7 @@ From class void - dispatchSetSelected(boolean arg0) + dispatchSetPressed(boolean arg0) @@ -4299,7 +4297,7 @@ From class void - dispatchSystemUiVisibilityChanged(int arg0) + dispatchSetSelected(boolean arg0) @@ -4315,7 +4313,7 @@ From class void - dispatchThawSelfOnly(SparseArray<Parcelable> arg0) + dispatchSystemUiVisibilityChanged(int arg0) @@ -4328,10 +4326,10 @@ From class - boolean + void - dispatchTouchEvent(MotionEvent arg0) + dispatchThawSelfOnly(SparseArray<Parcelable> arg0) @@ -4347,7 +4345,7 @@ From class boolean - dispatchTrackballEvent(MotionEvent arg0) + dispatchTouchEvent(MotionEvent arg0) @@ -4363,7 +4361,7 @@ From class boolean - dispatchUnhandledMove(View arg0, int arg1) + dispatchTrackballEvent(MotionEvent arg0) @@ -4376,10 +4374,10 @@ From class - void + boolean - dispatchVisibilityChanged(View arg0, int arg1) + dispatchUnhandledMove(View arg0, int arg1) @@ -4395,7 +4393,7 @@ From class void - dispatchWindowFocusChanged(boolean arg0) + dispatchVisibilityChanged(View arg0, int arg1) @@ -4411,7 +4409,7 @@ From class void - dispatchWindowSystemUiVisiblityChanged(int arg0) + dispatchWindowFocusChanged(boolean arg0) @@ -4427,7 +4425,7 @@ From class void - dispatchWindowVisibilityChanged(int arg0) + dispatchWindowSystemUiVisiblityChanged(int arg0) @@ -4440,10 +4438,10 @@ From class - boolean + void - drawChild(Canvas arg0, View arg1, long arg2) + dispatchWindowVisibilityChanged(int arg0) @@ -4456,10 +4454,10 @@ From class - void + boolean - drawableHotspotChanged(float arg0, float arg1) + drawChild(Canvas arg0, View arg1, long arg2) @@ -5400,6 +5398,22 @@ From class + boolean + + + onNestedPrePerformAccessibilityAction(View arg0, int arg1, Bundle arg2) + + + + + + + + + + + + void @@ -5409,7 +5423,7 @@ From class - + @@ -5425,7 +5439,7 @@ From class - + @@ -5441,7 +5455,7 @@ From class - + @@ -5457,7 +5471,7 @@ From class - + @@ -5473,7 +5487,7 @@ From class - + @@ -5489,7 +5503,7 @@ From class - + @@ -5505,7 +5519,7 @@ From class - + @@ -5521,7 +5535,7 @@ From class - + @@ -5537,7 +5551,7 @@ From class - + @@ -5553,7 +5567,7 @@ From class - + @@ -5569,7 +5583,7 @@ From class - + @@ -5585,7 +5599,7 @@ From class - + @@ -5601,7 +5615,7 @@ From class - + @@ -5617,7 +5631,7 @@ From class - + @@ -5633,7 +5647,7 @@ From class - + @@ -5649,7 +5663,7 @@ From class - + @@ -5665,7 +5679,7 @@ From class - + @@ -5681,7 +5695,7 @@ From class - + @@ -5697,7 +5711,7 @@ From class - + @@ -5713,7 +5727,7 @@ From class - + @@ -5729,7 +5743,7 @@ From class - + @@ -5745,7 +5759,7 @@ From class - + @@ -5761,7 +5775,7 @@ From class - + @@ -5777,7 +5791,7 @@ From class - + @@ -5793,7 +5807,7 @@ From class - + @@ -5809,7 +5823,7 @@ From class - + @@ -5825,7 +5839,7 @@ From class - + @@ -5841,7 +5855,7 @@ From class - + @@ -5857,7 +5871,7 @@ From class - + @@ -5873,7 +5887,7 @@ From class - + @@ -5889,7 +5903,7 @@ From class - + @@ -5905,7 +5919,7 @@ From class - + @@ -5921,7 +5935,7 @@ From class - + @@ -5937,7 +5951,7 @@ From class - + @@ -5953,7 +5967,7 @@ From class - + @@ -5969,7 +5983,7 @@ From class - + @@ -5985,7 +5999,7 @@ From class - + @@ -6001,7 +6015,7 @@ From class - + @@ -6017,7 +6031,7 @@ From class - + @@ -6033,7 +6047,7 @@ From class - + @@ -6049,7 +6063,7 @@ From class - + @@ -6065,7 +6079,7 @@ From class - + @@ -6081,7 +6095,7 @@ From class - + @@ -6097,7 +6111,7 @@ From class - + @@ -6113,7 +6127,7 @@ From class - + @@ -6129,7 +6143,7 @@ From class - + @@ -6145,7 +6159,7 @@ From class - + @@ -6882,6 +6896,22 @@ From class + void + + + dispatchDrawableHotspotChanged(float arg0, float arg1) + + + + + + + + + + + + boolean @@ -6891,7 +6921,7 @@ From class - + @@ -6907,7 +6937,7 @@ From class - + @@ -6923,7 +6953,7 @@ From class - + @@ -6939,7 +6969,7 @@ From class - + @@ -6955,7 +6985,7 @@ From class - + @@ -6971,7 +7001,7 @@ From class - + @@ -6987,7 +7017,7 @@ From class - + @@ -7003,7 +7033,7 @@ From class - + @@ -7019,6 +7049,22 @@ From class + + + + + + + + boolean + + + dispatchNestedPrePerformAccessibilityAction(int arg0, Bundle arg1) + + + + + @@ -7490,6 +7536,38 @@ From class + int + + + getAccessibilityTraversalAfter() + + + + + + + + + + + + + int + + + getAccessibilityTraversalBefore() + + + + + + + + + + + + float @@ -11909,6 +11987,38 @@ From class void + setAccessibilityTraversalAfter(int arg0) + + + + + + + + + + + + + void + + + setAccessibilityTraversalBefore(int arg0) + + + + + + + + + + + + + void + + setActivated(boolean arg0) @@ -14438,6 +14548,22 @@ From interface + boolean + + + onNestedPrePerformAccessibilityAction(View arg0, int arg1, Bundle arg2) + + + + + + + + abstract + + + + void @@ -14447,7 +14573,7 @@ From interface - + abstract @@ -14463,7 +14589,7 @@ From interface - + abstract @@ -14479,7 +14605,7 @@ From interface - + abstract @@ -14495,7 +14621,7 @@ From interface - + abstract @@ -14511,7 +14637,7 @@ From interface - + abstract @@ -14527,7 +14653,7 @@ From interface - + abstract @@ -14543,7 +14669,7 @@ From interface - + abstract @@ -14559,7 +14685,7 @@ From interface - + abstract @@ -14575,7 +14701,7 @@ From interface - + abstract @@ -14591,7 +14717,7 @@ From interface - + abstract @@ -14607,7 +14733,7 @@ From interface - + abstract @@ -14623,7 +14749,7 @@ From interface - + abstract @@ -14639,7 +14765,7 @@ From interface - + abstract @@ -14655,7 +14781,7 @@ From interface - + abstract diff --git a/docs/html/reference/android/support/wearable/view/CardFragment.html b/docs/html/reference/android/support/wearable/view/CardFragment.html index b9bf564fa2b5..5bfa95f4c7e1 100644 --- a/docs/html/reference/android/support/wearable/view/CardFragment.html +++ b/docs/html/reference/android/support/wearable/view/CardFragment.html @@ -113,7 +113,7 @@ href="http://fonts.googleapis.com/css?family=Roboto+Condensed"> - + @@ -397,6 +397,7 @@ type="text/css">
    • Get Users
    • Engage & Retain
    • Monetize
    • +
    • Analyze
    • Tools & Reference
    • Developer Stories
    @@ -413,19 +414,6 @@ type="text/css"> - -
    -
    -
    -
    Help Android Wear and TV developers
    - Learn more -
    -
    -
    -
    -
  • Classes

      +
    • ActionLabel
    • +
    • ActionPage
    • BoxInsetLayout
    • BoxInsetLayout.LayoutParams
    • CardFragment
    • CardFrame
    • CardScrollView
    • CircledImageView
    • +
    • CircularButton
    • CrossfadeDrawable
    • DelayedConfirmationView
    • DismissOverlayView
    • @@ -575,6 +571,8 @@ type="text/css">
    • GridViewPager.LayoutParams
    • SimpleAnimatorListener
    • WatchViewStub
    • +
    • WearableFrameLayout
    • +
    • WearableFrameLayout.LayoutParams
    • WearableListView
    • WearableListView.Adapter
    • WearableListView.ViewHolder
    • @@ -700,9 +698,6 @@ Summary: - | Protected Methods - - | Inherited Methods @@ -801,13 +796,13 @@ Summary: + - @@ -1092,13 +1087,13 @@ android.content.ComponentCallbacks2
      create(CharSequence title, CharSequence description) -
      - Construct a new CardFragment using the default content layout. - +
      + Construct a new CardFragment using the default content layout. + -
      - +
      + @@ -1115,13 +1110,13 @@ android.content.ComponentCallbacks2 create(CharSequence title, CharSequence text, int iconRes) -
      - Construct a new CardFragment using the default content layout, including and icon. - +
      + Construct a new CardFragment using the default content layout, including and icon. + -
      - +
      + @@ -1133,10 +1128,17 @@ android.content.ComponentCallbacks2 - void + Rect - onActivityCreated(Bundle savedInstanceState) + getContentPadding() + +
      + Gets the padding between the inside card edge and the card content. + + + +
      @@ -1146,13 +1148,20 @@ android.content.ComponentCallbacks2 - final - View + + int - onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) + getContentPaddingBottom() + +
      + Gets the padding between the inside card's bottom edge and the card content. + + + +
      @@ -1165,10 +1174,17 @@ android.content.ComponentCallbacks2 - void + int - onDestroy() + getContentPaddingLeft() + +
      + Gets the padding between the inside card's left edge and the card content. + + + +
      @@ -1181,18 +1197,18 @@ android.content.ComponentCallbacks2 - void + int - scrollToBottom() + getContentPaddingRight() -
      - Sets the card scroll position as far down as possible so the bottom edge is visible. - +
      + Gets the padding between the inside card's right edge and the card content. + -
      - +
      + @@ -1204,18 +1220,18 @@ android.content.ComponentCallbacks2 - void + int - scrollToTop() + getContentPaddingTop() -
      - Sets the card scroll position as far up as possible so the top edge is visible. - +
      + Gets the padding between the inside card's top edge and the card content. + -
      - +
      + @@ -1230,16 +1246,8 @@ android.content.ComponentCallbacks2 void - setCardGravity(int gravity) + onActivityCreated(Bundle savedInstanceState) -
      - Assigns vertical gravity to the card, which determines where it should float when the card - and it's content are shorter than the page. - - - -
      - @@ -1251,18 +1259,18 @@ android.content.ComponentCallbacks2 - void + View - setCardMarginBottom(int bottom) + onCreateContentView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) -
      - Sets the additional margin between the bottom edge of the card shadow, and the parent view. - +
      + Called to have subclasses instantiate their layout which is inserted within the card. + -
      - +
      + @@ -1271,21 +1279,14 @@ android.content.ComponentCallbacks2 + final - - void + View - setCardMarginLeft(int left) + onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) -
      - Sets the additional margin between the left edge of the card shadow, and the parent view. - - - -
      - @@ -1300,15 +1301,8 @@ android.content.ComponentCallbacks2 void - setCardMarginRight(int right) + onDestroy() -
      - Sets the additional margin between the right edge of the card shadow, and the parent view. - - - -
      - @@ -1323,15 +1317,15 @@ android.content.ComponentCallbacks2 void - setCardMarginTop(int top) + scrollToBottom() -
      - Sets the additional margin between the top edge of the card shadow, and the parent view. - +
      + Sets the card scroll position as far down as possible so the bottom edge is visible. + -
      - +
      + @@ -1346,15 +1340,15 @@ android.content.ComponentCallbacks2 void - setCardMargins(int left, int top, int right, int bottom) + scrollToTop() -
      - Sets the additional margin between the card shadow edge and the parent view. - +
      + Sets the card scroll position as far up as possible so the top edge is visible. + -
      - +
      + @@ -1369,15 +1363,16 @@ android.content.ComponentCallbacks2 void - setContentPadding(int left, int top, int right, int bottom) + setCardGravity(int gravity) -
      - Sets padding between the inside card edge and the card content. - +
      + Assigns vertical gravity to the card, which determines where it should float when the card + and it's content are shorter than the page. + -
      - +
      + @@ -1392,15 +1387,15 @@ android.content.ComponentCallbacks2 void - setExpansionDirection(int direction) + setCardMarginBottom(int bottom) -
      - Adjusts which direction the card height will expand. - +
      + Sets the additional margin between the bottom edge of the card shadow, and the parent view. + -
      - +
      + @@ -1415,15 +1410,15 @@ android.content.ComponentCallbacks2 void - setExpansionEnabled(boolean enabled) + setCardMarginLeft(int left) -
      - Enables support contents which maybe be larger than the card's container. - +
      + Sets the additional margin between the left edge of the card shadow, and the parent view. + -
      - +
      + @@ -1438,84 +1433,41 @@ android.content.ComponentCallbacks2 void - setExpansionFactor(float factor) + setCardMarginRight(int right) -
      - Sets the allowed maximum height of the card as a multiple of the parent height. - +
      + Sets the additional margin between the right edge of the card shadow, and the parent view. + -
      - +
      + - - - - - - - - - - - - + - -
      Protected Methods
      - View + void - onCreateContentView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) + setCardMarginTop(int top) -
      - Called to have subclasses instantiate their layout which is inserted within the card. - +
      + Sets the additional margin between the top edge of the card shadow, and the parent view. + -
      - +
      +
      - - - - - - - - - - - @@ -2991,10 +2739,10 @@ android.view.View - float + int @@ -3007,10 +2755,10 @@ android.view.View - void + Drawable @@ -3023,18 +2771,11 @@ android.view.View - void + float @@ -3049,7 +2790,7 @@ android.view.View void @@ -3065,10 +2806,49 @@ android.view.View void - +
      + Set the border around the circle. + + + +
      + + + + + + + + + + + + + + + @@ -3129,7 +2909,7 @@ android.view.View void @@ -3145,7 +2925,7 @@ android.view.View void @@ -3161,7 +2941,7 @@ android.view.View void @@ -3177,7 +2957,7 @@ android.view.View void @@ -3193,20 +2973,36 @@ android.view.View void + + + + + + - + @@ -3282,12 +3078,44 @@ android.view.View void + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      - [Expand] -
      Inherited Methods
      - -From class - - android.app.Fragment - -
      - -
      - getDefaultCircleColor() + getColorChangeAnimationDuration()
      - getInitialCircleRadius() + getDefaultCircleColor()
      - setCircleBorderColor(int circleBorderColor) + getImageDrawable()
      - setCircleBorderWidth(float circleBorderWidth) + getInitialCircleRadius() -
      - Set the border around the circle. - - - -
      -
      - setCircleColor(int circleColor) + setCircleBorderColor(int circleBorderColor)
      - setCircleColorStateList(ColorStateList circleColor) + setCircleBorderWidth(float circleBorderWidth) -
      + + + + + + void + + setCircleColor(int circleColor) + +
      + + + + + + void + + setCircleColorStateList(ColorStateList circleColor) + +
      - setImageDrawable(Drawable drawable) + setColorChangeAnimationDuration(long mColorChangeAnimationDurationMs)
      - setImageResource(int resId) + setImageDrawable(Drawable drawable)
      - setPressed(boolean pressed) + setImageResource(int resId)
      - setProgress(float progress) + setPressed(boolean pressed)
      + setProgress(float progress) + +
      + + + + + + void + setShadowVisibility(float shadowVisibility) -
      - Set how much of the shadow should be shown. - +
      + Set how much of the shadow should be shown. + -
      - +
      +
      @@ -3218,13 +3014,13 @@ android.view.View showIndeterminateProgress(boolean show) -
      - Show the circle border as an indeterminate progress spinner. - +
      + Show the circle border as an indeterminate progress spinner. + -
      - +
      +
      + onLayout(boolean changed, int left, int top, int right, int bottom) + +
      + + + + + + void + onMeasure(int widthMeasureSpec, int heightMeasureSpec)
      + + + + + + boolean + + onSetAlpha(int alpha) + +
      @@ -3318,19 +3146,19 @@ android.view.View
      - From class - android.widget.FrameLayout + android.view.View -
      -
      + - -
      - -From class - - android.view.ViewGroup - -
      - - -
      -
      - -From class - - android.view.View - -
      - - +
      +
      - - - - - - void - - onLayout(boolean arg0, int arg1, int arg2, int arg3, int arg4) - -
      - - - - - - void - - onMeasure(int arg0, int arg1) - -
      + +From class + java.lang.Object - -
      - - - - - - void - - onOverScrolled(int arg0, int arg1, boolean arg2, boolean arg3) - -
      - - - - - - void - - onPopulateAccessibilityEvent(AccessibilityEvent arg0) - -
      - - - - - - void - - onRestoreInstanceState(Parcelable arg0) - -
      - - - - - - void - - onRtlPropertiesChanged(int arg0) - -
      - - - - - - Parcelable - - onSaveInstanceState() - -
      - - - - - - void - - onScreenStateChanged(int arg0) - -
      - - - - - - void - - onScrollChanged(int arg0, int arg1, int arg2, int arg3) - -
      - - - - - - boolean - - onSetAlpha(int arg0) - -
      - - - - - - void - - onSizeChanged(int arg0, int arg1, int arg2, int arg3) - -
      - - - - - - void - - onStartTemporaryDetach() - -
      - - - - - - boolean - - onTouchEvent(MotionEvent arg0) - -
      - - - - - - boolean - - onTrackballEvent(MotionEvent arg0) - -
      - - - - - - void - - onVisibilityChanged(View arg0, int arg1) - -
      - - - - - - void - - onWindowFocusChanged(boolean arg0) - -
      - - - - - - void - - onWindowSystemUiVisibilityChanged(int arg0) - -
      - - - - - - void - - onWindowVisibilityChanged(int arg0) - -
      - - - - - - boolean - - overScrollBy(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, boolean arg8) - -
      - - - - - - boolean - - performAccessibilityAction(int arg0, Bundle arg1) - -
      - - - - - - boolean - - performClick() - -
      - - - - - - boolean - - performHapticFeedback(int arg0) - -
      - - - - - - boolean - - performHapticFeedback(int arg0, int arg1) - -
      - - - - - - boolean - - performLongClick() - -
      - - - - - - void - - playSoundEffect(int arg0) - -
      - - - - - - boolean - - post(Runnable arg0) - -
      - - - - - - boolean - - postDelayed(Runnable arg0, long arg1) - -
      - - - - - - void - - postInvalidate(int arg0, int arg1, int arg2, int arg3) - -
      - - - - - - void - - postInvalidate() - -
      - - - - - - void - - postInvalidateDelayed(long arg0, int arg1, int arg2, int arg3, int arg4) - -
      - - - - - - void - - postInvalidateDelayed(long arg0) - -
      - - - - - - void - - postInvalidateOnAnimation(int arg0, int arg1, int arg2, int arg3) - -
      - - - - - - void - - postInvalidateOnAnimation() - -
      - - - - - - void - - postOnAnimation(Runnable arg0) - -
      - - - - - - void - - postOnAnimationDelayed(Runnable arg0, long arg1) - -
      - - - - - - void - - refreshDrawableState() - -
      - - - - - - boolean - - removeCallbacks(Runnable arg0) - -
      - - - - - - void - - removeOnAttachStateChangeListener(View.OnAttachStateChangeListener arg0) - -
      - - - - - - void - - removeOnLayoutChangeListener(View.OnLayoutChangeListener arg0) - -
      - - - - - - void - - requestApplyInsets() - -
      - - - - - - void - - requestFitSystemWindows() - -
      - - - - - - boolean - - requestFocus(int arg0, Rect arg1) - -
      - - - final - - - boolean - - requestFocus(int arg0) - -
      - - - final - - - boolean - - requestFocus() - -
      - - - final - - - boolean - - requestFocusFromTouch() - -
      - - - - - - void - - requestLayout() - -
      - - - - - - boolean - - requestRectangleOnScreen(Rect arg0) - -
      - - - - - - boolean - - requestRectangleOnScreen(Rect arg0, boolean arg1) - -
      - - - final - - - void - - requestUnbufferedDispatch(MotionEvent arg0) - -
      - - - - static - - int - - resolveSize(int arg0, int arg1) - -
      - - - - static - - int - - resolveSizeAndState(int arg0, int arg1, int arg2) - -
      - - - - - - void - - restoreHierarchyState(SparseArray<Parcelable> arg0) - -
      - - - - - - void - - saveHierarchyState(SparseArray<Parcelable> arg0) - -
      - - - - - - void - - scheduleDrawable(Drawable arg0, Runnable arg1, long arg2) - -
      - - - - - - void - - scrollBy(int arg0, int arg1) - -
      - - - - - - void - - scrollTo(int arg0, int arg1) - -
      - - - - - - void - - sendAccessibilityEvent(int arg0) - -
      - - - - - - void - - sendAccessibilityEventUnchecked(AccessibilityEvent arg0) - -
      - - - - - - void - - setAccessibilityDelegate(View.AccessibilityDelegate arg0) - -
      - - - - - - void - - setAccessibilityLiveRegion(int arg0) - -
      - - - - - - void - - setActivated(boolean arg0) - -
      - - - - - - void - - setAlpha(float arg0) - -
      - - - - - - void - - setAnimation(Animation arg0) - -
      - - - - - - void - - setBackground(Drawable arg0) - -
      - - - - - - void - - setBackgroundColor(int arg0) - -
      - - - - - - void - - setBackgroundDrawable(Drawable arg0) - -
      - - - - - - void - - setBackgroundResource(int arg0) - -
      - - - - - - void - - setBackgroundTintList(ColorStateList arg0) - -
      - - - - - - void - - setBackgroundTintMode(PorterDuff.Mode arg0) - -
      - - - final - - - void - - setBottom(int arg0) - -
      - - - - - - void - - setCameraDistance(float arg0) - -
      - - - - - - void - - setClickable(boolean arg0) - -
      - - - - - - void - - setClipBounds(Rect arg0) - -
      - - - - - - void - - setClipToOutline(boolean arg0) - -
      - - - - - - void - - setContentDescription(CharSequence arg0) - -
      - - - - - - void - - setDrawingCacheBackgroundColor(int arg0) - -
      - - - - - - void - - setDrawingCacheEnabled(boolean arg0) - -
      - - - - - - void - - setDrawingCacheQuality(int arg0) - -
      - - - - - - void - - setDuplicateParentStateEnabled(boolean arg0) - -
      - - - - - - void - - setElevation(float arg0) - -
      - - - - - - void - - setEnabled(boolean arg0) - -
      - - - - - - void - - setFadingEdgeLength(int arg0) - -
      - - - - - - void - - setFilterTouchesWhenObscured(boolean arg0) - -
      - - - - - - void - - setFitsSystemWindows(boolean arg0) - -
      - - - - - - void - - setFocusable(boolean arg0) - -
      - - - - - - void - - setFocusableInTouchMode(boolean arg0) - -
      - - - - - - void - - setHapticFeedbackEnabled(boolean arg0) - -
      - - - - - - void - - setHasTransientState(boolean arg0) - -
      - - - - - - void - - setHorizontalFadingEdgeEnabled(boolean arg0) - -
      - - - - - - void - - setHorizontalScrollBarEnabled(boolean arg0) - -
      - - - - - - void - - setHovered(boolean arg0) - -
      - - - - - - void - - setId(int arg0) - -
      - - - - - - void - - setImportantForAccessibility(int arg0) - -
      - - - - - - void - - setKeepScreenOn(boolean arg0) - -
      - - - - - - void - - setLabelFor(int arg0) - -
      - - - - - - void - - setLayerPaint(Paint arg0) - -
      - - - - - - void - - setLayerType(int arg0, Paint arg1) - -
      - - - - - - void - - setLayoutDirection(int arg0) - -
      - - - - - - void - - setLayoutParams(ViewGroup.LayoutParams arg0) - -
      - - - final - - - void - - setLeft(int arg0) - -
      - - - - - - void - - setLongClickable(boolean arg0) - -
      - - - final - - - void - - setMeasuredDimension(int arg0, int arg1) - -
      - - - - - - void - - setMinimumHeight(int arg0) - -
      - - - - - - void - - setMinimumWidth(int arg0) - -
      - - - - - - void - - setNestedScrollingEnabled(boolean arg0) - -
      - - - - - - void - - setNextFocusDownId(int arg0) - -
      - - - - - - void - - setNextFocusForwardId(int arg0) - -
      - - - - - - void - - setNextFocusLeftId(int arg0) - -
      - - - - - - void - - setNextFocusRightId(int arg0) - -
      - - - - - - void - - setNextFocusUpId(int arg0) - -
      - - - - - - void - - setOnApplyWindowInsetsListener(View.OnApplyWindowInsetsListener arg0) - -
      - - - - - - void - - setOnClickListener(View.OnClickListener arg0) - -
      - - - - - - void - - setOnCreateContextMenuListener(View.OnCreateContextMenuListener arg0) - -
      - - - - - - void - - setOnDragListener(View.OnDragListener arg0) - -
      - - - - - - void - - setOnFocusChangeListener(View.OnFocusChangeListener arg0) - -
      - - - - - - void - - setOnGenericMotionListener(View.OnGenericMotionListener arg0) - -
      - - - - - - void - - setOnHoverListener(View.OnHoverListener arg0) - -
      - - - - - - void - - setOnKeyListener(View.OnKeyListener arg0) - -
      - - - - - - void - - setOnLongClickListener(View.OnLongClickListener arg0) - -
      - - - - - - void - - setOnSystemUiVisibilityChangeListener(View.OnSystemUiVisibilityChangeListener arg0) - -
      - - - - - - void - - setOnTouchListener(View.OnTouchListener arg0) - -
      - - - - - - void - - setOutlineProvider(ViewOutlineProvider arg0) - -
      - - - - - - void - - setOverScrollMode(int arg0) - -
      - - - - - - void - - setPadding(int arg0, int arg1, int arg2, int arg3) - -
      - - - - - - void - - setPaddingRelative(int arg0, int arg1, int arg2, int arg3) - -
      - - - - - - void - - setPivotX(float arg0) - -
      - - - - - - void - - setPivotY(float arg0) - -
      - - - - - - void - - setPressed(boolean arg0) - -
      - - - final - - - void - - setRight(int arg0) - -
      - - - - - - void - - setRotation(float arg0) - -
      - - - - - - void - - setRotationX(float arg0) - -
      - - - - - - void - - setRotationY(float arg0) - -
      - - - - - - void - - setSaveEnabled(boolean arg0) - -
      - - - - - - void - - setSaveFromParentEnabled(boolean arg0) - -
      - - - - - - void - - setScaleX(float arg0) - -
      - - - - - - void - - setScaleY(float arg0) - -
      - - - - - - void - - setScrollBarDefaultDelayBeforeFade(int arg0) - -
      - - - - - - void - - setScrollBarFadeDuration(int arg0) - -
      - - - - - - void - - setScrollBarSize(int arg0) - -
      - - - - - - void - - setScrollBarStyle(int arg0) - -
      - - - - - - void - - setScrollContainer(boolean arg0) - -
      - - - - - - void - - setScrollX(int arg0) - -
      - - - - - - void - - setScrollY(int arg0) - -
      - - - - - - void - - setScrollbarFadingEnabled(boolean arg0) - -
      - - - - - - void - - setSelected(boolean arg0) - -
      - - - - - - void - - setSoundEffectsEnabled(boolean arg0) - -
      - - - - - - void - - setStateListAnimator(StateListAnimator arg0) - -
      - - - - - - void - - setSystemUiVisibility(int arg0) - -
      - - - - - - void - - setTag(int arg0, Object arg1) - -
      - - - - - - void - - setTag(Object arg0) - -
      - - - - - - void - - setTextAlignment(int arg0) - -
      - - - - - - void - - setTextDirection(int arg0) - -
      - - - final - - - void - - setTop(int arg0) - -
      - - - - - - void - - setTouchDelegate(TouchDelegate arg0) - -
      - - - final - - - void - - setTransitionName(String arg0) - -
      - - - - - - void - - setTranslationX(float arg0) - -
      - - - - - - void - - setTranslationY(float arg0) - -
      - - - - - - void - - setTranslationZ(float arg0) - -
      - - - - - - void - - setVerticalFadingEdgeEnabled(boolean arg0) - -
      - - - - - - void - - setVerticalScrollBarEnabled(boolean arg0) - -
      - - - - - - void - - setVerticalScrollbarPosition(int arg0) - -
      - - - - - - void - - setVisibility(int arg0) - -
      - - - - - - void - - setWillNotCacheDrawing(boolean arg0) - -
      - - - - - - void - - setWillNotDraw(boolean arg0) - -
      - - - - - - void - - setX(float arg0) - -
      - - - - - - void - - setY(float arg0) - -
      - - - - - - void - - setZ(float arg0) - -
      - - - - - - boolean - - showContextMenu() - -
      - - - - - - ActionMode - - startActionMode(ActionMode.Callback arg0) - -
      - - - - - - void - - startAnimation(Animation arg0) - -
      - - - final - - - boolean - - startDrag(ClipData arg0, View.DragShadowBuilder arg1, Object arg2, int arg3) - -
      - - - - - - boolean - - startNestedScroll(int arg0) - -
      - - - - - - void - - stopNestedScroll() - -
      - - - - - - String - - toString() - -
      - - - - - - void - - unscheduleDrawable(Drawable arg0) - -
      - - - - - - void - - unscheduleDrawable(Drawable arg0, Runnable arg1) - -
      - - - - - - boolean - - verifyDrawable(Drawable arg0) - -
      - - - - - - boolean - - willNotCacheDrawing() - -
      - - - - - - boolean - - willNotDraw() - -
      - - - - - - - - - -From class - - java.lang.Object - -
      - - -
      - - - - - - - -From interface - - android.view.ViewParent - -
      - - -
      - - - - - - - -From interface - - android.view.ViewManager - -
      - - + +
      + + +
      @@ -16028,6 +12211,38 @@ From interface
      + + +
      +

      + + protected + + + + + void + + onLayout + (boolean changed, int left, int top, int right, int bottom) +

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

      + +
      +
      + +
      @@ -16060,6 +12275,38 @@ From interface
      + + +
      +

      + + protected + + + + + boolean + + onSetAlpha + (int alpha) +

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

      + +
      +
      + +
      diff --git a/docs/html/reference/android/support/wearable/view/CircularButton.html b/docs/html/reference/android/support/wearable/view/CircularButton.html new file mode 100644 index 000000000000..be0915731647 --- /dev/null +++ b/docs/html/reference/android/support/wearable/view/CircularButton.html @@ -0,0 +1,12045 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +CircularButton | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      + + + + + + + + + + +
      + + + + + + + +
      + + + + + + + +
      + +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      + + + + +
      +
      + + + + +
      + public + + + + class +

      CircularButton

      + + + + + + + + + extends View
      + + + + + + + + + + + + +
      + +
      + +

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

      + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      java.lang.Object
         ↳android.view.View
          ↳android.support.wearable.view.CircularButton
      + + + + + + + +
      + + +

      Class Overview

      +

      A circular button in the style of a Floating + Action Button, with support for ripple touch effects and elevation animation. +

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

      Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Constants
      intSCALE_MODE_CENTER + + + + +
      intSCALE_MODE_FIT + + + + +
      + + + + + + + + + + + + + + + + + + + + + +
      + [Expand] +
      Inherited Constants
      + + From class +android.view.View +
      + + +
      +
      + + + + + + + + + + + + + + + + + + + + + + + +
      + [Expand] +
      Inherited Fields
      + + From class +android.view.View +
      + + +
      +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Public Constructors
      + + + + + + + + CircularButton(Context context) + +
      + + + + + + + + CircularButton(Context context, AttributeSet attrs) + +
      + + + + + + + + CircularButton(Context context, AttributeSet attrs, int defStyleAttr) + +
      + + + + + + + + CircularButton(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) + +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Public Methods
      + + + + + + Drawable + + getImageDrawable() + +
      + Returns the optional image to displayed on top of the button. + + + +
      + +
      + + + + + + int + + getImageScaleMode() + +
      + Returns the scaling mode used for the image. + + + +
      + +
      + + + + + + boolean + + onTouchEvent(MotionEvent event) + +
      + + + + + + void + + setBackgroundDrawable(Drawable background) + +
      + + + + + + void + + setColor(int color) + +
      + Sets the background color of the circular button. + + + +
      + +
      + + + + + + void + + setColor(ColorStateList colorStateList) + +
      + Sets the background color of the circular button. + + + +
      + +
      + + + + + + void + + setImageDrawable(Drawable drawable) + +
      + Sets an optional image to be displayed on top of the button. + + + +
      + +
      + + + + + + void + + setImageResource(int drawableRes) + +
      + Sets an optional image to be displayed on top of the button. + + + +
      + +
      + + + + + + void + + setImageScaleMode(int scaleMode) + +
      + Sets the scaling mode used for the image. + + + +
      + +
      + + + + + + void + + setPressedTranslationZ(float translationZ) + +
      + + + + + + void + + setRippleColor(int rippleColor) + +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Protected Methods
      + + + + + + void + + drawableStateChanged() + +
      + + + + + + void + + onDraw(Canvas canvas) + +
      + + + + + + void + + onLayout(boolean changed, int l, int t, int r, int b) + +
      + + + + + + void + + onMeasure(int widthMeasureSpec, int heightMeasureSpec) + +
      + + + + + + boolean + + verifyDrawable(Drawable who) + +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      + [Expand] +
      Inherited Methods
      + +From class + + android.view.View + +
      + + +
      +
      + +From class + + java.lang.Object + +
      + + +
      +
      + +From interface + + android.graphics.drawable.Drawable.Callback + +
      + + +
      +
      + +From interface + + android.view.KeyEvent.Callback + +
      + + +
      +
      + +From interface + + android.view.accessibility.AccessibilityEventSource + +
      + + +
      +
      + + +
      + + + + + + + + + + + + + + + + + + + + +

      Constants

      + + + + + + +
      +

      + + public + static + final + int + + SCALE_MODE_CENTER +

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

      + + +
      + Constant Value: + + + 1 + (0x00000001) + + +
      + +
      +
      + + + + + +
      +

      + + public + static + final + int + + SCALE_MODE_FIT +

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

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

      Public Constructors

      + + + + + +
      +

      + + public + + + + + + + CircularButton + (Context context) +

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

      + +
      +
      + + + + +
      +

      + + public + + + + + + + CircularButton + (Context context, AttributeSet attrs) +

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

      + +
      +
      + + + + +
      +

      + + public + + + + + + + CircularButton + (Context context, AttributeSet attrs, int defStyleAttr) +

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

      + +
      +
      + + + + +
      +

      + + public + + + + + + + CircularButton + (Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) +

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

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

      Public Methods

      + + + + + +
      +

      + + public + + + + + Drawable + + getImageDrawable + () +

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

      Returns the optional image to displayed on top of the button. +

      + +
      +
      + + + + +
      +

      + + public + + + + + int + + getImageScaleMode + () +

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

      Returns the scaling mode used for the image. +

      + Value is one of: +

      +
      SCALE_MODE_CENTER
      +
      Center the image within the button and draw without any scaling.
      +
      SCALE_MODE_FIT
      +
      Draw the image scaled to fit within the circular button. +
      +

      + +
      +
      + + + + +
      +

      + + public + + + + + boolean + + onTouchEvent + (MotionEvent event) +

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

      + +
      +
      + + + + +
      +

      + + public + + + + + void + + setBackgroundDrawable + (Drawable background) +

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

      + +
      +
      + + + + +
      +

      + + public + + + + + void + + setColor + (int color) +

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

      Sets the background color of the circular button. +

      + +
      +
      + + + + +
      +

      + + public + + + + + void + + setColor + (ColorStateList colorStateList) +

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

      Sets the background color of the circular button. +

      + +
      +
      + + + + +
      +

      + + public + + + + + void + + setImageDrawable + (Drawable drawable) +

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

      Sets an optional image to be displayed on top of the button. +

      + +
      +
      + + + + +
      +

      + + public + + + + + void + + setImageResource + (int drawableRes) +

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

      Sets an optional image to be displayed on top of the button. +

      + +
      +
      + + + + +
      +

      + + public + + + + + void + + setImageScaleMode + (int scaleMode) +

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

      Sets the scaling mode used for the image. +

      + Must be one of: +

      +
      SCALE_MODE_CENTER
      +
      Center the image within the button and draw without any scaling.
      +
      SCALE_MODE_FIT
      +
      Draw the image scaled to fit within the circular button. +
      +

      + +
      +
      + + + + +
      +

      + + public + + + + + void + + setPressedTranslationZ + (float translationZ) +

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

      + +
      +
      + + + + +
      +

      + + public + + + + + void + + setRippleColor + (int rippleColor) +

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

      + +
      +
      + + + + + + + +

      Protected Methods

      + + + + + +
      +

      + + protected + + + + + void + + drawableStateChanged + () +

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

      + +
      +
      + + + + +
      +

      + + protected + + + + + void + + onDraw + (Canvas canvas) +

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

      + +
      +
      + + + + +
      +

      + + protected + + + + + void + + onLayout + (boolean changed, int l, int t, int r, int b) +

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

      + +
      +
      + + + + +
      +

      + + protected + + + + + void + + onMeasure + (int widthMeasureSpec, int heightMeasureSpec) +

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

      + +
      +
      + + + + +
      +

      + + protected + + + + + boolean + + verifyDrawable + (Drawable who) +

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

      + +
      +
      + + + + + + + + + +
      + +
      + +
      + + + + + + + + diff --git a/docs/html/reference/android/support/wearable/view/CrossfadeDrawable.html b/docs/html/reference/android/support/wearable/view/CrossfadeDrawable.html index 62402e9db509..4cc384f08bcf 100644 --- a/docs/html/reference/android/support/wearable/view/CrossfadeDrawable.html +++ b/docs/html/reference/android/support/wearable/view/CrossfadeDrawable.html @@ -113,7 +113,7 @@ href="http://fonts.googleapis.com/css?family=Roboto+Condensed"> - + @@ -397,6 +397,7 @@ type="text/css">
    • Get Users
    • Engage & Retain
    • Monetize
    • +
    • Analyze
    • Tools & Reference
    • Developer Stories
    @@ -413,19 +414,6 @@ type="text/css"> - -
    -
    -
    -
    Help Android Wear and TV developers
    - Learn more -
    -
    -
    -
    -
  • Classes

    @@ -413,19 +414,6 @@ type="text/css"> - -
    -
    -
    -
    Help Android Wear and TV developers
    - Learn more -
    -
    -
    -
    -
  • Classes

    @@ -413,19 +414,6 @@ type="text/css"> - -
    -
    -
    -
    Help Android Wear and TV developers
    - Learn more -
    -
    -
    -
    -
  • Classes

      +
    • ActionLabel
    • +
    • ActionPage
    • BoxInsetLayout
    • BoxInsetLayout.LayoutParams
    • CardFragment
    • CardFrame
    • CardScrollView
    • CircledImageView
    • +
    • CircularButton
    • CrossfadeDrawable
    • DelayedConfirmationView
    • DismissOverlayView
    • @@ -575,6 +571,8 @@ type="text/css">
    • GridViewPager.LayoutParams
    • SimpleAnimatorListener
    • WatchViewStub
    • +
    • WearableFrameLayout
    • +
    • WearableFrameLayout.LayoutParams
    • WearableListView
    • WearableListView.Adapter
    • WearableListView.ViewHolder
    • @@ -640,24 +638,6 @@ type="text/css"> - - - - - - - - - - - - - - - - - - @@ -699,20 +679,6 @@ type="text/css"> - - - - - - - - - - - - - -
    @@ -413,19 +414,6 @@ type="text/css"> - -
    -
    -
    -
    Help Android Wear and TV developers
    - Learn more -
    -
    -
    -
    -
  • Classes

    @@ -413,19 +414,6 @@ type="text/css"> - -
    -
    -
    -
    Help Android Wear and TV developers
    - Learn more -
    -
    -
    -
    -
  • Classes

    @@ -413,19 +414,6 @@ type="text/css"> - -
    -
    -
    -
    Help Android Wear and TV developers
    - Learn more -
    -
    -
    -
    -
  • Classes

      +
    • ActionLabel
    • +
    • ActionPage
    • BoxInsetLayout
    • BoxInsetLayout.LayoutParams
    • CardFragment
    • CardFrame
    • CardScrollView
    • CircledImageView
    • +
    • CircularButton
    • CrossfadeDrawable
    • DelayedConfirmationView
    • DismissOverlayView
    • @@ -575,6 +571,8 @@ type="text/css">
    • GridViewPager.LayoutParams
    • SimpleAnimatorListener
    • WatchViewStub
    • +
    • WearableFrameLayout
    • +
    • WearableFrameLayout.LayoutParams
    • WearableListView
    • WearableListView.Adapter
    • WearableListView.ViewHolder
    • @@ -670,9 +668,6 @@ Summary: - | Protected Methods - - | Inherited Methods @@ -975,23 +970,23 @@ Summary: + abstract - - Drawable + void - getBackgroundForPage(int row, int column) + destroyItem(ViewGroup container, int row, int column, Object object) -
      - Provides content to be displayed as background for a specific page. - +
      + Removes a page for the given position. + -
      - +
      + @@ -1003,41 +998,41 @@ Summary: - Drawable + void - getBackgroundForRow(int row) + finishUpdate(ViewGroup container) -
      - Provides content to be displayed as the default background for all pages on the given row. - +
      + Called when the a change in the shown pages has been completed. + -
      - +
      + - abstract - int + + Drawable - getColumnCount(int row) + getBackgroundForPage(int row, int column) -
      - Returns the maximum number of columns for each row. - +
      + Provides content to be displayed as background for a specific page. + -
      - +
      + @@ -1049,41 +1044,41 @@ Summary: - int + Drawable - getCurrentColumnForRow(int row, int currentColumn) + getBackgroundForRow(int row) -
      - Returns the column to arrive at when navigating vertically to the specified row. - +
      + Provides content to be displayed as the default background for all pages on the given row. + -
      - +
      + + abstract - - Point + int - getItemPosition(Object object) + getColumnCount(int row) -
      - Called when the host view is attempting to determine if an item's position has changed. - +
      + Returns the maximum number of columns for each row. + -
      - +
      + @@ -1098,134 +1093,131 @@ Summary: int - getOptionsForPage(int row, int column) + getCurrentColumnForRow(int row, int currentColumn) -
      - Provides a set of features to apply to a page background. - +
      + Returns the column to arrive at when navigating vertically to the specified row. + -
      - +
      + - abstract - int + + Point - getRowCount() + getItemPosition(Object object) -
      - Returns the number of rows available. - +
      + Called when the host view is attempting to determine if an item's position has changed. + -
      - +
      + - abstract - boolean + + int - isViewFromObject(View view, Object object) + getOptionsForPage(int row, int column) -
      - Determines whether a page View is associated with a specific key object as returned by - instantiateItem(ViewGroup, int, int). - +
      + Provides a set of features to apply to a page background. + -
      - +
      + + abstract - - void + int - notifyDataSetChanged() + getRowCount() -
      - This method should be called by the application if the data backing this adapter has changed - and associated views should update. - +
      + Returns the number of rows available. + -
      - +
      + + abstract - - void + Object - notifyPageBackgroundChanged(int row, int column) + instantiateItem(ViewGroup container, int row, int column) -
      - This method should be called if the value returned by getBackgroundForPage(int, int) - or options returned by getOptionsForPage(int, int) change. - +
      + Creates the page for the given position. + -
      - +
      + + abstract - - void + boolean - notifyRowBackgroundChanged(int row) + isViewFromObject(View view, Object object) -
      - This method should be called if the value returned by getBackgroundForRow(int) - changes. - +
      + Determines whether a page View is associated with a specific key object as returned by + instantiateItem(ViewGroup, int, int). + -
      - +
      + @@ -1240,15 +1232,16 @@ Summary: void - registerDataSetObserver(DataSetObserver observer) + notifyDataSetChanged() -
      - Register an observer to receive callbacks related to the adapter's data changing. - +
      + This method should be called by the application if the data backing this adapter has changed + and associated views should update. + -
      - +
      + @@ -1263,15 +1256,16 @@ Summary: void - restoreState(Parcelable savedState, ClassLoader classLoader) + notifyPageBackgroundChanged(int row, int column) -
      - Restores the previously saved state of this adapter. - +
      + This method should be called if the value returned by getBackgroundForPage(int, int) + or options returned by getOptionsForPage(int, int) change. + -
      - +
      + @@ -1283,18 +1277,19 @@ Summary: - Parcelable + void - saveState() + notifyRowBackgroundChanged(int row) -
      - Saves the current state of this adapter. - +
      + This method should be called if the value returned by getBackgroundForRow(int) + changes. + -
      - +
      + @@ -1309,33 +1304,22 @@ Summary: void - unregisterDataSetObserver(DataSetObserver observer) + registerDataSetObserver(DataSetObserver observer) -
      - Unregister an observer from callbacks related to the adapter's data changing. - +
      + Register an observer to receive callbacks related to the adapter's data changing. + -
      - +
      + - - - - - - - - - - - - + - + - + - + - + @@ -1454,6 +1438,8 @@ Summary: + +
      Protected Methods
      - abstract + @@ -1343,66 +1327,66 @@ Summary: void - destroyItem(ViewGroup container, int row, int column, Object object) + restoreState(Parcelable savedState, ClassLoader classLoader) -
      - Removes a page for the given position. - +
      + Restores the previously saved state of this adapter. + -
      - +
      +
      - void + Parcelable - finishUpdate(ViewGroup container) + saveState() -
      - Called when the a change in the shown pages has been completed. - +
      + Saves the current state of this adapter. + -
      - +
      +
      - abstract - Object + + void - instantiateItem(ViewGroup container, int row, int column) + setCurrentColumnForRow(int row, int currentColumn) -
      - Creates the page for the given position. - +
      + Called to inform the adapter of which column is now current for the given row. + -
      - +
      +
      @@ -1412,20 +1396,20 @@ Summary: void - setCurrentColumnForRow(int row, int currentColumn) + startUpdate(ViewGroup container) -
      - Called to inform the adapter of which column is now current for the given row. - +
      + Called when a change in the shown pages is going to start being made. + -
      - +
      +
      @@ -1435,15 +1419,15 @@ Summary: void - startUpdate(ViewGroup container) + unregisterDataSetObserver(DataSetObserver observer) -
      - Called when a change in the shown pages is going to start being made. - +
      + Unregister an observer from callbacks related to the adapter's data changing. + -
      - +
      +
      @@ -851,13 +849,13 @@ 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 f835e3d49fd2..f92e5fdf74b3 100644 --- a/docs/html/reference/android/support/wearable/view/GridViewPager.OnPageChangeListener.html +++ b/docs/html/reference/android/support/wearable/view/GridViewPager.OnPageChangeListener.html @@ -113,7 +113,7 @@ href="http://fonts.googleapis.com/css?family=Roboto+Condensed"> - + @@ -397,6 +397,7 @@ type="text/css">
    • Get Users
    • Engage & Retain
    • Monetize
    • +
    • Analyze
    • Tools & Reference
    • Developer Stories
    • @@ -413,19 +414,6 @@ type="text/css"> - -
      -
      -
      -
      Help Android Wear and TV developers
      - Learn more -
      -
      -
      -
      -
    • Classes

    • @@ -851,14 +849,14 @@ Summary: @@ -875,13 +873,13 @@ Summary: diff --git a/docs/html/reference/android/support/wearable/view/GridViewPager.html b/docs/html/reference/android/support/wearable/view/GridViewPager.html index b1ca6138b09c..ce90dc0561fc 100644 --- a/docs/html/reference/android/support/wearable/view/GridViewPager.html +++ b/docs/html/reference/android/support/wearable/view/GridViewPager.html @@ -113,7 +113,7 @@ href="http://fonts.googleapis.com/css?family=Roboto+Condensed"> - + @@ -397,6 +397,7 @@ type="text/css">
    • Get Users
    • Engage & Retain
    • Monetize
    • +
    • Analyze
    • Tools & Reference
    • Developer Stories
    • @@ -413,19 +414,6 @@ type="text/css"> - -
      -
      -
      -
      Help Android Wear and TV developers
      - Learn more -
      -
      -
      -
      -
    • Classes

    • @@ -3141,13 +3139,13 @@ android.view.View @@ -3164,13 +3162,13 @@ android.view.View @@ -3182,6 +3180,29 @@ android.view.View + void + + + + + + + + + + + + + + @@ -3352,16 +3397,16 @@ android.view.View void @@ -3376,15 +3421,16 @@ android.view.View void @@ -3399,7 +3445,14 @@ android.view.View void @@ -3415,15 +3468,8 @@ android.view.View void @@ -3438,61 +3484,68 @@ android.view.View void - -
      [Expand] @@ -1935,7 +1921,7 @@ From class - +

      @@ -1943,12 +1929,12 @@ From class public + abstract - - Drawable + void - getBackgroundForPage - (int row, int column) + destroyItem + (ViewGroup container, int row, int column, Object object)

      @@ -1961,11 +1947,111 @@ From class -

      Provides content to be displayed as background for a specific page. -

      - The return value BACKGROUND_NONE indicates that there is no page-specific background. - and the row background should be used (if any). -

      +

      Removes a page for the given position. The adapter is responsible for removing the view from + its container, although it only must ensure this is done by the time it returns from + finishUpdate(ViewGroup).

      +
      +
      Parameters
      + + + + + + + + + + + + + +
      container + The containing View from which the page will be removed.
      row + the row to be destroyed
      column + the column within the row to be destroyed
      object + The same object that was returned by + instantiateItem(ViewGroup, int, int). +
      +
      + +
      +
      + + + + +
      +

      + + public + + + + + void + + finishUpdate + (ViewGroup container) +

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

      Called when the a change in the shown pages has been completed. At this point you must ensure + that all of the pages have actually been added or removed from the container as appropriate.

      +
      +
      Parameters
      + + + + +
      container + The containing View which is displaying this adapter's page views +
      +
      + +
      +
      + + + + +
      +

      + + public + + + + + Drawable + + getBackgroundForPage + (int row, int column) +

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

      Provides content to be displayed as background for a specific page. +

      + The return value BACKGROUND_NONE indicates that there is no page-specific background. + and the row background should be used (if any). +

      The return value of this method can be cached. notifyPageBackgroundChanged(int, int) may be used to invalidate a previously returned value. getBackgroundForPage(int, int) will then be called to request the new value when necessary.

      @@ -2268,6 +2354,62 @@ From class
      + + +
      +

      + + public + + + abstract + + Object + + instantiateItem + (ViewGroup container, int row, int column) +

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

      Creates the page for the given position. The adapter is responsible for adding the view to + the container given here, although it only must ensure this is done by the time it returns + from finishUpdate(ViewGroup)

      +
      +
      Parameters
      + + + + + + + + + + +
      container + containing View in which the page will be shown
      row + the row to be instantiated
      column + the column within the row to be instantiated
      +
      +
      +
      Returns
      +
      • a an object representing the new page +
      +
      + +
      +
      + +
      @@ -2531,7 +2673,7 @@ From class
      - +

      @@ -2543,59 +2685,8 @@ From class void - unregisterDataSetObserver - (DataSetObserver observer) -

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

      Unregister an observer from callbacks related to the adapter's data changing.

      -
      -
      Parameters
      - - - - -
      observer - The DataSetObserver which will be unregistered. -
      -
      - -
      -
      - - - - - - - -

      Protected Methods

      - - - - - -
      -

      - - protected - - - abstract - - void - - destroyItem - (ViewGroup container, int row, int column, Object object) + setCurrentColumnForRow + (int row, int currentColumn)

      @@ -2608,28 +2699,19 @@ From class -

      Removes a page for the given position. The adapter is responsible for removing the view from - its container, although it only must ensure this is done by the time it returns from - finishUpdate(ViewGroup).

      +

      Called to inform the adapter of which column is now current for the given row. This + information could be stored and used to implement getCurrentColumnForRow(int, int). + The default implementation does nothing.

      Parameters
      - - - - - - + -
      container - The containing View from which the page will be removed.
      row - the row to be destroyed
      column - the column within the row to be destroyedthe row for the column change
      object - The same object that was returned by - instantiateItem(ViewGroup, int, int). + currentColumn + the column which is now current
      @@ -2639,19 +2721,19 @@ From class
      - +

      - protected + public void - finishUpdate + startUpdate (ViewGroup container)

      @@ -2665,14 +2747,13 @@ From class -

      Called when the a change in the shown pages has been completed. At this point you must ensure - that all of the pages have actually been added or removed from the container as appropriate.

      +

      Called when a change in the shown pages is going to start being made.

      Parameters
      container - The containing View which is displaying this adapter's page views + The containing View which is displaying this adapter's page views.
      @@ -2682,76 +2763,20 @@ From class
      - - -
      -

      - - protected - - - abstract - - Object - - instantiateItem - (ViewGroup container, int row, int column) -

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

      Creates the page for the given position. The adapter is responsible for adding the view to - the container given here, although it only must ensure this is done by the time it returns - from finishUpdate(ViewGroup)

      -
      -
      Parameters
      - - - - - - - - - - -
      container - containing View in which the page will be shown
      row - the row to be instantiated
      column - the column within the row to be instantiated
      -
      -
      -
      Returns
      -
      • a an object representing the new page -
      -
      - -
      -
      - - - +

      - protected + public void - setCurrentColumnForRow - (int row, int currentColumn) + unregisterDataSetObserver + (DataSetObserver observer)

      @@ -2764,19 +2789,13 @@ From class -

      Called to inform the adapter of which column is now current for the given row. This - information could be stored and used to implement getCurrentColumnForRow(int, int). - The default implementation does nothing.

      +

      Unregister an observer from callbacks related to the adapter's data changing.

      Parameters
      - - - -
      row - the row for the column change
      currentColumn - the column which is now current + observer + The DataSetObserver which will be unregistered.
      @@ -2786,48 +2805,10 @@ From class
      - -
      -

      - - protected - - - - - void - - startUpdate - (ViewGroup container) -

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

      Called when a change in the shown pages is going to start being made.

      -
      -
      Parameters
      - - - - -
      container - The containing View which is displaying this adapter's page views. -
      -
      - -
      -
      + 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 ad612fac4236..d7d741a43822 100644 --- a/docs/html/reference/android/support/wearable/view/GridViewPager.LayoutParams.html +++ b/docs/html/reference/android/support/wearable/view/GridViewPager.LayoutParams.html @@ -113,7 +113,7 @@ href="http://fonts.googleapis.com/css?family=Roboto+Condensed"> - + @@ -397,6 +397,7 @@ type="text/css">
    • Get Users
    • Engage & Retain
    • Monetize
    • +
    • Analyze
    • Tools & Reference
    • Developer Stories
    • @@ -413,19 +414,6 @@ type="text/css"> - -
      -
      -
      -
      Help Android Wear and TV developers
      - Learn more -
      -
      -
      -
      -
    • Classes

      @@ -413,19 +414,6 @@ type="text/css"> - -
      -
      -
      -
      Help Android Wear and TV developers
      - Learn more -
      -
      -
      -
      -
    • Classes

    • onAdapterChanged(GridPagerAdapter oldAdapter, GridPagerAdapter newAdapter) -
      - Called when the adapter is changed with setAdapter(GridPagerAdapter). - +
      + Called when the adapter is changed with setAdapter(GridPagerAdapter). + -
      - +
      +
      onDataSetChanged() -
      - Called when a change is made to the content of the current adapter. - +
      + Called when a change is made to the content of the current adapter. + -
      - +
      +
      onPageScrollStateChanged(int state) -
      - Called when the scroll state changes. - +
      + Called when the scroll state changes. + -
      - +
      +
      onPageScrolled(int row, int column, float rowOffset, float columnOffset, int rowOffsetPixels, int columnOffsetPixels) -
      - This method will be invoked when the current page is scrolled, either as part of a +
      + This method will be invoked when the current page is scrolled, either as part of a programmatically initiated smooth scroll or a user initiated touch scroll. - + -
      - +
      +
      onPageSelected(int row, int column) -
      - This method is called when a new page becomes selected. - +
      + This method is called when a new page becomes selected. + -
      - +
      +
      getOffscreenPageCount() -
      - Returns the number of pages that will be retained on the sides of the current page in the +
      + Returns the number of pages that will be retained on the sides of the current page in the view hierarchy in an idle state. - + -
      - +
      +
      getPageColumnMargin() -
      - Return the margin between columns of pages. - +
      + Return the margin between columns of pages. + -
      - +
      +
      getPageRowMargin() -
      - Returns the margin between rows of pages. - +
      + Returns the margin between rows of pages. + -
      - +
      +
      + measureChild(View child, GridViewPager.LayoutParams lp) + +
      + Used to measure all page views. + + + +
      + +
      + + + + + WindowInsets @@ -3191,7 +3212,7 @@ android.view.View -
      @@ -3207,7 +3228,7 @@ android.view.View -
      @@ -3223,6 +3244,30 @@ android.view.View +
      + + + + + + void + + onPageScrolled(int positionX, int positionY, float offsetX, float offsetY, int offsetLeftPx, int offsetTopPx) + +
      + This method will be invoked when the current page is scrolled, either as part of a + programmatically initiated smooth scroll or a user initiated touch scroll. + + + +
      + +
      @@ -3331,13 +3376,13 @@ android.view.View setAdapter(GridPagerAdapter adapter) -
      - Assigns an adapter to provide the content for this pager. - +
      + Assigns an adapter to provide the content for this pager. + -
      - +
      +
      - setOffscreenPageCount(int limit) + setConsumeWindowInsets(boolean consume) -
      - Set the number of pages that should be retained to either side of the current page in the - view hierarchy in an idle state. - +
      + Sets whether the grid view pager should consume insets during + dispatchApplyWindowInsets(WindowInsets). + -
      - +
      +
      - setOnAdapterChangeListener(GridViewPager.OnAdapterChangeListener listener) + setOffscreenPageCount(int limit) -
      - Set a listener that will be invoked whenever the adapter is changed. - +
      + Set the number of pages that should be retained to either side of the current page in the + view hierarchy in an idle state. + -
      - +
      +
      - setOnApplyWindowInsetsListener(View.OnApplyWindowInsetsListener listener) + setOnAdapterChangeListener(GridViewPager.OnAdapterChangeListener listener) + +
      + Set a listener that will be invoked whenever the adapter is changed. + + + +
      - setOnPageChangeListener(GridViewPager.OnPageChangeListener listener) + setOnApplyWindowInsetsListener(View.OnApplyWindowInsetsListener listener) -
      - Set a listener that will be invoked whenever the page changes or is incrementally scrolled. - - - -
      -
      - setPageMargins(int rowMarginPx, int columnMarginPx) + setOnPageChangeListener(GridViewPager.OnPageChangeListener listener) -
      - Sets the margin between pages. - +
      + Set a listener that will be invoked whenever the page changes or is incrementally scrolled. + -
      - +
      +
      - - - - - - - - - - + - + + +
      Protected Methods
      - boolean + void - checkLayoutParams(ViewGroup.LayoutParams p) + setPageMargins(int rowMarginPx, int columnMarginPx) + +
      + Sets the margin between pages. + + + +
      - static - String + + void - debugIndent(int depth) + setSlideAnimationDuration(int slideAnimationDuration)
      + + + + + + + + + @@ -3520,7 +3573,7 @@ android.view.View ViewGroup.LayoutParams @@ -3533,18 +3586,11 @@ android.view.View - void + ViewGroup.LayoutParams @@ -3607,30 +3653,6 @@ android.view.View void - - - - - - @@ -4191,7 +4213,7 @@ From class void @@ -4204,10 +4226,10 @@ From class - boolean + void @@ -4223,7 +4245,7 @@ From class boolean @@ -4239,7 +4261,7 @@ From class boolean @@ -4255,7 +4277,7 @@ From class boolean @@ -4271,7 +4293,7 @@ From class boolean @@ -4287,7 +4309,7 @@ From class boolean @@ -4300,10 +4322,10 @@ From class - void + boolean @@ -4319,7 +4341,7 @@ From class void @@ -4335,7 +4357,7 @@ From class void @@ -4351,7 +4373,7 @@ From class void @@ -4367,7 +4389,7 @@ From class void @@ -4383,7 +4405,7 @@ From class void @@ -4399,7 +4421,7 @@ From class void @@ -4412,10 +4434,10 @@ From class - boolean + void @@ -4431,7 +4453,7 @@ From class boolean @@ -4447,7 +4469,7 @@ From class boolean @@ -4460,10 +4482,10 @@ From class - void + boolean @@ -4479,7 +4501,7 @@ From class void @@ -4495,7 +4517,7 @@ From class void @@ -4511,7 +4533,7 @@ From class void @@ -4524,10 +4546,10 @@ From class - boolean + void @@ -4540,10 +4562,10 @@ From class - void + boolean @@ -5484,10 +5506,10 @@ From class - void + boolean @@ -5503,7 +5525,7 @@ From class void @@ -5519,7 +5541,7 @@ From class void @@ -5532,10 +5554,10 @@ From class - boolean + void @@ -5551,7 +5573,7 @@ From class boolean @@ -5567,7 +5589,7 @@ From class boolean @@ -5580,6 +5602,22 @@ From class + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -14522,6 +14656,22 @@ From interface + boolean + + + + + + + + + + + + + + + + + + + + + @@ -937,13 +935,13 @@ Summary: 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 c89f8092d58c..bc548ea5bb8f 100644 --- a/docs/html/reference/android/support/wearable/view/WatchViewStub.OnLayoutInflatedListener.html +++ b/docs/html/reference/android/support/wearable/view/WatchViewStub.OnLayoutInflatedListener.html @@ -113,7 +113,7 @@ href="http://fonts.googleapis.com/css?family=Roboto+Condensed"> - + @@ -397,6 +397,7 @@ type="text/css">
    • Get Users
    • Engage & Retain
    • Monetize
    • +
    • Analyze
    • Tools & Reference
    • Developer Stories
    • @@ -413,19 +414,6 @@ type="text/css"> - -
      -
      -
      -
      Help Android Wear and TV developers
      - Learn more -
      -
      -
      -
      -
    • Classes

      @@ -413,19 +414,6 @@ type="text/css"> - -
      -
      -
      -
      Help Android Wear and TV developers
      - Learn more -
      -
      -
      -
      -
    • Classes

    • - - - - - + + - + - + @@ -4093,7 +4068,7 @@ From class void @@ -4106,10 +4081,10 @@ From class - boolean + void @@ -4125,7 +4100,7 @@ From class boolean @@ -4141,7 +4116,7 @@ From class boolean @@ -4157,7 +4132,7 @@ From class boolean @@ -4173,7 +4148,7 @@ From class boolean @@ -4189,7 +4164,7 @@ From class boolean @@ -4202,10 +4177,10 @@ From class - void + boolean @@ -4221,7 +4196,7 @@ From class void @@ -4237,7 +4212,7 @@ From class void @@ -4253,7 +4228,7 @@ From class void @@ -4269,7 +4244,7 @@ From class void @@ -4285,7 +4260,7 @@ From class void @@ -4301,7 +4276,7 @@ From class void @@ -4314,10 +4289,10 @@ From class - boolean + void @@ -4333,7 +4308,7 @@ From class boolean @@ -4349,7 +4324,7 @@ From class boolean @@ -4362,10 +4337,10 @@ From class - void + boolean @@ -4381,7 +4356,7 @@ From class void @@ -4397,7 +4372,7 @@ From class void @@ -4413,7 +4388,7 @@ From class void @@ -4426,10 +4401,10 @@ From class - boolean + void @@ -4442,10 +4417,10 @@ From class - void + boolean @@ -5386,6 +5361,22 @@ From class + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -14424,6 +14511,22 @@ From interface + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -790,14 +788,14 @@ 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 2bac954457e6..9d248bf1257a 100644 --- a/docs/html/reference/android/support/wearable/view/WearableListView.OnCenterProximityListener.html +++ b/docs/html/reference/android/support/wearable/view/WearableListView.OnCenterProximityListener.html @@ -113,7 +113,7 @@ href="http://fonts.googleapis.com/css?family=Roboto+Condensed"> - + @@ -397,6 +397,7 @@ type="text/css">
    • Get Users
    • Engage & Retain
    • Monetize
    • +
    • Analyze
    • Tools & Reference
    • Developer Stories
    • @@ -413,19 +414,6 @@ type="text/css"> - -
      -
      -
      -
      Help Android Wear and TV developers
      - Learn more -
      -
      -
      -
      -
    • Classes

    • @@ -791,13 +789,13 @@ 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 new file mode 100644 index 000000000000..c7f7220080ff --- /dev/null +++ b/docs/html/reference/android/support/wearable/view/WearableListView.OnCentralPositionChangedListener.html @@ -0,0 +1,920 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +WearableListView.OnCentralPositionChangedListener | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      + + + + + + + + + + +
      + + + + + + + +
      + + + + + + + +
      + +
      + + + + + +
      + + + + +
      +
      + + + + +
      + public + static + + + interface +

      WearableListView.OnCentralPositionChangedListener

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

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

      +
      Protected Methods
      @@ -3501,10 +3554,10 @@ android.view.View - ViewGroup.LayoutParams + boolean - generateDefaultLayoutParams() + checkLayoutParams(ViewGroup.LayoutParams p)
      - generateLayoutParams(ViewGroup.LayoutParams p) + generateDefaultLayoutParams()
      - measureChild(View child, GridViewPager.LayoutParams lp) + generateLayoutParams(ViewGroup.LayoutParams p) -
      - Used to measure all page views. - - - -
      -
      - onPageScrolled(int positionX, int positionY, float offsetX, float offsetY, int offsetLeftPx, int offsetTopPx) - -
      - This method will be invoked when the current page is scrolled, either as part of a - programmatically initiated smooth scroll or a user initiated touch scroll. - - - -
      - -
      - - - - - - void - onSizeChanged(int w, int h, int oldw, int oldh)
      - dispatchFreezeSelfOnly(SparseArray<Parcelable> arg0) + dispatchDrawableHotspotChanged(float arg0, float arg1)
      - dispatchGenericFocusedEvent(MotionEvent arg0) + dispatchFreezeSelfOnly(SparseArray<Parcelable> arg0)
      - dispatchGenericPointerEvent(MotionEvent arg0) + dispatchGenericFocusedEvent(MotionEvent arg0)
      - dispatchHoverEvent(MotionEvent arg0) + dispatchGenericPointerEvent(MotionEvent arg0)
      - dispatchKeyEvent(KeyEvent arg0) + dispatchHoverEvent(MotionEvent arg0)
      - dispatchKeyEventPreIme(KeyEvent arg0) + dispatchKeyEvent(KeyEvent arg0)
      - dispatchKeyShortcutEvent(KeyEvent arg0) + dispatchKeyEventPreIme(KeyEvent arg0)
      - dispatchRestoreInstanceState(SparseArray<Parcelable> arg0) + dispatchKeyShortcutEvent(KeyEvent arg0)
      - dispatchSaveInstanceState(SparseArray<Parcelable> arg0) + dispatchRestoreInstanceState(SparseArray<Parcelable> arg0)
      - dispatchSetActivated(boolean arg0) + dispatchSaveInstanceState(SparseArray<Parcelable> arg0)
      - dispatchSetPressed(boolean arg0) + dispatchSetActivated(boolean arg0)
      - dispatchSetSelected(boolean arg0) + dispatchSetPressed(boolean arg0)
      - dispatchSystemUiVisibilityChanged(int arg0) + dispatchSetSelected(boolean arg0)
      - dispatchThawSelfOnly(SparseArray<Parcelable> arg0) + dispatchSystemUiVisibilityChanged(int arg0)
      - dispatchTouchEvent(MotionEvent arg0) + dispatchThawSelfOnly(SparseArray<Parcelable> arg0)
      - dispatchTrackballEvent(MotionEvent arg0) + dispatchTouchEvent(MotionEvent arg0)
      - dispatchUnhandledMove(View arg0, int arg1) + dispatchTrackballEvent(MotionEvent arg0)
      - dispatchVisibilityChanged(View arg0, int arg1) + dispatchUnhandledMove(View arg0, int arg1)
      - dispatchWindowFocusChanged(boolean arg0) + dispatchVisibilityChanged(View arg0, int arg1)
      - dispatchWindowSystemUiVisiblityChanged(int arg0) + dispatchWindowFocusChanged(boolean arg0)
      - dispatchWindowVisibilityChanged(int arg0) + dispatchWindowSystemUiVisiblityChanged(int arg0)
      - drawChild(Canvas arg0, View arg1, long arg2) + dispatchWindowVisibilityChanged(int arg0)
      - drawableHotspotChanged(float arg0, float arg1) + drawChild(Canvas arg0, View arg1, long arg2)
      - onNestedPreScroll(View arg0, int arg1, int arg2, int[] arg3) + onNestedPrePerformAccessibilityAction(View arg0, int arg1, Bundle arg2)
      - onNestedScroll(View arg0, int arg1, int arg2, int arg3, int arg4) + onNestedPreScroll(View arg0, int arg1, int arg2, int[] arg3)
      - onNestedScrollAccepted(View arg0, View arg1, int arg2) + onNestedScroll(View arg0, int arg1, int arg2, int arg3, int arg4)
      - onRequestFocusInDescendants(int arg0, Rect arg1) + onNestedScrollAccepted(View arg0, View arg1, int arg2)
      - onRequestSendAccessibilityEvent(View arg0, AccessibilityEvent arg1) + onRequestFocusInDescendants(int arg0, Rect arg1)
      - onStartNestedScroll(View arg0, View arg1, int arg2) + onRequestSendAccessibilityEvent(View arg0, AccessibilityEvent arg1)
      + onStartNestedScroll(View arg0, View arg1, int arg2) + +
      + + + + + void @@ -5589,7 +5627,7 @@ From class -
      @@ -5605,7 +5643,7 @@ From class -
      @@ -5621,7 +5659,7 @@ From class -
      @@ -5637,7 +5675,7 @@ From class -
      @@ -5653,7 +5691,7 @@ From class -
      @@ -5669,7 +5707,7 @@ From class -
      @@ -5685,7 +5723,7 @@ From class -
      @@ -5701,7 +5739,7 @@ From class -
      @@ -5717,7 +5755,7 @@ From class -
      @@ -5733,7 +5771,7 @@ From class -
      @@ -5749,7 +5787,7 @@ From class -
      @@ -5765,7 +5803,7 @@ From class -
      @@ -5781,7 +5819,7 @@ From class -
      @@ -5797,7 +5835,7 @@ From class -
      @@ -5813,7 +5851,7 @@ From class -
      @@ -5829,7 +5867,7 @@ From class -
      @@ -5845,7 +5883,7 @@ From class -
      @@ -5861,7 +5899,7 @@ From class -
      @@ -5877,7 +5915,7 @@ From class -
      @@ -5893,7 +5931,7 @@ From class -
      @@ -5909,7 +5947,7 @@ From class -
      @@ -5925,7 +5963,7 @@ From class -
      @@ -5941,7 +5979,7 @@ From class -
      @@ -5957,7 +5995,7 @@ From class -
      @@ -5973,7 +6011,7 @@ From class -
      @@ -5989,7 +6027,7 @@ From class -
      @@ -6005,7 +6043,7 @@ From class -
      @@ -6021,7 +6059,7 @@ From class -
      @@ -6037,7 +6075,7 @@ From class -
      @@ -6053,7 +6091,7 @@ From class -
      @@ -6069,7 +6107,7 @@ From class -
      @@ -6085,7 +6123,7 @@ From class -
      @@ -6101,7 +6139,7 @@ From class -
      @@ -6117,7 +6155,7 @@ From class -
      @@ -6133,7 +6171,7 @@ From class -
      @@ -6149,7 +6187,7 @@ From class -
      @@ -6165,7 +6203,7 @@ From class -
      @@ -6181,7 +6219,7 @@ From class -
      @@ -6197,7 +6235,7 @@ From class -
      @@ -6213,7 +6251,7 @@ From class -
      @@ -6229,7 +6267,7 @@ From class -
      @@ -6966,6 +7004,22 @@ From class + void + + dispatchDrawableHotspotChanged(float arg0, float arg1) + +
      + + + + + boolean @@ -6975,7 +7029,7 @@ From class -
      @@ -6991,7 +7045,7 @@ From class -
      @@ -7007,7 +7061,7 @@ From class -
      @@ -7023,7 +7077,7 @@ From class -
      @@ -7039,7 +7093,7 @@ From class -
      @@ -7055,7 +7109,7 @@ From class -
      @@ -7071,7 +7125,7 @@ From class -
      @@ -7087,7 +7141,7 @@ From class -
      @@ -7103,6 +7157,22 @@ From class +
      + + + + + + boolean + + dispatchNestedPrePerformAccessibilityAction(int arg0, Bundle arg1) + +
      @@ -7574,6 +7644,38 @@ From class + int + + getAccessibilityTraversalAfter() + +
      + + + + + + int + + getAccessibilityTraversalBefore() + +
      + + + + + float @@ -11993,6 +12095,38 @@ From class void + setAccessibilityTraversalAfter(int arg0) + +
      + + + + + + void + + setAccessibilityTraversalBefore(int arg0) + +
      + + + + + + void + setActivated(boolean arg0)
      + onNestedPrePerformAccessibilityAction(View arg0, int arg1, Bundle arg2) + +
      + abstract + + + + void @@ -14531,7 +14681,7 @@ From interface -
      abstract @@ -14547,7 +14697,7 @@ From interface -
      abstract @@ -14563,7 +14713,7 @@ From interface -
      abstract @@ -14579,7 +14729,7 @@ From interface -
      abstract @@ -14595,7 +14745,7 @@ From interface -
      abstract @@ -14611,7 +14761,7 @@ From interface -
      abstract @@ -14627,7 +14777,7 @@ From interface -
      abstract @@ -14643,7 +14793,7 @@ From interface -
      abstract @@ -14659,7 +14809,7 @@ From interface -
      abstract @@ -14675,7 +14825,7 @@ From interface -
      abstract @@ -14691,7 +14841,7 @@ From interface -
      abstract @@ -14707,7 +14857,7 @@ From interface -
      abstract @@ -14723,7 +14873,7 @@ From interface -
      abstract @@ -14739,7 +14889,7 @@ From interface -
      abstract @@ -15780,7 +15930,7 @@ From interface - +

      @@ -15790,7 +15940,42 @@ From interface - WindowInsets + void + + measureChild + (View child, GridViewPager.LayoutParams lp) +

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

      Used to measure all page views. Views with a dimension of match_parent or a specific size + will be measured with EXACTLY, while those with wrap_content will be measured as UNSPECIFIED + to allow them to become as large as desired. +

      + +
      +
      + + + + +
      +

      + + public + + + + + WindowInsets onApplyWindowInsets (WindowInsets insets) @@ -15876,6 +16061,73 @@ From interface

      + + +
      +

      + + public + + + + + void + + onPageScrolled + (int positionX, int positionY, float offsetX, float offsetY, int offsetLeftPx, int offsetTopPx) +

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

      This method will be invoked when the current page is scrolled, either as part of a + programmatically initiated smooth scroll or a user initiated touch scroll. If you override + this method you must call through to the superclass implementation (e.g. + super.onPageScrolled(position, offset, offsetPixels)) before onPageScrolled returns.

      +
      +
      Parameters
      + + + + + + + + + + + + + + + + + + + +
      positionX + column index of the first page currently being displayed. Page positionX+1 + will be visible if offsetX is nonzero.
      positionY + row index of the first page currently being displayed. Page positionY+1 will + be visible if offseyY is nonzero.
      offsetX + Value from [0, 1) indicating the left offset from the page at positionX.
      offsetY + Value from [0, 1) indicating the top offset from the page at positionY.
      offsetLeftPx + Value in pixels indicating the offset from positionX.
      offsetTopPx + Value in pixels indicating the offset from positionY. +
      +
      + +
      +
      + +
      @@ -16111,6 +16363,49 @@ From interface
      + + +
      +

      + + public + + + + + void + + setConsumeWindowInsets + (boolean consume) +

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

      Sets whether the grid view pager should consume insets during + dispatchApplyWindowInsets(WindowInsets). The default behavior is to consume insets.

      +
      +
      Parameters
      + + + + +
      consume + true to consume, false otherwise. +
      +
      + +
      +
      + +
      @@ -16330,29 +16625,20 @@ From interface
      - - - - - -

      Protected Methods

      - - - - +

      - protected + public - boolean + void - checkLayoutParams - (ViewGroup.LayoutParams p) + setSlideAnimationDuration + (int slideAnimationDuration)

      @@ -16371,20 +16657,29 @@ From interface
      - + + + + + +

      Protected Methods

      + + + +

      protected - static - String + + boolean - debugIndent - (int depth) + checkLayoutParams + (ViewGroup.LayoutParams p)

      @@ -16467,41 +16762,6 @@ From interface
      - - -
      -

      - - protected - - - - - void - - measureChild - (View child, GridViewPager.LayoutParams lp) -

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

      Used to measure all page views. Views with a dimension of match_parent or a specific size - will be measured with EXACTLY, while those with wrap_content will be measured as UNSPECIFIED - to allow them to become as large as desired. -

      - -
      -
      - -
      @@ -16598,73 +16858,6 @@ From interface
      - - -
      -

      - - protected - - - - - void - - onPageScrolled - (int positionX, int positionY, float offsetX, float offsetY, int offsetLeftPx, int offsetTopPx) -

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

      This method will be invoked when the current page is scrolled, either as part of a - programmatically initiated smooth scroll or a user initiated touch scroll. If you override - this method you must call through to the superclass implementation (e.g. - super.onPageScrolled(position, offset, offsetPixels)) before onPageScrolled returns.

      -
      -
      Parameters
      - - - - - - - - - - - - - - - - - - - -
      positionX - column index of the first page currently being displayed. Page positionX+1 - will be visible if offsetX is nonzero.
      positionY - row index of the first page currently being displayed. Page positionY+1 will - be visible if offseyY is nonzero.
      offsetX - Value from [0, 1) indicating the left offset from the page at positionX.
      offsetY - Value from [0, 1) indicating the top offset from the page at positionY.
      offsetLeftPx - Value in pixels indicating the offset from positionX.
      offsetTopPx - Value in pixels indicating the offset from positionY. -
      -
      - -
      -
      - -
      diff --git a/docs/html/reference/android/support/wearable/view/SimpleAnimatorListener.html b/docs/html/reference/android/support/wearable/view/SimpleAnimatorListener.html index 7242e9024c71..1e1f5323bc3a 100644 --- a/docs/html/reference/android/support/wearable/view/SimpleAnimatorListener.html +++ b/docs/html/reference/android/support/wearable/view/SimpleAnimatorListener.html @@ -113,7 +113,7 @@ href="http://fonts.googleapis.com/css?family=Roboto+Condensed"> - + @@ -397,6 +397,7 @@ type="text/css">
    • Get Users
    • Engage & Retain
    • Monetize
    • +
    • Analyze
    • Tools & Reference
    • Developer Stories
    • @@ -413,19 +414,6 @@ type="text/css"> - -
      -
      -
      -
      Help Android Wear and TV developers
      - Learn more -
      -
      -
      -
      -
    • Classes

    • onAnimationComplete(Animator animator) -
      - Called when the animation finishes. - +
      + Called when the animation finishes. + -
      - +
      +
      wasCanceled() -
      - Provides information if the animation was cancelled. - +
      + Provides information if the animation was cancelled. + -
      - +
      +
      - inflate() - -
      - Inflate the appropriate child layout for the last known container. - - - -
      - -
      - - - - - WindowInsets @@ -2936,7 +2911,7 @@ android.view.View -
      @@ -2952,7 +2927,7 @@ android.view.View -
      @@ -2964,19 +2939,19 @@ android.view.View setOnLayoutInflatedListener(WatchViewStub.OnLayoutInflatedListener listener) -
      - Set a listener to be notified when one of the specified sub-layouts is inflated into +
      + Set a listener to be notified when one of the specified sub-layouts is inflated into this stub container. - + -
      - +
      +
      @@ -2988,18 +2963,18 @@ android.view.View setRectLayout(int resId) -
      - Set a layout resource to be inflated when this stub is within a rectangular container. - +
      + Set a layout resource to be inflated when this stub is within a rectangular container. + -
      - +
      +
      @@ -3011,13 +2986,13 @@ android.view.View setRoundLayout(int resId) -
      - Set a layout resource to be inflated when this stub is within a round container. - +
      + Set a layout resource to be inflated when this stub is within a round container. + -
      - +
      +
      - dispatchFreezeSelfOnly(SparseArray<Parcelable> arg0) + dispatchDrawableHotspotChanged(float arg0, float arg1)
      - dispatchGenericFocusedEvent(MotionEvent arg0) + dispatchFreezeSelfOnly(SparseArray<Parcelable> arg0)
      - dispatchGenericPointerEvent(MotionEvent arg0) + dispatchGenericFocusedEvent(MotionEvent arg0)
      - dispatchHoverEvent(MotionEvent arg0) + dispatchGenericPointerEvent(MotionEvent arg0)
      - dispatchKeyEvent(KeyEvent arg0) + dispatchHoverEvent(MotionEvent arg0)
      - dispatchKeyEventPreIme(KeyEvent arg0) + dispatchKeyEvent(KeyEvent arg0)
      - dispatchKeyShortcutEvent(KeyEvent arg0) + dispatchKeyEventPreIme(KeyEvent arg0)
      - dispatchRestoreInstanceState(SparseArray<Parcelable> arg0) + dispatchKeyShortcutEvent(KeyEvent arg0)
      - dispatchSaveInstanceState(SparseArray<Parcelable> arg0) + dispatchRestoreInstanceState(SparseArray<Parcelable> arg0)
      - dispatchSetActivated(boolean arg0) + dispatchSaveInstanceState(SparseArray<Parcelable> arg0)
      - dispatchSetPressed(boolean arg0) + dispatchSetActivated(boolean arg0)
      - dispatchSetSelected(boolean arg0) + dispatchSetPressed(boolean arg0)
      - dispatchSystemUiVisibilityChanged(int arg0) + dispatchSetSelected(boolean arg0)
      - dispatchThawSelfOnly(SparseArray<Parcelable> arg0) + dispatchSystemUiVisibilityChanged(int arg0)
      - dispatchTouchEvent(MotionEvent arg0) + dispatchThawSelfOnly(SparseArray<Parcelable> arg0)
      - dispatchTrackballEvent(MotionEvent arg0) + dispatchTouchEvent(MotionEvent arg0)
      - dispatchUnhandledMove(View arg0, int arg1) + dispatchTrackballEvent(MotionEvent arg0)
      - dispatchVisibilityChanged(View arg0, int arg1) + dispatchUnhandledMove(View arg0, int arg1)
      - dispatchWindowFocusChanged(boolean arg0) + dispatchVisibilityChanged(View arg0, int arg1)
      - dispatchWindowSystemUiVisiblityChanged(int arg0) + dispatchWindowFocusChanged(boolean arg0)
      - dispatchWindowVisibilityChanged(int arg0) + dispatchWindowSystemUiVisiblityChanged(int arg0)
      - drawChild(Canvas arg0, View arg1, long arg2) + dispatchWindowVisibilityChanged(int arg0)
      - drawableHotspotChanged(float arg0, float arg1) + drawChild(Canvas arg0, View arg1, long arg2)
      + onNestedPrePerformAccessibilityAction(View arg0, int arg1, Bundle arg2) + +
      + + + + + void @@ -5395,7 +5386,7 @@ From class -
      @@ -5411,7 +5402,7 @@ From class -
      @@ -5427,7 +5418,7 @@ From class -
      @@ -5443,7 +5434,7 @@ From class -
      @@ -5459,7 +5450,7 @@ From class -
      @@ -5475,7 +5466,7 @@ From class -
      @@ -5491,7 +5482,7 @@ From class -
      @@ -5507,7 +5498,7 @@ From class -
      @@ -5523,7 +5514,7 @@ From class -
      @@ -5539,7 +5530,7 @@ From class -
      @@ -5555,7 +5546,7 @@ From class -
      @@ -5571,7 +5562,7 @@ From class -
      @@ -5587,7 +5578,7 @@ From class -
      @@ -5603,7 +5594,7 @@ From class -
      @@ -5619,7 +5610,7 @@ From class -
      @@ -5635,7 +5626,7 @@ From class -
      @@ -5651,7 +5642,7 @@ From class -
      @@ -5667,7 +5658,7 @@ From class -
      @@ -5683,7 +5674,7 @@ From class -
      @@ -5699,7 +5690,7 @@ From class -
      @@ -5715,7 +5706,7 @@ From class -
      @@ -5731,7 +5722,7 @@ From class -
      @@ -5747,7 +5738,7 @@ From class -
      @@ -5763,7 +5754,7 @@ From class -
      @@ -5779,7 +5770,7 @@ From class -
      @@ -5795,7 +5786,7 @@ From class -
      @@ -5811,7 +5802,7 @@ From class -
      @@ -5827,7 +5818,7 @@ From class -
      @@ -5843,7 +5834,7 @@ From class -
      @@ -5859,7 +5850,7 @@ From class -
      @@ -5875,7 +5866,7 @@ From class -
      @@ -5891,7 +5882,7 @@ From class -
      @@ -5907,7 +5898,7 @@ From class -
      @@ -5923,7 +5914,7 @@ From class -
      @@ -5939,7 +5930,7 @@ From class -
      @@ -5955,7 +5946,7 @@ From class -
      @@ -5971,7 +5962,7 @@ From class -
      @@ -5987,7 +5978,7 @@ From class -
      @@ -6003,7 +5994,7 @@ From class -
      @@ -6019,7 +6010,7 @@ From class -
      @@ -6035,7 +6026,7 @@ From class -
      @@ -6051,7 +6042,7 @@ From class -
      @@ -6067,7 +6058,7 @@ From class -
      @@ -6083,7 +6074,7 @@ From class -
      @@ -6099,7 +6090,7 @@ From class -
      @@ -6115,7 +6106,7 @@ From class -
      @@ -6131,7 +6122,7 @@ From class -
      @@ -6868,6 +6859,22 @@ From class + void + + dispatchDrawableHotspotChanged(float arg0, float arg1) + +
      + + + + + boolean @@ -6877,7 +6884,7 @@ From class -
      @@ -6893,7 +6900,7 @@ From class -
      @@ -6909,7 +6916,7 @@ From class -
      @@ -6925,7 +6932,7 @@ From class -
      @@ -6941,7 +6948,7 @@ From class -
      @@ -6957,7 +6964,7 @@ From class -
      @@ -6973,7 +6980,7 @@ From class -
      @@ -6989,7 +6996,7 @@ From class -
      @@ -7005,6 +7012,22 @@ From class +
      + + + + + + boolean + + dispatchNestedPrePerformAccessibilityAction(int arg0, Bundle arg1) + +
      @@ -7476,6 +7499,38 @@ From class + int + + getAccessibilityTraversalAfter() + +
      + + + + + + int + + getAccessibilityTraversalBefore() + +
      + + + + + float @@ -11895,6 +11950,38 @@ From class void + setAccessibilityTraversalAfter(int arg0) + +
      + + + + + + void + + setAccessibilityTraversalBefore(int arg0) + +
      + + + + + + void + setActivated(boolean arg0)
      + onNestedPrePerformAccessibilityAction(View arg0, int arg1, Bundle arg2) + +
      + abstract + + + + void @@ -14433,7 +14536,7 @@ From interface -
      abstract @@ -14449,7 +14552,7 @@ From interface -
      abstract @@ -14465,7 +14568,7 @@ From interface -
      abstract @@ -14481,7 +14584,7 @@ From interface -
      abstract @@ -14497,7 +14600,7 @@ From interface -
      abstract @@ -14513,7 +14616,7 @@ From interface -
      abstract @@ -14529,7 +14632,7 @@ From interface -
      abstract @@ -14545,7 +14648,7 @@ From interface -
      abstract @@ -14561,7 +14664,7 @@ From interface -
      abstract @@ -14577,7 +14680,7 @@ From interface -
      abstract @@ -14593,7 +14696,7 @@ From interface -
      abstract @@ -14609,7 +14712,7 @@ From interface -
      abstract @@ -14625,7 +14728,7 @@ From interface -
      abstract @@ -14641,7 +14744,7 @@ From interface -
      abstract @@ -15103,39 +15206,6 @@ From interface - - -
      -

      - - public - - - - - void - - inflate - () -

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

      Inflate the appropriate child layout for the last known container. -

      - -
      -
      - -
      diff --git a/docs/html/reference/android/support/wearable/view/WearableFrameLayout.LayoutParams.html b/docs/html/reference/android/support/wearable/view/WearableFrameLayout.LayoutParams.html new file mode 100644 index 000000000000..be259eb32304 --- /dev/null +++ b/docs/html/reference/android/support/wearable/view/WearableFrameLayout.LayoutParams.html @@ -0,0 +1,2381 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +WearableFrameLayout.LayoutParams | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      + + + + + + + + + + +
      + + + + + + + +
      + + + + + + + +
      + +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      + + + + +
      +
      + + + + +
      + public + static + + + class +

      WearableFrameLayout.LayoutParams

      + + + + + + + + + + + + + + + + + extends FrameLayout.LayoutParams
      + + + + + + + + + + + + +
      + +
      + +

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

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      java.lang.Object
         ↳android.view.ViewGroup.LayoutParams
          ↳android.view.ViewGroup.MarginLayoutParams
           ↳android.widget.FrameLayout.LayoutParams
            ↳android.support.wearable.view.WearableFrameLayout.LayoutParams
      + + + + + + + +
      + + +

      Class Overview

      +

      Per-child layout information for layouts on wearable devices. +

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

      Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      + [Expand] +
      Inherited Constants
      + + From class +android.view.ViewGroup.LayoutParams +
      + + +
      +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Fields
      + public + + + intbottomMarginRound + + + + +
      + public + + + intgravityRound + The gravity to apply with the View to which these layout parameters + are associated on a round device. + + + +
      + public + + + intheightRound + + + + +
      + public + + + intleftMarginRound + + + + +
      + public + + + intrightMarginRound + + + + +
      + public + + + inttopMarginRound + + + + +
      + public + + + intwidthRound + + + + +
      + + + + + + + + + + + + + + + + + + + + + + + + + +
      + [Expand] +
      Inherited Fields
      + + From class +android.widget.FrameLayout.LayoutParams +
      + + +
      +
      + + From class +android.view.ViewGroup.MarginLayoutParams +
      + + +
      +
      + + From class +android.view.ViewGroup.LayoutParams +
      + + +
      +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Public Constructors
      + + + + + + + + WearableFrameLayout.LayoutParams(Context c, AttributeSet attrs) + +
      + + + + + +
      + +
      + + + + + + + + WearableFrameLayout.LayoutParams(int width, int height, int gravity, int widthRound, int heightRound, int gravityRound) + +
      + Creates a new set of layout parameters with the specified width, height and weight for + both square and round devices. + + + +
      + +
      + + + + + + + + WearableFrameLayout.LayoutParams(int width, int height, int gravity) + +
      + + + + + +
      + +
      + + + + + + + + WearableFrameLayout.LayoutParams(int width, int height) + +
      + + + + + +
      + +
      + + + + + + + + WearableFrameLayout.LayoutParams(WearableFrameLayout.LayoutParams source) + +
      + + + + + +
      + +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      + [Expand] +
      Inherited Methods
      + +From class + + android.view.ViewGroup.MarginLayoutParams + +
      + + +
      +
      + +From class + + android.view.ViewGroup.LayoutParams + +
      + + +
      +
      + +From class + + java.lang.Object + +
      + + +
      +
      + + +
      + + + + + + + + + + + + + + + + + + + + + + + +

      Fields

      + + + + + + +
      +

      + + public + + + int + + bottomMarginRound +

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

      + + +
      +
      + + + + + +
      +

      + + public + + + int + + gravityRound +

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

      The gravity to apply with the View to which these layout parameters + are associated on a round device.

      +
      +
      See Also
      + +
      + + +
      +
      + + + + + +
      +

      + + public + + + int + + heightRound +

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

      + + +
      +
      + + + + + +
      +

      + + public + + + int + + leftMarginRound +

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

      + + +
      +
      + + + + + +
      +

      + + public + + + int + + rightMarginRound +

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

      + + +
      +
      + + + + + +
      +

      + + public + + + int + + topMarginRound +

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

      + + +
      +
      + + + + + +
      +

      + + public + + + int + + widthRound +

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

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

      Public Constructors

      + + + + + +
      +

      + + public + + + + + + + WearableFrameLayout.LayoutParams + (Context c, AttributeSet attrs) +

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

      +

      + +
      +
      + + + + +
      +

      + + public + + + + + + + WearableFrameLayout.LayoutParams + (int width, int height, int gravity, int widthRound, int heightRound, int gravityRound) +

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

      Creates a new set of layout parameters with the specified width, height and weight for + both square and round devices.

      +
      +
      Parameters
      + + + + + + + + + + + + + + + + + + + +
      width + the width on a square device, either MATCH_PARENT, + WRAP_CONTENT or a fixed size in pixels
      height + the height, either MATCH_PARENT, + WRAP_CONTENT or a fixed size in pixels
      gravity + the gravity
      widthRound + the width override for a round device, either MATCH_PARENT, + WRAP_CONTENT or a fixed size in pixels
      heightRound + the height override for a round device, either MATCH_PARENT, + WRAP_CONTENT or a fixed size in pixels
      gravityRound + the gravity override for a round device
      +
      +
      +
      See Also
      + +
      + +
      +
      + + + + +
      +

      + + public + + + + + + + WearableFrameLayout.LayoutParams + (int width, int height, int gravity) +

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

      +

      + +
      +
      + + + + +
      +

      + + public + + + + + + + WearableFrameLayout.LayoutParams + (int width, int height) +

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

      +

      + +
      +
      + + + + +
      +

      + + public + + + + + + + WearableFrameLayout.LayoutParams + (WearableFrameLayout.LayoutParams source) +

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

      +

      + +
      +
      + + + + + + + + + + + + + + + + + + + + + + + +
      + +
      + +
      + + + + + + + + diff --git a/docs/html/reference/android/support/wearable/view/WearableFrameLayout.html b/docs/html/reference/android/support/wearable/view/WearableFrameLayout.html new file mode 100644 index 000000000000..197ddd94565f --- /dev/null +++ b/docs/html/reference/android/support/wearable/view/WearableFrameLayout.html @@ -0,0 +1,16411 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +WearableFrameLayout | Android Developers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      + + + + + + + + + + +
      + + + + + + + +
      + + + + + + + +
      + +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      + + + + +
      +
      + + + + +
      + public + + + + class +

      WearableFrameLayout

      + + + + + + + + + + + + + extends ViewGroup
      + + + + + + + + + + + + +
      + +
      + +

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

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      java.lang.Object
         ↳android.view.View
          ↳android.view.ViewGroup
           ↳android.support.wearable.view.WearableFrameLayout
      + + + + + + + +
      + + +

      Class Overview

      +

      WearableFrameLayout works exactly like FrameLayout, except it can have overrides for a round + screen. + + Besides using normal FrameLayout.LayoutParams attributes in your layout, you can also use *Round + overrides, that will be applied instead if the device has a round screen. For example: + +

      +
      + <android.support.wearable.view.WearableFrameLayout
      +     xmlns:android="http://schemas.android.com/apk/res/android"
      +     xmlns:app="http://schemas.android.com/apk/res-auto"
      +     android:layout_width="match_parent"
      +     android:layout_height="match_parent"
      +     >
      +
      +     <ImageView
      +         android:id="@+id/preview"
      +         android:layout_height="@dimen/watch_face_entry_preview_width"
      +         android:layout_width="@dimen/watch_face_entry_preview_width"
      +         android:layout_marginTop="@dimen/watch_face_entry_preview_margin_top"
      +         app:layout_heightRound="@dimen/watch_face_entry_circular_preview_size"
      +         app:layout_widthRound="@dimen/watch_face_entry_circular_preview_size"
      +         app:layout_marginTopRound="@dimen/watch_face_entry_circular_preview_margin_top"
      +         app:layout_gravityRound="center_horizontal"
      +         />
      +
      + </android.support.wearable.view.WearableFrameLayout>
      + 
      + + There might be subtle differences in behavior between FrameLayout and WearableFrameLayout, + because this class doesn't have access to all hidden APIs that FrameLayout does. One example is + setForeground, where Drawable parameter won't receive setLayoutDirection call. +

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

      Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Nested Classes
      + + + + + classWearableFrameLayout.LayoutParams + Per-child layout information for layouts on wearable devices.  + + + +
      + + + + + + + + + + + + + + + + + + + + + + + +
      + [Expand] +
      Inherited Constants
      + + From class +android.view.ViewGroup +
      + + +
      +
      + + From class +android.view.View +
      + + +
      +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      + [Expand] +
      Inherited Fields
      + + From class +android.view.View +
      + + +
      +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Public Constructors
      + + + + + + + + WearableFrameLayout(Context context) + +
      + + + + + + + + WearableFrameLayout(Context context, AttributeSet attrs) + +
      + + + + + + + + WearableFrameLayout(Context context, AttributeSet attrs, int defStyleAttr) + +
      + + + + + + + + WearableFrameLayout(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) + +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Public Methods
      + + + + + + void + + draw(Canvas canvas) + +
      + + + + + +
      + +
      + + + + + + void + + drawableHotspotChanged(float x, float y) + +
      + + + + + + WearableFrameLayout.LayoutParams + + generateLayoutParams(AttributeSet attrs) + +
      + + + + + +
      + +
      + + + + + + Drawable + + getForeground() + +
      + Returns the drawable used as the foreground of this FrameLayout. + + + +
      + +
      + + + + + + int + + getForegroundGravity() + +
      + Describes how the foreground is positioned. + + + +
      + +
      + + + + + + ColorStateList + + getForegroundTintList() + +
      + + + + + + PorterDuff.Mode + + getForegroundTintMode() + +
      + + + + + + boolean + + getMeasureAllChildren() + +
      + Determines whether all children, or just those in the VISIBLE or + INVISIBLE state, are considered when measuring. + + + +
      + +
      + + + + + + void + + jumpDrawablesToCurrentState() + +
      + + + + + + WindowInsets + + onApplyWindowInsets(WindowInsets insets) + +
      + + + + + + void + + onInitializeAccessibilityEvent(AccessibilityEvent event) + +
      + + + + + + void + + onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) + +
      + + + + + + void + + setForeground(Drawable d) + +
      + Supply a Drawable that is to be rendered on top of all of the child + views in the frame layout. + + + +
      + +
      + + + + + + void + + setForegroundGravity(int foregroundGravity) + +
      + Describes how the foreground is positioned. + + + +
      + +
      + + + + + + void + + setForegroundInPadding(boolean value) + +
      + Sets whether foreground should be in padding. + + + +
      + +
      + + + + + + void + + setForegroundTintList(ColorStateList tint) + +
      + Applies a tint to the foreground drawable. + + + +
      + +
      + + + + + + void + + setForegroundTintMode(PorterDuff.Mode tintMode) + +
      + Specifies the blending mode used to apply the tint specified by + setForegroundTintList(ColorStateList)} to the foreground drawable. + + + +
      + +
      + + + + + + void + + setMeasureAllChildren(boolean measureAll) + +
      + Sets whether to consider all children, or just those in + the VISIBLE or INVISIBLE state, when measuring. + + + +
      + +
      + + + + + + void + + setVisibility(int visibility) + +
      + + + + + + boolean + + shouldDelayChildPressedState() + +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Protected Methods
      + + + + + + boolean + + checkLayoutParams(ViewGroup.LayoutParams p) + +
      + + + + + +
      + +
      + + + + + + void + + drawableStateChanged() + +
      + + + + + +
      + +
      + + + + + + WearableFrameLayout.LayoutParams + + generateDefaultLayoutParams() + +
      + Returns a set of layout parameters with a width of + MATCH_PARENT, + and a height of MATCH_PARENT. + + + +
      + +
      + + + + + + ViewGroup.LayoutParams + + generateLayoutParams(ViewGroup.LayoutParams p) + +
      + + + + + + void + + measureChildWithMargins(View child, int parentWidthMeasureSpec, int widthUsed, int parentHeightMeasureSpec, int heightUsed) + +
      + + + + + + void + + onAttachedToWindow() + +
      + + + + + + void + + onLayout(boolean changed, int left, int top, int right, int bottom) + +
      + + + + + +
      + +
      + + + + + + void + + onMeasure(int widthMeasureSpec, int heightMeasureSpec) + +
      + + + + + +
      + +
      + + + + + + void + + onSizeChanged(int w, int h, int oldw, int oldh) + +
      + + + + + +
      + +
      + + + + + + boolean + + verifyDrawable(Drawable who) + +
      + + + + + +
      + +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      + [Expand] +
      Inherited Methods
      + +From class + + android.view.ViewGroup + +
      + + +
      +
      + +From class + + android.view.View + +
      + + +
      +
      + +From class + + java.lang.Object + +
      + + +
      +
      + +From interface + + android.view.ViewParent + +
      + + +
      +
      + +From interface + + android.view.ViewManager + +
      + + +
      +
      + +From interface + + android.graphics.drawable.Drawable.Callback + +
      + + +
      +
      + +From interface + + android.view.KeyEvent.Callback + +
      + + +
      +
      + +From interface + + android.view.accessibility.AccessibilityEventSource + +
      + + +
      +
      + + +
      + + + + + + + + + + + + + + + + + + + + + + + + + + +

      Public Constructors

      + + + + + +
      +

      + + public + + + + + + + WearableFrameLayout + (Context context) +

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

      + +
      +
      + + + + +
      +

      + + public + + + + + + + WearableFrameLayout + (Context context, AttributeSet attrs) +

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

      + +
      +
      + + + + +
      +

      + + public + + + + + + + WearableFrameLayout + (Context context, AttributeSet attrs, int defStyleAttr) +

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

      + +
      +
      + + + + +
      +

      + + public + + + + + + + WearableFrameLayout + (Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) +

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

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

      Public Methods

      + + + + + +
      +

      + + public + + + + + void + + draw + (Canvas canvas) +

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

      +

      + +
      +
      + + + + +
      +

      + + public + + + + + void + + drawableHotspotChanged + (float x, float y) +

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

      + +
      +
      + + + + +
      +

      + + public + + + + + WearableFrameLayout.LayoutParams + + generateLayoutParams + (AttributeSet attrs) +

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

      +

      + +
      +
      + + + + +
      +

      + + public + + + + + Drawable + + getForeground + () +

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

      Returns the drawable used as the foreground of this FrameLayout. The + foreground drawable, if non-null, is always drawn on top of the children.

      +
      +
      Returns
      +
      • A Drawable or null if no foreground was set. +
      +
      + +
      +
      + + + + +
      +

      + + public + + + + + int + + getForegroundGravity + () +

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

      Describes how the foreground is positioned.

      +
      +
      Returns
      +
      • foreground gravity.
      +
      +
      +
      See Also
      + +
      + +
      +
      + + + + +
      +

      + + public + + + + + ColorStateList + + getForegroundTintList + () +

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

      +
      +
      Returns
      +
      • the tint applied to the foreground drawable
      +
      + + +
      +
      + + + + +
      +

      + + public + + + + + PorterDuff.Mode + + getForegroundTintMode + () +

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

      +
      +
      Returns
      +
      • the blending mode used to apply the tint to the foreground + drawable
      +
      + + +
      +
      + + + + +
      +

      + + public + + + + + boolean + + getMeasureAllChildren + () +

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

      Determines whether all children, or just those in the VISIBLE or + INVISIBLE state, are considered when measuring.

      +
      +
      Returns
      +
      • Whether all children are considered when measuring. +
      +
      + +
      +
      + + + + +
      +

      + + public + + + + + void + + jumpDrawablesToCurrentState + () +

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

      + +
      +
      + + + + +
      +

      + + public + + + + + WindowInsets + + onApplyWindowInsets + (WindowInsets insets) +

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

      + +
      +
      + + + + +
      +

      + + public + + + + + void + + onInitializeAccessibilityEvent + (AccessibilityEvent event) +

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

      + +
      +
      + + + + +
      +

      + + public + + + + + void + + onInitializeAccessibilityNodeInfo + (AccessibilityNodeInfo info) +

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

      + +
      +
      + + + + +
      +

      + + public + + + + + void + + setForeground + (Drawable d) +

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

      Supply a Drawable that is to be rendered on top of all of the child + views in the frame layout. Any padding in the Drawable will be taken + into account by ensuring that the children are inset to be placed + inside of the padding area.

      +
      +
      Parameters
      + + + + +
      d + The Drawable to be drawn on top of the children. +
      +
      + +
      +
      + + + + +
      +

      + + public + + + + + void + + setForegroundGravity + (int foregroundGravity) +

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

      Describes how the foreground is positioned. Defaults to START and TOP.

      +
      +
      Parameters
      + + + + +
      foregroundGravity + See Gravity
      +
      +
      +
      See Also
      + +
      + +
      +
      + + + + +
      +

      + + public + + + + + void + + setForegroundInPadding + (boolean value) +

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

      Sets whether foreground should be in padding. True by default. +

      + +
      +
      + + + + +
      +

      + + public + + + + + void + + setForegroundTintList + (ColorStateList tint) +

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

      Applies a tint to the foreground drawable. Does not modify the current + tint mode, which is SRC_IN by default. +

      + Subsequent calls to setForeground(Drawable) will automatically + mutate the drawable and apply the specified tint and tint mode using + setTintList(ColorStateList).

      +
      +
      Parameters
      + + + + +
      tint + the tint to apply, may be null to clear tint
      +
      + + +
      +
      + + + + +
      +

      + + public + + + + + void + + setForegroundTintMode + (PorterDuff.Mode tintMode) +

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

      Specifies the blending mode used to apply the tint specified by + setForegroundTintList(ColorStateList)} to the foreground drawable. + The default mode is SRC_IN.

      +
      +
      Parameters
      + + + + +
      tintMode + the blending mode used to apply the tint, may be + null to clear tint
      +
      + + +
      +
      + + + + +
      +

      + + public + + + + + void + + setMeasureAllChildren + (boolean measureAll) +

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

      Sets whether to consider all children, or just those in + the VISIBLE or INVISIBLE state, when measuring. Defaults to false.

      +
      +
      Parameters
      + + + + +
      measureAll + true to consider children marked GONE, false otherwise. + Default value is false. +
      +
      + +
      +
      + + + + +
      +

      + + public + + + + + void + + setVisibility + (int visibility) +

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

      + +
      +
      + + + + +
      +

      + + public + + + + + boolean + + shouldDelayChildPressedState + () +

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

      + +
      +
      + + + + + + + +

      Protected Methods

      + + + + + +
      +

      + + protected + + + + + boolean + + checkLayoutParams + (ViewGroup.LayoutParams p) +

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

      +

      + +
      +
      + + + + +
      +

      + + protected + + + + + void + + drawableStateChanged + () +

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

      +

      + +
      +
      + + + + +
      +

      + + protected + + + + + WearableFrameLayout.LayoutParams + + generateDefaultLayoutParams + () +

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

      Returns a set of layout parameters with a width of + MATCH_PARENT, + and a height of MATCH_PARENT. +

      + +
      +
      + + + + +
      +

      + + protected + + + + + ViewGroup.LayoutParams + + generateLayoutParams + (ViewGroup.LayoutParams p) +

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

      + +
      +
      + + + + +
      +

      + + protected + + + + + void + + measureChildWithMargins + (View child, int parentWidthMeasureSpec, int widthUsed, int parentHeightMeasureSpec, int heightUsed) +

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

      + +
      +
      + + + + +
      +

      + + protected + + + + + void + + onAttachedToWindow + () +

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

      + +
      +
      + + + + +
      +

      + + protected + + + + + void + + onLayout + (boolean changed, int left, int top, int right, int bottom) +

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

      +

      + +
      +
      + + + + +
      +

      + + protected + + + + + void + + onMeasure + (int widthMeasureSpec, int heightMeasureSpec) +

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

      +

      + +
      +
      + + + + +
      +

      + + protected + + + + + void + + onSizeChanged + (int w, int h, int oldw, int oldh) +

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

      +

      + +
      +
      + + + + +
      +

      + + protected + + + + + boolean + + verifyDrawable + (Drawable who) +

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

      +

      + +
      +
      + + + + + + + + + +
      + +
      + +
      + + + + + + + + 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 eb02a4f3e5d7..53ea05de6c6d 100644 --- a/docs/html/reference/android/support/wearable/view/WearableListView.Adapter.html +++ b/docs/html/reference/android/support/wearable/view/WearableListView.Adapter.html @@ -113,7 +113,7 @@ href="http://fonts.googleapis.com/css?family=Roboto+Condensed"> - + @@ -397,6 +397,7 @@ type="text/css">
    • Get Users
    • Engage & Retain
    • Monetize
    • +
    • Analyze
    • Tools & Reference
    • Developer Stories
    • @@ -413,19 +414,6 @@ type="text/css"> - -
      -
      -
      -
      Help Android Wear and TV developers
      - Learn more -
      -
      -
      -
      -
    • Classes

    • + onFailedToRecycleView(WearableListView.ViewHolder arg0) + +
      + + + + + void @@ -1189,7 +1203,7 @@ From class -
      @@ -1205,7 +1219,7 @@ From class -
      @@ -1221,7 +1235,7 @@ From class -
      @@ -1237,7 +1251,7 @@ From class -
      @@ -1253,7 +1267,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 9349435f6952..6c3a4b1a55c9 100644 --- a/docs/html/reference/android/support/wearable/view/WearableListView.ClickListener.html +++ b/docs/html/reference/android/support/wearable/view/WearableListView.ClickListener.html @@ -113,7 +113,7 @@ href="http://fonts.googleapis.com/css?family=Roboto+Condensed"> - + @@ -397,6 +397,7 @@ type="text/css">
    • Get Users
    • Engage & Retain
    • Monetize
    • +
    • Analyze
    • Tools & Reference
    • Developer Stories
    • @@ -413,19 +414,6 @@ type="text/css"> - -
      -
      -
      -
      Help Android Wear and TV developers
      - Learn more -
      -
      -
      -
      -
    • Classes

    • onClick(WearableListView.ViewHolder view) -
      - Called when the central child of the WearableListView is tapped. - +
      + Called when the central child of the WearableListView is tapped. + -
      - +
      +
      onTopEmptyRegionClick() -
      - Called when the user taps the top third of the WearableListView and no item is present +
      + Called when the user taps the top third of the WearableListView and no item is present there. - + -
      - +
      +
      onCenterPosition(boolean animate) -
      - Called when this view becomes central item of the WearableListView. - +
      + Called when this view becomes central item of the WearableListView. + -
      - +
      +
      onNonCenterPosition(boolean animate) -
      - Called when this view stops being the central item of the WearableListView. - +
      + Called when this view stops being the central item of the WearableListView. + -
      - +
      +
      + + + + + + + + +
      android.support.wearable.view.WearableListView.OnCentralPositionChangedListener
      + + + + + + + +
      + + +

      Class Overview

      +

      A listener interface that can be added to the WearableListView to get notified when the + central item is changed. +

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

      Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Public Methods
      + abstract + + + + + void + + onCentralPositionChanged(int centralPosition) + +
      + Called when the central item of the WearableListView changes. + + + +
      + +
      + + + + + + + +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

      Public Methods

      + + + + + +
      +

      + + public + + + abstract + + void + + onCentralPositionChanged + (int centralPosition) +

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

      Called when the central item of the WearableListView changes.

      +
      +
      Parameters
      + + + + +
      centralPosition + Position of the item in the Adapter. +
      +
      + +
      +
      + + + + + + + + + + + + + + + + + + + + + + + + + + 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 7449c42d1089..2b8ea44a776e 100644 --- a/docs/html/reference/android/support/wearable/view/WearableListView.OnScrollListener.html +++ b/docs/html/reference/android/support/wearable/view/WearableListView.OnScrollListener.html @@ -113,7 +113,7 @@ href="http://fonts.googleapis.com/css?family=Roboto+Condensed"> - + @@ -397,6 +397,7 @@ type="text/css">
    • Get Users
    • Engage & Retain
    • Monetize
    • +
    • Analyze
    • Tools & Reference
    • Developer Stories
    @@ -413,19 +414,6 @@ type="text/css"> - -
    -
    -
    -
    Help Android Wear and TV developers
    - Learn more -
    -
    -
    -
    -
  • Classes

    @@ -413,19 +414,6 @@ type="text/css"> - -
    -
    -
    -
    Help Android Wear and TV developers
    - Learn more -
    -
    -
    -
    -
  • Classes

    @@ -413,19 +414,6 @@ type="text/css"> - -
    -
    -
    -
    Help Android Wear and TV developers
    - Learn more -
    -
    -
    -
    -
  • Classes

      +
    • ActionLabel
    • +
    • ActionPage
    • BoxInsetLayout
    • BoxInsetLayout.LayoutParams
    • CardFragment
    • CardFrame
    • CardScrollView
    • CircledImageView
    • +
    • CircularButton
    • CrossfadeDrawable
    • DelayedConfirmationView
    • DismissOverlayView
    • @@ -575,6 +571,8 @@ type="text/css">
    • GridViewPager.LayoutParams
    • SimpleAnimatorListener
    • WatchViewStub
    • +
    • WearableFrameLayout
    • +
    • WearableFrameLayout.LayoutParams
    • WearableListView
    • WearableListView.Adapter
    • WearableListView.ViewHolder
    • @@ -964,6 +962,24 @@ Summary: interface
      + WearableListView.OnCentralPositionChangedListener + + A listener interface that can be added to the WearableListView to get notified when the + central item is changed.  + + + + + + + + + + + + + + interface WearableListView.OnScrollListener Interface for listening to WearableListView content scrolling.  @@ -974,7 +990,7 @@ Summary: - + @@ -3123,15 +3139,15 @@ android.view.View void - addOnScrollListener(WearableListView.OnScrollListener listener) + addOnCentralPositionChangedListener(WearableListView.OnCentralPositionChangedListener listener) -
      - Adds a listener that will be called when the content of the list view is scrolled. - +
      + Adds a listener that will be called when the central item of the list changes. + -
      - +
      + @@ -3146,21 +3162,44 @@ android.view.View void + addOnScrollListener(WearableListView.OnScrollListener listener) + +
      + Adds a listener that will be called when the content of the list view is scrolled. + + + +
      + + + + + + + + + + + + + void + + animateToCenter() -
      - Automatically starts an animation that snaps the list to center on the element closest to the +
      + Automatically starts an animation that snaps the list to center on the element closest to the middle. - + -
      - +
      + - + @@ -3176,6 +3215,22 @@ android.view.View + + + + + + + + int + + + getBaseline() + + + + + @@ -3183,6 +3238,29 @@ android.view.View + int + + + getCentralViewTop() + +
      + Returns top of the central View in the list when such view is fully centered. + + + +
      + + + + + + + + + + + + WearableListView.ViewHolder @@ -3192,6 +3270,30 @@ android.view.View + + + + + + + + boolean + + + getMaximizeSingleItem() + +
      + Determines if, when there is only one item in the WearableListView, that the single item + is laid out so that it's height fills the entire WearableListView. + + + +
      + + + + + @@ -3234,15 +3336,15 @@ android.view.View void - removeOnScrollListener(WearableListView.OnScrollListener listener) + removeOnCentralPositionChangedListener(WearableListView.OnCentralPositionChangedListener listener) -
      - Removes listener for scroll events. - +
      + Removes a listener that would be called when the central item of the list changes. + -
      - +
      + @@ -3257,15 +3359,15 @@ android.view.View void - resetLayoutManager() + removeOnScrollListener(WearableListView.OnScrollListener listener) -
      - Clears the state of the layout manager that positions list items. - +
      + Removes listener for scroll events. + -
      - +
      + @@ -3280,7 +3382,14 @@ android.view.View void - setAdapter(Adapter adapter) + resetLayoutManager() + +
      + Clears the state of the layout manager that positions list items. + + + +
      @@ -3296,20 +3405,36 @@ android.view.View void + setAdapter(Adapter adapter) + + + + + + + + + + + + + void + + setClickListener(WearableListView.ClickListener clickListener) -
      - Adds a listener that will be called when the user taps on the WearableListView or its items. - +
      + Adds a listener that will be called when the user taps on the WearableListView or its items. + -
      - +
      + - + @@ -3321,19 +3446,19 @@ android.view.View setGreedyTouchMode(boolean greedy) -
      - Controls whether WearableListView should intercept all touch events and also prevent the +
      + Controls whether WearableListView should intercept all touch events and also prevent the parent from receiving them. - + -
      - +
      + - + @@ -3345,13 +3470,37 @@ android.view.View setInitialOffset(int top) -
      - By default the first element of the list is initially positioned in the center of the screen. - +
      + By default the first element of the list is initially positioned in the center of the screen. + -
      - +
      + + + + + + + + + + + + + void + + + setMaximizeSingleItem(boolean maximizeSingleItem) + +
      + When set to true, if there is only one item in the WearableListView, it will fill the entire + WearableListView. + + + +
      + @@ -3608,12 +3757,44 @@ From class RecyclerView.ViewHolder + findViewHolderForAdapterPosition(int arg0) + + + + + + + + + + + + + RecyclerView.ViewHolder + + findViewHolderForItemId(long arg0) + + + + + + + + RecyclerView.ViewHolder + + + findViewHolderForLayoutPosition(int arg0) + + + + + @@ -3733,6 +3914,22 @@ From class + int + + + getChildAdapterPosition(View arg0) + + + + + + + + + + + + long @@ -3742,6 +3939,22 @@ From class + + + + + + + + int + + + getChildLayoutPosition(View arg0) + + + + + @@ -5058,7 +5271,7 @@ From class void - dispatchFreezeSelfOnly(SparseArray<Parcelable> arg0) + dispatchDrawableHotspotChanged(float arg0, float arg1) @@ -5071,10 +5284,10 @@ From class - boolean + void - dispatchGenericFocusedEvent(MotionEvent arg0) + dispatchFreezeSelfOnly(SparseArray<Parcelable> arg0) @@ -5090,7 +5303,7 @@ From class boolean - dispatchGenericPointerEvent(MotionEvent arg0) + dispatchGenericFocusedEvent(MotionEvent arg0) @@ -5106,7 +5319,7 @@ From class boolean - dispatchHoverEvent(MotionEvent arg0) + dispatchGenericPointerEvent(MotionEvent arg0) @@ -5122,7 +5335,7 @@ From class boolean - dispatchKeyEvent(KeyEvent arg0) + dispatchHoverEvent(MotionEvent arg0) @@ -5138,7 +5351,7 @@ From class boolean - dispatchKeyEventPreIme(KeyEvent arg0) + dispatchKeyEvent(KeyEvent arg0) @@ -5154,7 +5367,7 @@ From class boolean - dispatchKeyShortcutEvent(KeyEvent arg0) + dispatchKeyEventPreIme(KeyEvent arg0) @@ -5167,10 +5380,10 @@ From class - void + boolean - dispatchRestoreInstanceState(SparseArray<Parcelable> arg0) + dispatchKeyShortcutEvent(KeyEvent arg0) @@ -5186,7 +5399,7 @@ From class void - dispatchSaveInstanceState(SparseArray<Parcelable> arg0) + dispatchRestoreInstanceState(SparseArray<Parcelable> arg0) @@ -5202,7 +5415,7 @@ From class void - dispatchSetActivated(boolean arg0) + dispatchSaveInstanceState(SparseArray<Parcelable> arg0) @@ -5218,7 +5431,7 @@ From class void - dispatchSetPressed(boolean arg0) + dispatchSetActivated(boolean arg0) @@ -5234,7 +5447,7 @@ From class void - dispatchSetSelected(boolean arg0) + dispatchSetPressed(boolean arg0) @@ -5250,7 +5463,7 @@ From class void - dispatchSystemUiVisibilityChanged(int arg0) + dispatchSetSelected(boolean arg0) @@ -5266,7 +5479,7 @@ From class void - dispatchThawSelfOnly(SparseArray<Parcelable> arg0) + dispatchSystemUiVisibilityChanged(int arg0) @@ -5279,10 +5492,10 @@ From class - boolean + void - dispatchTouchEvent(MotionEvent arg0) + dispatchThawSelfOnly(SparseArray<Parcelable> arg0) @@ -5298,7 +5511,7 @@ From class boolean - dispatchTrackballEvent(MotionEvent arg0) + dispatchTouchEvent(MotionEvent arg0) @@ -5314,7 +5527,7 @@ From class boolean - dispatchUnhandledMove(View arg0, int arg1) + dispatchTrackballEvent(MotionEvent arg0) @@ -5327,10 +5540,10 @@ From class - void + boolean - dispatchVisibilityChanged(View arg0, int arg1) + dispatchUnhandledMove(View arg0, int arg1) @@ -5346,7 +5559,7 @@ From class void - dispatchWindowFocusChanged(boolean arg0) + dispatchVisibilityChanged(View arg0, int arg1) @@ -5362,7 +5575,7 @@ From class void - dispatchWindowSystemUiVisiblityChanged(int arg0) + dispatchWindowFocusChanged(boolean arg0) @@ -5378,7 +5591,7 @@ From class void - dispatchWindowVisibilityChanged(int arg0) + dispatchWindowSystemUiVisiblityChanged(int arg0) @@ -5391,10 +5604,10 @@ From class - boolean + void - drawChild(Canvas arg0, View arg1, long arg2) + dispatchWindowVisibilityChanged(int arg0) @@ -5407,10 +5620,10 @@ From class - void + boolean - drawableHotspotChanged(float arg0, float arg1) + drawChild(Canvas arg0, View arg1, long arg2) @@ -6351,6 +6564,22 @@ From class + boolean + + + onNestedPrePerformAccessibilityAction(View arg0, int arg1, Bundle arg2) + + + + + + + + + + + + void @@ -6360,7 +6589,7 @@ From class - + @@ -6376,7 +6605,7 @@ From class - + @@ -6392,7 +6621,7 @@ From class - + @@ -6408,7 +6637,7 @@ From class - + @@ -6424,7 +6653,7 @@ From class - + @@ -6440,7 +6669,7 @@ From class - + @@ -6456,7 +6685,7 @@ From class - + @@ -6472,7 +6701,7 @@ From class - + @@ -6488,7 +6717,7 @@ From class - + @@ -6504,7 +6733,7 @@ From class - + @@ -6520,7 +6749,7 @@ From class - + @@ -6536,7 +6765,7 @@ From class - + @@ -6552,7 +6781,7 @@ From class - + @@ -6568,7 +6797,7 @@ From class - + @@ -6584,7 +6813,7 @@ From class - + @@ -6600,7 +6829,7 @@ From class - + @@ -6616,7 +6845,7 @@ From class - + @@ -6632,7 +6861,7 @@ From class - + @@ -6648,7 +6877,7 @@ From class - + @@ -6664,7 +6893,7 @@ From class - + @@ -6680,7 +6909,7 @@ From class - + @@ -6696,7 +6925,7 @@ From class - + @@ -6712,7 +6941,7 @@ From class - + @@ -6728,7 +6957,7 @@ From class - + @@ -6744,7 +6973,7 @@ From class - + @@ -6760,7 +6989,7 @@ From class - + @@ -6776,7 +7005,7 @@ From class - + @@ -6792,7 +7021,7 @@ From class - + @@ -6808,7 +7037,7 @@ From class - + @@ -6824,7 +7053,7 @@ From class - + @@ -6840,7 +7069,7 @@ From class - + @@ -6856,7 +7085,7 @@ From class - + @@ -6872,7 +7101,7 @@ From class - + @@ -6888,7 +7117,7 @@ From class - + @@ -6904,7 +7133,7 @@ From class - + @@ -6920,7 +7149,7 @@ From class - + @@ -6936,7 +7165,7 @@ From class - + @@ -6952,7 +7181,7 @@ From class - + @@ -6968,7 +7197,7 @@ From class - + @@ -6984,7 +7213,7 @@ From class - + @@ -7000,7 +7229,7 @@ From class - + @@ -7016,7 +7245,7 @@ From class - + @@ -7032,7 +7261,7 @@ From class - + @@ -7048,7 +7277,7 @@ From class - + @@ -7064,7 +7293,7 @@ From class - + @@ -7080,7 +7309,7 @@ From class - + @@ -7096,7 +7325,7 @@ From class - + @@ -7833,6 +8062,22 @@ From class + void + + + dispatchDrawableHotspotChanged(float arg0, float arg1) + + + + + + + + + + + + boolean @@ -7842,7 +8087,7 @@ From class - + @@ -7858,7 +8103,7 @@ From class - + @@ -7874,7 +8119,7 @@ From class - + @@ -7890,7 +8135,7 @@ From class - + @@ -7906,7 +8151,7 @@ From class - + @@ -7922,7 +8167,7 @@ From class - + @@ -7938,7 +8183,7 @@ From class - + @@ -7954,7 +8199,7 @@ From class - + @@ -7970,6 +8215,22 @@ From class + + + + + + + + boolean + + + dispatchNestedPrePerformAccessibilityAction(int arg0, Bundle arg1) + + + + + @@ -8412,7 +8673,39 @@ From class int - getAccessibilityLiveRegion() + getAccessibilityLiveRegion() + + + + + + + + + + + + + AccessibilityNodeProvider + + + getAccessibilityNodeProvider() + + + + + + + + + + + + + int + + + getAccessibilityTraversalAfter() @@ -8425,10 +8718,10 @@ From class - AccessibilityNodeProvider + int - getAccessibilityNodeProvider() + getAccessibilityTraversalBefore() @@ -12860,6 +13153,38 @@ From class void + setAccessibilityTraversalAfter(int arg0) + + + + + + + + + + + + + void + + + setAccessibilityTraversalBefore(int arg0) + + + + + + + + + + + + + void + + setActivated(boolean arg0) @@ -15389,6 +15714,22 @@ From interface + boolean + + + onNestedPrePerformAccessibilityAction(View arg0, int arg1, Bundle arg2) + + + + + + + + abstract + + + + void @@ -15398,7 +15739,7 @@ From interface - + abstract @@ -15414,7 +15755,7 @@ From interface - + abstract @@ -15430,7 +15771,7 @@ From interface - + abstract @@ -15446,7 +15787,7 @@ From interface - + abstract @@ -15462,7 +15803,7 @@ From interface - + abstract @@ -15478,7 +15819,7 @@ From interface - + abstract @@ -15494,7 +15835,7 @@ From interface - + abstract @@ -15510,7 +15851,7 @@ From interface - + abstract @@ -15526,7 +15867,7 @@ From interface - + abstract @@ -15542,7 +15883,7 @@ From interface - + abstract @@ -15558,7 +15899,7 @@ From interface - + abstract @@ -15574,7 +15915,7 @@ From interface - + abstract @@ -15590,7 +15931,7 @@ From interface - + abstract @@ -15606,7 +15947,7 @@ From interface - + abstract @@ -16068,6 +16409,39 @@ From interface + + +
      +

      + + public + + + + + void + + addOnCentralPositionChangedListener + (WearableListView.OnCentralPositionChangedListener listener) +

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

      Adds a listener that will be called when the central item of the list changes. +

      + +
      +
      + +
      @@ -16167,6 +16541,80 @@ From interface
      + + +
      +

      + + public + + + + + int + + getBaseline + () +

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

      +
      +
      Returns
      +
      • the position of the center child's baseline; -1 if no center child exists or if + the center child does not return a valid baseline. +
      +
      + +
      +
      + + + + +
      +

      + + public + + + + + int + + getCentralViewTop + () +

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

      Returns top of the central View in the list when such view is fully centered. + + This is a more or a less a static value that you can use to align other views with the + central one. +

      + +
      +
      + +
      @@ -16199,6 +16647,40 @@ From interface
      + + +
      +

      + + public + + + + + boolean + + getMaximizeSingleItem + () +

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

      Determines if, when there is only one item in the WearableListView, that the single item + is laid out so that it's height fills the entire WearableListView. +

      + +
      +
      + +
      @@ -16263,6 +16745,39 @@ From interface
      + + +
      +

      + + public + + + + + void + + removeOnCentralPositionChangedListener + (WearableListView.OnCentralPositionChangedListener listener) +

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

      Removes a listener that would be called when the central item of the list changes. +

      + +
      +
      + +
      @@ -16481,6 +16996,41 @@ From interface
      + + +
      +

      + + public + + + + + void + + setMaximizeSingleItem + (boolean maximizeSingleItem) +

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

      When set to true, if there is only one item in the WearableListView, it will fill the entire + WearableListView. When set to false, the default behavior will be used and the single item + will fill only a third of the screen. +

      + +
      +
      + + 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 713f46907c3c..203ff4ed9d87 100644 --- a/docs/html/reference/android/support/wearable/view/package-summary.html +++ b/docs/html/reference/android/support/wearable/view/package-summary.html @@ -113,7 +113,7 @@ href="http://fonts.googleapis.com/css?family=Roboto+Condensed"> - + @@ -398,6 +398,7 @@ type="text/css">
    • Get Users
    • Engage & Retain
    • Monetize
    • +
    • Analyze
    • Tools & Reference
    • Developer Stories
    @@ -414,19 +415,6 @@ type="text/css"> - -
    -
    -
    -
    Help Android Wear and TV developers
    - Learn more -
    -
    -
    -
    -
  • Classes

      +
    • ActionLabel
    • +
    • ActionPage
    • BoxInsetLayout
    • BoxInsetLayout.LayoutParams
    • CardFragment
    • CardFrame
    • CardScrollView
    • CircledImageView
    • +
    • CircularButton
    • CrossfadeDrawable
    • DelayedConfirmationView
    • DismissOverlayView
    • @@ -576,6 +572,8 @@ type="text/css">
    • GridViewPager.LayoutParams
    • SimpleAnimatorListener
    • WatchViewStub
    • +
    • WearableFrameLayout
    • +
    • WearableFrameLayout.LayoutParams
    • WearableListView
    • WearableListView.Adapter
    • WearableListView.ViewHolder
    • @@ -757,6 +755,18 @@ type="text/css"> + WearableListView.OnCentralPositionChangedListener + + A listener interface that can be added to the WearableListView to get notified when the + central item is changed.  + + + + + + + + WearableListView.OnScrollListener Interface for listening to WearableListView content scrolling.  @@ -781,6 +791,28 @@ type="text/css"> + + + + + + + + + + + + + + + + + + - + - + - + - + - + - + - + - + - + + + + + + + + + + + + + - + - + @@ -898,13 +890,13 @@ Summary: @@ -969,13 +961,13 @@ Summary: @@ -1026,13 +1018,13 @@ From class @@ -1049,13 +1041,13 @@ From class @@ -1072,13 +1064,13 @@ From class @@ -1095,13 +1087,13 @@ From class @@ -1118,13 +1110,13 @@ From class @@ -1171,20 +1163,36 @@ From class void + + + + + + - + - + - + - + - + - + diff --git a/docs/html/reference/android/support/wearable/watchface/CanvasWatchFaceService.html b/docs/html/reference/android/support/wearable/watchface/CanvasWatchFaceService.html index a61d00bc520c..c7229d43f860 100644 --- a/docs/html/reference/android/support/wearable/watchface/CanvasWatchFaceService.html +++ b/docs/html/reference/android/support/wearable/watchface/CanvasWatchFaceService.html @@ -113,7 +113,7 @@ href="http://fonts.googleapis.com/css?family=Roboto+Condensed"> - + @@ -397,6 +397,7 @@ type="text/css">
    • Get Users
    • Engage & Retain
    • Monetize
    • +
    • Analyze
    • Tools & Reference
    • Developer Stories
    • @@ -413,19 +414,6 @@ type="text/css"> - -
      -
      -
      -
      Help Android Wear and TV developers
      - Learn more -
      -
      -
      -
      - - - - - - - - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - - - + - + - + - + - - - - - - - - - - - - - - - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -930,13 +1014,13 @@ Summary: @@ -953,13 +1037,13 @@ Summary: @@ -976,13 +1060,13 @@ Summary: @@ -1047,13 +1131,13 @@ Summary: @@ -1104,13 +1188,13 @@ From class @@ -1127,13 +1211,13 @@ From class @@ -1150,13 +1234,13 @@ From class @@ -1173,13 +1257,13 @@ From class @@ -1196,13 +1280,13 @@ From class @@ -1249,20 +1333,36 @@ From class void + + + + + + - + - + - + - + - + - + @@ -2034,6 +2134,173 @@ From class + + +
      +

      + + public + + + + + EGLConfig + + chooseEglConfig + (EGLDisplay eglDisplay) +

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

      Returns the desired EGL config to use. By default, uses a config that:

        +
      • supports OpenGL ES 2.0 contexts +
      • has at least 8 bits for each of red, green, blue, and alpha +
      If there are multiple matches, the one with the most bits for red, green, blue, and + alpha is chosen. + +

      Watch faces can override this method to call eglChooseConfig(EGLDisplay, int[], int, EGLConfig[], int, int, int[], int) with + different attributes. By passing in a large array, eglChooseConfig can return + multiple matching configs and the watch face can choose among them by using + eglGetConfigAttrib(EGLDisplay, EGLConfig, int, int[], int) to fetch their attributes.

      +
      +
      Parameters
      +
      ActionLabel + ActionLabel is a specialized text display widget.  + + + +
      ActionPage + Displays a circular button, with an optional image to perform an action.  + + + +
      BoxInsetLayout BoxInsetLayout is a screen shape-aware FrameLayout that can box its children @@ -852,6 +884,19 @@ type="text/css">
      CircularButton + A circular button in the style of a Floating + Action Button, with support for ripple touch effects and elevation animation.  + + + +
      CrossfadeDrawable Contains two child drawables and provides methods to directly adjust the blend between the two.  @@ -862,7 +907,7 @@ type="text/css">
      DelayedConfirmationView DelayedConfirmationView provides a circular countdown timer, typically used to @@ -874,7 +919,7 @@ type="text/css">
      DismissOverlayView A view for implementing long-press-to-dismiss in an app.  @@ -885,7 +930,7 @@ type="text/css">
      DotsPageIndicator A page indicator for GridViewPager which identifies the current page in relation to all @@ -897,7 +942,7 @@ type="text/css">
      FragmentGridPagerAdapter An implementation of GridPagerAdapter which represents each page as a Fragment.  @@ -908,7 +953,7 @@ type="text/css">
      GridPagerAdapter This component is responsible for providing views requested by a GridViewPager.  @@ -919,7 +964,7 @@ type="text/css">
      GridViewPager Layout manager that allows the user to navigate both vertically and horizontally through pages of @@ -931,7 +976,7 @@ type="text/css">
      GridViewPager.LayoutParams Layout parameters that should be supplied for views added to a ViewPager.  @@ -942,7 +987,7 @@ type="text/css">
      SimpleAnimatorListener Convenience class for listening for Animator events that implements the AnimatorListener @@ -954,7 +999,7 @@ type="text/css">
      WatchViewStub A WatchViewStub allows for the use of different sub-layouts depending on the @@ -967,7 +1012,30 @@ type="text/css">
      WearableFrameLayout + WearableFrameLayout works exactly like FrameLayout, except it can have overrides for a round + screen.  + + + +
      WearableFrameLayout.LayoutParams + Per-child layout information for layouts on wearable devices.  + + + +
      WearableListView An alternative version of ListView that is optimized for ease of use on small screen wearable @@ -979,7 +1047,7 @@ type="text/css">
      WearableListView.Adapter Base class for adapters providing data for the WearableListView.  @@ -990,7 +1058,7 @@ type="text/css">
      WearableListView.ViewHolder Wrapper around items displayed in the list view.  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 36454ef87de3..541059de1f8e 100644 --- a/docs/html/reference/android/support/wearable/watchface/CanvasWatchFaceService.Engine.html +++ b/docs/html/reference/android/support/wearable/watchface/CanvasWatchFaceService.Engine.html @@ -113,7 +113,7 @@ href="http://fonts.googleapis.com/css?family=Roboto+Condensed"> - + @@ -397,6 +397,7 @@ type="text/css">
    • Get Users
    • Engage & Retain
    • Monetize
    • +
    • Analyze
    • Tools & Reference
    • Developer Stories
    • @@ -413,19 +414,6 @@ type="text/css"> - -
      -
      -
      -
      Help Android Wear and TV developers
      - Learn more -
      -
      -
      -
      -
      invalidate() -
      - Schedules a call to onDraw(Canvas, Rect) to draw the next frame. - +
      + Schedules a call to onDraw(Canvas, Rect) to draw the next frame. + -
      - +
      +
      onDraw(Canvas canvas, Rect bounds) -
      - Draws the watch face. - +
      + Draws the watch face. + -
      - +
      +
      postInvalidate() -
      - Posts a message to schedule a call to onDraw(Canvas, Rect) to draw the next frame. - +
      + Posts a message to schedule a call to onDraw(Canvas, Rect) to draw the next frame. + -
      - +
      +
      getInterruptionFilter() -
      - Returns interruption filter selected by the user. - +
      + Returns interruption filter selected by the user. + -
      - +
      +
      getPeekCardPosition() -
      - Returns the location of the first peeking card. - +
      + Returns the location of the first peeking card. + -
      - +
      +
      getUnreadCount() -
      - Returns the number of unread notification cards in the stream. - +
      + Returns the number of unread notification cards in the stream. + -
      - +
      +
      isInAmbientMode() -
      - Returns whether the watch face is in ambient mode. - +
      + Returns whether the watch face is in ambient mode. + -
      - +
      +
      onAmbientModeChanged(boolean inAmbientMode) -
      - Called when the device enters or exits ambient mode. - +
      + Called when the device enters or exits ambient mode. + -
      - +
      +
      + onDestroy() + +
      + + + + + + void + onInterruptionFilterChanged(int interruptionFilter) -
      - Called when the user changes interruption filter. - +
      + Called when the user changes interruption filter. + -
      - +
      +
      @@ -1196,18 +1204,18 @@ From class onPeekCardPositionUpdate(Rect rect) -
      - Called when the first, peeking card positions itself on the screen. - +
      + Called when the first, peeking card positions itself on the screen. + -
      - +
      +
      @@ -1219,18 +1227,18 @@ From class onPropertiesChanged(Bundle properties) -
      - Called when the properties of the device are determined. - +
      + Called when the properties of the device are determined. + -
      - +
      +
      @@ -1242,18 +1250,18 @@ From class onTimeTick() -
      - Called periodically in ambient mode to update the time shown by the watch face. - +
      + Called periodically to update the time shown by the watch face. + -
      - +
      +
      @@ -1265,18 +1273,18 @@ From class onUnreadCountChanged(int count) -
      - Called when the number of unread notification cards in the stream has changed. - +
      + Called when the number of unread notification cards in the stream has changed. + -
      - +
      +
      @@ -1288,18 +1296,18 @@ From class onVisibilityChanged(boolean visible) -
      - Called to inform you of the watch face becoming visible or hidden. - +
      + Called to inform you of the watch face becoming visible or hidden. + -
      - +
      +
      @@ -1311,13 +1319,13 @@ From class setWatchFaceStyle(WatchFaceStyle watchFaceStyle) -
      - Sets the watch face style. - +
      + Sets the watch face style. + -
      - +
      +
      StringBACKUP_SERVICE - - - - -
      String BATTERY_SERVICE @@ -1318,7 +1298,7 @@ android.content.Context
      int BIND_ABOVE_CLIENT @@ -1330,7 +1310,7 @@ android.content.Context
      int BIND_ADJUST_WITH_ACTIVITY @@ -1342,7 +1322,7 @@ android.content.Context
      int BIND_ALLOW_OOM_MANAGEMENT @@ -1354,7 +1334,7 @@ android.content.Context
      int BIND_AUTO_CREATE @@ -1366,7 +1346,7 @@ android.content.Context
      int BIND_DEBUG_UNBIND @@ -1378,7 +1358,7 @@ android.content.Context
      int BIND_IMPORTANT @@ -1390,7 +1370,7 @@ android.content.Context
      int BIND_NOT_FOREGROUND @@ -1402,7 +1382,7 @@ android.content.Context
      int BIND_WAIVE_PRIORITY @@ -1414,7 +1394,7 @@ android.content.Context
      String BLUETOOTH_SERVICE @@ -1426,7 +1406,7 @@ android.content.Context
      String CAMERA_SERVICE @@ -1438,7 +1418,7 @@ android.content.Context
      String CAPTIONING_SERVICE @@ -1450,7 +1430,7 @@ android.content.Context
      String CLIPBOARD_SERVICE @@ -1462,7 +1442,7 @@ android.content.Context
      String CONNECTIVITY_SERVICE @@ -1474,7 +1454,7 @@ android.content.Context
      String CONSUMER_IR_SERVICE @@ -1486,7 +1466,7 @@ android.content.Context
      int CONTEXT_IGNORE_SECURITY @@ -1498,7 +1478,7 @@ android.content.Context
      int CONTEXT_INCLUDE_CODE @@ -1510,7 +1490,7 @@ android.content.Context
      int CONTEXT_RESTRICTED @@ -1522,21 +1502,9 @@ android.content.Context
      StringDEVICE_POLICY_SERVICE - - - - -
      StringDISPLAY_SERVICEDEVICE_POLICY_SERVICE @@ -1548,7 +1516,7 @@ android.content.Context
      StringDOWNLOAD_SERVICEDISPLAY_SERVICE @@ -1560,7 +1528,7 @@ android.content.Context
      StringDROPBOX_SERVICEDOWNLOAD_SERVICE @@ -1572,7 +1540,7 @@ android.content.Context
      StringHDMI_CONTROL_SERVICEDROPBOX_SERVICE @@ -1776,18 +1744,6 @@ android.content.Context
      StringNETWORK_SCORE_SERVICE - - - - -
      String NFC_SERVICE @@ -1798,21 +1754,9 @@ android.content.Context
      StringNOTIFICATION_SERVICE - - - - -
      StringNSD_SERVICENOTIFICATION_SERVICE @@ -1824,7 +1768,7 @@ android.content.Context
      StringPERSISTENT_DATA_BLOCK_SERVICENSD_SERVICE @@ -1932,7 +1876,7 @@ android.content.Context
      StringTEXT_SERVICES_MANAGER_SERVICETELEPHONY_SUBSCRIPTION_SERVICE @@ -1944,7 +1888,7 @@ android.content.Context
      StringTV_INPUT_SERVICETEXT_SERVICES_MANAGER_SERVICE @@ -1956,7 +1900,7 @@ android.content.Context
      StringUI_MODE_SERVICETV_INPUT_SERVICE @@ -1968,7 +1912,7 @@ android.content.Context
      StringUSB_SERVICEUI_MODE_SERVICE @@ -1980,7 +1924,7 @@ android.content.Context
      StringUSER_SERVICEUSAGE_STATS_SERVICE @@ -1992,7 +1936,7 @@ android.content.Context
      StringVIBRATOR_SERVICEUSB_SERVICE @@ -2004,7 +1948,7 @@ android.content.Context
      StringWALLPAPER_SERVICEUSER_SERVICE @@ -2016,7 +1960,7 @@ android.content.Context
      StringWIFI_P2P_SERVICEVIBRATOR_SERVICE @@ -2028,7 +1972,7 @@ android.content.Context
      StringWIFI_RTT_SERVICEWALLPAPER_SERVICE @@ -2040,7 +1984,7 @@ android.content.Context
      StringWIFI_SCANNING_SERVICEWIFI_P2P_SERVICE @@ -4281,22 +4225,6 @@ From class
      - - - - - - boolean - - bindServiceAsUser(Intent arg0, ServiceConnection arg1, int arg2, UserHandle arg3) - -
      abstract @@ -4311,7 +4239,7 @@ From class -
      abstract @@ -4327,7 +4255,7 @@ From class -
      abstract @@ -4343,7 +4271,7 @@ From class -
      abstract @@ -4359,7 +4287,7 @@ From class -
      abstract @@ -4375,7 +4303,7 @@ From class -
      abstract @@ -4391,7 +4319,7 @@ From class -
      abstract @@ -4407,7 +4335,7 @@ From class -
      abstract @@ -4423,7 +4351,7 @@ From class -
      abstract @@ -4439,7 +4367,7 @@ From class -
      abstract @@ -4455,7 +4383,7 @@ From class -
      abstract @@ -4471,7 +4399,7 @@ From class -
      abstract @@ -4487,7 +4415,7 @@ From class -
      abstract @@ -4503,7 +4431,7 @@ From class -
      abstract @@ -4519,7 +4447,7 @@ From class -
      abstract @@ -4535,7 +4463,7 @@ From class -
      abstract @@ -4551,7 +4479,7 @@ From class -
      abstract @@ -4567,7 +4495,7 @@ From class -
      abstract @@ -4583,7 +4511,7 @@ From class -
      abstract @@ -4599,7 +4527,7 @@ From class -
      abstract @@ -4615,7 +4543,7 @@ From class -
      abstract @@ -4631,7 +4559,7 @@ From class -
      abstract @@ -4647,7 +4575,7 @@ From class -
      abstract @@ -4663,7 +4591,7 @@ From class -
      abstract @@ -4679,7 +4607,7 @@ From class -
      abstract @@ -4695,7 +4623,7 @@ From class -
      abstract @@ -4711,7 +4639,7 @@ From class -
      abstract @@ -4727,7 +4655,7 @@ From class -
      abstract @@ -4743,7 +4671,7 @@ From class -
      abstract @@ -4759,7 +4687,7 @@ From class -
      abstract @@ -4775,7 +4703,7 @@ From class -
      abstract @@ -4791,7 +4719,7 @@ From class -
      @@ -4807,7 +4735,7 @@ From class -
      abstract @@ -4823,7 +4751,7 @@ From class -
      abstract @@ -4839,7 +4767,7 @@ From class -
      abstract @@ -4855,7 +4783,7 @@ From class -
      abstract @@ -4871,7 +4799,7 @@ From class -
      abstract @@ -4887,7 +4815,7 @@ From class -
      abstract @@ -4903,7 +4831,7 @@ From class -
      abstract @@ -4919,7 +4847,7 @@ From class -
      abstract @@ -4935,7 +4863,7 @@ From class -
      abstract @@ -4951,7 +4879,7 @@ From class -
      abstract @@ -4967,7 +4895,7 @@ From class -
      abstract @@ -4983,7 +4911,7 @@ From class -
      abstract @@ -4999,7 +4927,7 @@ From class -
      abstract @@ -5015,7 +4943,7 @@ From class -
      abstract @@ -5031,7 +4959,7 @@ From class -
      abstract @@ -5047,7 +4975,7 @@ From class -
      abstract @@ -5063,7 +4991,7 @@ From class -
      abstract @@ -5079,7 +5007,7 @@ From class -
      @@ -5095,7 +5023,7 @@ From class -
      @@ -5111,7 +5039,7 @@ From class -
      abstract @@ -5127,7 +5055,7 @@ From class -
      @@ -5143,7 +5071,7 @@ From class -
      abstract @@ -5159,7 +5087,7 @@ From class -
      abstract @@ -5175,7 +5103,7 @@ From class -
      abstract @@ -5191,7 +5119,7 @@ From class -
      abstract @@ -5207,7 +5135,7 @@ From class -
      abstract @@ -5223,7 +5151,7 @@ From class -
      @@ -5239,7 +5167,7 @@ From class -
      @@ -5255,7 +5183,7 @@ From class -
      @@ -5271,7 +5199,7 @@ From class -
      @@ -5287,7 +5215,7 @@ From class -
      @@ -5303,7 +5231,7 @@ From class -
      abstract @@ -5319,7 +5247,7 @@ From class -
      abstract @@ -5335,7 +5263,7 @@ From class -
      abstract @@ -5351,7 +5279,7 @@ From class -
      abstract @@ -5367,7 +5295,7 @@ From class -
      abstract @@ -5383,7 +5311,7 @@ From class -
      @@ -5399,7 +5327,7 @@ From class -
      abstract @@ -5415,7 +5343,7 @@ From class -
      abstract @@ -5431,7 +5359,7 @@ From class -
      abstract @@ -5447,7 +5375,7 @@ From class -
      abstract @@ -5463,7 +5391,7 @@ From class -
      abstract @@ -5479,7 +5407,7 @@ From class -
      abstract @@ -5495,7 +5423,7 @@ From class -
      abstract @@ -5511,7 +5439,7 @@ From class -
      abstract @@ -5527,7 +5455,7 @@ From class -
      abstract @@ -5543,7 +5471,7 @@ From class -
      abstract @@ -5559,7 +5487,7 @@ From class -
      abstract @@ -5575,7 +5503,7 @@ From class -
      abstract @@ -5591,7 +5519,7 @@ From class -
      abstract @@ -5607,7 +5535,7 @@ From class -
      abstract @@ -5623,7 +5551,7 @@ From class -
      abstract @@ -5639,7 +5567,7 @@ From class -
      abstract @@ -5655,7 +5583,7 @@ From class -
      abstract @@ -5671,7 +5599,7 @@ From class -
      abstract @@ -5687,7 +5615,7 @@ From class -
      abstract @@ -5703,7 +5631,7 @@ From class -
      abstract @@ -5719,7 +5647,7 @@ From class -
      abstract @@ -5735,7 +5663,7 @@ From class -
      abstract @@ -5751,7 +5679,7 @@ From class -
      abstract @@ -5767,7 +5695,7 @@ From class -
      abstract @@ -5783,7 +5711,7 @@ From class -
      abstract @@ -5799,7 +5727,7 @@ From class -
      abstract @@ -5815,7 +5743,7 @@ From class -
      abstract @@ -5831,7 +5759,7 @@ From class -
      abstract @@ -5847,7 +5775,7 @@ From class -
      abstract @@ -5863,7 +5791,7 @@ From class -
      @@ -5879,7 +5807,7 @@ From class -
      abstract 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 1073fef9554c..317576aeb374 100644 --- a/docs/html/reference/android/support/wearable/watchface/Gles2WatchFaceService.Engine.html +++ b/docs/html/reference/android/support/wearable/watchface/Gles2WatchFaceService.Engine.html @@ -113,7 +113,7 @@ href="http://fonts.googleapis.com/css?family=Roboto+Condensed"> - + @@ -397,6 +397,7 @@ type="text/css">
    • Get Users
    • Engage & Retain
    • Monetize
    • +
    • Analyze
    • Tools & Reference
    • Developer Stories
    • @@ -413,19 +414,6 @@ type="text/css"> - -
      -
      -
      -
      Help Android Wear and TV developers
      - Learn more -
      -
      -
      -
      -
      + + + + EGLConfig + + chooseEglConfig(EGLDisplay eglDisplay) + +
      + Returns the desired EGL config to use. + + + +
      + +
      + + + + + + EGLContext + + createEglContext(EGLDisplay eglDisplay, EGLConfig eglConfig) + +
      + Creates the EGL context and returns it. + + + +
      + +
      + + + + + + EGLSurface + + createWindowSurface(EGLDisplay eglDisplay, EGLConfig eglConfig, SurfaceHolder surfaceHolder) + +
      + Creates and returns a new EGL window surface for surfaceHolder. + + + +
      + +
      + + + + + + EGLDisplay + + initializeEglDisplay() + +
      + Initializes the display. + + + +
      + +
      + + final @@ -859,13 +943,13 @@ Summary: invalidate() -
      - Schedules a call to onDraw() to draw the next frame. - +
      + Schedules a call to onDraw() to draw the next frame. + -
      - +
      +
      onDraw() -
      - Draws the watch face. - +
      + Draws the watch face. + -
      - +
      +
      onGlContextCreated() -
      - Called when a new GL context is created. - +
      + Called when a new GL context is created. + -
      - +
      +
      onGlSurfaceCreated(int width, int height) -
      - Called when a new GL surface is created. - +
      + Called when a new GL surface is created. + -
      - +
      +
      postInvalidate() -
      - Posts a message to schedule a call to onDraw() to draw the next frame. - +
      + Posts a message to schedule a call to onDraw() to draw the next frame. + -
      - +
      +
      getInterruptionFilter() -
      - Returns interruption filter selected by the user. - +
      + Returns interruption filter selected by the user. + -
      - +
      +
      getPeekCardPosition() -
      - Returns the location of the first peeking card. - +
      + Returns the location of the first peeking card. + -
      - +
      +
      getUnreadCount() -
      - Returns the number of unread notification cards in the stream. - +
      + Returns the number of unread notification cards in the stream. + -
      - +
      +
      isInAmbientMode() -
      - Returns whether the watch face is in ambient mode. - +
      + Returns whether the watch face is in ambient mode. + -
      - +
      +
      onAmbientModeChanged(boolean inAmbientMode) -
      - Called when the device enters or exits ambient mode. - +
      + Called when the device enters or exits ambient mode. + -
      - +
      +
      + onDestroy() + +
      + + + + + + void + onInterruptionFilterChanged(int interruptionFilter) -
      - Called when the user changes interruption filter. - +
      + Called when the user changes interruption filter. + -
      - +
      +
      @@ -1274,18 +1374,18 @@ From class onPeekCardPositionUpdate(Rect rect) -
      - Called when the first, peeking card positions itself on the screen. - +
      + Called when the first, peeking card positions itself on the screen. + -
      - +
      +
      @@ -1297,18 +1397,18 @@ From class onPropertiesChanged(Bundle properties) -
      - Called when the properties of the device are determined. - +
      + Called when the properties of the device are determined. + -
      - +
      +
      @@ -1320,18 +1420,18 @@ From class onTimeTick() -
      - Called periodically in ambient mode to update the time shown by the watch face. - +
      + Called periodically to update the time shown by the watch face. + -
      - +
      +
      @@ -1343,18 +1443,18 @@ From class onUnreadCountChanged(int count) -
      - Called when the number of unread notification cards in the stream has changed. - +
      + Called when the number of unread notification cards in the stream has changed. + -
      - +
      +
      @@ -1366,18 +1466,18 @@ From class onVisibilityChanged(boolean visible) -
      - Called to inform you of the watch face becoming visible or hidden. - +
      + Called to inform you of the watch face becoming visible or hidden. + -
      - +
      +
      @@ -1389,13 +1489,13 @@ From class setWatchFaceStyle(WatchFaceStyle watchFaceStyle) -
      - Sets the watch face style. - +
      + Sets the watch face style. + -
      - +
      +
      + + + +
      eglDisplay + the EGL display to use
      + +
      +
      Returns
      +
      • the EGL config to use +
      +
      + + + + + + + +
      +

      + + public + + + + + EGLContext + + createEglContext + (EGLDisplay eglDisplay, EGLConfig eglConfig) +

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

      Creates the EGL context and returns it. By default, creates an EGL 2.0 context using + eglCreateContext(EGLDisplay, EGLConfig, EGLContext, int[], int). + +

      Watch faces can override this method to call eglCreateContext(EGLDisplay, EGLConfig, EGLContext, int[], int) with + different attributes. +

      + +
      +
      + + + + +
      +

      + + public + + + + + EGLSurface + + createWindowSurface + (EGLDisplay eglDisplay, EGLConfig eglConfig, SurfaceHolder surfaceHolder) +

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

      Creates and returns a new EGL window surface for surfaceHolder. By default, this + surface has no attributes. + +

      Watch faces can override this method to call eglCreateWindowSurface(EGLDisplay, EGLConfig, Object, int[], int) with + different attributes. +

      + +
      +
      + + + + +
      +

      + + public + + + + + EGLDisplay + + initializeEglDisplay + () +

      +
      +
      + + + +
      +
      + + + + + +
      +
      Returns
      +
      • the initialized EGLDisplay to use +
      +
      + +
      +
      + +
      diff --git a/docs/html/reference/android/support/wearable/watchface/Gles2WatchFaceService.html b/docs/html/reference/android/support/wearable/watchface/Gles2WatchFaceService.html index 96ddfffd1641..bfacbcd07ff8 100644 --- a/docs/html/reference/android/support/wearable/watchface/Gles2WatchFaceService.html +++ b/docs/html/reference/android/support/wearable/watchface/Gles2WatchFaceService.html @@ -113,7 +113,7 @@ href="http://fonts.googleapis.com/css?family=Roboto+Condensed"> - + @@ -397,6 +397,7 @@ type="text/css">
    • Get Users
    • Engage & Retain
    • Monetize
    • +
    • Analyze
    • Tools & Reference
    • Developer Stories
    @@ -413,19 +414,6 @@ type="text/css"> - -
    -
    -
    -
    Help Android Wear and TV developers
    - Learn more -
    -
    -
    -
    -
    @@ -413,19 +414,6 @@ type="text/css"> - -
    -
    -
    -
    Help Android Wear and TV developers
    - Learn more -
    -
    -
    -
    -
    @@ -413,19 +414,6 @@ type="text/css"> - -
    -
    -
    -
    Help Android Wear and TV developers
    - Learn more -
    -
    -
    -
    - @@ -413,19 +414,6 @@ type="text/css"> - -
    -
    -
    -
    Help Android Wear and TV developers
    - Learn more -
    -
    -
    -
    -
    @@ -413,19 +414,6 @@ type="text/css"> - -
    -
    -
    -
    Help Android Wear and TV developers
    - Learn more -
    -
    -
    -
    - @@ -414,19 +415,6 @@ type="text/css"> - -
    -
    -
    -
    Help Android Wear and TV developers
    - Learn more -
    -
    -
    -
    - @@ -404,19 +405,6 @@ type="text/css"> - -
    -
    -
    -
    Help Android Wear and TV developers
    - Learn more -
    -
    -
    -
    -