diff options
author | shenfe <shenfe@codeaurora.org> | 2016-11-11 15:01:14 +0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-11-11 00:05:51 -0800 |
commit | d4e21e9bc08ed56ee687a4382c99c4c1b6b4e51f (patch) | |
tree | ce45e90a25bbfed9f05d7eecaf4f2d8364979200 /src/com/android/gallery3d/ui/TimeLineSlotView.java | |
parent | ce811fd8429a318b341d78bc137172b5981e0b67 (diff) | |
download | android_packages_apps_Gallery2-d4e21e9bc08ed56ee687a4382c99c4c1b6b4e51f.tar.gz android_packages_apps_Gallery2-d4e21e9bc08ed56ee687a4382c99c4c1b6b4e51f.tar.bz2 android_packages_apps_Gallery2-d4e21e9bc08ed56ee687a4382c99c4c1b6b4e51f.zip |
SnapdragonGallery: Fix select picture error when RTL.
Delete the surplus compute about col.
Change-Id: I303e60aab0aac61e32b43d50924430ec9d7ef09c
CRs-Fixed: 1087616
Diffstat (limited to 'src/com/android/gallery3d/ui/TimeLineSlotView.java')
-rwxr-xr-x | src/com/android/gallery3d/ui/TimeLineSlotView.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/com/android/gallery3d/ui/TimeLineSlotView.java b/src/com/android/gallery3d/ui/TimeLineSlotView.java index 7dcf4ef5f..2a088c208 100755 --- a/src/com/android/gallery3d/ui/TimeLineSlotView.java +++ b/src/com/android/gallery3d/ui/TimeLineSlotView.java @@ -658,10 +658,6 @@ public class TimeLineSlotView extends GLView { } if (!rowStart) { col = ((int) x) / (mSlotWidth + mSlotGap); - if (TextUtils.getLayoutDirectionFromLocale(Locale.getDefault()) - == View.LAYOUT_DIRECTION_RTL) { - col = mUnitCount - col; - } if (row * mUnitCount + col >= count) { break; } |