Home
last modified time | relevance | path

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

/external/robolectric/v1/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/robolectric/v1/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/mesa3d/src/gallium/state_trackers/nine/
Dnine_state.c1381 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()