Searched refs:view1 (Results 1 – 8 of 8) sorted by relevance
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | ViewTest.java | 338 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 …]
|
D | ListViewTest.java | 94 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/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowViewTest.java | 90 View view1 = new View(RuntimeEnvironment.application) { in measuredDimensions() local 95 assertThat(view1.getMeasuredWidth()).isEqualTo(123); in measuredDimensions() 96 assertThat(view1.getMeasuredHeight()).isEqualTo(456); in measuredDimensions() 101 View view1 = new View(RuntimeEnvironment.application) { in layout_shouldCallOnLayoutOnlyIfChanged() local 107 view1.layout(0, 0, 0, 0); in layout_shouldCallOnLayoutOnlyIfChanged() 109 view1.layout(1, 2, 3, 4); in layout_shouldCallOnLayoutOnlyIfChanged() 112 view1.layout(1, 2, 3, 4); in layout_shouldCallOnLayoutOnlyIfChanged() 492 TestView view1 = new TestView(buildActivity(Activity.class).create().get()); in test_measuredDimension() local 494 assertThat(view1.getHeight()).isEqualTo(0); in test_measuredDimension() 495 assertThat(view1.getWidth()).isEqualTo(0); in test_measuredDimension() [all …]
|
D | ShadowViewAnimatorTest.java | 48 View view1 = new View(application); in getCurrentView_shouldWork() local 50 viewAnimator.addView(view1); in getCurrentView_shouldWork() 53 assertSame(view1, viewAnimator.getCurrentView()); in getCurrentView_shouldWork()
|
D | ShadowListViewTest.java | 48 View view1 = new View(RuntimeEnvironment.application); in addHeaderView_ShouldRecordHeaders() local 49 view1.setId(1); in addHeaderView_ShouldRecordHeaders() 55 listView.addHeaderView(view1); in addHeaderView_ShouldRecordHeaders() 61 assertThat(shadowOf(listView).getHeaderViews().get(1)).isSameAs(view1); in addHeaderView_ShouldRecordHeaders() 84 View view1 = new View(RuntimeEnvironment.application); in addFooterView_ShouldRecordFooters() local 86 listView.addFooterView(view1); in addFooterView_ShouldRecordFooters() 89 assertThat(shadowOf(listView).getFooterViews().get(1)).isSameAs(view1); in addFooterView_ShouldRecordFooters()
|
D | ShadowActivityTest.java | 479 View view1 = new View(application); in setContentView_shouldReplaceOldContentView() local 480 view1.setId(R.id.burritos); in setContentView_shouldReplaceOldContentView() 485 activity.setContentView(view1); in setContentView_shouldReplaceOldContentView() 486 assertSame(view1, activity.findViewById(R.id.burritos)); in setContentView_shouldReplaceOldContentView()
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/bytecode/ |
D | AndroidTranslatorTest.java | 116 View view1 = new View(null); in testDirectlyOn_InstanceChecking() local 121 directlyOn(view1); in testDirectlyOn_InstanceChecking()
|
/external/mesa3d/src/gallium/state_trackers/nine/ |
D | nine_state.c | 1381 struct pipe_sampler_view *view1); 1452 ARG_BIND_VIEW(struct pipe_sampler_view, view1)) in CSMT_ITEM_NO_WAIT() argument 1465 pipe_sampler_view_reference(&context->texture[stage].view[1], view1); in CSMT_ITEM_NO_WAIT() 1481 struct pipe_sampler_view *view0 = NULL, *view1 = NULL; in nine_context_set_texture() local 1494 view1 = NineBaseTexture9_GetSamplerView(tex, 1); in nine_context_set_texture() 1499 res, view0, view1); in nine_context_set_texture()
|