Home
last modified time | relevance | path

Searched refs:view (Results 51 - 75 of 982) sorted by relevance

12345678910>>...40

/third_party/mesa3d/src/intel/isl/
H A Disl_surface_state.c163 s.SurfaceType = get_surftype(info->surf->dim, info->view->usage); in surf_fill_state_s()
165 if (info->view->usage & ISL_SURF_USAGE_RENDER_TARGET_BIT) in surf_fill_state_s()
166 assert(isl_format_supports_rendering(dev->info, info->view->format)); in surf_fill_state_s()
167 else if (info->view->usage & ISL_SURF_USAGE_TEXTURE_BIT) in surf_fill_state_s()
168 assert(isl_format_supports_sampling(dev->info, info->view->format)); in surf_fill_state_s()
176 assert(!isl_format_is_compressed(info->view->format)); in surf_fill_state_s()
179 /* You're not allowed to make a view of a compressed format with any in surf_fill_state_s()
196 s.SurfaceFormat = info->view->format; in surf_fill_state_s()
261 if (GFX_VER == 6 && (info->view->usage & ISL_SURF_USAGE_RENDER_TARGET_BIT) && in surf_fill_state_s()
278 (info->view in surf_fill_state_s()
[all...]
/foundation/arkui/ui_lite/test/unittest/components/
H A Dui_circle_progress_unit_test.cpp174 UIView* view = new UIView(); in HWTEST_F() local
176 int16_t x1 = x + view->GetStyleConst().paddingLeft_ + view->GetStyleConst().borderWidth_; in HWTEST_F()
177 int16_t y1 = y + view->GetStyleConst().paddingTop_ + view->GetStyleConst().borderWidth_; in HWTEST_F()
181 delete view; in HWTEST_F()
182 view = nullptr; in HWTEST_F()
197 UIView* view = new UIView(); in HWTEST_F() local
199 int16_t x1 = x + view->GetStyleConst().paddingLeft_ + view in HWTEST_F()
[all...]
H A Dui_radio_button_unit_test.cpp103 UIViewGroup* view = static_cast<UIViewGroup*>(RootView::GetInstance()); in HWTEST_F() local
104 view->Add(radioBtn1); in HWTEST_F()
105 view->Add(radioBtn2); in HWTEST_F()
106 view->Add(radioBtn3); in HWTEST_F()
107 view->Add(radioBtn4); in HWTEST_F()
108 view->Add(radioBtn5); in HWTEST_F()
132 view->Remove(radioBtn1); in HWTEST_F()
133 view->Remove(radioBtn2); in HWTEST_F()
134 view->Remove(radioBtn3); in HWTEST_F()
135 view in HWTEST_F()
[all...]
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/
H A Dswiper_tdd_test.cpp104 UIView* view = component->GetComponentRootView(); in ComponentSwiperAttributeSetTest001() local
105 UISwipeView* swiperView = reinterpret_cast<UISwipeView *>(view); in ComponentSwiperAttributeSetTest001()
120 view = component->GetComponentRootView(); in ComponentSwiperAttributeSetTest001()
121 swiperView = reinterpret_cast<UISwipeView *>(view); in ComponentSwiperAttributeSetTest001()
138 view = component->GetComponentRootView(); in ComponentSwiperAttributeSetTest001()
139 swiperView = reinterpret_cast<UISwipeView *>(view); in ComponentSwiperAttributeSetTest001()
163 UIView* view = component->GetComponentRootView(); in ComponentSwiperAttributeSetTest002() local
164 UISwipeView* swiperView = reinterpret_cast<UISwipeView *>(view); in ComponentSwiperAttributeSetTest002()
185 view = component->GetComponentRootView(); in ComponentSwiperAttributeSetTest002()
186 swiperView = reinterpret_cast<UISwipeView *>(view); in ComponentSwiperAttributeSetTest002()
215 UIView* view = component->GetComponentRootView(); ComponentSwiperAttributeSetTest003() local
250 UIView* view = component->GetComponentRootView(); ComponentSwiperAttributeSetTest004() local
303 UIView* view = component->GetComponentRootView(); ComponentSwiperAttributeSetTest005() local
353 UIView* view = component->GetComponentRootView(); ComponentSwiperAttributeSetTest013() local
424 UIView* view = component->GetComponentRootView(); ComponentSwiperAttributeSetTest014() local
461 UIView* view = component->GetComponentRootView(); ComponentSwiperAttributeSetTest019() local
[all...]
/foundation/arkui/ui_lite/test/uitest/test_chart/
H A Dui_test_chart_polyline.cpp63 void UITestChartPolyline::InnerDeleteChildren(UIView* view) const in InnerDeleteChildren()
65 if (view == nullptr) { in InnerDeleteChildren()
68 while (view != nullptr) { in InnerDeleteChildren()
69 UIView* tempView = view; in InnerDeleteChildren()
70 view = view->GetNextSibling(); in InnerDeleteChildren()
218 virtual void Callback(UIView* view) in Callback() argument
220 if (view == nullptr) { in Callback()
231 view->Invalidate(); in Callback()
256 UIChart* chart = static_cast<UIChart*>(view); in Callback()
321 OnClick(UIView& view, const ClickEvent& event) OnClick() argument
371 ClickExpand(UIView& view, UIChartDataSerial::PointStyle pointStyle) ClickExpand() argument
408 SetLastPos(UIView* view) SetLastPos() argument
[all...]
/third_party/node/lib/internal/webstreams/
H A Dutil.js104 function ArrayBufferViewGetBuffer(view) {
105 return ReflectGet(view.constructor.prototype, 'buffer', view);
108 function ArrayBufferViewGetByteLength(view) {
109 return ReflectGet(view.constructor.prototype, 'byteLength', view);
112 function ArrayBufferViewGetByteOffset(view) {
113 return ReflectGet(view.constructor.prototype, 'byteOffset', view);
116 function cloneAsUint8Array(view) {
[all...]
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
H A DMainActivity.java31 import android.view.Display;
32 import android.view.View;
82 public void onItemSelected(AdapterView<?> adapterView, View view, int i, long l) { in onCreate()
200 public void onLaunchTestOutput(View view) { in onLaunchTestOutput() argument
206 public void onLaunchTestInput(View view) { in onLaunchTestInput() argument
212 public void onLaunchTapToTone(View view) { in onLaunchTapToTone() argument
218 public void onLaunchRecorder(View view) { in onLaunchRecorder() argument
224 public void onLaunchEcho(View view) { in onLaunchEcho() argument
230 public void onLaunchRoundTripLatency(View view) { in onLaunchRoundTripLatency() argument
236 public void onLaunchManualGlitchTest(View view) { in onLaunchManualGlitchTest() argument
242 onLaunchAutoGlitchTest(View view) onLaunchAutoGlitchTest() argument
248 onLaunchTestDisconnect(View view) onLaunchTestDisconnect() argument
254 onUseCallbackClicked(View view) onUseCallbackClicked() argument
287 onSetSpeakerphoneOn(View view) onSetSpeakerphoneOn() argument
294 onStartStopBluetoothSco(View view) onStartStopBluetoothSco() argument
304 onEnableWorkarounds(View view) onEnableWorkarounds() argument
[all...]
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Dcomponent.h79 * @brief After construct a specific component, call this function to setup this component's native view
93 * @brief This method is called to change/update the attribute/style values on native view.
94 * It mainly is used by watcher callbacks to do the view updating.
102 * @brief Child class must implement this method to return its own native view, if it only creates one
103 * native view, just return it simaply, if it creates multiple views out, it should return the root of
106 * @return the root of the component's native view
116 * NOTE: The default implementation just apply styles into the ui view returned by GetComponentRootView(),
124 * invalidate the root view of the component, if the child class has special requirement, override this
148 // update this view binded by for instruction when watch triggered.
181 * @brief OnViewAttached called when the native view i
[all...]
/third_party/libphonenumber/java/demoapp/app/src/main/java/com/google/phonenumbers/demoapp/result/
H A DFormattableRvAdapter.java4 import android.view.LayoutInflater;
5 import android.view.View;
6 import android.view.ViewGroup;
35 View view = layoutInflater.inflate(R.layout.formattable_list_item, parent, false); in onCreateViewHolder()
36 ViewHolder viewHolder = new ViewHolder(view); in onCreateViewHolder()
96 public ViewHolder(View view) { in ViewHolder() argument
97 super(view); in ViewHolder()
98 ConstraintLayout clListItem = view.findViewById(R.id.cl_list_item); in ViewHolder()
101 tvContactName = view.findViewById(R.id.tv_contact_name); in ViewHolder()
102 tvOriginalPhoneNumber = view in ViewHolder()
[all...]
H A DNotFormattableRvAdapter.java4 import android.view.LayoutInflater;
5 import android.view.View;
6 import android.view.ViewGroup;
31 View view = layoutInflater.inflate(R.layout.not_formattable_list_item, parent, false); in onCreateViewHolder()
32 return new ViewHolder(view); in onCreateViewHolder()
56 public ViewHolder(View view) { in ViewHolder() argument
57 super(view); in ViewHolder()
58 tvContactName = view.findViewById(R.id.tv_contact_name); in ViewHolder()
59 tvReason = view.findViewById(R.id.tv_reason); in ViewHolder()
60 tvOriginalPhoneNumber = view in ViewHolder()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_slider/
H A Dui_test_slider.cpp71 bool TestUISliderEventListener::OnClick(UIView& view, const ClickEvent& event) in OnClick() argument
99 bool TestUISliderEventListener::OnDrag(UIView& view, const DragEvent& event) in OnDrag() argument
425 bool UITestSlider::OnClick(UIView& view, const ClickEvent& event) in OnClick() argument
427 if (&view == resetBtn_) { in OnClick()
449 } else if (&view == incProgressBtn_) { in OnClick()
452 } else if (&view == decProgressBtn_) { in OnClick()
455 } else if (&view == stepBtn_) { in OnClick()
459 ExpandClick1(view, event); in OnClick()
465 bool UITestSlider::ExpandClick1(UIView& view, const ClickEvent& event) in ExpandClick1() argument
467 if (&view in ExpandClick1()
523 ExpandClick2(UIView& view, const ClickEvent& event) ExpandClick2() argument
[all...]
/foundation/arkui/ui_lite/test/uitest/test_rotate_input/
H A Dui_test_rotate_input.cpp65 TestSetRotateFactorListener(UIView* view, float factor) : view_(view), factor_(factor) {} in TestSetRotateFactorListener() argument
68 bool OnClick(UIView& view, const ClickEvent& event) override
386 bool UITestRotateInput::OnPress(UIView& view, const PressEvent& event) in OnPress() argument
388 if (&view == container_) { in OnPress()
391 } else if (&view == list_) { in OnPress()
394 } else if (&view == scroll_) { in OnPress()
397 } else if (&view == swipe_) { in OnPress()
400 } else if (&view == slider_) { in OnPress()
403 } else if (&view in OnPress()
418 SetLastPos(UIView* view) SetLastPos() argument
438 SetTestLabelButton(UILabel* label, UIView* view) SetTestLabelButton() argument
[all...]
/foundation/arkui/ui_lite/test/uitest/test_video/
H A Dui_test_video.cpp230 bool UITestVideo::OnClick(UIView &view, const ClickEvent& event) in OnClick() argument
235 if (&view == loopButton_) { in OnClick()
237 } else if (&view == totleTimeButton_) { in OnClick()
248 } else if (&view == volButtonAdd_) { in OnClick()
254 } else if (&view == volButtonSub_) { in OnClick()
261 return OnClick1(view, event); in OnClick()
266 bool UITestVideo::OnClick1(UIView &view, const ClickEvent& event) in OnClick1() argument
271 if (&view == rewindButtonAdd_) { in OnClick1()
282 } else if (&view == rewindButtonSub_) { in OnClick1()
294 return OnClick2(view, even in OnClick1()
299 OnClick2(UIView &view, const ClickEvent& event) OnClick2() argument
[all...]
/foundation/arkui/ui_lite/test/uitest/test_progress_bar/
H A Dui_test_circle_progress.cpp346 bool UITestCircleProgress::OnClick(UIView& view, const ClickEvent& event) in OnClick() argument
360 if (&view == resetBtn_) { in OnClick()
391 } else if (&view == incProgressBtn_) { in OnClick()
394 } else if (&view == decProgressBtn_) { in OnClick()
397 } else if (&view == stepBtn_) { in OnClick()
400 } else if (&view == incMinProgressBtn_) { in OnClick()
403 } else if (&view == decMinProgressBtn_) { in OnClick()
406 } else if (&view == incMaxProgressBtn_) { in OnClick()
409 } else if (&view == decMaxProgressBtn_) { in OnClick()
412 } else if (&view in OnClick()
[all...]
/foundation/ability/ability_lite/frameworks/ability_lite/example/entry/src/main/cpp/
H A Droot_view_helper.cpp20 void DeleteViewChildren(UIView *view) in DeleteViewChildren() argument
22 if (view == nullptr) { in DeleteViewChildren()
25 while (view != nullptr) { in DeleteViewChildren()
26 UIView *tempView = view; in DeleteViewChildren()
27 view = view->GetNextSibling(); in DeleteViewChildren()
/third_party/ltp/tools/sparse/sparse-src/
H A Dast-view.c5 #include "ast-view.h"
13 GtkWidget *view; in create_view_and_model() local
17 view = gtk_tree_view_new_with_model(GTK_TREE_MODEL(root)); in create_view_and_model()
19 g_object_unref(root); /* destroy store automatically with view */ in create_view_and_model()
25 gtk_tree_view_append_column(GTK_TREE_VIEW(view), text); in create_view_and_model()
27 return view; in create_view_and_model()
33 GtkWidget *window, *view, *scrollwin; in treeview_main() local
41 view = create_view_and_model(syms); in treeview_main()
43 gtk_container_add(GTK_CONTAINER(scrollwin), view); in treeview_main() local
/foundation/arkui/ui_lite/test/uitest/test_render/
H A Dui_test_render.cpp44 bool OnClick(UIView& view, const ClickEvent& event) override
49 view.SetStyle(STYLE_BACKGROUND_COLOR, Color::GetColorFromRGB(r, g, b).full);
50 view.Invalidate();
89 UIView* view = new UIView(); in UIKitRenderTestRender001() local
90 view->Resize(200, 50); // 200: width 50: height in UIKitRenderTestRender001()
91 view->SetPosition(50, 50); // 50: position x 50: position y in UIKitRenderTestRender001()
92 view->SetStyle(STYLE_BACKGROUND_COLOR, Color::Yellow().full); in UIKitRenderTestRender001()
93 group->Add(view); in UIKitRenderTestRender001()
94 view->SetTouchable(true); in UIKitRenderTestRender001()
95 view in UIKitRenderTestRender001()
149 OnClick(UIView& view, const ClickEvent& event) OnClick() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
H A Di915_vma.c65 const struct i915_ggtt_view *view) in checked_vma_instance()
70 vma = i915_vma_instance(obj, vm, view); in checked_vma_instance()
87 if (i915_vma_compare(vma, vm, view)) { in checked_vma_instance()
518 struct i915_ggtt_view view; in igt_vma_rotate_remap() local
526 view.type = *t; in igt_vma_rotate_remap()
527 view.rotated.plane[0] = *a; in igt_vma_rotate_remap()
528 view.rotated.plane[1] = *b; in igt_vma_rotate_remap()
530 for_each_prime_number_from(view.rotated.plane[0].offset, 0, max_offset) { in igt_vma_rotate_remap()
531 for_each_prime_number_from(view.rotated.plane[1].offset, 0, max_offset) { in igt_vma_rotate_remap()
535 vma = checked_vma_instance(obj, vm, &view); in igt_vma_rotate_remap()
63 checked_vma_instance(struct drm_i915_gem_object *obj, struct i915_address_space *vm, const struct i915_ggtt_view *view) checked_vma_instance() argument
651 assert_pin(struct i915_vma *vma, struct i915_ggtt_view *view, u64 size, const char *name) assert_pin() argument
729 struct i915_ggtt_view view; igt_vma_partial() local
886 struct i915_ggtt_view view = { igt_vma_remapped_gtt() local
[all...]
/third_party/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_texture.c115 /* Return true if the GPU can use sampler TS with this sampler view.
120 etna_can_use_sampler_ts(struct pipe_sampler_view *view, int num) in etna_can_use_sampler_ts() argument
124 * - the sampler view will be bound to sampler <VIVS_TS_SAMPLER__LEN. in etna_can_use_sampler_ts()
128 * - the sampler view has a supported format for sampler TS. in etna_can_use_sampler_ts()
134 struct etna_resource *rsc = etna_resource(view->texture); in etna_can_use_sampler_ts()
141 view->u.tex.first_level == 0 && MIN2(view->u.tex.last_level, rsc->base.last_level) == 0 && in etna_can_use_sampler_ts()
146 etna_update_sampler_source(struct pipe_sampler_view *view, int num) in etna_update_sampler_source() argument
148 struct etna_resource *base = etna_resource(view->texture); in etna_update_sampler_source()
150 struct etna_context *ctx = etna_context(view in etna_update_sampler_source()
250 struct pipe_sampler_view *view = views ? views[j] : NULL; set_sampler_views() local
[all...]
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_radio_button.cpp57 UIView* view = this; in OnClickEvent() local
58 while ((view != nullptr) && (view->GetParent() != nullptr)) { in OnClickEvent()
59 view = view->GetParent(); in OnClickEvent()
61 FindRadioButtonAndChangeState(view); in OnClickEvent()
144 void UIRadioButton::FindRadioButtonAndChangeState(UIView* view) in FindRadioButtonAndChangeState() argument
146 if ((view == nullptr) || (name_ == nullptr)) { in FindRadioButtonAndChangeState()
149 if (view->IsViewGroup()) { in FindRadioButtonAndChangeState()
150 UIView* childView = static_cast<UIViewGroup*>(view) in FindRadioButtonAndChangeState()
165 Callback(UIView* view) Callback() argument
[all...]
H A Dui_swipe_view.cpp35 void UISwipeView::Add(UIView* view) in Add() argument
37 if (view == nullptr) { in Add()
40 view->SetDragParentInstead(true); in Add()
41 UIViewGroup::Add(view); in Add()
57 void UISwipeView::Remove(UIView* view) in Remove() argument
59 if (view == nullptr) { in Remove()
62 UIViewGroup::Remove(view); in Remove()
63 if (curView_ == view) { in Remove()
362 * sub view itself, not the width and height of the parent, especially for ALIGN_LEFT and ALIGN_RIGHT. in pfnGetWidthOrHeight()
372 UIView* view in pfnGetWidthOrHeight() local
536 UIView* view = childrenHead_; CalculateInvalidate() local
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/
H A Djsi_view_register_impl.cpp235 auto* view = static_cast<JSView*>(obj->GetNativePointerField(vm, 0)); in AddCustomTitleBarComponent() local
236 if (!view && !static_cast<JSViewPartialUpdate*>(view) && !static_cast<JSViewFullUpdate*>(view)) { in AddCustomTitleBarComponent()
239 auto uiNode = AceType::DynamicCast<NG::UINode>(view->CreateViewNode(true)); in AddCustomTitleBarComponent()
310 auto* view = static_cast<JSView*>(obj->GetNativePointerField(vm, 0)); in UpdateRootComponent() local
311 if (!view && !static_cast<JSViewPartialUpdate*>(view) && !static_cast<JSViewFullUpdate*>(view)) { in UpdateRootComponent()
322 std::function<void(const std::string&)> callback = [weak = Referenced::WeakClaim(view)]( in UpdateRootComponent()
[all...]
/third_party/node/test/addons/openssl-binding/
H A Dbinding.cc11 auto view = info[0].As<v8::ArrayBufferView>(); in RandomBytes() local
12 auto byte_offset = view->ByteOffset(); in RandomBytes()
13 auto byte_length = view->ByteLength(); in RandomBytes()
14 assert(view->HasBuffer()); in RandomBytes()
15 auto buffer = view->Buffer(); in RandomBytes()
25 auto view = info[0].As<v8::ArrayBufferView>(); in Hash() local
26 auto byte_offset = view->ByteOffset(); in Hash()
27 auto len = view->ByteLength(); in Hash()
28 assert(view->HasBuffer()); in Hash()
29 auto buffer = view in Hash()
[all...]
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
H A Dnv50_compute.c279 nv50_get_surface_dims(const struct pipe_image_view *view, in nv50_get_surface_dims() argument
282 struct nv04_resource *res = nv04_resource(view->resource); in nv50_get_surface_dims()
287 *width = view->u.buf.size / util_format_get_blocksize(view->format); in nv50_get_surface_dims()
291 level = view->u.tex.level; in nv50_get_surface_dims()
292 *width = u_minify(view->resource->width0, level); in nv50_get_surface_dims()
293 *height = u_minify(view->resource->height0, level); in nv50_get_surface_dims()
294 *depth = u_minify(view->resource->depth0, level); in nv50_get_surface_dims()
301 *depth = view->u.tex.last_layer - view in nv50_get_surface_dims()
315 nv50_mark_image_range_valid(const struct pipe_image_view *view) nv50_mark_image_range_valid() argument
327 nv50_set_surface_info(struct nouveau_pushbuf *push, const struct pipe_image_view *view, int width, int height, int depth) nv50_set_surface_info() argument
406 struct pipe_image_view *view = &nv50->images[gmem->slot]; nv50_compute_validate_surfaces() local
[all...]
/foundation/arkui/ui_lite/frameworks/dock/
H A Drotate_input_device.cpp53 UIView* view = FocusManager::GetInstance()->GetFocusedView(); in DispatchEvent() local
54 if (view == nullptr) { in DispatchEvent()
55 GRAPHIC_LOGE("RotateInputDevice Failed to dispatch event without focused view!\n"); in DispatchEvent()
59 UIView* par = view; in DispatchEvent()
67 GRAPHIC_LOGW("RotateInputDevice failed to dispatch event without target view attached!\n"); in DispatchEvent()
74 view->OnRotateEndEvent(0); in DispatchEvent()
82 view->OnRotateStartEvent(data.rotate); in DispatchEvent()
84 view->OnRotateEvent(data.rotate); in DispatchEvent()
87 rotate value = %{public}d\n!", static_cast<uint8_t>(view->GetViewType()), data.rotate); in DispatchEvent()

Completed in 15 milliseconds

12345678910>>...40