/frameworks/base/core/java/com/android/internal/view/ |
D | OneShotPreDrawListener.java | 41 mViewTreeObserver = view.getViewTreeObserver(); in OneShotPreDrawListener() 70 view.getViewTreeObserver().addOnPreDrawListener(listener); in add() 90 mView.getViewTreeObserver().removeOnPreDrawListener(this); in removeListener() 97 mViewTreeObserver = v.getViewTreeObserver(); in onViewAttachedToWindow()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | RegionInterceptingFrameLayout.java | 52 getViewTreeObserver().addOnComputeInternalInsetsListener(mInsetsListener); in onAttachedToWindow() 58 getViewTreeObserver().removeOnComputeInternalInsetsListener(mInsetsListener); in onDetachedFromWindow()
|
/frameworks/base/packages/SystemUI/plugin/ExamplePlugin/src/com/android/systemui/plugin/testoverlayplugin/ |
D | SampleOverlayPlugin.java | 49 mStatusBarView.getViewTreeObserver().removeOnComputeInternalInsetsListener( in onDestroy() 90 mStatusBarView.getViewTreeObserver().addOnComputeInternalInsetsListener( in holdStatusBarOpen()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarTouchableRegionManager.java | 91 mStatusBarWindowView.getViewTreeObserver().addOnComputeInternalInsetsListener(this); in updateTouchableRegion() 94 mStatusBarWindowView.getViewTreeObserver().removeOnComputeInternalInsetsListener(this); in updateTouchableRegion()
|
D | RegionSamplingHelper.java | 80 mSampledView.getViewTreeObserver().removeOnDrawListener(mUpdateOnDraw); 174 mSampledView.getViewTreeObserver().addOnDrawListener(mUpdateOnDraw); in updateSamplingListener()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | StandardMenuPopup.java | 87 if (!mTreeObserver.isAlive()) mTreeObserver = v.getViewTreeObserver(); 164 mTreeObserver = anchor.getViewTreeObserver(); // Refresh to latest in tryShow() 235 if (!mTreeObserver.isAlive()) mTreeObserver = mShownAnchorView.getViewTreeObserver(); in onDismiss()
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
D | RequestFocusTest.java | 138 clearingFocusButton.getViewTreeObserver().addOnGlobalFocusChangeListener(mock); in testOnFocusChangeCallbackOrderWhenClearingFocusOfFirstFocusable() 181 clearingFocusButton.getViewTreeObserver().addOnGlobalFocusChangeListener(mock); in testOnFocusChangeCallbackOrderWhenClearingFocusOfNotFirstFocusable()
|
/frameworks/base/tests/Assist/src/com/android/test/assist/ |
D | AssistInteractionSession.java | 101 mBackground.getViewTreeObserver().addOnPreDrawListener( in onShow() 105 mBackground.getViewTreeObserver().removeOnPreDrawListener(this); in onShow()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UserSwitchingDialog.java | 129 decorView.getViewTreeObserver().addOnWindowShownListener(this); in show() 152 decorView.getViewTreeObserver().removeOnWindowShownListener(this); in startUser()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/ |
D | TemplateLayout.java | 247 getViewTreeObserver().removeOnPreDrawListener(preDrawListener); in setXFraction() 252 getViewTreeObserver().addOnPreDrawListener(preDrawListener); in setXFraction()
|
/frameworks/base/core/java/android/transition/ |
D | TransitionManager.java | 239 sceneRoot.getViewTreeObserver().addOnPreDrawListener(listener); in sceneChangeRunTransition() 261 mViewTreeObserver = mSceneRoot.getViewTreeObserver(); in MultiListener() 268 mSceneRoot.getViewTreeObserver().removeOnPreDrawListener(this); in removeListeners()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/ |
D | RecentsActivity.java | 211 mRecentsView.getViewTreeObserver().removeOnPreDrawListener(this); 379 mRecentsView.getViewTreeObserver().addOnPreDrawListener(mRecentsDrawnEventListener); in onStart() 682 mRecentsView.getViewTreeObserver().addOnPreDrawListener(this); in onBusEvent() 687 mRecentsView.getViewTreeObserver().addOnPreDrawListener(this); in onBusEvent() 692 mRecentsView.getViewTreeObserver().addOnPreDrawListener(this); in onBusEvent() 791 mRecentsView.getViewTreeObserver().addOnPreDrawListener(mRecentsDrawnEventListener); in onBusEvent() 831 mRecentsView.getViewTreeObserver().removeOnPreDrawListener(this); in onPreDraw()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | GlobalFocusChange.java | 33 findViewById(R.id.left).getViewTreeObserver().addOnGlobalFocusChangeListener(this); in onCreate()
|
D | RunQueue.java | 62 viewTreeObserver = view.getViewTreeObserver(); in onCreate()
|
D | PreDrawListener.java | 53 getViewTreeObserver().addOnPreDrawListener(this); in onAttachedToWindow()
|
D | ViewInvalidateTest.java | 304 .getViewTreeObserver().removeOnDrawListener(this); in runOnMainAndDrawSync() 311 .getViewTreeObserver().addOnDrawListener(listener); in runOnMainAndDrawSync()
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/ |
D | Automator.java | 218 mWindow.getDecorView().getViewTreeObserver().removeOnGlobalLayoutListener(this); in onGlobalLayout() 265 mWindow.getDecorView().getViewTreeObserver().addOnGlobalLayoutListener(this); in Automator()
|
/frameworks/base/core/tests/coretests/src/android/transition/ |
D | SlideTransitionTest.java | 53 square1.getViewTreeObserver().addOnPreDrawListener(ratchet); in testShortSlide() 87 square1.getViewTreeObserver().removeOnPreDrawListener(ratchet); in testShortSlide()
|
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/hvac/ |
D | AnimatedTemperatureView.java | 169 textView.getViewTreeObserver() in generateTextView() 180 textView.getViewTreeObserver().removeOnPreDrawListener(this); in generateTextView()
|
/frameworks/base/core/java/android/view/autofill/ |
D | AutofillPopupWindow.java | 152 public ViewTreeObserver getViewTreeObserver() { in update() 153 return anchor.getViewTreeObserver(); in update()
|
/frameworks/base/tests/ActivityViewTest/src/com/google/android/test/activityview/ |
D | ActivityViewTestActivity.java | 51 ViewTreeObserver viewTreeObserver = mRoot.getViewTreeObserver(); in onCreate()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
D | CropView.java | 194 final ViewTreeObserver observer = getViewTreeObserver(); in moveToLeft() 198 getViewTreeObserver().removeOnGlobalLayoutListener(this); in moveToLeft()
|
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/ |
D | ElementLayoutActivity.java | 59 mLayout.getViewTreeObserver().addOnPreDrawListener(this); in onCreate()
|
/frameworks/base/core/java/android/widget/ |
D | Spinner.java | 902 ViewTreeObserver vto = getViewTreeObserver(); in onRestoreInstanceState() 910 final ViewTreeObserver vto = getViewTreeObserver(); in onRestoreInstanceState() 1285 final ViewTreeObserver vto = getViewTreeObserver(); in show() 1304 final ViewTreeObserver vto = getViewTreeObserver(); in show()
|
D | ActivityChooserView.java | 381 getViewTreeObserver().addOnGlobalLayoutListener(mOnGlobalLayoutListener); in showPopupUnchecked() 424 ViewTreeObserver viewTreeObserver = getViewTreeObserver(); in dismissPopup() 458 ViewTreeObserver viewTreeObserver = getViewTreeObserver(); in onDetachedFromWindow()
|