Searched refs:WearableActivityController (Results 1 – 14 of 14) sorted by relevance
23 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()
29 import com.google.android.wearable.compat.WearableActivityController;67 WearableActivityController.EXTRA_BURN_IN_PROTECTION;76 WearableActivityController.EXTRA_LOWBIT_AMBIENT;
30 import com.google.android.wearable.compat.WearableActivityController;66 WearableActivityController.EXTRA_BURN_IN_PROTECTION;75 WearableActivityController.EXTRA_LOWBIT_AMBIENT;
24 import com.google.android.wearable.compat.WearableActivityController;37 private WearableActivityController mWearableController;
28 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()
28 import com.google.android.wearable.compat.WearableActivityController;46 assertTrue(WearableActivityController.getLastInstance().isAutoResumeEnabled()); in testActivityDefaults()47 assertFalse(WearableActivityController.getLastInstance().isAmbientEnabled()); in testActivityDefaults()
29 import com.google.android.wearable.compat.WearableActivityController;48 WearableActivityController mMockWearableController;58 mMockWearableController = mock(WearableActivityController.class); in setUp()
26 public class WearableActivityController { class28 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
META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
27 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();