Searched refs:gridName (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | InvariantDeviceProfile.java | 159 String gridName = Utilities.getPrefs(context).getBoolean(GRID_OPTIONS_PREFERENCE_KEY, false) in InvariantDeviceProfile() local 162 initGrid(context, gridName); in InvariantDeviceProfile() 171 public InvariantDeviceProfile(Context context, String gridName) { in InvariantDeviceProfile() argument 172 String newName = initGrid(context, gridName); in InvariantDeviceProfile() 173 if (newName == null || !newName.equals(gridName)) { in InvariantDeviceProfile() 189 private String initGrid(Context context, String gridName) { in initGrid() argument 212 getPredefinedDeviceProfiles(context, gridName, filteredOptions, allOptions); in initGrid() 261 if (!closestProfile.name.equals(gridName)) { in initGrid() 340 public void setCurrentGrid(Context context, String gridName) { in setCurrentGrid() argument 342 Utilities.getPrefs(appContext).edit().putString(KEY_IDP_GRID_NAME, gridName).apply(); in setCurrentGrid() [all …]
|
/packages/apps/ThemePicker/robolectric_tests/src/com/android/customization/model/grid/ |
D | GridOptionsManagerTest.java | 52 String gridName = "testName"; in testApply() local 53 GridOption grid = new GridOption("testTitle", gridName, false, 2, 2, null, 1, ""); in testApply() 54 when(mProvider.applyGrid(gridName)).thenReturn(1); in testApply()
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | GridOptionsProvider.java | 148 String gridName = values.getAsString(KEY_NAME); in update() local 152 if (option.name.equals(gridName)) { in update() 161 InvariantDeviceProfile.INSTANCE.get(getContext()).setCurrentGrid(getContext(), gridName); in update() local
|