Home
last modified time | relevance | path

Searched refs:view1 (Results 1 – 25 of 25) sorted by relevance

/external/qemu/android/base/
DStringView_unittest.cpp34 StringView view1(kString); in TEST() local
35 StringView view2(view1); in TEST()
72 StringView view1(kString); in TEST() local
74 view.set(view1); in TEST()
105 StringView view1(kHello1); 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/chrome/browser/ui/cocoa/autofill/
Dsimple_grid_layout_unittest.mm112 base::scoped_nsobject<NSView> view1 = CreateViewWithHeight(30.0f);
113 layout.AddView(view1);
137 base::scoped_nsobject<NSView> view1 = CreateViewWithHeight(37.0f);
138 layout.AddView(view1);
158 base::scoped_nsobject<NSView> view1 = CreateViewWithHeight(30.0f);
159 layout.AddView(view1);
179 base::scoped_nsobject<NSView> view1 = CreateViewWithHeight(22.0f);
181 layout.AddView(view1);
192 EXPECT_FLOAT_EQ(72.0f, NSWidth([view1 frame]));
193 EXPECT_FLOAT_EQ(22.0f, NSHeight([view1 frame]));
[all …]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DViewTest.java338 TestView view1 = new TestView(new Activity()); in dispatchOnAnimationEnd() local
339 assertFalse(view1.onAnimationEndWasCalled); in dispatchOnAnimationEnd()
340 shadowOf(view1).finishedAnimation(); in dispatchOnAnimationEnd()
341 assertTrue(view1.onAnimationEndWasCalled); in dispatchOnAnimationEnd()
347 TestView view1 = new TestView(new Activity()); in test_measuredDimension() local
349 assertThat(view1.getHeight(), equalTo(0)); in test_measuredDimension()
350 assertThat(view1.getWidth(), equalTo(0)); in test_measuredDimension()
351 assertThat(view1.getMeasuredHeight(), equalTo(0)); in test_measuredDimension()
352 assertThat(view1.getMeasuredWidth(), equalTo(0)); in test_measuredDimension()
354 view1.measure( MeasureSpec.makeMeasureSpec(150, MeasureSpec.AT_MOST), in test_measuredDimension()
[all …]
DListViewTest.java94 View view1 = new View(null); in addHeaderView_ShouldRecordHeaders() local
95 view1.setId(1); in addHeaderView_ShouldRecordHeaders()
101 listView.addHeaderView(view1); in addHeaderView_ShouldRecordHeaders()
106 assertThat(shadowOf(listView).getHeaderViews().get(1), sameInstance(view1)); in addHeaderView_ShouldRecordHeaders()
141 View view1 = new View(null); in addFooterView_ShouldRecordFooters() local
143 listView.addFooterView(view1); in addFooterView_ShouldRecordFooters()
145 assertThat(shadowOf(listView).getFooterViews().get(1), sameInstance(view1)); in addFooterView_ShouldRecordFooters()
/external/chromium_org/ui/views/controls/native/
Dnative_view_host_unittest.cc222 View* view1 = new View; in TEST_F() local
223 toplevel()->GetRootView()->AddChildView(view1); in TEST_F()
233 view1, in TEST_F()
255 view1->AddChildView(view0); in TEST_F()
268 child0->GetContentsView()->AddChildView(view1); in TEST_F()
/external/chromium_org/ash/
Dfocus_cycler_unittest.cc322 views::View* view1 = new views::View; in TEST_F() local
323 view1->SetFocusable(true); in TEST_F()
324 pane1->AddChildView(view1); in TEST_F()
360 EXPECT_EQ(focus_manager->GetFocusedView(), view1); in TEST_F()
379 EXPECT_EQ(focus_manager->GetFocusedView(), view1); in TEST_F()
395 EXPECT_EQ(focus_manager->GetFocusedView(), view1); in TEST_F()
403 EXPECT_EQ(focus_manager->GetFocusedView(), view1); in TEST_F()
/external/chromium_org/ui/views/focus/
Dfocus_manager_unittest.cc72 SimpleTestView* view1 = new SimpleTestView(&event_list, kView1ID); in TEST_F() local
74 GetContentsView()->AddChildView(view1); in TEST_F()
77 view1->RequestFocus(); in TEST_F()
98 View* view1 = new View(); in TEST_F() local
99 view1->SetFocusable(true); in TEST_F()
102 GetContentsView()->AddChildView(view1); in TEST_F()
111 view1->RequestFocus(); in TEST_F()
113 EXPECT_TRUE(listener.focus_changes()[0] == ViewPair(null_view, view1)); in TEST_F()
118 EXPECT_TRUE(listener.focus_changes()[0] == ViewPair(view1, view2)); in TEST_F()
889 View* view1 = new View; in TEST_F() local
[all …]
/external/chromium_org/ash/tooltips/
Dtooltip_controller_unittest.cc137 TooltipTestView* view1 = new TooltipTestView; in TEST_F() local
138 AddViewToWidgetAndResize(widget1.get(), view1); in TEST_F()
139 view1->set_tooltip_text(base::ASCIIToUTF16("Tooltip Text for view 1")); in TEST_F()
171 view1->bounds().CenterPoint()); in TEST_F()
/external/chromium_org/mojo/services/public/cpp/view_manager/tests/
Dview_manager_unittest.cc475 View* view1 = View::Create(window_manager()); in TEST_F() local
476 window_manager()->GetRoots().front()->AddChild(view1); in TEST_F()
479 ViewManager* embedded1 = Embed(window_manager(), view1); in TEST_F()
492 View* view1 = View::Create(window_manager()); in TEST_F() local
493 window_manager()->GetRoots().front()->AddChild(view1); in TEST_F()
495 ViewManager* embedded = Embed(window_manager(), view1); in TEST_F()
502 View* view1_in_wm = window_manager()->GetViewById(view1->id()); in TEST_F()
505 WaitForTreeSizeToMatch(view1, 2u); in TEST_F()
/external/chromium_org/ui/views/widget/
Dwidget_interactive_uitest.cc493 View* view1 = new View; in TEST_F() local
494 view1->SetFocusable(true); in TEST_F()
495 widget1->GetContentsView()->AddChildView(view1); in TEST_F()
507 view1->RequestFocus(); in TEST_F()
508 EXPECT_EQ(view1, widget1->GetFocusManager()->GetFocusedView()); in TEST_F()
521 EXPECT_EQ(view1, widget1->GetFocusManager()->GetFocusedView()); in TEST_F()
815 View* view1 = new View(); in TEST_F() local
816 view1->SetFocusable(true); in TEST_F()
817 widget1.GetRootView()->AddChildView(view1); in TEST_F()
824 focus_manager1->SetFocusedView(view1); in TEST_F()
[all …]
Dwidget_unittest.cc2440 EventCountView* view1 = v1; in TEST_F() local
2443 EXPECT_EQ(1, view1->GetEventCount(ui::ET_GESTURE_TAP)); in TEST_F()
/external/chromium_org/third_party/sqlite/src/test/
Dcapi2.test722 CREATE VIEW view1 AS SELECT * FROM tab1;
726 check_origins {SELECT col2, col1 FROM view1}
729 check_origins {SELECT col2 AS hello, col1 AS world FROM view1}
732 check_origins {SELECT b, a FROM (SELECT col1 AS a, col2 AS b FROM view1)}
735 check_origins {SELECT (SELECT col2 FROM view1), (SELECT col1 FROM view1)}
738 check_origins {SELECT (SELECT col2), (SELECT col1) FROM view1}
741 check_origins {SELECT * FROM view1}
744 check_origins {select * from (select * from view1)}
747 check_origins {select * from (select * from (select * from view1))}
753 check_origins {select * from (select * from (select * from view1))}
Dspeed4.test76 # speed4-view1: Querying a view.
77 # speed4-table1: Same queries as in speed4-view1, but run directly against
136 speed_trial speed4-view1 10000 stmt $sql
Dspeed4p.explain76 # speed4p-view1: Querying a view.
77 # speed4p-table1: Same queries as in speed4p-view1, but run directly against
145 speed_trial_tcl speed4p-view1 10000 stmt $script
Dspeed4p.test76 # speed4p-view1: Querying a view.
77 # speed4p-table1: Same queries as in speed4p-view1, but run directly against
136 speed_trial_tcl speed4p-view1 10000 stmt $script
De_createtable.test482 CREATE VIEW auxa.view1 AS SELECT * FROM tbl1;
500 6 "CREATE TABLE auxa.view1(a, b)" {{table view1 already exists}}
508 6 "CREATE TABLE view1(a, b)" {}
523 CREATE VIEW auxa.view1 AS SELECT * FROM tbl1;
529 4 "CREATE TABLE IF NOT EXISTS auxa.view1(a, b)" {}
/external/chromium_org/chrome/browser/ui/cocoa/
Dl10n_util.mm13 NSInteger CompareFrameY(id view1, id view2, void* context) {
14 CGFloat y1 = NSMinY([view1 frame]);
Dl10n_util.h13 NSInteger CompareFrameY(id view1, id view2, void* context);
Dfirst_run_dialog.mm43 NSInteger CompareFrameY(id view1, id view2, void* context) {
44 CGFloat y1 = NSMinY([view1 frame]);
/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()
537 View view1 = mCustomGroup.views[1]; in updateCustomGroupForRow() local
541 measureChildWithFixedWidth(view1, view1.getMeasuredWidth() + extraWidth1); in updateCustomGroupForRow()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/bytecode/
DAndroidTranslatorTest.java116 View view1 = new View(null); in testDirectlyOn_InstanceChecking() local
121 directlyOn(view1); in testDirectlyOn_InstanceChecking()
/external/chromium_org/ui/views/layout/
Dgrid_layout_unittest.cc592 View* view1 = new SettableSizeView(gfx::Size(2, 40)); in TEST_F() local
594 layout.AddView(view1); in TEST_F()
605 ExpectViewBoundsEquals(0, 40, 4, 40, view1); in TEST_F()
630 View* view1 = new FlexibleView(100); in TEST_F() local
631 layout.AddView(view1, 1, 1, GridLayout::FILL, GridLayout::LEADING); in TEST_F()
/external/chromium_org/ui/base/cocoa/
Dfocus_tracker_unittest.mm39 // Give focus to |viewB_|, then try and restore it to view1.
/external/chromium_org/ui/views/
Dview_unittest.cc2670 View* view1 = new View(); in TEST_F() local
2671 view1->SetFocusable(true); in TEST_F()
2672 widget.GetRootView()->AddChildView(view1); in TEST_F()
2680 focus_manager->SetFocusedView(view1); in TEST_F()
2681 EXPECT_EQ(view1, focus_manager->GetFocusedView()); in TEST_F()
2684 view1->SetEnabled(false); in TEST_F()
2688 view1->SetEnabled(true); in TEST_F()
2689 focus_manager->SetFocusedView(view1); in TEST_F()
2690 EXPECT_EQ(view1, focus_manager->GetFocusedView()); in TEST_F()
2693 view1->SetVisible(false); in TEST_F()
[all …]
/external/chromium_org/third_party/d3/src/
Dd3.js1222 var dispatch = event.of(this, arguments), view1 = view;
1232 … (cy - view.y) / view.k, dx / view.k ], [ (cx - view1.x) / view1.k, (cy - view1.y) / view1.k, dx /…