Revert "Make numFolderRows/numFolderColumns accept more values"
Revert submission 25438456-5x5_folder Reason for revert: http://b/313567919 Reverted changes: /q/submissionid:25438456-5x5_folder Revert "Use DeviceProfile numFolderRows and numFolderColumns" Revert submission 25313018-numFolder Reason for revert: http://b/313567919 Reverted changes: /q/submissionid:25313018-numFolder Change-Id: I4890016e310c0a2122861f36fcdbf33e98e727c0
This commit is contained in:
1 parent
94228b18db
commit
09d42d5340
23 files changed
+59
-119
No files matched your search
@@ -37,6 +37,8 @@ import com.android.launcher3.AbstractFloatingView;
|
||||
import com.android.launcher3.BubbleTextView;
|
||||
import com.android.launcher3.CellLayout;
|
||||
import com.android.launcher3.DeviceProfile;
|
||||
import com.android.launcher3.InvariantDeviceProfile;
|
||||
import com.android.launcher3.LauncherAppState;
|
||||
import com.android.launcher3.PagedView;
|
||||
import com.android.launcher3.R;
|
||||
import com.android.launcher3.ShortcutAndWidgetContainer;
|
||||
@@ -99,15 +101,14 @@ public class FolderPagedView extends PagedView<PageIndicatorDots> implements Cli
|
||||
|
||||
public FolderPagedView(Context context, AttributeSet attrs) {
|
||||
super(context, attrs);
|
||||
ActivityContext activityContext = ActivityContext.lookupContext(context);
|
||||
DeviceProfile profile = activityContext.getDeviceProfile();
|
||||
InvariantDeviceProfile profile = LauncherAppState.getIDP(context);
|
||||
mOrganizer = new FolderGridOrganizer(profile);
|
||||
|
||||
mIsRtl = Utilities.isRtl(getResources());
|
||||
setImportantForAccessibility(IMPORTANT_FOR_ACCESSIBILITY_YES);
|
||||
|
||||
mFocusIndicatorHelper = new ViewGroupFocusHelper(this);
|
||||
mViewCache = activityContext.getViewCache();
|
||||
mViewCache = ActivityContext.lookupContext(context).getViewCache();
|
||||
}
|
||||
|
||||
public void setFolder(Folder folder) {
|
||||
|
||||
Reference in new issue
Block a user