Loading src/com/android/gallery3d/filtershow/FilterShowActivity.java +3 −0 Original line number Diff line number Diff line Loading @@ -457,6 +457,9 @@ public class FilterShowActivity extends Activity implements OnItemClickListener, int accessoryPanelWidth = viewPanel.getWidth(); int mainViewWidth = findViewById(R.id.mainView).getWidth(); int mainPanelWidth = mImageShow.getDisplayedImageBounds().width(); if (mainPanelWidth == 0) { mainPanelWidth = mainViewWidth; } int leftOver = mainViewWidth - mainPanelWidth - accessoryPanelWidth; if (leftOver < 0) { return -accessoryPanelWidth; Loading src/com/android/gallery3d/filtershow/imageshow/ImageShow.java +1 −1 Original line number Diff line number Diff line Loading @@ -83,7 +83,7 @@ public class ImageShow extends View implements OnGestureListener, private HistoryAdapter mHistoryAdapter = null; private ImageStateAdapter mImageStateAdapter = null; private Rect mImageBounds = null; private Rect mImageBounds = new Rect(); private boolean mTouchShowOriginal = false; private long mTouchShowOriginalDate = 0; Loading Loading
src/com/android/gallery3d/filtershow/FilterShowActivity.java +3 −0 Original line number Diff line number Diff line Loading @@ -457,6 +457,9 @@ public class FilterShowActivity extends Activity implements OnItemClickListener, int accessoryPanelWidth = viewPanel.getWidth(); int mainViewWidth = findViewById(R.id.mainView).getWidth(); int mainPanelWidth = mImageShow.getDisplayedImageBounds().width(); if (mainPanelWidth == 0) { mainPanelWidth = mainViewWidth; } int leftOver = mainViewWidth - mainPanelWidth - accessoryPanelWidth; if (leftOver < 0) { return -accessoryPanelWidth; Loading
src/com/android/gallery3d/filtershow/imageshow/ImageShow.java +1 −1 Original line number Diff line number Diff line Loading @@ -83,7 +83,7 @@ public class ImageShow extends View implements OnGestureListener, private HistoryAdapter mHistoryAdapter = null; private ImageStateAdapter mImageStateAdapter = null; private Rect mImageBounds = null; private Rect mImageBounds = new Rect(); private boolean mTouchShowOriginal = false; private long mTouchShowOriginalDate = 0; Loading