Searched refs:rootView (Results 1 - 25 of 28) sorted by relevance

12

/frameworks/base/tests/ImfTest/tests/src/com/android/imftest/samples/
H A DBigEditTextActivityNonScrollablePanScanTests.java38 View rootView = ((BigEditTextActivityNonScrollablePanScan) mTargetActivity).getRootView();
41 assertNotNull(rootView);
44 destructiveCheckImeInitialState(rootView, servedView);
46 verifyEditTextAdjustment(servedView, rootView.getMeasuredHeight());
H A DBigEditTextActivityNonScrollableResizeTests.java37 View rootView = ((BigEditTextActivityNonScrollableResize) mTargetActivity).getRootView();
40 assertNotNull(rootView);
43 destructiveCheckImeInitialState(rootView, servedView);
45 verifyEditTextAdjustment(servedView, rootView.getMeasuredHeight());
H A DBigEditTextActivityScrollablePanScanTests.java37 View rootView = ((BigEditTextActivityScrollablePanScan) mTargetActivity).getRootView();
40 assertNotNull(rootView);
43 destructiveCheckImeInitialState(rootView, servedView);
45 verifyEditTextAdjustment(servedView, rootView.getMeasuredHeight());
H A DBigEditTextActivityScrollableResizeTests.java38 View rootView = ((BigEditTextActivityScrollableResize) mTargetActivity).getRootView();
41 assertNotNull(rootView);
44 destructiveCheckImeInitialState(rootView, servedView);
46 verifyEditTextAdjustment(servedView, rootView.getMeasuredHeight());
H A DBottomEditTextActivityPanScanTests.java38 View rootView = ((BottomEditTextActivityPanScan) mTargetActivity).getRootView();
41 assertNotNull(rootView);
44 destructiveCheckImeInitialState(rootView, servedView);
46 verifyEditTextAdjustment(servedView, rootView.getMeasuredHeight());
H A DBottomEditTextActivityResizeTests.java38 View rootView = ((BottomEditTextActivityResize) mTargetActivity).getRootView();
41 assertNotNull(rootView);
44 destructiveCheckImeInitialState(rootView, servedView);
46 verifyEditTextAdjustment(servedView, rootView.getMeasuredHeight());
H A DOneEditTextActivityNotSelectedTests.java39 View rootView = ((OneEditTextActivityNotSelected) mTargetActivity).getRootView();
42 assertNotNull(rootView);
45 destructiveCheckImeInitialState(rootView, servedView);
47 verifyEditTextAdjustment(servedView, rootView.getMeasuredHeight());
H A DOneEditTextActivitySelectedTests.java42 View rootView = ((OneEditTextActivitySelected) mTargetActivity).getRootView();
45 assertNotNull(rootView);
48 destructiveCheckImeInitialState(rootView, servedView);
50 verifyEditTextAdjustment(servedView, rootView.getMeasuredHeight());
H A DImfBaseTestCase.java113 public void destructiveCheckImeInitialState(View rootView, View servedView) { argument
117 assertTrue(destructiveCheckImeUp(rootView, servedView));
119 assertFalse(destructiveCheckImeUp(rootView, servedView));
123 public boolean destructiveCheckImeUp(View rootView, View servedView) { argument
127 origHeight = rootView.getHeight();
133 newHeight = rootView.getHeight();
136 newHeight = rootView.getHeight();
/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/
H A DAmbiguousViewMatcherException.java49 private View rootView; field in class:AmbiguousViewMatcherException
61 this.rootView = builder.rootView;
72 errorMessage = HumanReadables.getViewHierarchyErrorMessage(builder.rootView,
86 private View rootView; field in class:AmbiguousViewMatcherException.Builder
94 this.rootView = exception.rootView;
106 public Builder withRootView(View rootView) { argument
107 this.rootView = rootView;
[all...]
H A DNoMatchingViewException.java49 private View rootView; field in class:NoMatchingViewException
61 this.rootView = builder.rootView;
75 errorMessage = HumanReadables.getViewHierarchyErrorMessage(builder.rootView,
89 private View rootView; field in class:NoMatchingViewException.Builder
96 this.rootView = exception.rootView;
108 public Builder withRootView(View rootView) { argument
109 this.rootView = rootView;
[all...]
/frameworks/base/core/java/android/ddm/
H A DDdmHandleViewDebug.java127 View rootView = getRootView(in);
128 if (rootView == null) {
134 return dumpHierarchy(rootView, in);
136 return captureLayers(rootView);
138 return dumpTheme(rootView);
143 final View targetView = getTargetView(rootView, in);
151 return captureView(rootView, targetView);
153 return dumpDisplayLists(rootView, targetView);
155 return profileView(rootView, targetView);
157 return invokeViewMethod(rootView, targetVie
229 dumpHierarchy(View rootView, ByteBuffer in) argument
246 captureLayers(View rootView) argument
269 dumpTheme(View rootView) argument
282 captureView(View rootView, View targetView) argument
296 dumpDisplayLists(final View rootView, final View targetView) argument
322 invokeViewMethod(final View rootView, final View targetView, ByteBuffer in) argument
403 setLayoutParameter(final View rootView, final View targetView, ByteBuffer in) argument
419 profileView(View rootView, final View targetView) argument
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DTitleView.java48 View rootView = inflater.inflate(R.layout.lb_title_view, this);
50 mBadgeView = (ImageView) rootView.findViewById(R.id.browse_badge);
51 mTextView = (TextView) rootView.findViewById(R.id.browse_title);
52 mSearchOrbView = (SearchOrbView) rootView.findViewById(R.id.browse_orb);
H A DPlaybackControlsRowPresenter.java75 ViewHolder(View rootView, Presenter descriptionPresenter) { argument
76 super(rootView);
77 mCard = (ViewGroup) rootView.findViewById(R.id.controls_card);
78 mImageView = (ImageView) rootView.findViewById(R.id.image);
79 mDescriptionDock = (ViewGroup) rootView.findViewById(R.id.description_dock);
80 mControlsDock = (ViewGroup) rootView.findViewById(R.id.controls_dock);
82 (ViewGroup) rootView.findViewById(R.id.secondary_controls_dock);
83 mSpacer = rootView.findViewById(R.id.spacer);
84 mBottomSpacer = rootView.findViewById(R.id.bottom_spacer);
H A DPlaybackControlsPresenter.java66 ViewHolder(View rootView) { argument
67 super(rootView);
68 mMoreActionsDock = (FrameLayout) rootView.findViewById(R.id.more_actions_dock);
69 mCurrentTime = (TextView) rootView.findViewById(R.id.current_time);
70 mTotalTime = (TextView) rootView.findViewById(R.id.total_time);
71 mProgressBar = (ProgressBar) rootView.findViewById(R.id.playback_progress);
H A DDetailsOverviewRowPresenter.java230 * @param rootView The root View that this view holder will be attached
233 public ViewHolder(View rootView, Presenter detailsPresenter) { argument
234 super(rootView);
235 mOverviewFrame = (FrameLayout) rootView.findViewById(R.id.details_frame);
236 mOverviewView = (ViewGroup) rootView.findViewById(R.id.details_overview);
237 mImageView = (ImageView) rootView.findViewById(R.id.details_overview_image);
238 mRightPanel = (ViewGroup) rootView.findViewById(R.id.details_overview_right_panel);
248 final int fadeLength = rootView.getResources().getDimensionPixelSize(
H A DControlBarPresenter.java78 ViewHolder(View rootView) { argument
79 super(rootView);
80 mControlBar = (ControlBar) rootView.findViewById(R.id.control_bar);
H A DListRowPresenter.java60 public ViewHolder(View rootView, HorizontalGridView gridView, ListRowPresenter p) { argument
61 super(rootView);
/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/
H A DMainActivity.java96 View rootView = inflater.inflate(R.layout.fragment_main, container, false);
97 return rootView;
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
H A DUniqueIds.java64 ToggleScene(ViewGroup rootView, Button button) { argument
65 mScene = new Scene(rootView);
H A DContactsExpansion.java98 ToggleScene(ViewGroup rootView, Transition transition) { argument
99 mScene = new Scene(rootView);
/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/base/
H A DRootViewPicker.java117 View rootView = root.getDecorView();
118 if (!rootView.isLayoutRequested()) {
119 return rootView.hasWindowFocus() || !isFocusable().matches(root);
/frameworks/testing/espresso/espresso-lib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/
H A DViewInteractionTest.java61 private View rootView; field in class:ViewInteractionTest
72 rootView = new View(getContext());
192 .withRootView(rootView)
/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/util/
H A DHumanReadables.java51 * Prints out an error message feature the view hierarchy starting at the rootView.
53 * @param rootView the root of the hierarchy tree to print out.
62 public static String getViewHierarchyErrorMessage(View rootView, argument
76 depthFirstViewTraversalWithDistance(rootView), new Function<ViewAndDistance, String>() {
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodManager.java1401 public void onWindowFocus(View rootView, View focusedView, int softInputMode, argument
1414 focusInLocked(focusedView != null ? focusedView : rootView);
1433 if (startInputInner(rootView.getWindowToken(),
1444 mService.windowGainedFocus(mClient, rootView.getWindowToken(),
1452 public void startGettingWindowFocus(View rootView) { argument
1454 mCurRootView = rootView;

Completed in 397 milliseconds

12