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.java44 public class AndroidServices { class
52 private static final AndroidServices INSTANCE =
53 new AndroidServices(AndroidContext.instance().get());
56 public static AndroidServices instance() { in instance()
61 private AndroidServices(Context context) { in AndroidServices() method in AndroidServices
DQuickActivity.java209 mKeyguardManager = AndroidServices.instance().provideKeyguardManager(); in isKeyguardLocked()
219 mKeyguardManager = AndroidServices.instance().provideKeyguardManager(); in isKeyguardSecure()
DCameraUtil.java454 WindowManager windowManager = AndroidServices.instance().provideWindowManager(); in getDisplayRotation()
471 WindowManager windowManager = AndroidServices.instance().provideWindowManager(); in getDefaultDisplaySize()
862 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() in isDefaultToPortrait()
DCameraAppUI.java61 import com.android.camera.util.AndroidServices;
872 LayoutInflater inflater = AndroidServices.instance().provideLayoutInflater(); in setupClingForViewer()
916 AndroidServices.instance().provideDisplayManager() in onDestroy()
955 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;
335 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;
54 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.java24 import com.android.camera.util.AndroidServices;
410 WindowManager wm = AndroidServices.instance().provideWindowManager(); in getDisplayMetrics()
/packages/apps/Camera2/src/com/android/camera/ui/
DModeListView.java46 import com.android.camera.util.AndroidServices;
1201 LayoutInflater inflater = AndroidServices.instance().provideLayoutInflater(); in initializeModeSelectorItems()