Lines Matching refs:gridName

166         String gridName = getCurrentGridName(context);  in InvariantDeviceProfile()  local
167 String newGridName = initGrid(context, gridName); in InvariantDeviceProfile()
168 if (!newGridName.equals(gridName)) { in InvariantDeviceProfile()
184 public InvariantDeviceProfile(Context context, String gridName) { in InvariantDeviceProfile() argument
185 String newName = initGrid(context, gridName); in InvariantDeviceProfile()
186 if (newName == null || !newName.equals(gridName)) { in InvariantDeviceProfile()
197 String gridName = getCurrentGridName(context); in InvariantDeviceProfile() local
202 getPredefinedDeviceProfiles(context, gridName)); in InvariantDeviceProfile()
206 myInfo, getPredefinedDeviceProfiles(context, gridName)); in InvariantDeviceProfile()
233 private String initGrid(Context context, String gridName) { in initGrid() argument
235 ArrayList<DisplayOption> allOptions = getPredefinedDeviceProfiles(context, gridName); in initGrid()
334 public void setCurrentGrid(Context context, String gridName) { in setCurrentGrid() argument
336 Utilities.getPrefs(appContext).edit().putString(KEY_IDP_GRID_NAME, gridName).apply(); in setCurrentGrid()
345 String gridName = getCurrentGridName(context); in onConfigChanged() local
346 initGrid(context, gridName); in onConfigChanged()
378 static ArrayList<DisplayOption> getPredefinedDeviceProfiles(Context context, String gridName) { in getPredefinedDeviceProfiles() argument
406 if (!TextUtils.isEmpty(gridName)) { in getPredefinedDeviceProfiles()
408 if (gridName.equals(option.grid.name)) { in getPredefinedDeviceProfiles()