/external/chromium/chrome/browser/ui/views/ |
generic_info_view_unittest.cc | 57 GenericInfoView* view2 = new GenericInfoView(ARRAYSIZE(kNameIds), kNameIds); local 58 root_view->AddChildView(view2); 62 EXPECT_EQ(product_name, view2->name_views_[0]->GetText()); 63 EXPECT_EQ(product_desc, view2->name_views_[1]->GetText());
|
/external/chromium_org/ash/tooltips/ |
tooltip_controller_unittest.cc | 146 TooltipTestView* view2 = new TooltipTestView; local 147 AddViewToWidgetAndResize(widget2.get(), view2); 148 view2->set_tooltip_text(ASCIIToUTF16("Tooltip Text for view 2")); 154 view2->bounds().CenterPoint());
|
/cts/tests/tests/widget/src/android/widget/cts/ |
CheckedTextViewTest.java | 105 CheckedTextView view2 = (CheckedTextView) adapter.getView(2, null, null); local 108 assertFalse(view2.isChecked()); 119 assertTrue(view2.isChecked()); 123 view2.setChecked(false); 126 assertFalse(view2.isChecked());
|
RelativeLayout_LayoutParamsTest.java | 71 // view2, below view1 and has same left position with view1. 73 View view2 = activity.findViewById(R.id.relative_view2); local 74 ViewAsserts.assertLeftAligned(view1, view2); 75 assertEquals(view1.getBottom(), view2.getTop()); 76 layoutParams = (RelativeLayout.LayoutParams) (view2.getLayoutParams()); 81 // view3, has same top position with view1 and same bottom position with view2, 86 ViewAsserts.assertBottomAligned(view2, view3); 178 // view2, below view1 and has same left position with view1. 180 View view2 = activity.findViewById(R.id.relative_view22); local 181 ViewAsserts.assertLeftAligned(view1, view2); [all...] |
TabWidgetTest.java | 178 View view2 = new RelativeLayout(mActivity); local 179 mockTabWidget.addView(view2); 180 assertSame(view2, mockTabWidget.getChildAt(1));
|
/external/jmonkeyengine/engine/src/test/jme3test/renderer/ |
TestMultiViews.java | 74 ViewPort view2 = renderManager.createMainView("Bottom Left", cam2); local 75 view2.setClearFlags(true, true, true); 76 view2.attachScene(rootNode);
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/bytecode/ |
AndroidTranslatorTest.java | 117 View view2 = new View(null); local 122 view2.bringToFront();
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
ViewTest.java | 366 TestView2 view2 = new TestView2(new Activity()); local 368 assertThat(view2.getHeight(), equalTo(0)); 369 assertThat(view2.getWidth(), equalTo(0)); 370 assertThat(view2.getMeasuredHeight(), equalTo(0)); 371 assertThat(view2.getMeasuredWidth(), equalTo(0)); 373 view2.measure( MeasureSpec.makeMeasureSpec(1000, MeasureSpec.AT_MOST), 376 assertThat(view2.getHeight(), equalTo(0)); 377 assertThat(view2.getWidth(), equalTo(0)); 378 assertThat(view2.getMeasuredHeight(), equalTo(400)); 379 assertThat(view2.getMeasuredWidth(), equalTo(800)); [all...] |
ListViewTest.java | 96 View view2 = new View(null); local 97 view2.setId(2); 102 listView.addHeaderView(view2, null, false); 107 assertThat(shadowOf(listView).getHeaderViews().get(2), sameInstance(view2));
|
/external/chromium/chrome/browser/chromeos/notifications/ |
notification_browsertest.cc | 504 BalloonViewImpl* view2 = local 508 WaitForResize(view2); 509 EXPECT_LT(view2->size().height(), 50) << "view size is bigger than expected"; 513 EXPECT_FALSE(tester->IsActive(view2)); 517 EXPECT_TRUE(tester->IsActive(view2)); 521 EXPECT_FALSE(tester->IsActive(view2));
|
/external/chromium_org/ash/ |
focus_cycler_unittest.cc | 321 views::View* view2 = new views::View; local 322 view2->SetFocusable(true); 323 pane1->AddChildView(view2);
|
/external/chromium_org/ui/views/layout/ |
grid_layout_unittest.cc | 566 View* view2 = new SettableSizeView(gfx::Size(4, 40)); local 568 layout.AddView(view2); 580 // And view2 should be 8 pixels wide: 582 ExpectViewBoundsEquals(4, 40, 8, 40, view2); 609 View* view2 = new SettableSizeView(gfx::Size(20, 20)); local 610 layout.AddView(view2, 1, 1, GridLayout::FILL, GridLayout::LEADING);
|
/external/jmonkeyengine/engine/src/test/jme3test/post/ |
TestMultiViewsFilters.java | 82 final ViewPort view2 = renderManager.createMainView("Bottom Left", cam2); local 83 view2.setClearFlags(true, true, true); 84 view2.attachScene(rootNode); 157 view2.addProcessor(fpp2); 170 view2.removeProcessor(fpp2); 176 view2.addProcessor(fpp2);
|
/external/chromium_org/ui/views/corewm/ |
tooltip_controller_unittest.cc | 115 TooltipTestView* view2 = new TooltipTestView; local 116 widget_->GetContentsView()->AddChildView(view2); 118 view2->SetBounds(100, 0, 100, 100); 119 return view2; 238 TooltipTestView* view2 = PrepareSecondView(); local 239 view2->set_tooltip_text(ASCIIToUTF16("Tooltip Text for view 2")); 270 // Now we move the mouse on to |view2|. It should re-start the tooltip timer. 287 TooltipTestView* view2 = PrepareSecondView(); local 288 view2->set_tooltip_text(ASCIIToUTF16("Tooltip Text for view 2")); 318 // Now we move the mouse on to |view2|. It should re-start the tooltip timer 455 TooltipTestView* view2 = new TooltipTestView; local 524 TooltipTestView* view2 = new TooltipTestView; local [all...] |
/external/chromium_org/ui/views/focus/ |
focus_manager_unittest.cc | 80 SimpleTestView* view2 = new SimpleTestView(&event_list, kView2ID); local 82 GetContentsView()->AddChildView(view2); 90 view2->RequestFocus(); 107 View* view2 = new View(); local 108 view2->SetFocusable(true); 110 GetContentsView()->AddChildView(view2); 123 view2->RequestFocus(); 125 EXPECT_TRUE(listener.focus_changes()[0] == ViewPair(view1, view2)); 130 EXPECT_TRUE(listener.focus_changes()[0] == ViewPair(view2, null_view)); 885 View* view2 = new View local [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
LevelSelectActivity.java | 158 TextView view2 = (TextView)sourceView.findViewById(mTextViewResource2); local 159 if (view2 != null) { 160 view2.setText(mLevelData.get(position).level.timeStamp);
|
/cts/tests/tests/view/src/android/view/cts/ |
ViewTreeObserverTest.java | 78 final View view2 = mActivity.findViewById(R.id.view2); local 95 view2.requestFocus(); 103 && listener.oldFocus == view1 && listener.newFocus == view2; 224 final View view2 = mActivity.findViewById(R.id.view2); local 240 view2.requestFocus(); 248 && listener.oldFocus == view1 && listener.newFocus == view2;
|
ViewTest.java | 1524 final View view2 = mActivity.findViewById(R.id.fit_windows); local [all...] |
/packages/apps/Email/tests/src/com/android/emailcommon/internet/ |
MimeUtilityTest.java | 377 final ArrayList<Part> view2 = new ArrayList<Part>(); local 379 MimeUtility.collectParts(cid2bp, view2, attach2);
|