Searched refs:rootView (Results 1 - 25 of 28) sorted by last modified time

12

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DControlBarPresenter.java78 ViewHolder(View rootView) { argument
79 super(rootView);
80 mControlBar = (ControlBar) rootView.findViewById(R.id.control_bar);
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 DListRowPresenter.java60 public ViewHolder(View rootView, HorizontalGridView gridView, ListRowPresenter p) { argument
61 super(rootView);
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 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 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);
/frameworks/support/v4/java/android/support/v4/widget/
H A DDrawerLayout.java648 final View rootView = getRootView();
649 if (rootView != null) {
650 rootView.sendAccessibilityEvent(AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED);
/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/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/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/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-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/matcher/
H A DViewMatchersTest.java411 ViewGroup rootView = new ViewGroup(getInstrumentation().getTargetContext()) {
418 rootView.addView(view);
420 assertTrue(isRoot().matches(rootView));
/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 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();
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());
/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 DContactsExpansion.java98 ToggleScene(ViewGroup rootView, Transition transition) { argument
99 mScene = new Scene(rootView);
H A DUniqueIds.java64 ToggleScene(ViewGroup rootView, Button button) { argument
65 mScene = new Scene(rootView);

Completed in 1555 milliseconds

12