Home
last modified time | relevance | path

Searched refs:mCompensation (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DGLRootView.java88 private int mCompensation; field in GLRootView
244 if (mCompensation != compensation) { in layoutContentPane()
245 mCompensation = compensation; in layoutContentPane()
246 if (mCompensation % 180 != 0) { in layoutContentPane()
247 mCompensationMatrix.setRotate(mCompensation); in layoutContentPane()
253 mCompensationMatrix.setRotate(mCompensation, w / 2, h / 2); in layoutContentPane()
259 if (mCompensation % 180 != 0) { in layoutContentPane()
265 + " (compensation " + mCompensation + ")"); in layoutContentPane()
409 rotateCanvas(-mCompensation); in onDrawFrameLocked()
471 if (mCompensation != 0) { in dispatchTouchEvent()
[all …]
DPhotoView.java210 private int mCompensation = 0; field in PhotoView
491 || mCompensation != compensation) { in onLayout()
493 mCompensation = compensation; in onLayout()
520 if (mCompensation % 180 != 0) { in updateCameraRect()
531 switch (mCompensation) { in updateCameraRect()
538 Log.d(TAG, "compensation = " + mCompensation in updateCameraRect()
556 return (mCompensation - mDisplayRotation + 360) % 360; in getCameraRotation()
572 return (mCompensation + 180) % 360; in getPanoramaRotation()
574 return mCompensation; in getPanoramaRotation()