Home
last modified time | relevance | path

Searched refs:rootView (Results 1 – 16 of 16) 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.java1927 public void onPostWindowFocus(View rootView, View focusedView, in onPostWindowFocus() argument
1940 focusInLocked(focusedView != null ? focusedView : rootView); in onPostWindowFocus()
1959 if (startInputInner(StartInputReason.WINDOW_FOCUS_GAIN, rootView.getWindowToken(), in onPostWindowFocus()
1972 rootView.getWindowToken(), startInputFlags, softInputMode, windowFlags, in onPostWindowFocus()
1974 rootView.getContext().getApplicationInfo().targetSdkVersion); in onPostWindowFocus()
1983 public void onPreWindowFocus(View rootView, boolean hasWindowFocus) { in onPreWindowFocus() argument
1985 if (rootView == null) { in onPreWindowFocus()
1988 mCurRootView = rootView; in onPreWindowFocus()
1989 } else if (rootView == mCurRootView) { in onPreWindowFocus()
1996 + " 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.java1199 View rootView = getRootView(); in getInterceptRegion() local
1204 rootView.getLocationOnScreen(mLocation); in getInterceptRegion()
1208 cutoutBounds.op(rootView.getLeft(), rootView.getTop(), rootView.getRight(), in getInterceptRegion()
1209 rootView.getBottom(), Region.Op.INTERSECT); in getInterceptRegion()
/frameworks/base/core/java/android/app/
DActivity.java8373 final View rootView = roots.get(rootNum).getView(); in autofillClientFindViewsByAutofillIdTraversal() local
8375 if (rootView != null) { in autofillClientFindViewsByAutofillIdTraversal()
8379 views[viewNum] = rootView.findViewByAutofillIdTraversal( in autofillClientFindViewsByAutofillIdTraversal()
8396 final View rootView = roots.get(rootNum).getView(); in autofillClientFindViewByAutofillIdTraversal() local
8398 if (rootView != null) { in autofillClientFindViewByAutofillIdTraversal()
8399 final View view = rootView.findViewByAutofillIdTraversal(autofillId.getViewId()); in autofillClientFindViewByAutofillIdTraversal()
8438 final View rootView = roots.get(rootNum).getView(); in autofillClientFindViewByAccessibilityIdTraversal() local
8439 if (rootView != null && rootView.getAccessibilityWindowId() == windowId) { in autofillClientFindViewByAccessibilityIdTraversal()
8440 final View view = rootView.findViewByAccessibilityIdTraversal(viewId); in autofillClientFindViewByAccessibilityIdTraversal()
/frameworks/base/core/java/android/view/
DView.java9878 View rootView = getRootView();
9879 if (rootView == null) {
9880 rootView = this;
9883 View label = rootView.findLabelForView(this, mID);
9901 View rootView = getRootView();
9902 if (rootView == null) {
9903 rootView = this;
9905 View labeled = rootView.findViewInsideOutShouldExist(this, mLabelForId);
9912 View rootView = getRootView();
9913 if (rootView == null) {
[all …]
DViewRootImpl.java3590 final View rootView = mView; in performContentCaptureInitialReport() local
3592 Log.v(mTag, "performContentCaptureInitialReport() on " + rootView); in performContentCaptureInitialReport()
3602 rootView.dispatchInitialProvideContentCaptureStructure(); in performContentCaptureInitialReport()