Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DLetterboxConfiguration.java999 float getHorizontalMultiplierForReachability(boolean isDeviceInBookMode) { in getHorizontalMultiplierForReachability() argument
1002 isDeviceInBookMode); in getHorizontalMultiplierForReachability()
1097 void movePositionForHorizontalReachabilityToNextRightStop(boolean isDeviceInBookMode) { in movePositionForHorizontalReachabilityToNextRightStop() argument
1098 updatePositionForHorizontalReachability(isDeviceInBookMode, prev -> Math.min( in movePositionForHorizontalReachabilityToNextRightStop()
1099 prev + (isDeviceInBookMode ? 2 : 1), // Move 2 stops in book mode to avoid center. in movePositionForHorizontalReachabilityToNextRightStop()
1107 void movePositionForHorizontalReachabilityToNextLeftStop(boolean isDeviceInBookMode) { in movePositionForHorizontalReachabilityToNextLeftStop() argument
1108 updatePositionForHorizontalReachability(isDeviceInBookMode, prev -> Math.max( in movePositionForHorizontalReachabilityToNextLeftStop()
1109 prev - (isDeviceInBookMode ? 2 : 1), 0)); // Move 2 stops in book mode to avoid in movePositionForHorizontalReachabilityToNextLeftStop()
1244 private void updatePositionForHorizontalReachability(boolean isDeviceInBookMode, in updatePositionForHorizontalReachability() argument
1248 isDeviceInBookMode); in updatePositionForHorizontalReachability()
[all …]