Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/inputmethod/
DPhysicalKeyboardFragment.java141 final List<HardKeyboardDeviceInfo> newHardKeyboards = getHardKeyboards(context); in scheduleUpdateHardKeyboards() local
142 ThreadUtils.postOnMainThread(() -> updateHardKeyboards(newHardKeyboards)); in scheduleUpdateHardKeyboards()
146 private void updateHardKeyboards(@NonNull List<HardKeyboardDeviceInfo> newHardKeyboards) { in updateHardKeyboards() argument
147 if (Objects.equals(mLastHardKeyboards, newHardKeyboards)) { in updateHardKeyboards()
155 mLastHardKeyboards.addAll(newHardKeyboards); in updateHardKeyboards()
164 for (HardKeyboardDeviceInfo hardKeyboardDeviceInfo : newHardKeyboards) { in updateHardKeyboards()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/inputmethod/
DPhysicalKeyboardFragment.java141 final List<HardKeyboardDeviceInfo> newHardKeyboards = getHardKeyboards(context); in scheduleUpdateHardKeyboards() local
142 ThreadUtils.postOnMainThread(() -> updateHardKeyboards(newHardKeyboards)); in scheduleUpdateHardKeyboards()
146 private void updateHardKeyboards(@NonNull List<HardKeyboardDeviceInfo> newHardKeyboards) { in updateHardKeyboards() argument
147 if (Objects.equals(mLastHardKeyboards, newHardKeyboards)) { in updateHardKeyboards()
155 mLastHardKeyboards.addAll(newHardKeyboards); in updateHardKeyboards()
164 for (HardKeyboardDeviceInfo hardKeyboardDeviceInfo : newHardKeyboards) { in updateHardKeyboards()