Home
last modified time | relevance | path

Searched refs:getDisplayRotation (Results 1 – 24 of 24) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/app/
DOrientationManager.java92 int displayRotation = getDisplayRotation(); in calculateCurrentScreenOrientation()
131 public int getDisplayRotation() {
132 return getDisplayRotation(mActivity);
155 private static int getDisplayRotation(Activity activity) { in getDisplayRotation() method
/packages/apps/Camera2/src/com/android/camera/app/
DOrientationManagerImpl.java162 int displayRotation = getDisplayRotation(); in calculateCurrentScreenOrientation()
209 public int getDisplayRotation() {
210 return getDisplayRotation(mActivity);
228 private static int getDisplayRotation(Activity activity) { in getDisplayRotation() method
DOrientationManager.java55 int getDisplayRotation(); in getDisplayRotation() method
DCameraAppUI.java899 mLastRotation = CameraUtil.getDisplayRotation(mController.getAndroidContext()); in initDisplayListener()
909 int rotation = CameraUtil.getDisplayRotation( in initDisplayListener()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DGLRootView.java237 displayRotation = mOrientationSource.getDisplayRotation(); in layoutContentPane()
403 && mDisplayRotation != mOrientationSource.getDisplayRotation()) in onDrawFrameLocked()
550 public int getDisplayRotation() { in getDisplayRotation() method in GLRootView
DOrientationSource.java20 public int getDisplayRotation(); in getDisplayRotation() method
DGLRoot.java45 public int getDisplayRotation(); in getDisplayRotation() method
DPhotoView.java489 int displayRotation = root.getDisplayRotation(); in onLayout()
/packages/apps/Camera2/src/com/android/camera/
DCaptureModuleUtil.java38 int rotation = CameraUtil.getDisplayRotation(context); in getDeviceNaturalOrientation()
100 boolean swapDimens = (CameraUtil.getDisplayRotation(context) % 180) == 90; in pickBufferDimensions()
DVideoModule.java260 if ((CameraUtil.getDisplayRotation(mActivity) != mDisplayRotation) in handleMessage()
836 mDisplayRotation = CameraUtil.getDisplayRotation(mActivity); in setDisplayOrientation()
854 if (mDisplayRotation != CameraUtil.getDisplayRotation(mActivity)) { in updateCameraOrientation()
DCaptureModule.java316 mDisplayRotation = CameraUtil.getDisplayRotation(mContext); in init()
1089 .getDisplayRotation(mContext);
DPhotoModule.java336 if (CameraUtil.getDisplayRotation(mActivity) != mDisplayRotation) { in checkDisplayRotation()
1776 if (mDisplayRotation != CameraUtil.getDisplayRotation(mActivity)) {
1903 mDisplayRotation = CameraUtil.getDisplayRotation(mActivity);
DTextureViewHelper.java98 int rotation = CameraUtil.getDisplayRotation(mPreview.getContext()); in onLayoutChange()
/packages/apps/Camera2/src/com/android/camera/ui/
DMainActivityLayout.java155 CameraUtil.getDisplayRotation(getContext())); in onMeasure()
171 CameraUtil.getDisplayRotation(getContext())); in setNonDecorWindowSizeChangedListener()
/packages/apps/LegacyCamera/src/com/android/camera/
DCamera.java305 if (Util.getDisplayRotation(Camera.this) != mDisplayRotation) { in handleMessage()
1302 + Util.getDisplayRotation(Camera.this); in onOrientationChanged()
1771 if (Util.getDisplayRotation(this) != mDisplayRotation) { in surfaceChanged()
1823 mDisplayRotation = Util.getDisplayRotation(this); in setDisplayOrientation()
DVideoCamera.java298 if ((Util.getDisplayRotation(VideoCamera.this) != mDisplayRotation) in handleMessage()
556 + Util.getDisplayRotation(VideoCamera.this); in onOrientationChanged()
922 mDisplayRotation = Util.getDisplayRotation(this); in startPreview()
1103 if (mPreviewing && (Util.getDisplayRotation(this) == mDisplayRotation) in surfaceChanged()
DUtil.java326 public static int getDisplayRotation(Activity activity) { in getDisplayRotation() method in Util
/packages/apps/Camera/src/com/android/camera/
DPanoramaModule.java217 + Util.getDisplayRotation(mActivity) % 360; in onOrientationChanged()
573 int degrees = Util.getDisplayRotation(mActivity); in setupProgressDirectionMatrix()
DActivityBase.java487 if (Util.getDisplayRotation(this) % 180 == 0) { in onLayoutChange()
DPhotoModule.java396 if (Util.getDisplayRotation(mActivity) != mDisplayRotation) { in handleMessage()
1905 mDisplayRotation = Util.getDisplayRotation(mActivity); in setDisplayOrientation()
DVideoModule.java286 if ((Util.getDisplayRotation(mActivity) != mDisplayRotation) in handleMessage()
862 mDisplayRotation = Util.getDisplayRotation(mActivity); in setDisplayOrientation()
DUtil.java377 public static int getDisplayRotation(Activity activity) { in getDisplayRotation() method in Util
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DPanoramaActivity.java221 + Util.getDisplayRotation(PanoramaActivity.this); in onOrientationChanged()
/packages/apps/Camera2/src/com/android/camera/util/
DCameraUtil.java437 public static int getDisplayRotation(Context context) { in getDisplayRotation() method in CameraUtil