/cts/tests/tests/widget/src/android/widget/cts/ |
RelativeLayout_LayoutParamsTest.java | 81 // view3, has same top position with view1 and same bottom position with view2, 84 View view3 = activity.findViewById(R.id.relative_view3); local 85 ViewAsserts.assertTopAligned(view1, view3); 86 ViewAsserts.assertBottomAligned(view2, view3); 87 assertEquals(view1.getRight(), view3.getLeft()); 88 layoutParams = (RelativeLayout.LayoutParams) (view3.getLayoutParams()); 94 // view4, has same right position with view3 and above view3. 97 ViewAsserts.assertRightAligned(view3, view4); 98 assertEquals(view3.getTop(), view4.getBottom()) 198 View view3 = activity.findViewById(R.id.relative_view23); local [all...] |
/external/chromium_org/ash/ |
focus_cycler_unittest.cc | 333 views::View* view3 = new views::View; local 334 view3->SetFocusable(true); 335 pane2->AddChildView(view3); 365 EXPECT_EQ(focus_manager->GetFocusedView(), view3); 374 EXPECT_EQ(focus_manager->GetFocusedView(), view3);
|
/external/chromium_org/ui/views/layout/ |
grid_layout_unittest.cc | 642 View* view3 = new FlexibleView(40); local 643 layout.AddView(view3, 1, 1, GridLayout::FILL, GridLayout::LEADING);
|
/frameworks/testing/espresso/espresso-lib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/matcher/ |
ViewMatchersTest.java | 370 View view3 = new TextView(getInstrumentation().getTargetContext()); local 374 secondLevel.addView(view3); 380 assertFalse(withParent(is((View) tiptop)).matches(view3)); 384 assertTrue(withParent(is((View) secondLevel)).matches(view3)); 386 assertFalse(withParent(is(view3)).matches(view3)); 392 View view3 = new TextView(getInstrumentation().getTargetContext()); local 396 secondLevel.addView(view3); 407 assertFalse(withChild(is(view3)).matches(view3)); [all...] |
/packages/apps/Email/tests/src/com/android/emailcommon/internet/ |
MimeUtilityTest.java | 344 final ArrayList<Part> view3 = new ArrayList<Part>(); local 346 MimeUtility.collectParts(cid3bp, view3, attach3);
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
ListViewTest.java | 98 View view3 = new View(null); local 99 view3.setId(3); 103 listView.addHeaderView(view3, null, false); 108 assertThat(shadowOf(listView).getHeaderViews().get(3), sameInstance(view3));
|