mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Removing some device profile dependencies in view contructors
Bug: 71709920 Change-Id: I13e33dceaeff71e3fb7bbb93f24be69c17d6da96
This commit is contained in:
@@ -102,8 +102,6 @@ public class DeviceProfile {
|
||||
|
||||
// All apps
|
||||
public int allAppsCellHeightPx;
|
||||
public int allAppsNumCols;
|
||||
public int allAppsNumPredictiveCols;
|
||||
public int allAppsIconSizePx;
|
||||
public int allAppsIconDrawablePaddingPx;
|
||||
public float allAppsIconTextSizePx;
|
||||
@@ -385,10 +383,6 @@ public class DeviceProfile {
|
||||
return mInsets;
|
||||
}
|
||||
|
||||
public void updateAppsViewNumCols() {
|
||||
allAppsNumCols = allAppsNumPredictiveCols = inv.numColumns;
|
||||
}
|
||||
|
||||
public Point getCellSize() {
|
||||
Point result = new Point();
|
||||
// Since we are only concerned with the overall padding, layout direction does
|
||||
|
||||
Reference in New Issue
Block a user