Home
last modified time | relevance | path

Searched refs:ViewTreeObserver (Results 1 – 25 of 138) sorted by relevance

123456

/frameworks/base/packages/SystemUI/src/com/android/systemui/temporarydisplay/
DTouchableRegionViewController.kt21 import android.view.ViewTreeObserver in <lambda>()
40 ViewTreeObserver.OnComputeInternalInsetsListener { inoutInfo -> in <lambda>()
42 ViewTreeObserver.InternalInsetsInfo.TOUCHABLE_INSETS_REGION in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/temporarydisplay/
DTouchableRegionViewControllerTest.kt21 import android.view.ViewTreeObserver in <lambda>()
38 @Mock private lateinit var viewTreeObserver: ViewTreeObserver in <lambda>()
72 ArgumentCaptor.forClass(ViewTreeObserver.OnComputeInternalInsetsListener::class.java) in <lambda>()
76 val inoutInfo = ViewTreeObserver.InternalInsetsInfo() in <lambda>()
/frameworks/base/core/java/com/android/internal/view/
DOneShotPreDrawListener.java20 import android.view.ViewTreeObserver;
33 public class OneShotPreDrawListener implements ViewTreeObserver.OnPreDrawListener,
36 private ViewTreeObserver mViewTreeObserver;
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DMenuMessageView.java31 import android.view.ViewTreeObserver;
49 ViewTreeObserver.OnComputeInternalInsetsListener, ComponentCallbacks {
120 public void onComputeInternalInsets(ViewTreeObserver.InternalInsetsInfo inoutInfo) { in onComputeInternalInsets()
121 inoutInfo.setTouchableInsets(ViewTreeObserver.InternalInsetsInfo.TOUCHABLE_INSETS_REGION); in onComputeInternalInsets()
DMenuView.java29 import android.view.ViewTreeObserver;
52 ViewTreeObserver.OnComputeInternalInsetsListener, ComponentCallbacks {
59 private final ViewTreeObserver.OnDrawListener mSystemGestureExcludeUpdater =
103 public void onComputeInternalInsets(ViewTreeObserver.InternalInsetsInfo inoutInfo) { in onComputeInternalInsets()
104 inoutInfo.setTouchableInsets(ViewTreeObserver.InternalInsetsInfo.TOUCHABLE_INSETS_REGION); in onComputeInternalInsets()
/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/
DTransferSplashscreenActivity.java23 import android.view.ViewTreeObserver;
39 new ViewTreeObserver.OnPreDrawListener() { in onCreate()
/frameworks/base/core/java/android/inputmethodservice/
DNavigationBarController.java39 import android.view.ViewTreeObserver;
66 @NonNull ViewTreeObserver.InternalInsetsInfo dest) { in updateTouchableInsets()
113 @NonNull ViewTreeObserver.InternalInsetsInfo dest) { in updateTouchableInsets()
305 @NonNull ViewTreeObserver.InternalInsetsInfo dest) { in updateTouchableInsets()
321 case ViewTreeObserver.InternalInsetsInfo.TOUCHABLE_INSETS_FRAME: in updateTouchableInsets()
330 case ViewTreeObserver.InternalInsetsInfo.TOUCHABLE_INSETS_CONTENT: in updateTouchableInsets()
339 case ViewTreeObserver.InternalInsetsInfo.TOUCHABLE_INSETS_VISIBLE: in updateTouchableInsets()
348 case ViewTreeObserver.InternalInsetsInfo.TOUCHABLE_INSETS_REGION: in updateTouchableInsets()
364 ViewTreeObserver.InternalInsetsInfo.TOUCHABLE_INSETS_REGION); in updateTouchableInsets()
DInkWindow.java33 import android.view.ViewTreeObserver;
51 private ViewTreeObserver.OnGlobalLayoutListener mGlobalLayoutListener;
174 mGlobalLayoutListener = new ViewTreeObserver.OnGlobalLayoutListener() { in initInkViewVisibilityListener()
/frameworks/base/core/tests/coretests/src/android/view/
DRunQueue.java28 public class RunQueue extends Activity implements ViewTreeObserver.OnGlobalLayoutListener {
32 public ViewTreeObserver viewTreeObserver;
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DRegionInterceptingFrameLayout.java24 import android.view.ViewTreeObserver.InternalInsetsInfo;
25 import android.view.ViewTreeObserver.OnComputeInternalInsetsListener;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/lifecycle/
DRepeatWhenAttachedTest.kt21 import android.view.ViewTreeObserver
60 @Mock private lateinit var viewTreeObserver: ViewTreeObserver
179 val listenerCaptor = argumentCaptor<ViewTreeObserver.OnWindowVisibilityChangeListener>() in repeatWhenAttached_becomesVisibleWithoutFocus_STARTED()
195 val listenerCaptor = argumentCaptor<ViewTreeObserver.OnWindowFocusChangeListener>() in repeatWhenAttached_gainsFocusButInvisible_CREATED()
211 val visibleCaptor = argumentCaptor<ViewTreeObserver.OnWindowVisibilityChangeListener>() in repeatWhenAttached_becomesVisibleAndGainsFocus_RESUMED()
213 val focusCaptor = argumentCaptor<ViewTreeObserver.OnWindowFocusChangeListener>() in repeatWhenAttached_becomesVisibleAndGainsFocus_RESUMED()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/tv/
DTvPipMenuControllerTest.java37 import android.view.ViewTreeObserver;
38 import android.view.ViewTreeObserver.OnWindowFocusChangeListener;
74 final ViewTreeObserver mockMenuTreeObserver = mock(ViewTreeObserver.class); in setUp()
85 ViewTreeObserver mockTreeObserver) { in captureFocusChangeListener()
/frameworks/base/packages/SystemUI/src/com/android/systemui/lifecycle/
DRepeatWhenAttached.kt22 import android.view.ViewTreeObserver in <lambda>()
163 ViewTreeObserver.OnWindowVisibilityChangeListener { updateState() } in <lambda>()
164 private val windowFocusListener = ViewTreeObserver.OnWindowFocusChangeListener { updateState() } in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/taskview/
DTaskView.java37 import android.view.ViewTreeObserver;
48 ViewTreeObserver.OnComputeInternalInsetsListener, TaskViewBase {
258 public void onComputeInternalInsets(ViewTreeObserver.InternalInsetsInfo inoutInfo) { in onComputeInternalInsets()
265 ViewTreeObserver.InternalInsetsInfo.TOUCHABLE_INSETS_REGION); in onComputeInternalInsets()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DTemplateLayout.java30 import android.view.ViewTreeObserver;
220 private ViewTreeObserver.OnPreDrawListener preDrawListener;
244 new ViewTreeObserver.OnPreDrawListener() { in setXFraction()
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DListViewAddRemove.java22 import android.view.ViewTreeObserver;
60 final ViewTreeObserver observer = container.getViewTreeObserver(); in onCreate()
61 observer.addOnGlobalLayoutListener(new ViewTreeObserver.OnGlobalLayoutListener() { in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarTouchableRegionManager.java28 import android.view.ViewTreeObserver;
29 import android.view.ViewTreeObserver.OnComputeInternalInsetsListener;
299 private void onComputeInternalInsets(ViewTreeObserver.InternalInsetsInfo info) { in onComputeInternalInsets()
306 info.setTouchableInsets(ViewTreeObserver.InternalInsetsInfo.TOUCHABLE_INSETS_REGION); in onComputeInternalInsets()
/frameworks/base/packages/SystemUI/plugin/ExamplePlugin/src/com/android/systemui/plugin/testoverlayplugin/
DSampleOverlayPlugin.java23 import android.view.ViewTreeObserver.InternalInsetsInfo;
24 import android.view.ViewTreeObserver.OnComputeInternalInsetsListener;
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DDraggableConstraintLayout.java35 import android.view.ViewTreeObserver;
45 implements ViewTreeObserver.OnComputeInternalInsetsListener {
178 public void onComputeInternalInsets(ViewTreeObserver.InternalInsetsInfo inoutInfo) { in onComputeInternalInsets()
191 inoutInfo.setTouchableInsets(ViewTreeObserver.InternalInsetsInfo.TOUCHABLE_INSETS_REGION); in onComputeInternalInsets()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTrustedOverlayTests.java37 import android.view.ViewTreeObserver;
120 new ViewTreeObserver.OnWindowAttachListener() { in setSpyWindowDoesntCrash()
165 new ViewTreeObserver.OnWindowAttachListener() { in testTrustedOverlayChildHelper()
/frameworks/base/tests/SurfaceControlViewHostTest/src/com/android/test/viewembed/
DSurfaceInputTestActivity.java41 import android.view.ViewTreeObserver;
75 ViewTreeObserver viewTreeObserver = getWindow().getDecorView().getViewTreeObserver(); in onAttachedToWindow()
77 new ViewTreeObserver.OnPreDrawListener() { in onAttachedToWindow()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardStatusViewControllerBaseTest.java24 import android.view.ViewTreeObserver;
61 @Mock protected ViewTreeObserver mViewTreeObserver;
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/
DBubbleBarLayerView.java32 import android.view.ViewTreeObserver;
63 implements ViewTreeObserver.OnComputeInternalInsetsListener {
159 public void onComputeInternalInsets(ViewTreeObserver.InternalInsetsInfo inoutInfo) { in onComputeInternalInsets()
160 inoutInfo.setTouchableInsets(ViewTreeObserver.InternalInsetsInfo.TOUCHABLE_INSETS_REGION); in onComputeInternalInsets()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/navigationbar/
DRegionSamplingHelper.java29 import android.view.ViewTreeObserver;
80 private ViewTreeObserver.OnDrawListener mUpdateOnDraw = new ViewTreeObserver.OnDrawListener() {
/frameworks/base/core/java/android/widget/inline/
DInlineContentView.java34 import android.view.ViewTreeObserver;
154 private final ViewTreeObserver.OnDrawListener mOnDrawListener =
155 new ViewTreeObserver.OnDrawListener() {

123456