HomeSort by relevance Sort by last modified time
    Searched refs:mCompensation (Results 1 - 2 of 2) sorted by null

  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
GLRootView.java 86 // mCompensation is the difference between the UI orientation on GLCanvas
88 private int mCompensation;
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...]
PhotoView.java 211 private int mCompensation = 0;
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 856 milliseconds