Home
last modified time | relevance | path

Searched refs:view2 (Results 1 – 21 of 21) sorted by relevance

/external/qemu/android/base/
DStringView_unittest.cpp35 StringView view2(view1); in TEST() local
36 EXPECT_FALSE(view2.empty()); in TEST()
37 EXPECT_STREQ(kString, view2.str()); in TEST()
38 EXPECT_EQ(strlen(kString), view2.size()); in TEST()
106 StringView view2(kHello2); in TEST() local
107 EXPECT_TRUE(view1 == view2); in TEST()
108 EXPECT_FALSE(view1 != view2); in TEST()
109 EXPECT_TRUE(view1 <= view2); in TEST()
110 EXPECT_TRUE(view1 >= view2); in TEST()
111 EXPECT_FALSE(view1 < view2); in TEST()
[all …]
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
DAwJavaBridgeTest.java32 final AwTestContainerView view2 = createAwTestContainerViewOnMainSync(client2); in testDestroyFromJavaObject() local
48 loadDataAsync(view2.getAwContents(), html, "text/html", false); in testDestroyFromJavaObject()
80 final AwTestContainerView view2 = createAwTestContainerViewOnMainSync(client2); in testTwoWebViewsCreatedSimultaneously() local
81 final AwContents awContents2 = view2.getAwContents(); in testTwoWebViewsCreatedSimultaneously()
146 final AwTestContainerView view2 = createAwTestContainerViewOnMainSync(client2); in testTwoWebViewsSecondCreatedAfterLoadingInFirst() local
147 final AwContents awContents2 = view2.getAwContents(); in testTwoWebViewsSecondCreatedAfterLoadingInFirst()
/external/chromium_org/chrome/browser/ui/cocoa/autofill/
Dsimple_grid_layout_unittest.mm120 base::scoped_nsobject<NSView> view2 = CreateViewWithHeight(10.0f);
121 layout.AddView(view2);
142 base::scoped_nsobject<NSView> view2 = CreateViewWithHeight(26.0f);
143 layout.AddView(view2);
163 base::scoped_nsobject<NSView> view2 = CreateViewWithHeight(40.0f);
164 layout.AddView(view2);
180 base::scoped_nsobject<NSView> view2 = CreateViewWithHeight(20.0f);
182 layout.AddView(view2);
197 EXPECT_FLOAT_EQ(48.0f, NSWidth([view2 frame]));
198 EXPECT_FLOAT_EQ(22.0f, NSHeight([view2 frame]));
[all …]
/external/chromium_org/ui/views/focus/
Dfocus_manager_unittest.cc73 SimpleTestView* view2 = new SimpleTestView(&event_list, kView2ID); in TEST_F() local
75 GetContentsView()->AddChildView(view2); in TEST_F()
83 view2->RequestFocus(); in TEST_F()
100 View* view2 = new View(); in TEST_F() local
101 view2->SetFocusable(true); in TEST_F()
103 GetContentsView()->AddChildView(view2); in TEST_F()
116 view2->RequestFocus(); in TEST_F()
118 EXPECT_TRUE(listener.focus_changes()[0] == ViewPair(view1, view2)); in TEST_F()
123 EXPECT_TRUE(listener.focus_changes()[0] == ViewPair(view2, null_view)); in TEST_F()
892 View* view2 = new View; in TEST_F() local
[all …]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DViewTest.java366 TestView2 view2 = new TestView2(new Activity()); in test_measuredDimensionCustomView() local
368 assertThat(view2.getHeight(), equalTo(0)); in test_measuredDimensionCustomView()
369 assertThat(view2.getWidth(), equalTo(0)); in test_measuredDimensionCustomView()
370 assertThat(view2.getMeasuredHeight(), equalTo(0)); in test_measuredDimensionCustomView()
371 assertThat(view2.getMeasuredWidth(), equalTo(0)); in test_measuredDimensionCustomView()
373 view2.measure( MeasureSpec.makeMeasureSpec(1000, MeasureSpec.AT_MOST), in test_measuredDimensionCustomView()
376 assertThat(view2.getHeight(), equalTo(0)); in test_measuredDimensionCustomView()
377 assertThat(view2.getWidth(), equalTo(0)); in test_measuredDimensionCustomView()
378 assertThat(view2.getMeasuredHeight(), equalTo(400)); in test_measuredDimensionCustomView()
379 assertThat(view2.getMeasuredWidth(), equalTo(800)); in test_measuredDimensionCustomView()
DListViewTest.java96 View view2 = new View(null); in addHeaderView_ShouldRecordHeaders() local
97 view2.setId(2); in addHeaderView_ShouldRecordHeaders()
102 listView.addHeaderView(view2, null, false); in addHeaderView_ShouldRecordHeaders()
107 assertThat(shadowOf(listView).getHeaderViews().get(2), sameInstance(view2)); in addHeaderView_ShouldRecordHeaders()
/external/chromium_org/ash/tooltips/
Dtooltip_controller_unittest.cc144 TooltipTestView* view2 = new TooltipTestView; in TEST_F() local
145 AddViewToWidgetAndResize(widget2.get(), view2); in TEST_F()
146 view2->set_tooltip_text(base::ASCIIToUTF16("Tooltip Text for view 2")); in TEST_F()
152 view2->bounds().CenterPoint()); in TEST_F()
/external/chromium_org/ui/views/corewm/
Dtooltip_controller_unittest.cc129 TooltipTestView* view2 = new TooltipTestView; in PrepareSecondView() local
130 widget_->GetContentsView()->AddChildView(view2); in PrepareSecondView()
132 view2->SetBounds(100, 0, 100, 100); in PrepareSecondView()
133 return view2; in PrepareSecondView()
255 TooltipTestView* view2 = PrepareSecondView(); in TEST_F() local
256 view2->set_tooltip_text(ASCIIToUTF16("Tooltip Text for view 2")); in TEST_F()
304 TooltipTestView* view2 = PrepareSecondView(); in TEST_F() local
305 view2->set_tooltip_text(ASCIIToUTF16("Tooltip Text for view 2")); in TEST_F()
512 TooltipTestView* view2 = new TooltipTestView; in TEST_F() local
513 widget2->GetContentsView()->AddChildView(view2); in TEST_F()
[all …]
/external/chromium_org/third_party/sqlite/src/test/
Dcapi2.test759 CREATE VIEW view2 AS SELECT * FROM tab1 limit 10 offset 10;
763 check_origins {SELECT col2, col1 FROM view2}
766 check_origins {SELECT col2 AS hello, col1 AS world FROM view2}
769 check_origins {SELECT b, a FROM (SELECT col1 AS a, col2 AS b FROM view2)}
772 check_origins {SELECT (SELECT col2 FROM view2), (SELECT col1 FROM view2)}
775 check_origins {SELECT (SELECT col2), (SELECT col1) FROM view2}
778 check_origins {SELECT * FROM view2}
781 check_origins {select * from (select * from view2)}
784 check_origins {select * from (select * from (select * from view2))}
790 check_origins {select * from (select * from (select * from view2))}
/external/chromium_org/chrome/browser/ui/cocoa/
Dl10n_util.mm13 NSInteger CompareFrameY(id view1, id view2, void* context) {
15 CGFloat y2 = NSMinY([view2 frame]);
Dl10n_util.h13 NSInteger CompareFrameY(id view1, id view2, void* context);
Dfirst_run_dialog.mm43 NSInteger CompareFrameY(id view1, id view2, void* context) {
45 CGFloat y2 = NSMinY([view2 frame]);
/external/replicaisland/src/com/replica/replicaisland/
DLevelSelectActivity.java158 TextView view2 = (TextView)sourceView.findViewById(mTextViewResource2); in getView() local
159 if (view2 != null) { in getView()
160 view2.setText(mLevelData.get(position).level.timeStamp); in getView()
/external/chromium_org/ash/
Dfocus_cycler_unittest.cc326 views::View* view2 = new views::View; in TEST_F() local
327 view2->SetFocusable(true); in TEST_F()
328 pane1->AddChildView(view2); in TEST_F()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/bytecode/
DAndroidTranslatorTest.java117 View view2 = new View(null); in testDirectlyOn_InstanceChecking() local
122 view2.bringToFront(); in testDirectlyOn_InstanceChecking()
/external/chromium_org/ui/views/layout/
Dgrid_layout_unittest.cc593 View* view2 = new SettableSizeView(gfx::Size(4, 40)); in TEST_F() local
595 layout.AddView(view2); in TEST_F()
609 ExpectViewBoundsEquals(4, 40, 8, 40, view2); in TEST_F()
636 View* view2 = new SettableSizeView(gfx::Size(20, 20)); in TEST_F() local
637 layout.AddView(view2, 1, 1, GridLayout::FILL, GridLayout::LEADING); in TEST_F()
/external/chromium_org/mojo/services/public/cpp/view_manager/tests/
Dview_manager_unittest.cc477 View* view2 = View::Create(window_manager()); in TEST_F() local
478 window_manager()->GetRoots().front()->AddChild(view2); in TEST_F()
480 ViewManager* embedded2 = Embed(window_manager(), view2); in TEST_F()
/external/chromium_org/ui/views/widget/
Dwidget_interactive_uitest.cc834 View* view2 = new View(); in TEST_F() local
835 view2->SetFocusable(true); in TEST_F()
836 widget2.GetRootView()->AddChildView(view2); in TEST_F()
844 focus_manager2->SetFocusedView(view2); in TEST_F()
845 EXPECT_EQ(view2, focus_manager2->GetFocusedView()); in TEST_F()
Dwidget_unittest.cc2441 EventCountView* view2 = v2; in TEST_F() local
2444 EXPECT_EQ(1, view2->GetEventCount(ui::ET_GESTURE_TAP)); in TEST_F()
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/infobar/
DInfoBarLayout.java211 public void setCustomContent(View view1, View view2) { in setCustomContent() argument
212 mCustomGroup = addGroup(view1, view2); in setCustomContent()
/external/chromium_org/ui/views/
Dview_unittest.cc2673 View* view2 = new View(); in TEST_F() local
2674 view2->SetFocusable(true); in TEST_F()
2675 widget.GetRootView()->AddChildView(view2); in TEST_F()
2685 EXPECT_EQ(view2, focus_manager->GetFocusedView()); in TEST_F()
2694 EXPECT_EQ(view2, focus_manager->GetFocusedView()); in TEST_F()
2704 EXPECT_EQ(view2, focus_manager->GetFocusedView()); in TEST_F()