HomeSort by relevance Sort by last modified time
    Searched refs:rootView (Results 1 - 25 of 271) sorted by null

1 2 3 4 5 6 7 8 91011

  /frameworks/base/tests/ImfTest/tests/src/com/android/imftest/samples/
BigEditTextActivityNonScrollablePanScanTests.java 38 View rootView = ((BigEditTextActivityNonScrollablePanScan) mTargetActivity).getRootView();
41 assertNotNull(rootView);
44 destructiveCheckImeInitialState(rootView, servedView);
46 verifyEditTextAdjustment(servedView, rootView.getMeasuredHeight());
BigEditTextActivityNonScrollableResizeTests.java 37 View rootView = ((BigEditTextActivityNonScrollableResize) mTargetActivity).getRootView();
40 assertNotNull(rootView);
43 destructiveCheckImeInitialState(rootView, servedView);
45 verifyEditTextAdjustment(servedView, rootView.getMeasuredHeight());
BigEditTextActivityScrollablePanScanTests.java 37 View rootView = ((BigEditTextActivityScrollablePanScan) mTargetActivity).getRootView();
40 assertNotNull(rootView);
43 destructiveCheckImeInitialState(rootView, servedView);
45 verifyEditTextAdjustment(servedView, rootView.getMeasuredHeight());
BigEditTextActivityScrollableResizeTests.java 38 View rootView = ((BigEditTextActivityScrollableResize) mTargetActivity).getRootView();
41 assertNotNull(rootView);
44 destructiveCheckImeInitialState(rootView, servedView);
46 verifyEditTextAdjustment(servedView, rootView.getMeasuredHeight());
BottomEditTextActivityPanScanTests.java 38 View rootView = ((BottomEditTextActivityPanScan) mTargetActivity).getRootView();
41 assertNotNull(rootView);
44 destructiveCheckImeInitialState(rootView, servedView);
46 verifyEditTextAdjustment(servedView, rootView.getMeasuredHeight());
BottomEditTextActivityResizeTests.java 38 View rootView = ((BottomEditTextActivityResize) mTargetActivity).getRootView();
41 assertNotNull(rootView);
44 destructiveCheckImeInitialState(rootView, servedView);
46 verifyEditTextAdjustment(servedView, rootView.getMeasuredHeight());
OneEditTextActivityNotSelectedTests.java 39 View rootView = ((OneEditTextActivityNotSelected) mTargetActivity).getRootView();
42 assertNotNull(rootView);
45 destructiveCheckImeInitialState(rootView, servedView);
47 verifyEditTextAdjustment(servedView, rootView.getMeasuredHeight());
OneEditTextActivitySelectedTests.java 42 View rootView = ((OneEditTextActivitySelected) mTargetActivity).getRootView();
45 assertNotNull(rootView);
48 destructiveCheckImeInitialState(rootView, servedView);
50 verifyEditTextAdjustment(servedView, rootView.getMeasuredHeight());
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
CanvasViewInfoTest.java 89 CanvasViewInfo rootView = CanvasViewInfo.create(root, layoutlib5).getFirst();
90 assertNotNull(rootView);
91 assertEquals("LinearLayout", rootView.getName());
92 assertEquals(new Rectangle(10, 10, 89, 89), rootView.getAbsRect());
93 assertEquals(new Rectangle(10, 10, 89, 89), rootView.getSelectionRect());
94 assertNull(rootView.getParent());
95 assertSame(rootView.getUiViewNode(), rootNode);
96 assertEquals(2, rootView.getChildren().size());
97 CanvasViewInfo childView1 = rootView.getChildren().get(0);
98 CanvasViewInfo childView2 = rootView.getChildren().get(1)
    [all...]
