/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/animation/ |
D | ViewHierarchyAnimatorTest.kt | 33 private lateinit var rootView: ViewGroup variable in com.android.systemui.animation.ViewHierarchyAnimatorTest 37 rootView = LinearLayout(mContext) in setUp() 42 endAnimation(rootView) in tearDown() 43 ViewHierarchyAnimator.stopAnimating(rootView) in tearDown() 48 rootView.layout(10 /* l */, 10 /* t */, 50 /* r */, 50 /* b */) in respectsAnimationParameters() 53 rootView, in respectsAnimationParameters() 57 rootView.layout(0 /* l */, 0 /* t */, 100 /* r */, 100 /* b */) in respectsAnimationParameters() 60 assertNotNull(rootView.getTag(R.id.tag_animator)) in respectsAnimationParameters() 61 var animator = rootView.getTag(R.id.tag_animator) as ObjectAnimator in respectsAnimationParameters() 65 endAnimation(rootView) in respectsAnimationParameters() [all …]
|
/frameworks/base/core/java/android/ddm/ |
D | DdmHandleViewDebug.java | 119 View rootView = getRootView(in); in handleChunk() local 120 if (rootView == null) { in handleChunk() 126 return dumpHierarchy(rootView, in); in handleChunk() 128 return captureLayers(rootView); in handleChunk() 130 return dumpTheme(rootView); in handleChunk() 136 final View targetView = getTargetView(rootView, in); in handleChunk() 144 return captureView(rootView, targetView); in handleChunk() 146 return dumpDisplayLists(rootView, targetView); in handleChunk() 148 return profileView(rootView, targetView); in handleChunk() 150 return invokeViewMethod(rootView, targetView, in); in handleChunk() [all …]
|
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/ |
D | ViewHierarchyAnimator.kt | 88 rootView: View, in <lambda>() 95 rootView, in <lambda>() 110 rootView: View, in <lambda>() 117 rootView, in <lambda>() 127 rootView: View, in <lambda>() 136 rootView.visibility, in <lambda>() 137 rootView.left, in <lambda>() 138 rootView.top, in <lambda>() 139 rootView.right, in <lambda>() 140 rootView.bottom, in <lambda>() [all …]
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/common/viewhost/ |
D | ReusableWindowDecorViewHostTest.kt | 54 val rootView = FrameLayout(context) in <lambda>() constant 55 val reusableVH = createReusableViewHost(rootView) in <lambda>() 58 assertThat(rootView.childCount).isEqualTo(1) in <lambda>() 59 assertThat(rootView.getChildAt(0)).isEqualTo(view) in <lambda>() 65 assertThat(rootView.childCount).isEqualTo(1) in <lambda>() 66 assertThat(rootView.getChildAt(0)).isEqualTo(newView) in <lambda>() 92 val rootView = FrameLayout(context) in <lambda>() constant 93 val reusableVH = createReusableViewHost(rootView) in <lambda>() 119 assertThat(rootView.getChildAt(0)).isEqualTo(syncView) in <lambda>() 146 val rootView = FrameLayout(context) in <lambda>() constant [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ViewAttachTest.java | 72 final View rootView = activity.getWindow().getDecorView(); in testRoundScrollbars() local 75 rootView.getWidth(), in testRoundScrollbars() 76 rootView.getHeight(), in testRoundScrollbars() 83 rootView.setLayoutParams(params); in testRoundScrollbars() 106 final View rootView = activity.getWindow().getDecorView(); in testRoundScrollbarsWithMargins() local 109 rootView.getWidth(), in testRoundScrollbarsWithMargins() 110 rootView.getHeight(), in testRoundScrollbarsWithMargins() 117 rootView.setLayoutParams(params); in testRoundScrollbarsWithMargins() 122 rootView.setLayoutParams(lp); in testRoundScrollbarsWithMargins()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shared/animation/ |
D | DisableSubpixelTextTransitionListenerTest.kt | 37 private var rootView = FrameLayout(context) variable in com.android.systemui.shared.animation.DisableSubpixelTextTransitionListenerTest 47 rootView.addView(childTextView) in setup() 48 rootView.addView(childView) in setup() 53 disableSubpixelTextTransitionListener = DisableSubpixelTextTransitionListener(rootView) in onTransitionStarted_addsSubpixelFlagToChildTextView() 62 disableSubpixelTextTransitionListener = DisableSubpixelTextTransitionListener(rootView) in onTransitionStarted_addsSupbixelFlagToChildOfChildTextView() 71 disableSubpixelTextTransitionListener = DisableSubpixelTextTransitionListener(rootView) in onTransitionFinished_removeSupbixelFlagFromChildTextView() 81 disableSubpixelTextTransitionListener = DisableSubpixelTextTransitionListener(rootView) in onTransitionFinished_removeSupbixelFlagFromChildOfChildTextView() 100 disableSubpixelTextTransitionListener = DisableSubpixelTextTransitionListener(rootView) in whenFlagAlreadyPresent_flagNotRemovedOnTransitionFinished() 111 disableSubpixelTextTransitionListener = DisableSubpixelTextTransitionListener(rootView) in whenFlagNotPresent_flagRemovedOnTransitionFinished() 122 rootView.addView(rootViewWithNoTextView) in whenRootViewHasNoChildTextView_flagNotAddedToRelatedTextviews()
|
/frameworks/libs/systemui/weathereffects/debug/src/com/google/android/wallpaper/weathereffects/ |
D | WallpaperEffectsDebugActivity.kt | 63 private lateinit var rootView: FrameLayout in <lambda>() variable 97 rootView = requireViewById(R.id.main_layout) in <lambda>() 98 rootView.requireViewById<FrameLayout>(R.id.wallpaper_layout).addView(surfaceView) in <lambda>() 100 rootView.requireViewById<Button>(R.id.rain).setOnClickListener { in <lambda>() 105 rootView.requireViewById<Button>(R.id.fog).setOnClickListener { in <lambda>() 110 rootView.requireViewById<Button>(R.id.snow).setOnClickListener { in <lambda>() 115 rootView.requireViewById<Button>(R.id.sunny).setOnClickListener { in <lambda>() 120 rootView.requireViewById<Button>(R.id.clear).setOnClickListener { in <lambda>() 125 rootView.requireViewById<Button>(R.id.change_asset).setOnClickListener { in <lambda>() 131 rootView.requireViewById<Button>(R.id.set_wallpaper).setOnClickListener { in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/ui/binder/ |
D | KeyguardClockViewBinderTest.kt | 44 @Mock private lateinit var rootView: ConstraintLayout variable in com.android.systemui.keyguard.ui.binder.KeyguardClockViewBinderTest 68 KeyguardClockViewBinder.addClockViews(clock, rootView) in addClockViews_WeatherClock() 69 verify(rootView).addView(smallClockView) in addClockViews_WeatherClock() 70 verify(rootView).addView(largeClockView) in addClockViews_WeatherClock() 76 KeyguardClockViewBinder.addClockViews(clock, rootView) in addClockViews_nonWeatherClock() 77 verify(rootView).addView(smallClockView) in addClockViews_nonWeatherClock() 78 verify(rootView).addView(largeClockView) in addClockViews_nonWeatherClock() 84 KeyguardClockViewBinder.updateBurnInLayer(rootView, clockViewModel, ClockSize.LARGE) in addClockViewsToBurnInLayer_LargeWeatherClock() 91 KeyguardClockViewBinder.updateBurnInLayer(rootView, clockViewModel, ClockSize.LARGE) in addClockViewsToBurnInLayer_LargeNonWeatherClock() 99 KeyguardClockViewBinder.updateBurnInLayer(rootView, clockViewModel, ClockSize.SMALL) in addClockViewsToBurnInLayer_SmallClock()
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | LayoutlibRenderer.java | 45 ViewRootImpl rootView = AttachInfo_Accessor.getRootView(viewGroup); in draw() local 46 if (rootView == null) { in draw() 50 rootView.mAttachInfo.mDrawingTime = System_Delegate.currentTimeMillis(); in draw() 51 mDelegateRenderer.draw(viewGroup, rootView.mAttachInfo, in draw() 79 public void setup(int width, int height, View rootView) { in setup() argument 80 ViewRootImpl viewRoot = rootView.mAttachInfo.mViewRootImpl; in setup() 91 mDelegateRenderer.setup(width, height, rootView.mAttachInfo, in setup()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/animation/ |
D | UnfoldConstantTranslateAnimator.kt | 37 private lateinit var rootView: ViewGroup in <lambda>() variable in com.android.systemui.shared.animation.UnfoldConstantTranslateAnimator 44 fun init(rootView: ViewGroup, translationMax: Float) { in <lambda>() 45 if (!::rootView.isInitialized) { in <lambda>() 49 this.rootView = rootView in <lambda>() 54 registerViewsForAnimation(rootView, viewsIdToTranslate) in <lambda>() 70 if (rootView.getLayoutDirection() == LAYOUT_DIRECTION_RTL) { in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/ |
D | KeyguardPreviewClockViewBinder.kt | 70 rootView: ConstraintLayout, in <lambda>() 76 rootView.repeatWhenAttached { in <lambda>() 84 .forEach { rootView.removeView(it) } in <lambda>() 99 rootView.addView(it) in <lambda>() 104 rootView.addView(it) in <lambda>() 108 rootView, in <lambda>() 136 rootView: ConstraintLayout, in <lambda>() 140 val cs = ConstraintSet().apply { clone(rootView) } in <lambda>() 143 if (rootView.getViewById(lockId) != null) { in <lambda>() 169 cs.applyTo(rootView) in <lambda>()
|
D | KeyguardClockViewBinder.kt | 202 rootView: ConstraintLayout, in <lambda>() 208 rootView.removeView(it) in <lambda>() 210 largeClock.layout.views.forEach { rootView.removeView(it) } in <lambda>() 215 fun addClockViews(clockController: ClockController?, rootView: ConstraintLayout) { in <lambda>() 223 rootView.addView(it).apply { it.visibility = INVISIBLE } in <lambda>() 229 rootView.addView(it).apply { it.visibility = INVISIBLE } in <lambda>() 236 rootView: ConstraintLayout, in <lambda>() 240 val constraintSet = ConstraintSet().apply { clone(rootView) } in <lambda>() 243 set?.let { TransitionManager.beginDelayedTransition(rootView, it) } in <lambda>() 244 ?: run { TransitionManager.beginDelayedTransition(rootView) } in <lambda>() [all …]
|
/frameworks/libs/systemui/viewcapturelib/tests/com/android/app/viewcapture/ |
D | ViewCaptureTest.kt | 55 val rootView = activity.requireViewById<View>(android.R.id.content) in <lambda>() constant 56 val data = viewCapture.getDumpTask(rootView).get().get() in <lambda>() 68 val rootView = activity.requireViewById<View>(android.R.id.content) in <lambda>() constant 69 val data = viewCapture.getDumpTask(rootView).get().get() in <lambda>() 81 val rootView: View = activity.requireViewById(android.R.id.content) in <lambda>() constant 82 val closeable: SafeCloseable = viewCapture.startCapture(rootView, "rootViewId") in <lambda>() 83 dispatchOnDraw(rootView, times = n) in <lambda>()
|
D | SettingsAwareViewCaptureTest.kt | 54 val rootView: View = activity.requireViewById(android.R.id.content) in <lambda>() constant 56 val closeable: SafeCloseable = viewCapture.startCapture(rootView, "rootViewId") in <lambda>() 58 rootView.viewTreeObserver.dispatchOnDraw() in <lambda>() 80 val rootView: View = activity.requireViewById(android.R.id.content) in <lambda>() constant 82 val closeable: SafeCloseable = viewCapture.startCapture(rootView, "rootViewId") in <lambda>() 84 rootView.viewTreeObserver.dispatchOnDraw() in <lambda>()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TrustedOverlayTests.java | 115 View rootView = mActivity.getWindow().getDecorView(); in setSpyWindowDoesntCrash() local 116 if (rootView.isAttachedToWindow()) { in setSpyWindowDoesntCrash() 117 tokens[0] = rootView.getWindowToken(); in setSpyWindowDoesntCrash() 120 rootView.getViewTreeObserver().addOnWindowAttachListener( in setSpyWindowDoesntCrash() 124 tokens[0] = rootView.getWindowToken(); in setSpyWindowDoesntCrash() 160 View rootView = mActivity.getWindow().getDecorView(); in testTrustedOverlayChildHelper() local 161 if (rootView.isAttachedToWindow()) { in testTrustedOverlayChildHelper() 162 tokens[0] = rootView.getWindowToken(); in testTrustedOverlayChildHelper() 165 rootView.getViewTreeObserver().addOnWindowAttachListener( in testTrustedOverlayChildHelper() 169 tokens[0] = rootView.getWindowToken(); in testTrustedOverlayChildHelper()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/decor/ |
D | OverlayWindow.kt | 29 val rootView = RegionInterceptingFrameLayout(context) as ViewGroup in <lambda>() constant 40 val view = decorProvider.inflateView(context, rootView, rotation, tintColor) in <lambda>() 52 rootView.removeView(view) in <lambda>() 114 pw.println(" rootView=$rootView") in <lambda>() 115 for (i in 0 until rootView.childCount) { in <lambda>() 116 val child = rootView.getChildAt(i) in <lambda>()
|
/frameworks/libs/systemui/motiontoollib/src/com/android/app/motiontool/ |
D | MotionToolManager.kt | 65 val rootView = getRootView(windowId.rootWindow) in hasWindow() constant 66 return rootView != null in hasWindow() 74 val rootView = getRootView(windowId) ?: throw WindowNotFoundException(windowId) in beginTrace() constant 75 val autoCloseable = viewCapture.startCapture(rootView, windowId) in beginTrace() 120 val rootView = in getDataFromViewCapture() constant 125 .getDumpTask(rootView).get() in getDataFromViewCapture()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/preview/ |
D | KeyguardPreviewRenderer.kt | 188 val rootView = ConstraintLayout(previewContext) in <lambda>() constant 190 setupKeyguardRootView(previewContext, rootView) in <lambda>() 197 rootView.measure( in <lambda>() 208 rootView.layout(0, 0, rootView.measuredWidth, rootView.measuredHeight) in <lambda>() 212 (width / rootView.measuredWidth.toFloat()).coerceAtMost( in <lambda>() 213 height / rootView.measuredHeight.toFloat() in <lambda>() 216 rootView.scaleX = scale in <lambda>() 217 rootView.scaleY = scale in <lambda>() 218 rootView.pivotX = 0f in <lambda>() 219 rootView.pivotY = 0f in <lambda>() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/common/viewhost/ |
D | ReusableWindowDecorViewHost.kt | 53 private val rootView: FrameLayout = FrameLayout(context) constant 68 rootView, in warmUp() 133 if (view.parent != rootView) { in updateViewHost() 134 rootView.removeAllViews() in updateViewHost() 135 rootView.addView(view) in updateViewHost() 137 viewHostAdapter.updateView(rootView, attrs) in updateViewHost()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/layout/sections/ |
D | AodBurnInLayer.kt | 52 fun registerListener(rootView: View) { in registerListener() 53 rootView.viewTreeObserver.addOnPreDrawListener(_predrawListener) in registerListener() 56 fun unregisterListener(rootView: View) { in unregisterListener() 57 rootView.viewTreeObserver.removeOnPreDrawListener(_predrawListener) in unregisterListener()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/backlight/ui/view/ |
D | KeyboardBacklightDialog.kt | 72 private lateinit var rootView: LinearLayout in <lambda>() variable 114 rootView = buildRootView() in <lambda>() 115 setContentView(rootView) in <lambda>() 157 rootView.removeAllViews() in <lambda>() 158 rootView.addView(buildIconTile()) in <lambda>() 159 buildStepViews().forEach { rootView.addView(it) } in <lambda>() 168 rootView.contentDescription = String.format(levelContentDescription, currentLevel, maxLevel) in <lambda>() 169 rootView.sendAccessibilityEvent(AccessibilityEvent.CONTENT_CHANGE_TYPE_CONTENT_DESCRIPTION) in <lambda>() 173 val iconTile = rootView.requireViewById(BACKLIGHT_ICON_ID) as ImageView in <lambda>() 185 (1 until rootView.childCount).forEach { index -> in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | ConnectedDisplayKeyguardPresentation.kt | 55 private lateinit var rootView: FrameLayout variable 101 rootView = FrameLayout(getContext(), null) in onCreateV2() 102 rootView.setClipChildren(false) in onCreateV2() 103 setContentView(rootView) in onCreateV2() 130 rootView.removeAllViews() in setClock() 134 rootView.addView( in setClock()
|
/frameworks/base/core/java/android/view/autofill/ |
D | AutofillClientController.java | 455 final View rootView = roots.get(rootNum).getView(); in autofillClientFindViewByAccessibilityIdTraversal() local 456 if (rootView != null && rootView.getAccessibilityWindowId() == windowId) { in autofillClientFindViewByAccessibilityIdTraversal() 457 final View view = rootView.findViewByAccessibilityIdTraversal(viewId); in autofillClientFindViewByAccessibilityIdTraversal() 472 final View rootView = roots.get(rootNum).getView(); in autofillClientFindViewByAutofillIdTraversal() local 474 if (rootView != null) { in autofillClientFindViewByAutofillIdTraversal() 475 final View view = rootView.findViewByAutofillIdTraversal(autofillId.getViewId()); in autofillClientFindViewByAutofillIdTraversal() 491 final View rootView = roots.get(rootNum).getView(); in autofillClientFindViewsByAutofillIdTraversal() local 493 if (rootView != null) { in autofillClientFindViewsByAutofillIdTraversal() 497 views[viewNum] = rootView.findViewByAutofillIdTraversal( in autofillClientFindViewsByAutofillIdTraversal() 513 final View rootView = roots.get(rootNum).getView(); in autofillClientFindAutofillableViewsByTraversal() local [all …]
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/decor/ |
D | OverlayWindowTest.kt | 89 mContext, overlay.rootView, rotation, Color.BLACK in testAddProvider() 92 mContext, overlay.rootView, rotation, Color.YELLOW in testAddProvider() 95 val view1FoundFromRootView = overlay.rootView.findViewById<View>(TEST_DECOR_VIEW_ID_1) in testAddProvider() 98 val view2FoundFromRootView = overlay.rootView.findViewById<View>(TEST_DECOR_VIEW_ID_2) in testAddProvider() 109 val viewFoundFromRootView = overlay.rootView.findViewById<View>(TEST_DECOR_VIEW_ID_1) in testRemoveView() 161 Assert.assertNull(overlay.rootView.findViewById(TEST_DECOR_VIEW_ID_1)) in testRemoveRedundantViewsWithNullParameter() 163 Assert.assertNull(overlay.rootView.findViewById(TEST_DECOR_VIEW_ID_2)) in testRemoveRedundantViewsWithNullParameter() 179 Assert.assertNotNull(overlay.rootView.findViewById(TEST_DECOR_VIEW_ID_1)) in testRemoveRedundantViewsWith2Providers() 181 Assert.assertNull(overlay.rootView.findViewById(TEST_DECOR_VIEW_ID_2)) in testRemoveRedundantViewsWith2Providers()
|
/frameworks/base/libs/WindowManager/Shell/shared/src/com/android/wm/shell/shared/multiinstance/ |
D | ManageWindowsViewContainer.kt | 110 val rootView: LinearLayout = LinearLayout(context) in <lambda>() constant in com.android.wm.shell.shared.multiinstance.ManageWindowsViewContainer 117 rootView.orientation = LinearLayout.VERTICAL in <lambda>() 126 rootView.background = menuBackground in <lambda>() 127 rootView.elevation = getDimensionPixelSize(MENU_ELEVATION_DP) in <lambda>() 128 rootView.setOnTouchListener { _, event -> in <lambda>() 146 rootView.removeAllViews() in <lambda>() 160 rootView.addView(rowLayout) in <lambda>() 238 animateView(rootView, MENU_BOUNDS_SHRUNK_SCALE, MENU_BOUNDS_FULL_SCALE, in <lambda>() 251 animateView(rootView, MENU_BOUNDS_FULL_SCALE, MENU_BOUNDS_SHRUNK_SCALE, in <lambda>()
|