Home
last modified time | relevance | path

Searched refs:AndroidServices (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/util/
DAndroidServices.java45 public class AndroidServices { class
53 private static final AndroidServices INSTANCE =
54 new AndroidServices(AndroidContext.instance().get());
57 public static AndroidServices instance() { in instance()
62 private AndroidServices(Context context) { in AndroidServices() method in AndroidServices
DQuickActivity.java209 mKeyguardManager = AndroidServices.instance().provideKeyguardManager(); in isKeyguardLocked()
219 mKeyguardManager = AndroidServices.instance().provideKeyguardManager(); in isKeyguardSecure()
230 mKeyguardManager = AndroidServices.instance().provideKeyguardManager(); in requestDismissKeyguard()
DCameraUtil.java454 WindowManager windowManager = AndroidServices.instance().provideWindowManager(context); in getDisplayRotation()
471 WindowManager windowManager = AndroidServices.instance().provideWindowManager(context); in getDefaultDisplaySize()
867 DevicePolicyManager dpm = AndroidServices.instance().provideDevicePolicyManager(); in throwIfCameraDisabled()
/packages/apps/Camera2/src/com/android/camera/app/
DMemoryManagerImpl.java26 import com.android.camera.util.AndroidServices;
72 ActivityManager activityManager = AndroidServices.instance().provideActivityManager(); in create()
159 ActivityManager activityManager = AndroidServices.instance().provideActivityManager(); in getMaxAllowedNativeMemory()
DCameraApp.java28 import com.android.camera.util.AndroidServices;
79 NotificationManager manager = AndroidServices.instance().provideNotificationManager(); in clearNotifications()
DLegacyLocationProvider.java24 import com.android.camera.util.AndroidServices;
85 mLocationManager = AndroidServices.instance().provideLocationManager(); in startReceivingLocationUpdates()
DOrientationManagerImpl.java33 import com.android.camera.util.AndroidServices;
274 Display currentDisplay = AndroidServices.instance().provideWindowManager(context) in isDefaultToPortrait()
DCameraAppUI.java62 import com.android.camera.util.AndroidServices;
873 LayoutInflater inflater = AndroidServices.instance().provideLayoutInflater(); in setupClingForViewer()
917 AndroidServices.instance().provideDisplayManager() in onDestroy()
956 AndroidServices.instance().provideDisplayManager() in initDisplayListener()
/packages/apps/Camera2/src/com/android/camera/processing/
DProcessingService.java38 import com.android.camera.util.AndroidServices;
108 PowerManager powerManager = AndroidServices.instance().providePowerManager(); in onCreate()
117 mNotificationManager = AndroidServices.instance().provideNotificationManager(); in onCreate()
/packages/apps/Camera2/src/com/android/camera/device/
DCameraModuleHelper.java24 import com.android.camera.util.AndroidServices;
46 CameraManager cameraManager = AndroidServices.instance().provideCameraManager(); in provideCamera2ActionProvider()
/packages/apps/Camera2/src/com/android/camera/
DAccessibilityUtil.java12 import com.android.camera.util.AndroidServices;
93 return AndroidServices.instance().provideAccessibilityManager(); in getAccessibilityManager()
DOnScreenHint.java29 import com.android.camera.util.AndroidServices;
DCaptureModule.java85 import com.android.camera.util.AndroidServices;
431 mHeadingSensor = new HeadingSensor(AndroidServices.instance().provideSensorManager()); in init()
DVideoModule.java67 import com.android.camera.util.AndroidServices;
332 mAudioManager = AndroidServices.instance().provideAudioManager(); in init()
DPhotoModule.java71 import com.android.camera.util.AndroidServices;
407 mHeadingSensor = new HeadingSensor(AndroidServices.instance().provideSensorManager()); in init()
/packages/apps/Camera2/src/com/android/camera/one/v2/
DCamera2OneCameraManagerImpl.java33 import com.android.camera.util.AndroidServices;
56 cameraManager = AndroidServices.instance().provideCameraManager(); in create()
DCamera2OneCameraOpenerImpl.java44 import com.android.camera.util.AndroidServices;
71 cameraManager = AndroidServices.instance().provideCameraManager(); in create()
/packages/apps/Camera2/src/com/android/camera/captureintent/
DCaptureIntentModuleUI.java27 import com.android.camera.util.AndroidServices;
95 final LayoutInflater layoutInflater = AndroidServices.instance().provideLayoutInflater(); in CaptureIntentModuleUI()
/packages/apps/Camera2/src/com/android/camera/captureintent/resource/
DResourceCaptureToolsImpl.java37 import com.android.camera.util.AndroidServices;
68 new HeadingSensor(AndroidServices.instance().provideSensorManager()); in create()
/packages/apps/Camera2/src/com/android/camera/settings/
DResolutionUtil.java26 import com.android.camera.util.AndroidServices;
/packages/apps/Camera2/src/com/android/camera/ui/
DModeListView.java46 import com.android.camera.util.AndroidServices;
1201 LayoutInflater inflater = AndroidServices.instance().provideLayoutInflater(); in initializeModeSelectorItems()