SelectionManagerTest.java 56 CanvasViewInfo rootView = CanvasViewInfo.create(root, true /* layoutlib5 */).getFirst();
57 assertNotNull(rootView);
59 manager.selectMultiple(Arrays.asList(rootView, rootView.getChildren().get(0), rootView
77 manager.selectSingle(rootView);
80 assertSame(rootView, manager.getSelections().get(0).getViewInfo());
82 manager.selectMultiple(Arrays.asList(rootView, rootView.getChildren().get(0), rootView
    [all...]
  /external/droiddriver/src/io/appium/droiddriver/instrumentation/
InstrumentationUiDevice.java 58 private final View rootView;
60 private GetScreenshot(View rootView) {
61 this.rootView = rootView;
67 rootView.destroyDrawingCache();
68 rootView.buildDrawingCache(false);
69 Bitmap drawingCache = rootView.getDrawingCache();
72 rootView.getLocationOnScreen(xy);
85 rootView.destroyDrawingCache();
  /frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/
ProgressBarManagerTest.java 54 final ViewGroup rootView = new FrameLayout(mContext);
55 mProgressBarManager.setRootView(rootView);
66 if (rootView.getChildCount() == 0) return false;
67 return rootView.getChildAt(0).getVisibility() == View.VISIBLE;
80 return rootView.getChildCount() == 0;
93 if (rootView.getChildCount() == 0) return false;
94 return rootView.getChildAt(0).getVisibility() == View.VISIBLE;
101 final ViewGroup rootView = new FrameLayout(mContext);
103 rootView.addView(customProgressBar, 100, 100);
115 if (rootView.getChildCount() == 0) return false
    [all...]
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
ProgressBarManager.java 21 ViewGroup rootView;
31 if (!mEnableProgressBar || (!mUserProvidedProgressBar && rootView == null)) {
38 rootView.getContext(), null, android.R.attr.progressBarStyleLarge);
43 rootView.addView(mProgressBarView, progressBarParams);
56 * @param rootView view that will contain the progress bar.
58 public void setRootView(ViewGroup rootView) {
59 this.rootView = rootView;
80 rootView.removeView(mProgressBarView);
  /frameworks/base/core/java/android/ddm/
DdmHandleViewDebug.java 120 View rootView = getRootView(in);
121 if (rootView == null) {
127 return dumpHierarchy(rootView, in);
129 return captureLayers(rootView);
131 return dumpTheme(rootView);
136 final View targetView = getTargetView(rootView, in);
144 return captureView(rootView, targetView);
146 return dumpDisplayLists(rootView, targetView);
148 return profileView(rootView, targetView);
150 return invokeViewMethod(rootView, targetView, in)
    [all...]
  /developers/build/prebuilts/gradle/FloatingActionButtonBasic/Application/src/main/java/com/example/android/floatingactionbuttonbasic/
FloatingActionButtonBasicFragment.java 42 View rootView = inflater.inflate(R.layout.fab_layout, container, false);
45 FloatingActionButton fab1 = (FloatingActionButton) rootView.findViewById(R.id.fab_1);
47 FloatingActionButton fab2 = (FloatingActionButton) rootView.findViewById(R.id.fab_2);
49 return rootView;
  /developers/samples/android/ui/views/FloatingActionButton/FloatingActionButtonBasic/Application/src/main/java/com/example/android/floatingactionbuttonbasic/
FloatingActionButtonBasicFragment.java 42 View rootView = inflater.inflate(R.layout.fab_layout, container, false);
45 FloatingActionButton fab1 = (FloatingActionButton) rootView.findViewById(R.id.fab_1);
47 FloatingActionButton fab2 = (FloatingActionButton) rootView.findViewById(R.id.fab_2);
49 return rootView;
  /development/samples/browseable/FloatingActionButtonBasic/src/com.example.android.floatingactionbuttonbasic/
FloatingActionButtonBasicFragment.java 42 View rootView = inflater.inflate(R.layout.fab_layout, container, false);
45 FloatingActionButton fab1 = (FloatingActionButton) rootView.findViewById(R.id.fab_1);
47 FloatingActionButton fab2 = (FloatingActionButton) rootView.findViewById(R.id.fab_2);
49 return rootView;
  /development/samples/browseable/RevealEffectBasic/src/com.example.android.revealeffectbasic/
RevealEffectBasicFragment.java 47 final View rootView = inflater.inflate(R.layout.reveal_effect_basic, container, false);
49 View button = rootView.findViewById(R.id.button);
55 View shape = rootView.findViewById(R.id.circle);
76 return rootView;
  /frameworks/base/core/tests/coretests/src/android/view/
ViewAttachTest.java 73 final View rootView = activity.getWindow().getDecorView();
76 rootView.getWidth(),
77 rootView.getHeight(),
84 rootView.setLayoutParams(params);
  /frameworks/support/samples/SupportLeanbackJank/src/com/google/android/leanbackjank/presenter/
HeaderItemPresenter.java 53 View rootView = viewHolder.view;
54 rootView.setFocusable(true);
56 ImageView iconView = (ImageView) rootView.findViewById(R.id.header_icon);
58 rootView.getResources(), R.drawable.android_header, null);
61 TextView label = (TextView) rootView.findViewById(R.id.header_label);
  /developers/build/prebuilts/gradle/ElevationDrag/Application/src/main/java/com/example/android/elevationdrag/
ElevationDragFragment.java 56 View rootView = inflater.inflate(R.layout.ztranslation, container, false);
59 final View floatingShape = rootView.findViewById(R.id.circle);
67 DragFrameLayout dragLayout = ((DragFrameLayout) rootView.findViewById(R.id.main_layout));
85 rootView.findViewById(R.id.raise_bt).setOnClickListener(new View.OnClickListener() {
95 rootView.findViewById(R.id.lower_bt).setOnClickListener(new View.OnClickListener() {
108 return rootView;
  /developers/build/prebuilts/gradle/RecyclerView/Application/src/main/java/com/example/android/recyclerview/
RecyclerViewFragment.java 67 View rootView = inflater.inflate(R.layout.recycler_view_frag, container, false);
68 rootView.setTag(TAG);
71 mRecyclerView = (RecyclerView) rootView.findViewById(R.id.recyclerView);
92 mLinearLayoutRadioButton = (RadioButton) rootView.findViewById(R.id.linear_layout_rb);
100 mGridLayoutRadioButton = (RadioButton) rootView.findViewById(R.id.grid_layout_rb);
108 return rootView;
  /developers/samples/android/ui/views/Elevation/ElevationDrag/Application/src/main/java/com/example/android/elevationdrag/
ElevationDragFragment.java 56 View rootView = inflater.inflate(R.layout.ztranslation, container, false);
59 final View floatingShape = rootView.findViewById(R.id.circle);
67 DragFrameLayout dragLayout = ((DragFrameLayout) rootView.findViewById(R.id.main_layout));
85 rootView.findViewById(R.id.raise_bt).setOnClickListener(new View.OnClickListener() {
95 rootView.findViewById(R.id.lower_bt).setOnClickListener(new View.OnClickListener() {
108 return rootView;
  /developers/samples/android/ui/views/RecyclerView/Application/src/main/java/com/example/android/recyclerview/
RecyclerViewFragment.java 67 View rootView = inflater.inflate(R.layout.recycler_view_frag, container, false);
68 rootView.setTag(TAG);
71 mRecyclerView = (RecyclerView) rootView.findViewById(R.id.recyclerView);
92 mLinearLayoutRadioButton = (RadioButton) rootView.findViewById(R.id.linear_layout_rb);
100 mGridLayoutRadioButton = (RadioButton) rootView.findViewById(R.id.grid_layout_rb);
108 return rootView;
  /development/samples/browseable/ElevationDrag/src/com.example.android.elevationdrag/
ElevationDragFragment.java 56 View rootView = inflater.inflate(R.layout.ztranslation, container, false);
59 final View floatingShape = rootView.findViewById(R.id.circle);
67 DragFrameLayout dragLayout = ((DragFrameLayout) rootView.findViewById(R.id.main_layout));
85 rootView.findViewById(R.id.raise_bt).setOnClickListener(new View.OnClickListener() {
95 rootView.findViewById(R.id.lower_bt).setOnClickListener(new View.OnClickListener() {
108 return rootView;

Completed in 1102 milliseconds

1 2 3 4 5 6 7 8 91011