Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
DPipBoundsState.java128 private List<Consumer<Float>> mOnAspectRatioChangedCallbacks = new ArrayList<>(); field in PipBoundsState
303 for (Consumer<Float> callback : mOnAspectRatioChangedCallbacks) { in setAspectRatio()
539 if (!mOnAspectRatioChangedCallbacks.contains(onAspectRatioChangedCallback)) { in addOnAspectRatioChangedCallback()
540 mOnAspectRatioChangedCallbacks.add(onAspectRatioChangedCallback); in addOnAspectRatioChangedCallback()
548 if (mOnAspectRatioChangedCallbacks.contains(onAspectRatioChangedCallback)) { in removeOnAspectRatioChangedCallback()
549 mOnAspectRatioChangedCallbacks.remove(onAspectRatioChangedCallback); in removeOnAspectRatioChangedCallback()