Searched refs:gridName (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Launcher3/tests/src/com/android/launcher3/nonquickstep/ |
D | DeviceProfileDumpTest.kt | 48 val dp = getDeviceProfileForGrid(instance.gridName) in dumpPortraitGesture() 57 val dp = getDeviceProfileForGrid(instance.gridName) in dumpPortrait3Button() 66 val dp = getDeviceProfileForGrid(instance.gridName) in dumpLandscapeGesture() 81 val dp = getDeviceProfileForGrid(instance.gridName) in dumpLandscape3Button() 119 private fun getDeviceProfileForGrid(gridName: String): DeviceProfile { in getDeviceProfileForGrid() 120 return InvariantDeviceProfile(context, gridName).getDeviceProfile(context) in getDeviceProfileForGrid() 132 TestCase("phone", gridName = "5_by_5"), in getInstances() 133 TestCase("tablet", gridName = "6_by_5", isTaskbarPresentInApps = true), in getInstances() 134 TestCase("twopanel-tablet", gridName = "4_by_4", isTaskbarPresentInApps = true), in getInstances() 137 gridName = "4_by_4", in getInstances() [all …]
|
/packages/apps/ThemePicker/tests/robotests/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/ |
D | InvariantDeviceProfile.java | 229 String gridName = getCurrentGridName(context); in InvariantDeviceProfile() local 230 String newGridName = initGrid(context, gridName); in InvariantDeviceProfile() 231 if (!newGridName.equals(gridName)) { in InvariantDeviceProfile() 250 public InvariantDeviceProfile(Context context, String gridName) { in InvariantDeviceProfile() argument 251 String newName = initGrid(context, gridName); in InvariantDeviceProfile() 252 if (newName == null || !newName.equals(gridName)) { in InvariantDeviceProfile() 253 throw new IllegalArgumentException("Unknown grid name: " + gridName); in InvariantDeviceProfile() 263 String gridName = getCurrentGridName(context); in InvariantDeviceProfile() local 270 getPredefinedDeviceProfiles(context, gridName, defaultDeviceType, in InvariantDeviceProfile() 279 getPredefinedDeviceProfiles(context, gridName, deviceType, in InvariantDeviceProfile() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | GridCustomizationsProvider.java | 146 String gridName = values.getAsString(KEY_NAME); in update() local 151 if (option.name.equals(gridName)) { in update() 160 idp.setCurrentGrid(getContext(), gridName); in update() local
|