Searched refs:AmbientCallback (Results 1 - 14 of 14) sorted by relevance

/frameworks/support/wear/src/main/java/androidx/wear/ambient/
H A DWearableControllerProvider.java43 * @param callback The {@link AmbientDelegate.AmbientCallback} for the Controller.
47 final AmbientDelegate.AmbientCallback callback) {
50 // The AmbientCallback is an abstract class instead of an interface.
51 WearableActivityController.AmbientCallback callbackBridge =
52 new WearableActivityController.AmbientCallback() {
80 WearableActivityController.AmbientCallback.class.getDeclaredMethod(
H A DAmbientDelegate.java42 private final AmbientCallback mCallback;
46 * AmbientCallback must be implemented by all users of the delegate.
48 interface AmbientCallback { interface in class:AmbientDelegate
81 @NonNull AmbientCallback callback) {
H A DAmbientMode.java42 * be able to receive ambient lifecycle events through an {@link AmbientCallback}. The
59 * Property in bundle passed to {@code AmbientCallback#onEnterAmbient(Bundle)} to indicate
70 * Property in bundle passed to {@code AmbientCallback#onEnterAmbient(Bundle)} to indicate
86 * {@link #getAmbientCallback()} method to return and {@link AmbientCallback} which can be used
90 * return new AmbientMode.AmbientCallback() {
98 * @return the {@link AmbientCallback} to be used by this class to communicate with the
101 AmbientCallback getAmbientCallback();
107 public abstract static class AmbientCallback { class in class:AmbientMode
132 private final AmbientDelegate.AmbientCallback mCallback =
133 new AmbientDelegate.AmbientCallback() {
[all...]
H A DAmbientModeSupport.java44 * an {@link AmbientCallback}. The {@link FragmentActivity} will also receive a
58 * Property in bundle passed to {@code AmbientCallback#onEnterAmbient(Bundle)} to indicate
69 * Property in bundle passed to {@code AmbientCallback#onEnterAmbient(Bundle)} to indicate
85 * {@link #getAmbientCallback()} method to return and {@link AmbientCallback} which can be used
89 * return new AmbientMode.AmbientCallback() {
97 * @return the {@link AmbientCallback} to be used by this class to communicate with the
100 AmbientCallback getAmbientCallback();
106 public abstract static class AmbientCallback { class in class:AmbientModeSupport
131 private final AmbientDelegate.AmbientCallback mCallback =
132 new AmbientDelegate.AmbientCallback() {
[all...]
/frameworks/support/wear/src/androidTest/java/com/google/android/wearable/compat/
H A DWearableActivityController.java34 private AmbientCallback mCallback;
39 public WearableActivityController(String tag, Activity activity, AmbientCallback callback) {
87 /** Stub version of {@link WearableActivityController.AmbientCallback}. */
88 public static class AmbientCallback { class in class:WearableActivityController
/frameworks/support/wear/src/androidTest/java/androidx/wear/ambient/
H A DAmbientModeSupportTestActivity.java37 public AmbientModeSupport.AmbientCallback getAmbientCallback() {
41 private class MyAmbientCallback extends AmbientModeSupport.AmbientCallback {
H A DAmbientModeTestActivity.java37 public AmbientMode.AmbientCallback getAmbientCallback() {
41 private class MyAmbientCallback extends AmbientMode.AmbientCallback {
H A DAmbientDelegateTest.java44 AmbientDelegate.AmbientCallback mMockAmbientCallback;
56 mMockAmbientCallback = mock(AmbientDelegate.AmbientCallback.class);
/frameworks/support/wear/wear_stubs/api_legacy/
H A D1.txt28 ctor public WearableActivityController(java.lang.String, android.app.Activity, com.google.android.wearable.compat.WearableActivityController.AmbientCallback);
42 public static abstract class WearableActivityController.AmbientCallback {
43 ctor public WearableActivityController.AmbientCallback();
H A D2.txt28 ctor public WearableActivityController(java.lang.String, android.app.Activity, com.google.android.wearable.compat.WearableActivityController.AmbientCallback);
42 public static abstract class WearableActivityController.AmbientCallback {
43 ctor public WearableActivityController.AmbientCallback();
H A Dcurrent.txt28 ctor public WearableActivityController(java.lang.String, android.app.Activity, com.google.android.wearable.compat.WearableActivityController.AmbientCallback);
42 public static abstract class WearableActivityController.AmbientCallback {
43 ctor public WearableActivityController.AmbientCallback();
/frameworks/support/frameworks/support/samples/SupportWearDemos/src/main/java/com/example/android/support/wear/app/
H A DAmbientModeDemo.java44 public AmbientMode.AmbientCallback getAmbientCallback() {
48 private class MyAmbientCallback extends AmbientMode.AmbientCallback {
/frameworks/support/samples/SupportWearDemos/src/main/java/com/example/android/support/wear/app/
H A DAmbientModeDemo.java44 public AmbientMode.AmbientCallback getAmbientCallback() {
48 private class MyAmbientCallback extends AmbientMode.AmbientCallback {
/frameworks/support/wear/wear_stubs/
H A Dcom.google.android.wearable-stubs.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/wearable/ ...

Completed in 160 milliseconds