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.java142 final List<HardKeyboardDeviceInfo> newHardKeyboards = getHardKeyboards(context); in scheduleUpdateHardKeyboards() local
143 ThreadUtils.postOnMainThread(() -> updateHardKeyboards(newHardKeyboards)); in scheduleUpdateHardKeyboards()
147 private void updateHardKeyboards(@NonNull List<HardKeyboardDeviceInfo> newHardKeyboards) { in updateHardKeyboards() argument
148 if (Objects.equals(mLastHardKeyboards, newHardKeyboards)) { in updateHardKeyboards()
156 mLastHardKeyboards.addAll(newHardKeyboards); in updateHardKeyboards()
165 for (HardKeyboardDeviceInfo hardKeyboardDeviceInfo : newHardKeyboards) { in updateHardKeyboards()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/inputmethod/
DPhysicalKeyboardFragment.java140 final List<HardKeyboardDeviceInfo> newHardKeyboards = getHardKeyboards(context); in scheduleUpdateHardKeyboards() local
141 ThreadUtils.postOnMainThread(() -> updateHardKeyboards(newHardKeyboards)); in scheduleUpdateHardKeyboards()
145 private void updateHardKeyboards(@NonNull List<HardKeyboardDeviceInfo> newHardKeyboards) { in updateHardKeyboards() argument
146 if (Objects.equals(mLastHardKeyboards, newHardKeyboards)) { in updateHardKeyboards()
154 mLastHardKeyboards.addAll(newHardKeyboards); in updateHardKeyboards()
163 for (HardKeyboardDeviceInfo hardKeyboardDeviceInfo : newHardKeyboards) { in updateHardKeyboards()