Home
last modified time | relevance | path

Searched refs:gridOption (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DGridCustomizationsProvider.java105 for (GridOption gridOption : idp.parseAllGridOptions(getContext())) { in query()
107 .add(KEY_NAME, gridOption.name) in query()
108 .add(KEY_ROWS, gridOption.numRows) in query()
109 .add(KEY_COLS, gridOption.numColumns) in query()
111 .add(KEY_IS_DEFAULT, idp.numColumns == gridOption.numColumns in query()
112 && idp.numRows == gridOption.numRows); in query()
/packages/apps/Launcher3/src/com/android/launcher3/
DInvariantDeviceProfile.java536 GridOption gridOption = new GridOption(context, Xml.asAttributeSet(parser)); in getPredefinedDeviceProfiles() local
537 if (gridOption.isEnabled(deviceType) || allowDisabledGrid) { in getPredefinedDeviceProfiles()
544 profiles.add(new DisplayOption(gridOption, context, in getPredefinedDeviceProfiles()
585 .filter(gridOption -> Objects.equals(gridOption.dbFile, fileName)) in getGridOptionFromFileName()
599 .filter(gridOption -> gridOption.numColumns == size.x in getGridNameFromSize()
600 && gridOption.numRows == size.y) in getGridNameFromSize()
601 .map(gridOption -> gridOption.name) in getGridNameFromSize()
612 .filter(gridOption -> Objects.equals(gridOption.name, gridName)) in getGridOptionFromName()