OSDN Git Service
(root)
/
android-x86
/
packages-apps-Launcher3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b608ae6
)
Fix overlapping pages (issue 12551580)
author
Adam Cohen
<adamcohen@google.com>
Fri, 17 Jan 2014 00:07:50 +0000
(16:07 -0800)
committer
Adam Cohen
<adamcohen@google.com>
Sat, 18 Jan 2014 00:01:10 +0000
(
00:01
+0000)
Change-Id: I03c29c36828b6c4baadb33b13b0e852b07b2d40f
(cherry picked from commit
efb31e399d335351a8db3de54ed66fabd30606ba
)
src/com/android/launcher3/DeviceProfile.java
patch
|
blob
|
history
diff --git
a/src/com/android/launcher3/DeviceProfile.java
b/src/com/android/launcher3/DeviceProfile.java
index
8bcf6c3
..
7ca4f81
100644
(file)
--- a/
src/com/android/launcher3/DeviceProfile.java
+++ b/
src/com/android/launcher3/DeviceProfile.java
@@
-557,7
+557,7
@@
public class DeviceProfile {
// In portrait, we want the pages spaced such that there is no
// overhang of the previous / next page into the current page viewport.
// We assume symmetrical padding in portrait mode.
- return
2 * getWorkspacePadding().left
;
+ return
Math.max(defaultPageSpacingPx, 2 * getWorkspacePadding().left)
;
}
}