Home
last modified time | relevance | path

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

/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/display/
DVirtualDisplayFragment.java206 private void updateNumberDisplays(int numberDisplays, boolean force) { in updateNumberDisplays() argument
207 if (numberDisplays < 0 || numberDisplays > MAX_NUMBER_DISPLAYS) { in updateNumberDisplays()
208 throw new IllegalArgumentException("Invalid number of displays: " + numberDisplays); in updateNumberDisplays()
210 if (numberDisplays == mCurrentNumberOfDisplays && !force) { in updateNumberDisplays()
211 Log.v(TAG, "updateNumberDisplays(): ignoring, already " + numberDisplays); in updateNumberDisplays()
215 + numberDisplays); in updateNumberDisplays()
216 mCurrentNumberOfDisplays = numberDisplays; in updateNumberDisplays()
223 switch (numberDisplays) { in updateNumberDisplays()
239 if (i >= numberDisplays && display != null) { in updateNumberDisplays()