| // Signature format: 4.0 |
| package androidx.wear.activity { |
| |
| public class ConfirmationActivity extends android.app.Activity { |
| ctor public ConfirmationActivity(); |
| method protected void onAnimationFinished(); |
| method public void onCreate(android.os.Bundle!); |
| field public static final String EXTRA_ANIMATION_DURATION_MILLIS = "androidx.wear.activity.extra.ANIMATION_DURATION_MILLIS"; |
| field public static final String EXTRA_ANIMATION_TYPE = "androidx.wear.activity.extra.ANIMATION_TYPE"; |
| field public static final String EXTRA_MESSAGE = "androidx.wear.activity.extra.MESSAGE"; |
| field public static final int FAILURE_ANIMATION = 3; // 0x3 |
| field public static final int OPEN_ON_PHONE_ANIMATION = 2; // 0x2 |
| field public static final int SUCCESS_ANIMATION = 1; // 0x1 |
| } |
| |
| } |
| |
| package androidx.wear.ambient { |
| |
| @Deprecated public final class AmbientMode extends android.app.Fragment { |
| ctor @Deprecated public AmbientMode(); |
| method @Deprecated public static <T extends android.app.Activity> androidx.wear.ambient.AmbientMode.AmbientController! attachAmbientSupport(T!); |
| method @Deprecated public void dump(String!, java.io.FileDescriptor!, java.io.PrintWriter!, String![]!); |
| method @Deprecated @CallSuper public void onAttach(android.content.Context!); |
| method @Deprecated @CallSuper public void onCreate(android.os.Bundle!); |
| method @Deprecated @CallSuper public void onDestroy(); |
| method @Deprecated @CallSuper public void onDetach(); |
| method @Deprecated @CallSuper public void onPause(); |
| method @Deprecated @CallSuper public void onResume(); |
| method @Deprecated @CallSuper public void onStop(); |
| field @Deprecated public static final String EXTRA_BURN_IN_PROTECTION = "com.google.android.wearable.compat.extra.BURN_IN_PROTECTION"; |
| field @Deprecated public static final String EXTRA_LOWBIT_AMBIENT = "com.google.android.wearable.compat.extra.LOWBIT_AMBIENT"; |
| field @Deprecated public static final String FRAGMENT_TAG = "android.support.wearable.ambient.AmbientMode"; |
| } |
| |
| @Deprecated public abstract static class AmbientMode.AmbientCallback { |
| ctor @Deprecated public AmbientMode.AmbientCallback(); |
| method @Deprecated public void onAmbientOffloadInvalidated(); |
| method @Deprecated public void onEnterAmbient(android.os.Bundle!); |
| method @Deprecated public void onExitAmbient(); |
| method @Deprecated public void onUpdateAmbient(); |
| } |
| |
| @Deprecated public static interface AmbientMode.AmbientCallbackProvider { |
| method @Deprecated public androidx.wear.ambient.AmbientMode.AmbientCallback! getAmbientCallback(); |
| } |
| |
| @Deprecated public final class AmbientMode.AmbientController { |
| method @Deprecated public boolean isAmbient(); |
| method @Deprecated public void setAmbientOffloadEnabled(boolean); |
| } |
| |
| public final class AmbientModeSupport extends androidx.fragment.app.Fragment { |
| ctor public AmbientModeSupport(); |
| method public static <T extends androidx.fragment.app.FragmentActivity> androidx.wear.ambient.AmbientModeSupport.AmbientController! attach(T!); |
| field public static final String EXTRA_BURN_IN_PROTECTION = "com.google.android.wearable.compat.extra.BURN_IN_PROTECTION"; |
| field public static final String EXTRA_LOWBIT_AMBIENT = "com.google.android.wearable.compat.extra.LOWBIT_AMBIENT"; |
| field public static final String FRAGMENT_TAG = "android.support.wearable.ambient.AmbientMode"; |
| } |
| |
| public abstract static class AmbientModeSupport.AmbientCallback { |
| ctor public AmbientModeSupport.AmbientCallback(); |
| method public void onAmbientOffloadInvalidated(); |
| method public void onEnterAmbient(android.os.Bundle!); |
| method public void onExitAmbient(); |
| method public void onUpdateAmbient(); |
| } |
| |
| public static interface AmbientModeSupport.AmbientCallbackProvider { |
| method public androidx.wear.ambient.AmbientModeSupport.AmbientCallback! getAmbientCallback(); |
| } |
| |
| public final class AmbientModeSupport.AmbientController { |
| method public boolean isAmbient(); |
| method public void setAmbientOffloadEnabled(boolean); |
| method public void setAutoResumeEnabled(boolean); |
| } |
| |
| } |
| |
| package androidx.wear.ongoingactivity { |
| |
| @RequiresApi(24) public final class OngoingActivity { |
| method public void apply(android.content.Context); |
| method public static androidx.wear.ongoingactivity.OngoingActivity? fromExistingOngoingActivity(android.content.Context, java.util.function.Predicate<androidx.wear.ongoingactivity.OngoingActivityData!>); |
| method public static androidx.wear.ongoingactivity.OngoingActivity? fromExistingOngoingActivity(android.content.Context); |
| method public static androidx.wear.ongoingactivity.OngoingActivity? fromExistingOngoingActivity(android.content.Context, int); |
| method public void update(android.content.Context, androidx.wear.ongoingactivity.OngoingActivityStatus); |
| } |
| |
| public static final class OngoingActivity.Builder { |
| ctor public OngoingActivity.Builder(android.content.Context, int, androidx.core.app.NotificationCompat.Builder); |
| method public androidx.wear.ongoingactivity.OngoingActivity build(); |
| method public androidx.wear.ongoingactivity.OngoingActivity.Builder setAnimatedIcon(android.graphics.drawable.Icon); |
| method public androidx.wear.ongoingactivity.OngoingActivity.Builder setAnimatedIcon(@DrawableRes int); |
| method public androidx.wear.ongoingactivity.OngoingActivity.Builder setCategory(String); |
| method public androidx.wear.ongoingactivity.OngoingActivity.Builder setLocusId(androidx.core.content.LocusIdCompat); |
| method public androidx.wear.ongoingactivity.OngoingActivity.Builder setOngoingActivityId(int); |
| method public androidx.wear.ongoingactivity.OngoingActivity.Builder setStaticIcon(android.graphics.drawable.Icon); |
| method public androidx.wear.ongoingactivity.OngoingActivity.Builder setStaticIcon(@DrawableRes int); |
| method public androidx.wear.ongoingactivity.OngoingActivity.Builder setStatus(androidx.wear.ongoingactivity.OngoingActivityStatus); |
| method public androidx.wear.ongoingactivity.OngoingActivity.Builder setTouchIntent(android.app.PendingIntent); |
| } |
| |
| @androidx.versionedparcelable.VersionedParcelize public class OngoingActivityData implements androidx.versionedparcelable.VersionedParcelable { |
| method public static androidx.wear.ongoingactivity.OngoingActivityData? create(android.app.Notification); |
| method public android.graphics.drawable.Icon? getAnimatedIcon(); |
| method public String? getCategory(); |
| method public androidx.core.content.LocusIdCompat? getLocusId(); |
| method public int getOngoingActivityId(); |
| method public android.graphics.drawable.Icon getStaticIcon(); |
| method public androidx.wear.ongoingactivity.OngoingActivityStatus? getStatus(); |
| method public long getTimestamp(); |
| method public android.app.PendingIntent getTouchIntent(); |
| method public static boolean hasOngoingActivity(android.app.Notification); |
| } |
| |
| @androidx.versionedparcelable.VersionedParcelize public class OngoingActivityStatus implements androidx.versionedparcelable.VersionedParcelable { |
| method public long getNextChangeTimeMillis(long); |
| method public CharSequence getText(android.content.Context, long); |
| } |
| |
| @androidx.versionedparcelable.VersionedParcelize public class TextOngoingActivityStatus extends androidx.wear.ongoingactivity.OngoingActivityStatus { |
| ctor public TextOngoingActivityStatus(String); |
| } |
| |
| @androidx.versionedparcelable.VersionedParcelize public class TimerOngoingActivityStatus extends androidx.wear.ongoingactivity.OngoingActivityStatus { |
| ctor public TimerOngoingActivityStatus(long, boolean, long, long); |
| ctor public TimerOngoingActivityStatus(long, boolean, long); |
| ctor public TimerOngoingActivityStatus(long, boolean); |
| ctor public TimerOngoingActivityStatus(long); |
| method public long getPausedAtMillis(); |
| method public long getTimeZeroMillis(); |
| method public long getTotalDurationMillis(); |
| method public boolean hasTotalDuration(); |
| method public boolean isCountDown(); |
| method public boolean isPaused(); |
| } |
| |
| } |
| |
| package androidx.wear.provider { |
| |
| public class WearableCalendarContract { |
| method public static void addCalendarAuthorityUri(android.content.UriMatcher, String, int); |
| method public static void addCalendarDataAuthority(android.content.IntentFilter, String?); |
| field public static final android.net.Uri CONTENT_URI; |
| } |
| |
| public static final class WearableCalendarContract.Attendees { |
| field public static final android.net.Uri CONTENT_URI; |
| } |
| |
| public static final class WearableCalendarContract.Instances { |
| field public static final android.net.Uri CONTENT_URI; |
| } |
| |
| public static final class WearableCalendarContract.Reminders { |
| field public static final android.net.Uri CONTENT_URI; |
| } |
| |
| } |
| |
| package androidx.wear.utils { |
| |
| public class MetadataConstants { |
| method public static int getPreviewDrawableResourceId(android.content.Context!, boolean); |
| method public static boolean isNotificationBridgingEnabled(android.content.Context!); |
| method public static boolean isStandalone(android.content.Context!); |
| field public static final String NOTIFICATION_BRIDGE_MODE_BRIDGING = "BRIDGING"; |
| field public static final String NOTIFICATION_BRIDGE_MODE_METADATA_NAME = "com.google.android.wearable.notificationBridgeMode"; |
| field public static final String NOTIFICATION_BRIDGE_MODE_NO_BRIDGING = "NO_BRIDGING"; |
| field public static final String STANDALONE_METADATA_NAME = "com.google.android.wearable.standalone"; |
| field public static final String WATCH_FACE_PREVIEW_CIRCULAR_METADATA_NAME = "com.google.android.wearable.watchface.preview_circular"; |
| field public static final String WATCH_FACE_PREVIEW_METADATA_NAME = "com.google.android.wearable.watchface.preview"; |
| } |
| |
| } |
| |
| package androidx.wear.widget { |
| |
| @UiThread public class BoxInsetLayout extends android.view.ViewGroup { |
| ctor public BoxInsetLayout(android.content.Context); |
| ctor public BoxInsetLayout(android.content.Context, android.util.AttributeSet?); |
| ctor public BoxInsetLayout(android.content.Context, android.util.AttributeSet?, @StyleRes int); |
| method public androidx.wear.widget.BoxInsetLayout.LayoutParams! generateLayoutParams(android.util.AttributeSet!); |
| } |
| |
| public static class BoxInsetLayout.LayoutParams extends android.widget.FrameLayout.LayoutParams { |
| ctor public BoxInsetLayout.LayoutParams(android.content.Context, android.util.AttributeSet?); |
| ctor public BoxInsetLayout.LayoutParams(int, int); |
| ctor public BoxInsetLayout.LayoutParams(int, int, int); |
| ctor public BoxInsetLayout.LayoutParams(int, int, int, int); |
| ctor public BoxInsetLayout.LayoutParams(android.view.ViewGroup.LayoutParams); |
| ctor public BoxInsetLayout.LayoutParams(android.view.ViewGroup.MarginLayoutParams); |
| ctor public BoxInsetLayout.LayoutParams(android.widget.FrameLayout.LayoutParams); |
| ctor public BoxInsetLayout.LayoutParams(androidx.wear.widget.BoxInsetLayout.LayoutParams); |
| field public static final int BOX_ALL = 15; // 0xf |
| field public static final int BOX_BOTTOM = 8; // 0x8 |
| field public static final int BOX_LEFT = 1; // 0x1 |
| field public static final int BOX_NONE = 0; // 0x0 |
| field public static final int BOX_RIGHT = 4; // 0x4 |
| field public static final int BOX_TOP = 2; // 0x2 |
| field public int boxedEdges; |
| } |
| |
| public class CircularProgressLayout extends android.widget.FrameLayout { |
| ctor public CircularProgressLayout(android.content.Context!); |
| ctor public CircularProgressLayout(android.content.Context!, android.util.AttributeSet!); |
| ctor public CircularProgressLayout(android.content.Context!, android.util.AttributeSet!, int); |
| ctor public CircularProgressLayout(android.content.Context!, android.util.AttributeSet!, int, int); |
| method @ColorInt public int getBackgroundColor(); |
| method public int[]! getColorSchemeColors(); |
| method public androidx.wear.widget.CircularProgressLayout.OnTimerFinishedListener? getOnTimerFinishedListener(); |
| method public androidx.swiperefreshlayout.widget.CircularProgressDrawable getProgressDrawable(); |
| method public float getStartingRotation(); |
| method public float getStrokeWidth(); |
| method public long getTotalTime(); |
| method public boolean isIndeterminate(); |
| method public boolean isTimerRunning(); |
| method public void setColorSchemeColors(int...); |
| method public void setIndeterminate(boolean); |
| method public void setOnTimerFinishedListener(androidx.wear.widget.CircularProgressLayout.OnTimerFinishedListener?); |
| method public void setStartingRotation(float); |
| method public void setStrokeWidth(float); |
| method public void setTotalTime(long); |
| method public void startTimer(); |
| method public void stopTimer(); |
| } |
| |
| public static interface CircularProgressLayout.OnTimerFinishedListener { |
| method public void onTimerFinished(androidx.wear.widget.CircularProgressLayout!); |
| } |
| |
| public class ConfirmationOverlay { |
| ctor public ConfirmationOverlay(); |
| method @MainThread @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) @VisibleForTesting public void hide(); |
| method public androidx.wear.widget.ConfirmationOverlay setDuration(int); |
| method @Deprecated public androidx.wear.widget.ConfirmationOverlay setFinishedAnimationListener(androidx.wear.widget.ConfirmationOverlay.OnAnimationFinishedListener?); |
| method @Deprecated public androidx.wear.widget.ConfirmationOverlay setMessage(String); |
| method public androidx.wear.widget.ConfirmationOverlay setMessage(CharSequence); |
| method public androidx.wear.widget.ConfirmationOverlay setOnAnimationFinishedListener(androidx.wear.widget.ConfirmationOverlay.OnAnimationFinishedListener?); |
| method public androidx.wear.widget.ConfirmationOverlay setType(@androidx.wear.widget.ConfirmationOverlay.OverlayType int); |
| method @MainThread public void showAbove(android.view.View); |
| method @MainThread public void showOn(android.app.Activity); |
| field public static final int DEFAULT_ANIMATION_DURATION_MS = 1000; // 0x3e8 |
| field public static final int FAILURE_ANIMATION = 1; // 0x1 |
| field public static final int OPEN_ON_PHONE_ANIMATION = 2; // 0x2 |
| field public static final int SUCCESS_ANIMATION = 0; // 0x0 |
| } |
| |
| public static interface ConfirmationOverlay.OnAnimationFinishedListener { |
| method public void onAnimationFinished(); |
| } |
| |
| @IntDef({androidx.wear.widget.ConfirmationOverlay.SUCCESS_ANIMATION, androidx.wear.widget.ConfirmationOverlay.FAILURE_ANIMATION, androidx.wear.widget.ConfirmationOverlay.OPEN_ON_PHONE_ANIMATION}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface ConfirmationOverlay.OverlayType { |
| } |
| |
| public class CurvingLayoutCallback extends androidx.wear.widget.WearableLinearLayoutManager.LayoutCallback { |
| ctor public CurvingLayoutCallback(android.content.Context!); |
| method public void adjustAnchorOffsetXY(android.view.View!, float[]!); |
| method public void onLayoutFinished(android.view.View!, androidx.recyclerview.widget.RecyclerView!); |
| } |
| |
| @UiThread public class DismissibleFrameLayout extends android.widget.FrameLayout { |
| ctor public DismissibleFrameLayout(android.content.Context); |
| ctor public DismissibleFrameLayout(android.content.Context, android.util.AttributeSet?); |
| ctor public DismissibleFrameLayout(android.content.Context, android.util.AttributeSet?, int); |
| ctor public DismissibleFrameLayout(android.content.Context, android.util.AttributeSet?, int, int); |
| method protected void executeDismissCanceledCallbacks(); |
| method protected void executeDismissStartedCallbacks(); |
| method protected void executeDismissedCallbacks(); |
| method public boolean isBackButtonDismissible(); |
| method public boolean isSwipeDismissible(); |
| method @UiThread public void registerCallback(androidx.wear.widget.DismissibleFrameLayout.Callback); |
| method public void setBackButtonDismissible(boolean); |
| method public void setSwipeDismissible(boolean); |
| method @UiThread public void unregisterCallback(androidx.wear.widget.DismissibleFrameLayout.Callback); |
| } |
| |
| @UiThread public abstract static class DismissibleFrameLayout.Callback { |
| ctor public DismissibleFrameLayout.Callback(); |
| method public void onDismissCanceled(androidx.wear.widget.DismissibleFrameLayout); |
| method public void onDismissStarted(androidx.wear.widget.DismissibleFrameLayout); |
| method public void onDismissed(androidx.wear.widget.DismissibleFrameLayout); |
| } |
| |
| public class RoundedDrawable extends android.graphics.drawable.Drawable { |
| ctor public RoundedDrawable(); |
| method public void draw(android.graphics.Canvas); |
| method @ColorInt public int getBackgroundColor(); |
| method public android.graphics.drawable.Drawable? getDrawable(); |
| method public int getOpacity(); |
| method public int getRadius(); |
| method public boolean isClipEnabled(); |
| method public void setAlpha(int); |
| method public void setBackgroundColor(@ColorInt int); |
| method public void setClipEnabled(boolean); |
| method public void setColorFilter(android.graphics.ColorFilter!); |
| method public void setDrawable(android.graphics.drawable.Drawable?); |
| method public void setRadius(int); |
| } |
| |
| @UiThread public class SwipeDismissFrameLayout extends androidx.wear.widget.DismissibleFrameLayout { |
| ctor public SwipeDismissFrameLayout(android.content.Context!); |
| ctor public SwipeDismissFrameLayout(android.content.Context!, android.util.AttributeSet!); |
| ctor public SwipeDismissFrameLayout(android.content.Context!, android.util.AttributeSet!, int); |
| ctor public SwipeDismissFrameLayout(android.content.Context!, android.util.AttributeSet!, int, int); |
| method public void addCallback(androidx.wear.widget.SwipeDismissFrameLayout.Callback!); |
| method public float getDismissMinDragWidthRatio(); |
| method public boolean isSwipeable(); |
| method public void removeCallback(androidx.wear.widget.SwipeDismissFrameLayout.Callback!); |
| method public void setDismissMinDragWidthRatio(float); |
| method public void setSwipeable(boolean); |
| field public static final float DEFAULT_DISMISS_DRAG_WIDTH_RATIO = 0.33f; |
| } |
| |
| @UiThread public abstract static class SwipeDismissFrameLayout.Callback { |
| ctor public SwipeDismissFrameLayout.Callback(); |
| method public void onDismissed(androidx.wear.widget.SwipeDismissFrameLayout!); |
| method public void onSwipeCanceled(androidx.wear.widget.SwipeDismissFrameLayout!); |
| method public void onSwipeStarted(androidx.wear.widget.SwipeDismissFrameLayout!); |
| } |
| |
| @UiThread public class WearArcLayout extends android.view.ViewGroup { |
| ctor public WearArcLayout(android.content.Context); |
| ctor public WearArcLayout(android.content.Context, android.util.AttributeSet?); |
| ctor public WearArcLayout(android.content.Context, android.util.AttributeSet?, int); |
| ctor public WearArcLayout(android.content.Context, android.util.AttributeSet?, int, int); |
| method public float getAnchorAngleDegrees(); |
| method @androidx.wear.widget.WearArcLayout.AnchorType public int getAnchorType(); |
| method public boolean getClockwise(); |
| method public void setAnchorAngleDegrees(float); |
| method public void setAnchorType(@androidx.wear.widget.WearArcLayout.AnchorType int); |
| method public void setClockwise(boolean); |
| field public static final int ANCHOR_CENTER = 1; // 0x1 |
| field public static final int ANCHOR_END = 2; // 0x2 |
| field public static final int ANCHOR_START = 0; // 0x0 |
| } |
| |
| @IntDef({androidx.wear.widget.WearArcLayout.ANCHOR_START, androidx.wear.widget.WearArcLayout.ANCHOR_CENTER, androidx.wear.widget.WearArcLayout.ANCHOR_END}) @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface WearArcLayout.AnchorType { |
| } |
| |
| public static interface WearArcLayout.ArcLayoutWidget { |
| method public void checkInvalidAttributeAsChild(); |
| method public float getSweepAngleDegrees(); |
| method public int getThicknessPx(); |
| method public boolean insideClickArea(float, float); |
| } |
| |
| public static class WearArcLayout.LayoutParams extends android.view.ViewGroup.MarginLayoutParams { |
| ctor public WearArcLayout.LayoutParams(android.content.Context, android.util.AttributeSet?); |
| ctor public WearArcLayout.LayoutParams(int, int); |
| ctor public WearArcLayout.LayoutParams(android.view.ViewGroup.LayoutParams); |
| method public boolean getRotate(); |
| method @androidx.wear.widget.WearArcLayout.LayoutParams.VerticalAlignment public int getVerticalAlignment(); |
| method public void setRotate(boolean); |
| method public void setVerticalAlignment(@androidx.wear.widget.WearArcLayout.LayoutParams.VerticalAlignment int); |
| field public static final int VALIGN_CENTER = 1; // 0x1 |
| field public static final int VALIGN_INNER = 2; // 0x2 |
| field public static final int VALIGN_OUTER = 0; // 0x0 |
| } |
| |
| @IntDef({androidx.wear.widget.WearArcLayout.LayoutParams.VALIGN_OUTER, androidx.wear.widget.WearArcLayout.LayoutParams.VALIGN_CENTER, androidx.wear.widget.WearArcLayout.LayoutParams.VALIGN_INNER}) @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface WearArcLayout.LayoutParams.VerticalAlignment { |
| } |
| |
| public class WearCurvedTextView extends android.view.View implements androidx.wear.widget.WearArcLayout.ArcLayoutWidget { |
| ctor public WearCurvedTextView(android.content.Context); |
| ctor public WearCurvedTextView(android.content.Context, android.util.AttributeSet?); |
| ctor public WearCurvedTextView(android.content.Context, android.util.AttributeSet?, int); |
| ctor public WearCurvedTextView(android.content.Context, android.util.AttributeSet?, int, int); |
| method public void checkInvalidAttributeAsChild(); |
| method public float getAnchorAngleDegrees(); |
| method public int getAnchorType(); |
| method public boolean getClockwise(); |
| method public android.text.TextUtils.TruncateAt? getEllipsize(); |
| method public String? getFontFeatureSettings(); |
| method public String? getFontVariationSettings(); |
| method public float getLetterSpacing(); |
| method public float getMaxSweepDegrees(); |
| method public float getMinSweepDegrees(); |
| method public float getSweepAngleDegrees(); |
| method public String? getText(); |
| method @ColorInt public int getTextColor(); |
| method public float getTextSize(); |
| method public int getThicknessPx(); |
| method public android.graphics.Typeface? getTypeface(); |
| method public boolean insideClickArea(float, float); |
| method public void setAnchorAngleDegrees(float); |
| method public void setAnchorType(@androidx.wear.widget.WearArcLayout.AnchorType int); |
| method public void setClockwise(boolean); |
| method public void setEllipsize(android.text.TextUtils.TruncateAt?); |
| method public void setFontFeatureSettings(String?); |
| method public void setFontVariationSettings(String?); |
| method public void setLetterSpacing(float); |
| method public void setMaxSweepDegrees(float); |
| method public void setMinSweepDegrees(float); |
| method public void setText(String?); |
| method public void setTextColor(@ColorInt int); |
| method public void setTextSize(float); |
| method public void setTypeface(android.graphics.Typeface?); |
| } |
| |
| public class WearableLinearLayoutManager extends androidx.recyclerview.widget.LinearLayoutManager { |
| ctor public WearableLinearLayoutManager(android.content.Context!, androidx.wear.widget.WearableLinearLayoutManager.LayoutCallback!); |
| ctor public WearableLinearLayoutManager(android.content.Context!); |
| method public androidx.wear.widget.WearableLinearLayoutManager.LayoutCallback? getLayoutCallback(); |
| method public void setLayoutCallback(androidx.wear.widget.WearableLinearLayoutManager.LayoutCallback?); |
| } |
| |
| public abstract static class WearableLinearLayoutManager.LayoutCallback { |
| ctor public WearableLinearLayoutManager.LayoutCallback(); |
| method public abstract void onLayoutFinished(android.view.View!, androidx.recyclerview.widget.RecyclerView!); |
| } |
| |
| public class WearableRecyclerView extends androidx.recyclerview.widget.RecyclerView { |
| ctor public WearableRecyclerView(android.content.Context!); |
| ctor public WearableRecyclerView(android.content.Context!, android.util.AttributeSet?); |
| ctor public WearableRecyclerView(android.content.Context!, android.util.AttributeSet?, int); |
| ctor public WearableRecyclerView(android.content.Context!, android.util.AttributeSet?, int, int); |
| method public float getBezelFraction(); |
| method public float getScrollDegreesPerScreen(); |
| method public boolean isCircularScrollingGestureEnabled(); |
| method public boolean isEdgeItemsCenteringEnabled(); |
| method public void setBezelFraction(float); |
| method public void setCircularScrollingGestureEnabled(boolean); |
| method public void setEdgeItemsCenteringEnabled(boolean); |
| method public void setScrollDegreesPerScreen(float); |
| } |
| |
| } |
| |
| package androidx.wear.widget.drawer { |
| |
| public class WearableActionDrawerView extends androidx.wear.widget.drawer.WearableDrawerView { |
| ctor public WearableActionDrawerView(android.content.Context!); |
| ctor public WearableActionDrawerView(android.content.Context!, android.util.AttributeSet!); |
| ctor public WearableActionDrawerView(android.content.Context!, android.util.AttributeSet!, int); |
| ctor public WearableActionDrawerView(android.content.Context!, android.util.AttributeSet!, int, int); |
| method public android.view.Menu! getMenu(); |
| method public void setOnMenuItemClickListener(android.view.MenuItem.OnMenuItemClickListener!); |
| method public void setTitle(CharSequence?); |
| } |
| |
| public class WearableDrawerController { |
| method public void closeDrawer(); |
| method public void openDrawer(); |
| method public void peekDrawer(); |
| } |
| |
| public class WearableDrawerLayout extends android.widget.FrameLayout implements androidx.core.view.NestedScrollingParent android.view.View.OnLayoutChangeListener { |
| ctor public WearableDrawerLayout(android.content.Context!); |
| ctor public WearableDrawerLayout(android.content.Context!, android.util.AttributeSet!); |
| ctor public WearableDrawerLayout(android.content.Context!, android.util.AttributeSet!, int); |
| ctor public WearableDrawerLayout(android.content.Context!, android.util.AttributeSet!, int, int); |
| method public void onFlingComplete(android.view.View!); |
| method public void onLayoutChange(android.view.View!, int, int, int, int, int, int, int, int); |
| method public void setDrawerStateCallback(androidx.wear.widget.drawer.WearableDrawerLayout.DrawerStateCallback!); |
| } |
| |
| public static class WearableDrawerLayout.DrawerStateCallback { |
| ctor public WearableDrawerLayout.DrawerStateCallback(); |
| method public void onDrawerClosed(androidx.wear.widget.drawer.WearableDrawerLayout!, androidx.wear.widget.drawer.WearableDrawerView!); |
| method public void onDrawerOpened(androidx.wear.widget.drawer.WearableDrawerLayout!, androidx.wear.widget.drawer.WearableDrawerView!); |
| method public void onDrawerStateChanged(androidx.wear.widget.drawer.WearableDrawerLayout!, int); |
| } |
| |
| public class WearableDrawerView extends android.widget.FrameLayout { |
| ctor public WearableDrawerView(android.content.Context!); |
| ctor public WearableDrawerView(android.content.Context!, android.util.AttributeSet!); |
| ctor public WearableDrawerView(android.content.Context!, android.util.AttributeSet!, int); |
| ctor public WearableDrawerView(android.content.Context!, android.util.AttributeSet!, int, int); |
| method public androidx.wear.widget.drawer.WearableDrawerController! getController(); |
| method public android.view.View? getDrawerContent(); |
| method public int getDrawerState(); |
| method public boolean isAutoPeekEnabled(); |
| method public boolean isClosed(); |
| method public boolean isLocked(); |
| method public boolean isLockedWhenClosed(); |
| method public boolean isOpenOnlyAtTopEnabled(); |
| method public boolean isOpened(); |
| method public boolean isPeekOnScrollDownEnabled(); |
| method public boolean isPeeking(); |
| method public void onDrawerClosed(); |
| method public void onDrawerOpened(); |
| method public void onDrawerStateChanged(int); |
| method public void onPeekContainerClicked(android.view.View!); |
| method public void setDrawerContent(android.view.View?); |
| method public void setIsAutoPeekEnabled(boolean); |
| method public void setIsLocked(boolean); |
| method public void setLockedWhenClosed(boolean); |
| method public void setOpenOnlyAtTopEnabled(boolean); |
| method public void setPeekContent(android.view.View!); |
| method public void setPeekOnScrollDownEnabled(boolean); |
| field public static final int STATE_DRAGGING = 1; // 0x1 |
| field public static final int STATE_IDLE = 0; // 0x0 |
| field public static final int STATE_SETTLING = 2; // 0x2 |
| } |
| |
| public class WearableNavigationDrawerView extends androidx.wear.widget.drawer.WearableDrawerView { |
| ctor public WearableNavigationDrawerView(android.content.Context!); |
| ctor public WearableNavigationDrawerView(android.content.Context!, android.util.AttributeSet!); |
| ctor public WearableNavigationDrawerView(android.content.Context!, android.util.AttributeSet!, int); |
| ctor public WearableNavigationDrawerView(android.content.Context!, android.util.AttributeSet!, int, int); |
| method public void addOnItemSelectedListener(androidx.wear.widget.drawer.WearableNavigationDrawerView.OnItemSelectedListener!); |
| method public int getNavigationStyle(); |
| method public void removeOnItemSelectedListener(androidx.wear.widget.drawer.WearableNavigationDrawerView.OnItemSelectedListener!); |
| method public void setAdapter(androidx.wear.widget.drawer.WearableNavigationDrawerView.WearableNavigationDrawerAdapter!); |
| method public void setCurrentItem(int, boolean); |
| field public static final int MULTI_PAGE = 1; // 0x1 |
| field public static final int SINGLE_PAGE = 0; // 0x0 |
| } |
| |
| public static interface WearableNavigationDrawerView.OnItemSelectedListener { |
| method public void onItemSelected(int); |
| } |
| |
| public abstract static class WearableNavigationDrawerView.WearableNavigationDrawerAdapter { |
| ctor public WearableNavigationDrawerView.WearableNavigationDrawerAdapter(); |
| method public abstract int getCount(); |
| method public abstract android.graphics.drawable.Drawable! getItemDrawable(int); |
| method public abstract CharSequence! getItemText(int); |
| method public void notifyDataSetChanged(); |
| } |
| |
| } |
| |