Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/delegates/gpu/gl/
Dgl_buffer_test.cc89 GlBuffer view1; in TEST() local
90 ASSERT_TRUE(buffer.MakeView(4, 16, &view1).ok()); in TEST()
92 EXPECT_NE(view1.MakeView(1, 16, &view2), OkStatus()); in TEST()
93 ASSERT_TRUE(view1.MakeView(2, 2, &view2).ok()); in TEST()
107 GlBuffer view1; in TEST() local
108 ASSERT_TRUE(buffer.MakeView(4, 4, &view1).ok()); in TEST()
114 ASSERT_TRUE(view1.Write<float>({1}).ok()); in TEST()
115 ASSERT_TRUE(CopyBuffer(view1, view2).ok()); in TEST()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowViewAnimatorTest.java48 View view1 = new View(application); in getCurrentView_shouldWork() local
50 viewAnimator.addView(view1); in getCurrentView_shouldWork()
53 assertSame(view1, viewAnimator.getCurrentView()); in getCurrentView_shouldWork()
DShadowViewTest.java94 View view1 = in measuredDimensions() local
100 assertThat(view1.getMeasuredWidth()).isEqualTo(123); in measuredDimensions()
101 assertThat(view1.getMeasuredHeight()).isEqualTo(456); in measuredDimensions()
106 View view1 = in layout_shouldCallOnLayoutOnlyIfChanged() local
114 view1.layout(0, 0, 0, 0); in layout_shouldCallOnLayoutOnlyIfChanged()
116 view1.layout(1, 2, 3, 4); in layout_shouldCallOnLayoutOnlyIfChanged()
119 view1.layout(1, 2, 3, 4); in layout_shouldCallOnLayoutOnlyIfChanged()
512 TestView view1 = new TestView(buildActivity(Activity.class).create().get()); in test_measuredDimension() local
514 assertThat(view1.getHeight()).isEqualTo(0); in test_measuredDimension()
515 assertThat(view1.getWidth()).isEqualTo(0); in test_measuredDimension()
[all …]
DShadowListViewTest.java51 View view1 = new View(context); in addHeaderView_ShouldRecordHeaders() local
52 view1.setId(1); in addHeaderView_ShouldRecordHeaders()
58 listView.addHeaderView(view1); in addHeaderView_ShouldRecordHeaders()
64 assertThat(shadowOf(listView).getHeaderViews().get(1)).isSameAs(view1); in addHeaderView_ShouldRecordHeaders()
87 View view1 = new View(context); in addFooterView_ShouldRecordFooters() local
89 listView.addFooterView(view1); in addFooterView_ShouldRecordFooters()
92 assertThat(shadowOf(listView).getFooterViews().get(1)).isSameAs(view1); in addFooterView_ShouldRecordFooters()
DShadowActivityTest.java517 View view1 = new View(application); in setContentView_shouldReplaceOldContentView() local
518 view1.setId(R.id.burritos); in setContentView_shouldReplaceOldContentView()
523 activity.setContentView(view1); in setContentView_shouldReplaceOldContentView()
524 assertSame(view1, activity.findViewById(R.id.burritos)); in setContentView_shouldReplaceOldContentView()
/external/opencensus-java/api/src/test/java/io/opencensus/stats/
DNoopViewManagerTest.java56 final View view1 = in noopViewManager_RegisterView_DisallowRegisteringDifferentViewWithSameName() local
63 viewManager.registerView(view1); in noopViewManager_RegisterView_DisallowRegisteringDifferentViewWithSameName()
70 assertThat(viewManager.getView(VIEW_NAME).getView()).isEqualTo(view1); in noopViewManager_RegisterView_DisallowRegisteringDifferentViewWithSameName()
174 View view1 = in getAllExportedViews_ResultIsUnmodifiable() local
177 viewManager.registerView(view1); in getAllExportedViews_ResultIsUnmodifiable()
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/stats/
DViewManagerImplTest.java172 View view1 = in getAllExportedViewsResultIsUnmodifiable() local
180 viewManager.registerView(view1); in getAllExportedViewsResultIsUnmodifiable()
221 View view1 = in preventRegisteringDifferentViewWithSameName() local
238 view1, view2, "A different view with the same name is already registered"); in preventRegisteringDifferentViewWithSameName()
245 View view1 = in preventRegisteringDifferentMeasureWithSameName() local
252 view1, view2, "A different measure with the same name is already registered"); in preventRegisteringDifferentMeasureWithSameName()
255 private void testFailedToRegisterView(View view1, View view2, String message) { in testFailedToRegisterView() argument
256 viewManager.registerView(view1); in testFailedToRegisterView()
262 assertThat(viewManager.getView(VIEW_NAME).getView()).isEqualTo(view1); in testFailedToRegisterView()
748 final View view1 = in testMultipleViewSameMeasure() local
[all …]
/external/opencensus-java/exporters/stats/stackdriver/src/test/java/io/opencensus/exporter/stats/stackdriver/
DStackdriverExporterWorkerTest.java222 View view1 = in skipDifferentViewWithSameName() local
224 assertThat(worker.registerView(view1)).isTrue(); in skipDifferentViewWithSameName()
/external/mesa3d/src/gallium/frontends/nine/
Dnine_state.c1369 struct pipe_sampler_view *view1);
1440 ARG_BIND_VIEW(struct pipe_sampler_view, view1)) in CSMT_ITEM_NO_WAIT() argument
1453 pipe_sampler_view_reference(&context->texture[stage].view[1], view1); in CSMT_ITEM_NO_WAIT()
1469 struct pipe_sampler_view *view0 = NULL, *view1 = NULL; in nine_context_set_texture() local
1482 view1 = NineBaseTexture9_GetSamplerView(tex, 1); in nine_context_set_texture()
1487 res, view0, view1); in nine_context_set_texture()