/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/ |
H A D | ViewHierarchyAnimatorTest.kt | 215 rootView, 321 rootView, 334 rootView, 347 rootView, 360 rootView, 373 rootView, 386 rootView, 399 rootView, 412 rootView, 425 rootView, [all …]
|
/aosp14/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/ |
H A D | ViewHierarchyAnimator.kt | 86 rootView: View, 92 rootView, 106 rootView: View, 112 rootView, 121 rootView: View, 192 rootView: View, 251 rootView, 391 rootView: View, 470 rootView, 517 rootView [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/animation/ |
H A D | DisableSubpixelTextTransitionListenerTest.kt | 37 private var rootView = FrameLayout(context) regex 47 rootView.addView(childTextView) 48 rootView.addView(childView) 53 disableSubpixelTextTransitionListener = DisableSubpixelTextTransitionListener(rootView) 62 disableSubpixelTextTransitionListener = DisableSubpixelTextTransitionListener(rootView) 71 disableSubpixelTextTransitionListener = DisableSubpixelTextTransitionListener(rootView) 81 disableSubpixelTextTransitionListener = DisableSubpixelTextTransitionListener(rootView) 100 disableSubpixelTextTransitionListener = DisableSubpixelTextTransitionListener(rootView) 111 disableSubpixelTextTransitionListener = DisableSubpixelTextTransitionListener(rootView) 122 rootView.addView(rootViewWithNoTextView)
|
/aosp14/frameworks/base/core/java/android/ddm/ |
H A D | DdmHandleViewDebug.java | 125 View rootView = getRootView(in); in handleChunk() local 126 if (rootView == null) { in handleChunk() 132 return dumpHierarchy(rootView, in); in handleChunk() 134 return captureLayers(rootView); in handleChunk() 136 return dumpTheme(rootView); in handleChunk() 232 ViewDebug.dumpv2(rootView, b); in dumpHierarchy() 249 private Chunk captureLayers(View rootView) { in captureLayers() argument 253 ViewDebug.captureLayers(rootView, dos); in captureLayers() 272 private Chunk dumpTheme(View rootView) { in dumpTheme() argument 275 ViewDebug.dumpTheme(rootView, b); in dumpTheme() [all …]
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/viewholder/ |
H A D | DesktopModeAppControlsWindowDecorationViewHolder.kt | 19 rootView: View, 24 ) : DesktopModeWindowDecorationViewHolder(rootView) { 26 private val captionView: View = rootView.requireViewById(R.id.desktop_mode_caption) 27 private val captionHandle: View = rootView.requireViewById(R.id.caption_handle) 28 private val openMenuButton: View = rootView.requireViewById(R.id.open_menu_button) 29 private val closeWindowButton: ImageButton = rootView.requireViewById(R.id.close_window) 30 private val expandMenuButton: ImageButton = rootView.requireViewById(R.id.expand_menu_button) 31 private val maximizeWindowButton: ImageButton = rootView.requireViewById(R.id.maximize_window) 32 private val appNameTextView: TextView = rootView.requireViewById(R.id.application_name) 33 private val appIconImageView: ImageView = rootView.requireViewById(R.id.application_icon)
|
H A D | DesktopModeFocusedWindowDecorationViewHolder.kt | 15 rootView: View, 18 ) : DesktopModeWindowDecorationViewHolder(rootView) { 20 private val captionView: View = rootView.requireViewById(R.id.desktop_mode_caption) 21 private val captionHandle: ImageButton = rootView.requireViewById(R.id.caption_handle)
|
H A D | DesktopModeWindowDecorationViewHolder.kt | 14 internal abstract class DesktopModeWindowDecorationViewHolder(rootView: View) { 15 val context: Context = rootView.context
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/preview/ |
H A D | KeyguardPreviewRenderer.kt | 167 rootView.addView( 186 setUpUdfps(rootView) 197 rootView.measure( 207 rootView.layout(0, 0, rootView.measuredWidth, rootView.measuredHeight) 215 rootView.scaleX = scale 216 rootView.scaleY = scale 217 rootView.pivotX = 0f 218 rootView.pivotY = 0f 219 rootView.translationX = (width - scale * rootView.width) / 2 220 rootView.translationY = (height - scale * rootView.height) / 2 [all …]
|
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/animation/ |
H A D | UnfoldConstantTranslateAnimator.kt | 37 private lateinit var rootView: ViewGroup 40 fun init(rootView: ViewGroup, translationMax: Float) { 41 this.rootView = rootView 47 registerViewsForAnimation(rootView, viewsIdToTranslate) 63 if (rootView.getLayoutDirection() == LAYOUT_DIRECTION_RTL) {
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/decor/ |
H A D | OverlayWindow.kt | 29 val rootView = RegionInterceptingFrameLayout(context) as ViewGroup regex 40 val view = decorProvider.inflateView(context, rootView, rotation, tintColor) 52 rootView.removeView(view) 114 pw.println(" rootView=$rootView") 115 for (i in 0 until rootView.childCount) { 116 val child = rootView.getChildAt(i)
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/ |
H A D | DragAndDropController.java | 220 rootView.setOnDragListener(this); in onDisplayAdded() 221 rootView.setVisibility(View.INVISIBLE); in onDisplayAdded() 223 rootView.addView(dragLayout, in onDisplayAdded() 226 wm.addView(rootView, layoutParams); in onDisplayAdded() 236 FrameLayout rootView, DragLayout dragLayout) { in addDisplayDropTarget() argument 248 pd.rootView.requestApplyInsets(); in onDisplayConfigurationChanged() 259 pd.wm.removeViewImmediate(pd.rootView); in onDisplayRemoved() 440 final FrameLayout rootView; 456 rootView = rv; 464 rootView.setVisibility(visibility); [all …]
|
/aosp14/frameworks/base/core/tests/coretests/src/android/app/assist/ |
H A D | AssistStructureTest.java | 143 ViewNode rootView = structure.getWindowNodeAt(0).getRootViewNode(); in assertStructureWithManySmallViews() local 144 assertThat(rootView.getClassName()).isEqualTo(FrameLayout.class.getName()); in assertStructureWithManySmallViews() 145 assertThat(rootView.getChildCount()).isEqualTo(2); // title and parent in assertStructureWithManySmallViews() 146 assertThat(rootView.getAutofillId()).isNotNull(); in assertStructureWithManySmallViews() 150 ViewNode title = rootView.getChildAt(0); in assertStructureWithManySmallViews() 157 ViewNode parent = rootView.getChildAt(1); in assertStructureWithManySmallViews() 196 ViewNode rootView = structure.getWindowNodeAt(0).getRootViewNode(); in assertStructureWithOneBigView() local 198 assertThat(rootView.getChildCount()).isEqualTo(2); // title and parent in assertStructureWithOneBigView() 199 assertThat(rootView.getAutofillId()).isNotNull(); in assertStructureWithOneBigView() 203 ViewNode title = rootView.getChildAt(0); in assertStructureWithOneBigView() [all …]
|
/aosp14/frameworks/base/core/tests/coretests/src/android/view/ |
H A 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()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/decor/ |
H A D | OverlayWindowTest.kt | 89 mContext, overlay.rootView, rotation, Color.BLACK 92 mContext, overlay.rootView, rotation, Color.YELLOW 95 val view1FoundFromRootView = overlay.rootView.findViewById<View>(TEST_DECOR_VIEW_ID_1) 98 val view2FoundFromRootView = overlay.rootView.findViewById<View>(TEST_DECOR_VIEW_ID_2) 109 val viewFoundFromRootView = overlay.rootView.findViewById<View>(TEST_DECOR_VIEW_ID_1) 161 Assert.assertNull(overlay.rootView.findViewById(TEST_DECOR_VIEW_ID_1)) 163 Assert.assertNull(overlay.rootView.findViewById(TEST_DECOR_VIEW_ID_2)) 179 Assert.assertNotNull(overlay.rootView.findViewById(TEST_DECOR_VIEW_ID_1)) 181 Assert.assertNull(overlay.rootView.findViewById(TEST_DECOR_VIEW_ID_2))
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/backlight/ui/view/ |
H A D | KeyboardBacklightDialog.kt | 72 private lateinit var rootView: LinearLayout 106 rootView = buildRootView() 107 setContentView(rootView) 154 rootView.removeAllViews() 155 rootView.addView(buildIconTile()) 156 buildStepViews().forEach { rootView.addView(it) } 164 val iconTile = rootView.requireViewById(BACKLIGHT_ICON_ID) as ImageView 176 (1 until rootView.childCount).forEach { index -> 177 val drawable = rootView.getChildAt(index).background as ShapeDrawable
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/ |
H A D | BubbleEducationViewController.kt | 37 private var rootView: ViewGroup? = null 52 get() = educationView != null && rootView != null 71 rootView?.let { 74 rootView = null 99 rootView = root
|
/aosp14/frameworks/base/core/java/android/view/autofill/ |
H A D | AutofillClientController.java | 378 final View rootView = roots.get(rootNum).getView(); in autofillClientFindViewByAccessibilityIdTraversal() local 379 if (rootView != null && rootView.getAccessibilityWindowId() == windowId) { in autofillClientFindViewByAccessibilityIdTraversal() 380 final View view = rootView.findViewByAccessibilityIdTraversal(viewId); in autofillClientFindViewByAccessibilityIdTraversal() 395 final View rootView = roots.get(rootNum).getView(); in autofillClientFindViewByAutofillIdTraversal() local 397 if (rootView != null) { in autofillClientFindViewByAutofillIdTraversal() 398 final View view = rootView.findViewByAutofillIdTraversal(autofillId.getViewId()); in autofillClientFindViewByAutofillIdTraversal() 414 final View rootView = roots.get(rootNum).getView(); in autofillClientFindViewsByAutofillIdTraversal() local 416 if (rootView != null) { in autofillClientFindViewsByAutofillIdTraversal() 420 views[viewNum] = rootView.findViewByAutofillIdTraversal( in autofillClientFindViewsByAutofillIdTraversal()
|
/aosp14/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/ |
H A D | MailListFragment.java | 41 View rootView = inflater.inflate(R.layout.fragment_mail_list, container, false); in onCreateView() local 42 mRecyclerView = rootView.findViewById(R.id.mail_recycle_view); in onCreateView() 47 return rootView; in onCreateView()
|
/aosp14/frameworks/base/core/java/com/android/internal/app/ |
H A D | AbstractMultiProfilePagerAdapter.java | 133 container.addView(profileDescriptor.rootView); in instantiateItem() 134 return profileDescriptor.rootView; in instantiateItem() 369 descriptor.rootView.findViewById(R.id.resolver_list).setVisibility(View.GONE); in showEmptyState() 429 descriptor.rootView.findViewById(R.id.resolver_list).setVisibility(View.VISIBLE); in showListView() 430 View emptyStateView = descriptor.rootView.findViewById(R.id.resolver_empty_state); in showListView() 442 public final ViewGroup rootView; field in AbstractMultiProfilePagerAdapter.ProfileDescriptor 444 ProfileDescriptor(ViewGroup rootView) { in ProfileDescriptor() argument 445 this.rootView = rootView; in ProfileDescriptor() 446 mEmptyStateView = rootView.findViewById(R.id.resolver_empty_state); in ProfileDescriptor()
|
H A D | ResolverMultiProfilePagerAdapter.java | 72 final ViewGroup rootView = in createProfileDescriptor() local 74 return new ResolverProfileDescriptor(rootView, adapter); in createProfileDescriptor() 184 ResolverProfileDescriptor(ViewGroup rootView, ResolverListAdapter adapter) { in ResolverProfileDescriptor() argument 185 super(rootView); in ResolverProfileDescriptor() 187 listView = rootView.findViewById(R.id.resolver_list); in ResolverProfileDescriptor()
|
H A D | ChooserMultiProfilePagerAdapter.java | 79 final ViewGroup rootView = in createProfileDescriptor() local 82 new ChooserProfileDescriptor(rootView, adapter); in createProfileDescriptor() 206 ChooserProfileDescriptor(ViewGroup rootView, ChooserActivity.ChooserGridAdapter adapter) { in ChooserProfileDescriptor() argument 207 super(rootView); in ChooserProfileDescriptor() 209 recyclerView = rootView.findViewById(R.id.resolver_list); in ChooserProfileDescriptor()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/ |
H A D | LetterboxEduDialogActionLayout.java | 60 View rootView = inflate(getContext(), R.layout.letterbox_education_dialog_action_layout, in LetterboxEduDialogActionLayout() local 62 ((ImageView) rootView.findViewById( in LetterboxEduDialogActionLayout() 64 ((TextView) rootView.findViewById(R.id.letterbox_education_dialog_action_text)).setText( in LetterboxEduDialogActionLayout()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/dagger/ |
H A D | KeyguardBouncerModule.java | 49 static KeyguardSecurityContainer providesKeyguardSecurityContainer(@RootView ViewGroup rootView, in providesKeyguardSecurityContainer() argument 53 R.layout.keyguard_security_container_view, rootView, false); in providesKeyguardSecurityContainer() 54 rootView.addView(securityContainer); in providesKeyguardSecurityContainer()
|
/aosp14/frameworks/base/core/java/android/service/autofill/augmented/ |
H A D | FillWindow.java | 101 public boolean update(@NonNull Area area, @NonNull View rootView, long flags) { in update() argument 103 Log.d(TAG, "Updating " + area + " + with " + rootView); in update() 108 Objects.requireNonNull(rootView); in update() 137 mWm = rootView.getContext().getSystemService(WindowManager.class); in update() 138 mFillView = rootView; in update() 152 Log.d(TAG, "Created FillWindow: params= " + smartSuggestion + " view=" + rootView); in update()
|
/aosp14/frameworks/base/services/tests/InputMethodSystemServerTests/test-apps/SimpleTestIme/src/com/android/apps/inputmethod/simpleime/testing/ |
H A D | TestActivity.java | 76 LinearLayout rootView = new LinearLayout(this); in onCreate() local 79 rootView.addView(mEditText, new LinearLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT)); in onCreate() 80 setContentView(rootView); in onCreate()
|