Home
last modified time | relevance | path

Searched refs:WearableActivityController (Results 1 – 14 of 14) sorted by relevance

/frameworks/support/wear/src/main/java/androidx/wear/ambient/
DWearableControllerProvider.java23 import com.google.android.wearable.compat.WearableActivityController;
46 public WearableActivityController getWearableController(Activity activity, in getWearableController()
51 WearableActivityController.AmbientCallback callbackBridge = in getWearableController()
52 new WearableActivityController.AmbientCallback() { in getWearableController()
71 return new WearableActivityController(TAG, activity, callbackBridge); in getWearableController()
80 WearableActivityController.AmbientCallback.class.getDeclaredMethod( in verifyAmbientCallbacksPresent()
DAmbientMode.java29 import com.google.android.wearable.compat.WearableActivityController;
67 WearableActivityController.EXTRA_BURN_IN_PROTECTION;
76 WearableActivityController.EXTRA_LOWBIT_AMBIENT;
DAmbientModeSupport.java30 import com.google.android.wearable.compat.WearableActivityController;
66 WearableActivityController.EXTRA_BURN_IN_PROTECTION;
75 WearableActivityController.EXTRA_LOWBIT_AMBIENT;
DAmbientDelegate.java24 import com.google.android.wearable.compat.WearableActivityController;
37 private WearableActivityController mWearableController;
/frameworks/support/wear/src/androidTest/java/androidx/wear/ambient/
DAmbientModeTest.java28 import com.google.android.wearable.compat.WearableActivityController;
48 WearableActivityController.getLastInstance().enterAmbient(); in testEnterAmbientCallback()
58 WearableActivityController.getLastInstance().updateAmbient(); in testUpdateAmbientCallback()
68 WearableActivityController.getLastInstance().exitAmbient(); in testExitAmbientCallback()
76 assertTrue(WearableActivityController.getLastInstance().isAmbientEnabled()); in testIsAmbientEnabled()
83 WearableActivityController.getLastInstance().setAmbient(true); in testCallsControllerIsAmbient()
86 WearableActivityController.getLastInstance().setAmbient(false); in testCallsControllerIsAmbient()
DAmbientModeSupportTest.java28 import com.google.android.wearable.compat.WearableActivityController;
48 WearableActivityController.getLastInstance().enterAmbient(); in testEnterAmbientCallback()
58 WearableActivityController.getLastInstance().updateAmbient(); in testUpdateAmbientCallback()
68 WearableActivityController.getLastInstance().exitAmbient(); in testExitAmbientCallback()
76 assertTrue(WearableActivityController.getLastInstance().isAmbientEnabled()); in testIsAmbientEnabled()
83 WearableActivityController.getLastInstance().setAmbient(true); in testCallsControllerIsAmbient()
86 WearableActivityController.getLastInstance().setAmbient(false); in testCallsControllerIsAmbient()
DAmbientModeSupportResumeTest.java28 import com.google.android.wearable.compat.WearableActivityController;
46 assertTrue(WearableActivityController.getLastInstance().isAutoResumeEnabled()); in testActivityDefaults()
47 assertFalse(WearableActivityController.getLastInstance().isAmbientEnabled()); in testActivityDefaults()
DAmbientModeResumeTest.java28 import com.google.android.wearable.compat.WearableActivityController;
46 assertTrue(WearableActivityController.getLastInstance().isAutoResumeEnabled()); in testActivityDefaults()
47 assertFalse(WearableActivityController.getLastInstance().isAmbientEnabled()); in testActivityDefaults()
DAmbientDelegateTest.java29 import com.google.android.wearable.compat.WearableActivityController;
48 WearableActivityController mMockWearableController;
58 mMockWearableController = mock(WearableActivityController.class); in setUp()
/frameworks/support/wear/src/androidTest/java/com/google/android/wearable/compat/
DWearableActivityController.java26 public class WearableActivityController { class
28 private static WearableActivityController sLastInstance;
30 public static WearableActivityController getLastInstance() { in getLastInstance()
39 public WearableActivityController(String tag, Activity activity, AmbientCallback callback) { in WearableActivityController() method in WearableActivityController
/frameworks/support/wear/wear_stubs/
Dcom.google.android.wearable-stubs.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/frameworks/support/wear/wear_stubs/api_legacy/
D1.txt27 public class WearableActivityController {
28 …ctor public WearableActivityController(java.lang.String, android.app.Activity, com.google.android.…
42 public static abstract class WearableActivityController.AmbientCallback {
43 ctor public WearableActivityController.AmbientCallback();
Dcurrent.txt27 public class WearableActivityController {
28 …ctor public WearableActivityController(java.lang.String, android.app.Activity, com.google.android.…
42 public static abstract class WearableActivityController.AmbientCallback {
43 ctor public WearableActivityController.AmbientCallback();
D2.txt27 public class WearableActivityController {
28 …ctor public WearableActivityController(java.lang.String, android.app.Activity, com.google.android.…
42 public static abstract class WearableActivityController.AmbientCallback {
43 ctor public WearableActivityController.AmbientCallback();