summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/DeviceProfile.java
diff options
context:
space:
mode:
authorHyunyoung Song <hyunyoungs@google.com>2015-05-11 14:55:07 -0700
committerHyunyoung Song <hyunyoungs@google.com>2015-05-11 14:55:07 -0700
commit4b69f2ca91d63a59dfa921ba965b92de7f604f5a (patch)
tree4a7a4dbf92dd9ea33909b4803a6be97c7d9043d5 /src/com/android/launcher3/DeviceProfile.java
parent5b3707352bc2300cafaa350c0b71a04065bafcd2 (diff)
downloadandroid_packages_apps_Trebuchet-4b69f2ca91d63a59dfa921ba965b92de7f604f5a.tar.gz
android_packages_apps_Trebuchet-4b69f2ca91d63a59dfa921ba965b92de7f604f5a.tar.bz2
android_packages_apps_Trebuchet-4b69f2ca91d63a59dfa921ba965b92de7f604f5a.zip
Ensure that clipping widget size is 20~40% of its width on every devices
b/20338324 b/20763871 Change-Id: I69114cb6dfec95c473313a440a6db76a052e5601
Diffstat (limited to 'src/com/android/launcher3/DeviceProfile.java')
-rw-r--r--src/com/android/launcher3/DeviceProfile.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/com/android/launcher3/DeviceProfile.java b/src/com/android/launcher3/DeviceProfile.java
index 918517ebd..c1dd85961 100644
--- a/src/com/android/launcher3/DeviceProfile.java
+++ b/src/com/android/launcher3/DeviceProfile.java
@@ -80,12 +80,11 @@ public class DeviceProfile {
int defaultLayoutId;
boolean isLandscape;
- boolean isTablet;
- boolean isLargeTablet;
+ public boolean isTablet;
+ public boolean isLargeTablet;
public boolean isLayoutRtl;
boolean transposeLayoutWithOrientation;
-
int desiredWorkspaceLeftRightMarginPx;
public int edgeMarginPx;
Rect defaultWidgetPadding;