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 77 // mCompensation is the difference between the UI orientation on GLCanvas
79 private int mCompensation;
81 // with mCompensation.
85 // The value which will become mCompensation in next layout.
212 if (mCompensation != compensation) {
213 mCompensation = compensation;
214 if (mCompensation % 180 != 0) {
215 mCompensationMatrix.setRotate(mCompensation);
221 mCompensationMatrix.setRotate(mCompensation, w / 2, h / 2);
227 if (mCompensation % 180 != 0)
    [all...]
PhotoView.java 199 private int mCompensation = 0;
458 || mCompensation != compensation) {
460 mCompensation = compensation;
487 if (mCompensation % 180 != 0) {
498 switch (mCompensation) {
505 Log.d(TAG, "compensation = " + mCompensation
523 return (mCompensation - mDisplayRotation + 360) % 360;
527 return mCompensation;
540 void forceSize(); // called when mCompensation changes
    [all...]

Completed in 31 milliseconds