/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/ |
AmbiguousViewMatcherException.java | 51 private View view2; field in class:AmbiguousViewMatcherException 63 this.view2 = builder.view2; 71 ImmutableSet.<View>builder().add(builder.view1, builder.view2).add(builder.others).build(); 88 private View view2; field in class:AmbiguousViewMatcherException.Builder 96 this.view2 = exception.view2; 116 public Builder withView2(View view2) { 117 this.view2 = view2; [all...] |
/external/qemu/android/base/ |
StringView_unittest.cpp | 35 StringView view2(view1); 36 EXPECT_FALSE(view2.empty()); 37 EXPECT_STREQ(kString, view2.str()); 38 EXPECT_EQ(strlen(kString), view2.size()); 106 StringView view2(kHello2); 107 EXPECT_TRUE(view1 == view2); 108 EXPECT_FALSE(view1 != view2); 109 EXPECT_TRUE(view1 <= view2); 110 EXPECT_TRUE(view1 >= view2); 111 EXPECT_FALSE(view1 < view2); [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/ |
UserDictionaryToolsListEN.java | 50 @Override protected UserDictionaryToolsEdit createUserDictionaryToolsEdit(View view1, View view2) { 51 return new UserDictionaryToolsEditEN(view1, view2);
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
UserDictionaryToolsListJAJP.java | 47 @Override protected UserDictionaryToolsEdit createUserDictionaryToolsEdit(View view1, View view2) { 48 return new UserDictionaryToolsEditJAJP(view1, view2);
|
/external/chromium_org/chrome/browser/ui/cocoa/ |
l10n_util.h | 13 NSInteger CompareFrameY(id view1, id view2, void* context);
|
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/ |
AwJavaBridgeTest.java | 32 final AwTestContainerView view2 = createAwTestContainerViewOnMainSync(client2); local 47 loadDataSync(view2.getAwContents(), client2.getOnPageFinishedHelper(),
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
Tabs1.java | 45 .setContent(R.id.view2));
|
/cts/tests/tests/view/src/android/view/cts/ |
View_FocusHandlingTest.java | 39 View v2 = activity.findViewById(R.id.view2); 64 v1.setNextFocusRightId(R.id.view2); 74 v4.setNextFocusUpId(R.id.view2); 77 assertEquals(R.id.view2, v1.getNextFocusRightId()); 86 assertEquals(R.id.view2, v4.getNextFocusUpId());
|
ViewTreeObserverTest.java | 77 final View view2 = mActivity.findViewById(R.id.view2); local 94 view2.requestFocus(); 102 && listener.oldFocus == view1 && listener.newFocus == view2; 223 final View view2 = mActivity.findViewById(R.id.view2); local 239 view2.requestFocus(); 247 && listener.oldFocus == view1 && listener.newFocus == view2;
|
/external/chromium_org/ash/tooltips/ |
tooltip_controller_unittest.cc | 145 TooltipTestView* view2 = new TooltipTestView; local 146 AddViewToWidgetAndResize(widget2.get(), view2); 147 view2->set_tooltip_text(base::ASCIIToUTF16("Tooltip Text for view 2")); 153 view2->bounds().CenterPoint());
|
/external/chromium_org/ui/views/focus/ |
focus_manager_unittest.cc | 73 SimpleTestView* view2 = new SimpleTestView(&event_list, kView2ID); local 75 GetContentsView()->AddChildView(view2); 83 view2->RequestFocus(); 100 View* view2 = new View(); local 101 view2->SetFocusable(true); 103 GetContentsView()->AddChildView(view2); 116 view2->RequestFocus(); 118 EXPECT_TRUE(listener.focus_changes()[0] == ViewPair(view1, view2)); 123 EXPECT_TRUE(listener.focus_changes()[0] == ViewPair(view2, null_view)); 896 View* view2 = new View; local [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
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...] |
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());
|
TabWidgetTest.java | 178 View view2 = new RelativeLayout(mActivity); local 179 mockTabWidget.addView(view2); 180 assertSame(view2, mockTabWidget.getChildAt(1));
|
/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));
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
Transitions.java | 77 setNewSize(R.id.view2, 150, 25);
|
/external/chromium_org/ui/views/corewm/ |
tooltip_controller_unittest.cc | 130 TooltipTestView* view2 = new TooltipTestView; local 131 widget_->GetContentsView()->AddChildView(view2); 133 view2->SetBounds(100, 0, 100, 100); 134 return view2; 256 TooltipTestView* view2 = PrepareSecondView(); local 257 view2->set_tooltip_text(ASCIIToUTF16("Tooltip Text for view 2")); 288 // Now we move the mouse on to |view2|. It should re-start the tooltip timer. 305 TooltipTestView* view2 = PrepareSecondView(); local 306 view2->set_tooltip_text(ASCIIToUTF16("Tooltip Text for view 2")); 336 // Now we move the mouse on to |view2|. It should re-start the tooltip timer 512 TooltipTestView* view2 = new TooltipTestView; 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);
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/bytecode/ |
AndroidTranslatorTest.java | 117 View view2 = new View(null); local 122 view2.bringToFront();
|
/frameworks/testing/espresso/espresso-lib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/matcher/ |
ViewMatchersTest.java | 369 View view2 = new TextView(getInstrumentation().getTargetContext()); local 373 secondLevel.addView(view2); 379 assertFalse(withParent(is((View) tiptop)).matches(view2)); 383 assertTrue(withParent(is((View) secondLevel)).matches(view2)); 391 View view2 = new TextView(getInstrumentation().getTargetContext()); local 395 secondLevel.addView(view2); 402 assertFalse(withChild(is(view2)).matches(tiptop)); 405 assertTrue(withChild(is(view2)).matches(secondLevel));
|
/external/chromium_org/ash/ |
focus_cycler_unittest.cc | 326 views::View* view2 = new views::View; local 327 view2->SetFocusable(true); 328 pane1->AddChildView(view2);
|
/external/chromium_org/ui/views/layout/ |
grid_layout_unittest.cc | 593 View* view2 = new SettableSizeView(gfx::Size(4, 40)); local 595 layout.AddView(view2); 607 // And view2 should be 8 pixels wide: 609 ExpectViewBoundsEquals(4, 40, 8, 40, view2); 636 View* view2 = new SettableSizeView(gfx::Size(20, 20)); local 637 layout.AddView(view2, 1, 1, GridLayout::FILL, GridLayout::LEADING);
|
/packages/apps/Email/tests/src/com/android/emailcommon/internet/ |
MimeUtilityTest.java | 337 final ArrayList<Part> view2 = new ArrayList<Part>(); local 339 MimeUtility.collectParts(cid2bp, view2, attach2);
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/infobar/ |
InfoBarLayout.java | 206 * view2 will be laid out: 211 public void setCustomContent(View view1, View view2) { 212 mCustomGroup = addGroup(view1, view2);
|