Home
last modified time | relevance | path

Searched refs:handleCameraGesture (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/
DGestureLauncherService.java604 launchCamera = handleCameraGesture(false /* useWakelock */, in interceptPowerKeyDown()
635 boolean handleCameraGesture(boolean useWakelock, int source) { in handleCameraGesture() method in GestureLauncherService
742 if (handleCameraGesture(true /* useWakelock */, in onSensorChanged()
827 if (handleCameraGesture(true /* useWakelock */, in onTrigger()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DGestureLauncherServiceTest.java220 assertTrue(mGestureLauncherService.handleCameraGesture(useWakeLock, FAKE_SOURCE)); in testHandleCameraLaunchGesture_userSetupComplete()
236 assertFalse(mGestureLauncherService.handleCameraGesture(useWakeLock, FAKE_SOURCE)); in testHandleCameraLaunchGesture_userSetupNotComplete()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java5118 mPowerKeyHandled = handleCameraGesture(event, interactive);
5130 private boolean handleCameraGesture(KeyEvent event, boolean interactive) {