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

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DGLRootView.java86 // mCompensation is the difference between the UI orientation on GLCanvas
88 private int mCompensation; field in class:GLRootView
90 // with mCompensation.
244 if (mCompensation != compensation) {
245 mCompensation = compensation;
246 if (mCompensation % 180 != 0) {
247 mCompensationMatrix.setRotate(mCompensation);
253 mCompensationMatrix.setRotate(mCompensation, w / 2, h / 2);
259 if (mCompensation % 180 != 0) {
265 + " (compensation " + mCompensation
[all...]
H A DPhotoView.java211 private int mCompensation = 0; field in class:PhotoView
492 || mCompensation != compensation) {
494 mCompensation = compensation;
521 if (mCompensation % 180 != 0) {
532 switch (mCompensation) {
539 Log.d(TAG, "compensation = " + mCompensation
557 return (mCompensation - mDisplayRotation + 360) % 360;
573 return (mCompensation + 180) % 360;
575 return mCompensation;
588 void forceSize(); // called when mCompensation change
[all...]

Completed in 11 milliseconds