Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/ddm/
DDdmHandleViewDebug.java120 View rootView = getRootView(in); in handleChunk() local
121 if (rootView == null) { in handleChunk()
127 return dumpHierarchy(rootView, in); in handleChunk()
129 return captureLayers(rootView); in handleChunk()
131 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/core/tests/coretests/src/android/app/assist/
DAssistStructureTest.java139 ViewNode rootView = structure.getWindowNodeAt(0).getRootViewNode(); in assertStructureWithManySmallViews() local
140 assertThat(rootView.getClassName()).isEqualTo(FrameLayout.class.getName()); in assertStructureWithManySmallViews()
141 assertThat(rootView.getChildCount()).isEqualTo(2); // title and parent in assertStructureWithManySmallViews()
142 assertThat(rootView.getAutofillId()).isNotNull(); in assertStructureWithManySmallViews()
143 assertThat(rootView.getImportantForAutofill()).isEqualTo(IMPORTANT_FOR_AUTOFILL_AUTO); in assertStructureWithManySmallViews()
146 ViewNode title = rootView.getChildAt(0); in assertStructureWithManySmallViews()
153 ViewNode parent = rootView.getChildAt(1); in assertStructureWithManySmallViews()
192 ViewNode rootView = structure.getWindowNodeAt(0).getRootViewNode(); in assertStructureWithOneBigView() local
193 assertThat(rootView.getClassName()).isEqualTo(FrameLayout.class.getName()); in assertStructureWithOneBigView()
194 assertThat(rootView.getChildCount()).isEqualTo(2); // title and parent in assertStructureWithOneBigView()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/
DViewAttachTest.java72 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()
/frameworks/base/core/java/android/service/autofill/augmented/
DFillWindow.java102 public boolean update(@NonNull Area area, @NonNull View rootView, long flags) { in update() argument
104 Log.d(TAG, "Updating " + area + " + with " + rootView); in update()
109 Preconditions.checkNotNull(rootView); in update()
138 mWm = rootView.getContext().getSystemService(WindowManager.class); in update()
139 mFillView = rootView; in update()
153 Log.d(TAG, "Created FillWindow: params= " + smartSuggestion + " view=" + rootView); in update()
/frameworks/base/core/java/android/service/autofill/
DVisibilitySetterAction.java53 public void onClick(@NonNull ViewGroup rootView) { in onClick() argument
56 final View child = rootView.findViewById(id); in onClick()
58 Slog.w(TAG, "Skipping view id " + id + " because it's not found on " + rootView); in onClick()
DInternalOnClickAction.java35 public abstract void onClick(@NonNull ViewGroup rootView); in onClick() argument
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DContextMenuUtils.java154 View rootView = view.getRootView(); in assertContextMenuAlignment()
156 rootView.getLocationOnScreen(actualLocation); in assertContextMenuAlignment()
158 actualLocation[0] += rootView.getWidth(); in assertContextMenuAlignment()
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DUniqueIds.java64 ToggleScene(ViewGroup rootView, Button button) { in ToggleScene() argument
65 mScene = new Scene(rootView); in ToggleScene()
DContactsExpansion.java98 ToggleScene(ViewGroup rootView, Transition transition) { in ToggleScene() argument
99 mScene = new Scene(rootView); in ToggleScene()
/frameworks/base/packages/SystemUI/src/com/android/systemui/fragments/
DFragmentHostManager.java65 FragmentHostManager(FragmentService manager, View rootView) { in FragmentHostManager() argument
66 mContext = rootView.getContext(); in FragmentHostManager()
68 mRootView = rootView; in FragmentHostManager()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodManager.java1926 public void onPostWindowFocus(View rootView, View focusedView, in onPostWindowFocus() argument
1939 focusInLocked(focusedView != null ? focusedView : rootView); in onPostWindowFocus()
1958 if (startInputInner(StartInputReason.WINDOW_FOCUS_GAIN, rootView.getWindowToken(), in onPostWindowFocus()
1971 rootView.getWindowToken(), startInputFlags, softInputMode, windowFlags, in onPostWindowFocus()
1973 rootView.getContext().getApplicationInfo().targetSdkVersion); in onPostWindowFocus()
1982 public void onPreWindowFocus(View rootView, boolean hasWindowFocus) { in onPreWindowFocus() argument
1984 if (rootView == null) { in onPreWindowFocus()
1987 mCurRootView = rootView; in onPreWindowFocus()
1988 } else if (rootView == mCurRootView) { in onPreWindowFocus()
1995 + " mCurRootView=" + mCurRootView + " rootView=" + rootView); in onPreWindowFocus()
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DSaveUi.java400 final ViewGroup rootView = (ViewGroup) customSubtitleView; in applyCustomDescription() local
404 final View child = rootView.findViewById(id); in applyCustomDescription()
407 + " because it's not on " + rootView); in applyCustomDescription()
414 action.onClick(rootView); in applyCustomDescription()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DScreenDecorations.java1063 View rootView = getRootView(); in getInterceptRegion() local
1068 rootView.getLocationOnScreen(mLocation); in getInterceptRegion()
1072 cutoutBounds.op(rootView.getLeft(), rootView.getTop(), rootView.getRight(), in getInterceptRegion()
1073 rootView.getBottom(), Region.Op.INTERSECT); in getInterceptRegion()
/frameworks/base/core/java/android/app/
DActivity.java8352 final View rootView = roots.get(rootNum).getView(); in autofillClientFindViewsByAutofillIdTraversal() local
8354 if (rootView != null) { in autofillClientFindViewsByAutofillIdTraversal()
8358 views[viewNum] = rootView.findViewByAutofillIdTraversal( in autofillClientFindViewsByAutofillIdTraversal()
8375 final View rootView = roots.get(rootNum).getView(); in autofillClientFindViewByAutofillIdTraversal() local
8377 if (rootView != null) { in autofillClientFindViewByAutofillIdTraversal()
8378 final View view = rootView.findViewByAutofillIdTraversal(autofillId.getViewId()); in autofillClientFindViewByAutofillIdTraversal()
8417 final View rootView = roots.get(rootNum).getView(); in autofillClientFindViewByAccessibilityIdTraversal() local
8418 if (rootView != null && rootView.getAccessibilityWindowId() == windowId) { in autofillClientFindViewByAccessibilityIdTraversal()
8419 final View view = rootView.findViewByAccessibilityIdTraversal(viewId); in autofillClientFindViewByAccessibilityIdTraversal()