/foundation/arkui/ui_lite/test/uitest/test_draw_rect/ |
H A D | ui_test_draw_rect.cpp | 109 UIView* view = new UIView(); in CreateUIView() local 110 view->SetStyle(STYLE_BACKGROUND_COLOR, Color::Green().full); in CreateUIView() 111 view->SetStyle(STYLE_BACKGROUND_OPA, 127); // 127 : background opacity in CreateUIView() 112 view->SetStyle(STYLE_BORDER_RADIUS, 5); // 5 : radius value in CreateUIView() 113 view->SetStyle(STYLE_BORDER_COLOR, Color::Gray().full); in CreateUIView() 114 view->SetStyle(STYLE_BORDER_OPA, 127); // 127 : border opacity in CreateUIView() 115 view->SetStyle(STYLE_BORDER_WIDTH, 20); // 20 : border width in CreateUIView() 116 view->SetStyle(STYLE_PADDING_LEFT, 0); in CreateUIView() 117 view->SetStyle(STYLE_PADDING_RIGHT, 0); in CreateUIView() 118 view in CreateUIView() 141 UIView* view = CreateUIView(); UIKitDrawRectTestRectNoBorder001() local 167 UIView* view = CreateUIView(); UIKitDrawRectTestRectNoBorder002() local 194 UIView* view = CreateUIView(); UIKitDrawRectTestRectNoBorder003() local 221 UIView* view = CreateUIView(); UIKitDrawRectTestRectNoBorder004() local 248 UIView* view = CreateUIView(); UIKitDrawRectTestRectNoBorder005() local 275 UIView* view = CreateUIView(); UIKitDrawRectTestRectNoBorder006() local 302 UIView* view = CreateUIView(); UIKitDrawRectTestRectNoBorder007() local 329 UIView* view = CreateUIView(); UIKitDrawRectTestRectNoBorder008() local 356 UIView* view = CreateUIView(); UIKitDrawRectTestRectNoBorder009() local 383 UIView* view = CreateUIView(); UIKitDrawRectTestRectNoBorder0010() local 410 UIView* view = CreateUIView(); UIKitDrawRectTestRectBorderNoRadius001() local 437 UIView* view = CreateUIView(); UIKitDrawRectTestRectBorderNoRadius002() local 464 UIView* view = CreateUIView(); UIKitDrawRectTestRectBorderRadius001() local 492 UIView* view = CreateUIView(); UIKitDrawRectTestRectBorderRadius002() local 520 UIView* view = CreateUIView(); UIKitDrawRectTestRectBorderRadius003() local 548 UIView* view = CreateUIView(); UIKitDrawRectTestRectBorderRadius004() local 576 UIView* view = CreateUIView(); UIKitDrawRectTestRectBorderRadius005() local 604 UIView* view = CreateUIView(); UIKitDrawRectTestRectBorderRadius006() local 632 UIView* view = CreateUIView(); UIKitDrawRectTestRectBorderRadius007() local 660 UIView* view = CreateUIView(); UIKitDrawRectTestRectBorderRadius008() local 688 UIView* view = CreateUIView(); UIKitDrawRectTestRectBorderRadius009() local 716 UIView* view = CreateUIView(); UIKitDrawRectTestRectBorderRadius010() local 744 UIView* view = CreateUIView(); UIKitDrawRectTestRectBorderRadius011() local 771 UIView* view = CreateUIView(); UIKitDrawRectTestRect001() local 796 UIView* view = CreateUIView(); UIKitDrawRectTestRectColor001() local 827 UIView* view = CreateUIView(); UIKitDrawRectTestRectRadius001() local 851 UIView* view = CreateUIView(); UIKitDrawRectTestRectRadius002() local 875 UIView* view = CreateUIView(); UIKitDrawRectTestRectRadius003() local 899 UIView* view = CreateUIView(); UIKitDrawRectTestRectRadius004() local 930 UIView* view = CreateUIView(); UIKitDrawRectTestRectOpacity001() local 953 UIView* view = CreateUIView(); UIKitDrawRectTestRectOpacity002() local 976 UIView* view = CreateUIView(); UIKitDrawRectTestRectOpacity003() local 1005 UIView* view = CreateUIView(); UIKitDrawRectTestRectBorderColor001() local 1037 UIView* view = CreateUIView(); UIKitDrawRectTestRectBorderWidth001() local 1060 UIView* view = CreateUIView(); UIKitDrawRectTestRectBorderWidth002() local 1089 UIView* view = CreateUIView(); UIKitDrawRectTestRectBorderOpacity001() local 1113 UIView* view = CreateUIView(); UIKitDrawRectTestRectBorderOpacity002() local 1137 UIView* view = CreateUIView(); UIKitDrawRectTestRectBorderOpacity003() local 1168 UIView* view = CreateUIView(); UIKitDrawRectTestRectPadding001() local 1194 UIView* view = CreateUIView(); UIKitDrawRectTestRectPadding002() local 1234 UIView* view = CreateUIView(); UIKitDrawRectTestRectMargin001() local 1260 UIView* view = CreateUIView(); UIKitDrawRectTestRectMargin002() local 1295 UIView* view = CreateUIView(); UIKitDrawRectTestRectPaddingMargin001() local 1325 UIView* view = CreateUIView(); UIKitDrawRectTestRectPaddingMargin002() local 1368 UIView* view = CreateUIView(); UIKitDrawRectTestRectWidthAndHeight001() local 1392 UIView* view = CreateUIView(); UIKitDrawRectTestRectWidthAndHeight002() local 1416 UIView* view = CreateUIView(); UIKitDrawRectTestRectWidthAndHeight003() local [all...] |
/foundation/arkui/ui_lite/frameworks/dfx/ |
H A D | ui_dump_dom_tree.cpp | 58 void UIDumpDomTree::AddImageViewSpecialField(const UIView* view, cJSON* usr) const in AddImageViewSpecialField() argument 60 if ((view == nullptr) || (usr == nullptr)) { in AddImageViewSpecialField() 63 const UIImageView* tmpImageView = static_cast<const UIImageView*>(view); in AddImageViewSpecialField() 80 void UIDumpDomTree::AddLabelField(const UIView* view, cJSON* usr) const in AddLabelField() argument 82 const UILabel* tmpLabel = static_cast<const UILabel*>(view); in AddLabelField() 87 void UIDumpDomTree::AddLabelButtonField(const UIView* view, cJSON* usr) const in AddLabelButtonField() argument 89 const UILabelButton* tmpLabelButton = static_cast<const UILabelButton*>(view); in AddLabelButtonField() 94 void UIDumpDomTree::AddCheckboxField(const UIView* view, cJSON* usr) const in AddCheckboxField() argument 96 const UICheckBox* tmpCheckBox = static_cast<const UICheckBox*>(view); in AddCheckboxField() 105 void UIDumpDomTree::AddToggleButtonField(const UIView* view, cJSO argument 112 AddProgressField(const UIView* view, cJSON* usr) const AddProgressField() argument 121 AddScrollViewField(const UIView* view, cJSON* usr) const AddScrollViewField() argument 129 AddListField(const UIView* view, cJSON* usr) const AddListField() argument 141 AddClockField(const UIView* view, cJSON* usr) const AddClockField() argument 150 AddPickerField(const UIView* view, cJSON* usr) const AddPickerField() argument 157 AddSwipeViewField(const UIView* view, cJSON* usr) const AddSwipeViewField() argument 165 AddTimePickerField(const UIView* view, cJSON* usr) const AddTimePickerField() argument 174 AddSpecialField(const UIView* view, cJSON* usr) const AddSpecialField() argument 238 AddCommonField(UIView* view, cJSON* usr) const AddCommonField() argument 256 OutputDomNode(UIView* view) OutputDomNode() argument 303 OutputDomTree(UIView* view, cJSON* usr) OutputDomTree() argument 343 DumpJsonById(UIView* view, const char* id, DumpMode mode) DumpJsonById() argument [all...] |
/third_party/mesa3d/src/panfrost/vulkan/ |
H A D | panvk_vX_image.c | 55 unreachable("Invalid view type"); in panvk_view_type_to_mali_tex_dim() 98 struct panvk_image_view *view; in CreateImageView() local 100 view = vk_image_view_create(&device->vk, false, pCreateInfo, in CreateImageView() 101 pAllocator, sizeof(*view)); in CreateImageView() 102 if (view == NULL) in CreateImageView() 105 view->pview = (struct pan_image_view) { in CreateImageView() 107 .format = vk_format_to_pipe_format(view->vk.view_format), in CreateImageView() 108 .dim = panvk_view_type_to_mali_tex_dim(view->vk.view_type), in CreateImageView() 110 .first_level = view->vk.base_mip_level, in CreateImageView() 111 .last_level = view in CreateImageView() 181 struct panvk_buffer_view *view = CreateBufferView() local [all...] |
/third_party/node/test/fixtures/wpt/streams/readable-byte-streams/ |
H A D | general.any.js | 305 function extractViewInfo(view) { 307 constructor: view.constructor, 308 bufferByteLength: view.buffer.byteLength, 309 byteOffset: view.byteOffset, 310 byteLength: view.byteLength 325 const view = byobRequest.view; 328 viewNonNull: view !== null, 329 viewInfo: extractViewInfo(view) 332 view[ [all...] |
/third_party/node/deps/npm/test/lib/commands/ |
H A D | view.js | 269 command: 'view', 285 const { view, outputs } = await loadMockNpm(t, { config: { unicode: false } }) 286 await view.exec(['https://github.com/npm/green']) 291 const { view, outputs } = await loadMockNpm(t, { config: { unicode: false } }) 292 await view.exec(['green@1.0.0']) 297 const { view, outputs } = await loadMockNpm(t, { config: { unicode: true } }) 298 await view.exec(['green@1.0.0']) 303 const { view, outputs } = await loadMockNpm(t, { config: { unicode: false } }) 304 await view.exec(['black@1.0.0']) 309 const { view, output [all...] |
/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_sampler.c | 34 * Initialize a pipe_sampler_view. 'view' is considered to have 38 default_template(struct pipe_sampler_view *view, in default_template() argument 43 memset(view, 0, sizeof(*view)); in default_template() 48 view->target = texture->target; in default_template() 49 view->format = format; in default_template() 50 view->u.tex.first_level = 0; in default_template() 51 view->u.tex.last_level = texture->last_level; in default_template() 52 view->u.tex.first_layer = 0; in default_template() 53 view in default_template() 86 u_sampler_view_default_template(struct pipe_sampler_view *view, const struct pipe_resource *texture, enum pipe_format format) u_sampler_view_default_template() argument 98 u_sampler_view_default_dx9_template(struct pipe_sampler_view *view, const struct pipe_resource *texture, enum pipe_format format) u_sampler_view_default_dx9_template() argument [all...] |
/third_party/python/Objects/ |
H A D | picklebufobject.c | 9 /* The view exported by the original object */ 10 Py_buffer view; member 26 self->view.obj = NULL; in PyPickleBuffer_FromObject() 28 if (PyObject_GetBuffer(base, &self->view, PyBUF_FULL_RO) < 0) { in PyPickleBuffer_FromObject() 46 if (self->view.obj == NULL) { in PyPickleBuffer_GetBuffer() 51 return &self->view; in PyPickleBuffer_GetBuffer() 65 PyBuffer_Release(&self->view); in PyPickleBuffer_Release() 85 self->view.obj = NULL; in picklebuf_new() 87 if (PyObject_GetBuffer(base, &self->view, PyBUF_FULL_RO) < 0) { in picklebuf_new() 97 Py_VISIT(self->view in picklebuf_traverse() 121 picklebuf_getbuf(PyPickleBufferObject *self, Py_buffer *view, int flags) picklebuf_getbuf() argument 132 picklebuf_releasebuf(PyPickleBufferObject *self, Py_buffer *view) picklebuf_releasebuf() argument [all...] |
H A D | memoryobject.c | 36 allows the underlying object to change while a view is exported. This 63 return a new reference to view.obj (example: bytes_buffer_getbuffer()). 65 PyBuffer_Release() decrements view.obj (if non-NULL), so the 66 releasebufferprocs must NOT decrement view.obj. 208 #define VIEW_ADDR(mv) (&((PyMemoryViewObject *)mv)->view) 224 #define MV_CONTIGUOUS_NDIM1(view) \ 225 ((view)->shape[0] == 1 || (view)->strides[0] == (view)->itemsize) 252 #define HAVE_SUBOFFSETS_IN_LAST_DIM(view) \ 452 init_strides_from_shape(Py_buffer *view) init_strides_from_shape() argument 465 init_fortran_strides_from_shape(Py_buffer *view) init_fortran_strides_from_shape() argument 581 init_len(Py_buffer *view) init_len() argument 597 const Py_buffer *view = &mv->view; init_flags() local 922 Py_buffer *view; PyMemoryView_GetContiguous() local 978 Py_buffer view; global() member 1196 Py_buffer *view = &mv->view; cast_to_1D() local 1298 Py_buffer *view = &mv->view; cast_to_ND() local 1334 Py_buffer *view = &mv->view; zero_in_shape() local 1445 memory_getbuf(PyMemoryViewObject *self, Py_buffer *view, int flags) memory_getbuf() argument 1524 memory_releasebuf(PyMemoryViewObject *self, Py_buffer *view) memory_releasebuf() argument 2053 adjust_fmt(const Py_buffer *view) adjust_fmt() argument 2140 const Py_buffer *view = &self->view; memoryview_tolist_impl() local 2283 lookup_dimension(const Py_buffer *view, char *ptr, int dim, Py_ssize_t index) lookup_dimension() argument 2309 ptr_from_index(const Py_buffer *view, Py_ssize_t index) ptr_from_index() argument 2317 ptr_from_tuple(const Py_buffer *view, PyObject *tup) ptr_from_tuple() argument 2348 Py_buffer *view = &(self->view); memory_item() local 2377 Py_buffer *view = &(self->view); memory_item_multi() local 2473 Py_buffer *view; memory_subscript() local 2535 Py_buffer *view = &(self->view); memory_ass_sub() local 2948 Py_buffer *view = &self->view; memory_hash() local 3025 Py_buffer *view = &self->view; memory_obj_get() local 3212 Py_buffer *view = &(seq->view); memoryiter_next() local [all...] |
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_state_sampler.c | 138 struct pipe_sampler_view *view = NULL; in llvmpipe_set_sampler_views() local 141 view = views[i]; in llvmpipe_set_sampler_views() 143 * Warn if someone tries to set a view created in a different context in llvmpipe_set_sampler_views() 147 if (view && view->context != pipe) { in llvmpipe_set_sampler_views() 152 if (view) in llvmpipe_set_sampler_views() 153 llvmpipe_flush_resource(pipe, view->texture, 0, true, false, false, "sampler_view"); in llvmpipe_set_sampler_views() 158 llvmpipe->sampler_views[shader][start + i] = view; in llvmpipe_set_sampler_views() 161 view); in llvmpipe_set_sampler_views() 204 struct pipe_sampler_view *view in llvmpipe_create_sampler_view() local 258 llvmpipe_sampler_view_destroy(struct pipe_context *pipe, struct pipe_sampler_view *view) llvmpipe_sampler_view_destroy() argument 293 struct pipe_sampler_view *view = i < num ? views[i] : NULL; prepare_shader_sampling() local 437 struct pipe_sampler_view *view = views[i]; llvmpipe_cleanup_stage_sampling() local 465 struct pipe_image_view *view = i < num ? &views[i] : NULL; prepare_shader_images() local 604 struct pipe_image_view *view = &views[i]; llvmpipe_cleanup_stage_images() local [all...] |
/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_view_group.cpp | 42 void UIViewGroup::Add(UIView* view) in Add() argument 44 if ((view == this) || (view == nullptr)) { in Add() 45 GRAPHIC_LOGE("view can not be nullptr and added to self"); in Add() 48 if (view->GetParent() != nullptr) { in Add() 49 GRAPHIC_LOGE("can not add view multi times"); in Add() 54 childrenHead_ = view; in Add() 59 childrenTail_->SetNextSibling(view); in Add() 61 view->SetParent(this); in Add() 62 view in Add() 111 Remove(UIView* view) Remove() argument 194 UIView* view = GetChildrenRenderHead(); GetTargetView() local 239 UIView* view = GetChildrenRenderHead(); GetTargetView() local 257 UIView* view = childrenHead_; GetAllChildRelativeRect() local 320 UIView* view = childrenHead_; MoveChildByOffset() local [all...] |
H A D | ui_list.cpp | 112 UIView* view = GetView(index); in FillActiveView() local 113 if (view == nullptr) { in FillActiveView() 116 listView_->PushBack(view); in FillActiveView() 128 UIView* view = GetView(index); in FillActiveView() local 129 listView_->PushBack(view); in FillActiveView() 183 UIView* view = GetChildrenHead(); in ~UIList() local 184 while (view != nullptr) { in ~UIList() 185 UIView* tmp = view->GetNextSibling(); in ~UIList() 186 UIViewGroup::Remove(view); in ~UIList() 187 delete view; in ~UIList() 561 PushBack(UIView* view) PushBack() argument 581 PushFront(UIView* view) PushFront() argument 600 PopItem(UIView* view) PopItem() argument 616 SetHead(UIView* view) SetHead() argument 627 UIView* view = GetChildrenHead(); MoveChildByOffset() local [all...] |
/third_party/mesa3d/src/freedreno/fdl/ |
H A D | fd6_view.c | 72 * ... the sampler to be used with the image view must enable sampler in fdl6_format_swiz() 162 fdl6_view_init(struct fdl6_view *view, const struct fdl_layout **layouts, in fdl6_view_init() argument 240 view->format = args->format; in fdl6_view_init() 242 memset(view->descriptor, 0, sizeof(view->descriptor)); in fdl6_view_init() 244 view->descriptor[0] = in fdl6_view_init() 252 view->descriptor[1] = A6XX_TEX_CONST_1_WIDTH(width) | A6XX_TEX_CONST_1_HEIGHT(height); in fdl6_view_init() 253 view->descriptor[2] = in fdl6_view_init() 257 view->descriptor[3] = A6XX_TEX_CONST_3_ARRAY_PITCH(layer_size); in fdl6_view_init() 258 view in fdl6_view_init() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
H A D | browser.c | 22 WebKitWebView *view; member 91 static void view_cb_notify_estimated_load_progress(WebKitWebView *view, in view_cb_notify_estimated_load_progress() argument 95 ctx->progress = 100 * webkit_web_view_get_estimated_load_progress(view); in view_cb_notify_estimated_load_progress() 102 static void view_cb_resource_load_starting(WebKitWebView *view, in view_cb_resource_load_starting() argument 114 static gboolean view_cb_decide_policy(WebKitWebView *view, in view_cb_decide_policy() argument 157 static void view_cb_mouse_target_changed(WebKitWebView *view, in view_cb_mouse_target_changed() argument 183 static void view_cb_notify_title(WebKitWebView *view, GParamSpec *ps, in view_cb_notify_title() argument 188 title = webkit_web_view_get_title(ctx->view); in view_cb_notify_title() 197 static void view_cb_notify_progress(WebKitWebView *view, GParamSpec *pspec, in view_cb_notify_progress() argument 200 ctx->progress = 100 * webkit_web_view_get_progress(view); in view_cb_notify_progress() 207 view_cb_notify_load_status(WebKitWebView *view, GParamSpec *pspec, struct browser_context *ctx) view_cb_notify_load_status() argument 220 view_cb_resource_request_starting(WebKitWebView *view, WebKitWebFrame *frame, WebKitWebResource *res, WebKitNetworkRequest *req, WebKitNetworkResponse *resp, struct browser_context *ctx) view_cb_resource_request_starting() argument 237 view_cb_mime_type_policy_decision( WebKitWebView *view, WebKitWebFrame *frame, WebKitNetworkRequest *req, gchar *mime, WebKitWebPolicyDecision *policy, struct browser_context *ctx) view_cb_mime_type_policy_decision() argument 253 view_cb_download_requested(WebKitWebView *view, WebKitDownload *dl, struct browser_context *ctx) view_cb_download_requested() argument 264 view_cb_hovering_over_link(WebKitWebView *view, gchar *title, gchar *uri, struct browser_context *ctx) view_cb_hovering_over_link() argument 279 view_cb_title_changed(WebKitWebView *view, WebKitWebFrame *frame, const char *title, struct browser_context *ctx) view_cb_title_changed() argument 295 WebKitWebView *view; hs20_web_browser() local [all...] |
/foundation/arkui/ui_lite/test/unittest/components/ |
H A D | ui_swipe_view_unit_test.cpp | 100 UIView* view = new UIView(); in HWTEST_F() local 101 if (view == nullptr) { in HWTEST_F() 105 swipeView_->Add(view); in HWTEST_F() 106 EXPECT_EQ(view, swipeView_->GetChildrenHead()); in HWTEST_F() 107 EXPECT_EQ(view->GetParent(), swipeView_); in HWTEST_F() 108 swipeView_->Remove(view); in HWTEST_F() 109 delete view; in HWTEST_F() 129 UIView* view = new UIView(); in HWTEST_F() local 130 if (view == nullptr) { in HWTEST_F() 136 swipeView_->Insert(preView, view); in HWTEST_F() 157 UIView* view = new UIView(); HWTEST_F() local 193 UIViewGroup* view = new UIViewGroup(); HWTEST_F() local 290 UIView* view = swipeView_->GetViewByIndex(1); HWTEST_F() local [all...] |
/third_party/skia/platform_tools/android/apps/skottie/src/main/java/org/skia/skottie/ |
H A D | SkottieActivity.java | 16 import android.view.View; 17 import android.view.ViewGroup; 58 SkottieView view = new SkottieView(this); in populateGrid() 59 view.setSource(resId); in populateGrid() 60 mAnimations.add(view); in populateGrid() 65 SkottieView view = new SkottieView(this); in populateGrid() 66 view.setSource(this, uri); in populateGrid() 67 mAnimations.add(view); in populateGrid() 90 for (SkottieView view : mAnimations) { in populateGrid() 91 view in populateGrid() 107 inflateView(SkottieView view) inflateView() argument 159 addView(SkottieView view, int row , int column, boolean addView) addView() argument 253 onClick(View view) onClick() argument [all...] |
/foundation/arkui/ui_lite/interfaces/kits/dfx/ |
H A D | ui_dump_dom_tree.h | 115 bool searchFlag_; // Search flag, set when find the view with right id. 121 void DumpJsonById(UIView* view, const char* id, DumpMode mode); 124 void AddCommonField(UIView* view, cJSON* usr) const; 125 void AddImageViewSpecialField(const UIView* view, cJSON* usr) const; 126 void AddLabelField(const UIView* view, cJSON* usr) const; 127 void AddLabelButtonField(const UIView* view, cJSON* usr) const; 128 void AddCheckboxField(const UIView* view, cJSON* usr) const; 129 void AddToggleButtonField(const UIView* view, cJSON* usr) const; 130 void AddProgressField(const UIView* view, cJSON* usr) const; 131 void AddScrollViewField(const UIView* view, cJSO [all...] |
/foundation/arkui/ui_lite/test/uitest/test_layout/ |
H A D | ui_test_advanced_layout.cpp | 199 void UITestAdvancedLayout::OnClickButton(const UIView& view) in OnClickButton() argument 201 if (&view == resetgBtn_) { in OnClickButton() 209 } else if (&view == margingBtn_) { in OnClickButton() 211 } else if (&view == horgBtn_) { in OnClickButton() 213 } else if (&view == horgRBtn_) { in OnClickButton() 215 } else if (&view == vergBtn_) { in OnClickButton() 217 } else if (&view == vergRBtn_) { in OnClickButton() 219 } else if (&view == addElegBtn_) { in OnClickButton() 221 } else if (&view == incRowsBtn_) { in OnClickButton() 224 } else if (&view in OnClickButton() 243 OnClick(UIView& view, const ClickEvent& event) OnClick() argument [all...] |
/third_party/python/Lib/idlelib/idle_test/ |
H A D | test_textview.py | 50 view = VW(root, 'Title', 'test text') 54 view.ok() 57 view = VW(root, 'Title', 'test text', modal=False) 61 view.ok() 64 view = VW(root, 'Title', 'test text', modal=False) 65 view.destroy = Func() 66 view.ok() 67 self.assertTrue(view.destroy.called) 68 del view.destroy # Unmask real function. 69 view [all...] |
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_sampler_view.c | 51 p_atomic_add(&sv->view->reference.count, -sv->private_refcount); in st_remove_private_references() 56 /* Return a sampler view while incrementing the refcount by 1. */ 59 struct pipe_sampler_view *view) in get_sampler_view_reference() 66 p_atomic_add(&view->reference.count, sv->private_refcount); in get_sampler_view_reference() 71 return view; in get_sampler_view_reference() 75 * Set the given view as the current context's view for the texture. 77 * Overwrites any pre-existing view of the context. 79 * Takes ownership of the view (i.e., stores the view withou 58 get_sampler_view_reference(struct st_sampler_view *sv, struct pipe_sampler_view *view) get_sampler_view_reference() argument 86 st_texture_set_sampler_view(struct st_context *st, struct gl_texture_object *stObj, struct pipe_sampler_view *view, bool glsl130_or_later, bool srgb_skip_decode, bool get_reference, bool locked) st_texture_set_sampler_view() argument 647 struct pipe_sampler_view *view = sv->view; st_get_texture_sampler_view_from_stobj() local 671 struct pipe_sampler_view *view = st_get_texture_sampler_view_from_stobj() local 701 struct pipe_sampler_view *view = sv->view; st_get_buffer_sampler_view_from_stobj() local 747 struct pipe_sampler_view *view = st_get_buffer_sampler_view_from_stobj() local [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_native_view_ffi.cpp | 65 auto view = FFIData::Create<NativeView>(remoteView); in FfiOHOSAceFrameworkNativeViewCtor() local 66 if (view == nullptr) { in FfiOHOSAceFrameworkNativeViewCtor() 69 return view->GetID(); in FfiOHOSAceFrameworkNativeViewCtor() 74 auto view = FFIData::GetData<NativeView>(id); in FfiOHOSAceFrameworkNativeViewDestroy() local 75 if (!view) { in FfiOHOSAceFrameworkNativeViewDestroy() 79 view->Destroy(); in FfiOHOSAceFrameworkNativeViewDestroy() 134 auto view = FFIData::GetData<NativeView>(nativeViewId); in FfiOHOSAceFrameworkNativeViewSyncInstanceId() local 135 if (!view) { in FfiOHOSAceFrameworkNativeViewSyncInstanceId() 139 view->SyncInstanceId(); in FfiOHOSAceFrameworkNativeViewSyncInstanceId() 144 auto view in FfiOHOSAceFrameworkNativeViewRestoreInstanceId() local 154 auto view = FFIData::GetData<NativeView>(nativeViewId); FfiOHOSAceFrameworkNativeViewFinishUpdateFunc() local 164 auto view = FFIData::GetData<NativeView>(nativeViewId); FfiOHOSAceFrameworkViewDeletedElmtIdsHaveBeenPurged() local 183 auto view = FFIData::GetData<NativeView>(nativeViewId); FfiOHOSAceFrameworkViewGetDeletedElemtIds() local [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
H A D | nvc0_tex.c | 77 struct nv50_tic_entry *view; in gm107_create_texture_view() local 81 view = MALLOC_STRUCT(nv50_tic_entry); in gm107_create_texture_view() 82 if (!view) in gm107_create_texture_view() 86 view->pipe = *templ; in gm107_create_texture_view() 87 view->pipe.reference.count = 1; in gm107_create_texture_view() 88 view->pipe.texture = NULL; in gm107_create_texture_view() 89 view->pipe.context = pipe; in gm107_create_texture_view() 91 view->id = -1; in gm107_create_texture_view() 92 view->bindless = 0; in gm107_create_texture_view() 94 pipe_resource_reference(&view in gm107_create_texture_view() 240 gm107_create_texture_view_from_image(struct pipe_context *pipe, const struct pipe_image_view *view) gm107_create_texture_view_from_image() argument 290 struct nv50_tic_entry *view; gf100_create_texture_view() local 791 nve4_create_texture_handle(struct pipe_context *pipe, struct pipe_sampler_view *view, const struct pipe_sampler_state *sampler) nve4_create_texture_handle() argument 846 view_bound(struct nvc0_context *nvc0, struct pipe_sampler_view *view) view_bound() argument 864 struct pipe_sampler_view *view = &entry->pipe; nve4_delete_texture_handle() local 907 nvc0_get_surface_dims(const struct pipe_image_view *view, int *width, int *height, int *depth) nvc0_get_surface_dims() argument 943 nvc0_mark_image_range_valid(const struct pipe_image_view *view) nvc0_mark_image_range_valid() argument 955 nve4_set_surface_info(struct nouveau_pushbuf *push, const struct pipe_image_view *view, struct nvc0_context *nvc0) nve4_set_surface_info() argument 1081 nvc0_set_surface_info(struct nouveau_pushbuf *push, const struct pipe_image_view *view, uint64_t address, int width, int height, int depth) nvc0_set_surface_info() argument 1138 struct pipe_image_view *view = &nvc0->images[s][i]; nvc0_validate_suf() local 1250 gm107_validate_surfaces(struct nvc0_context *nvc0, struct pipe_image_view *view, int stage, int slot) gm107_validate_surfaces() argument 1306 struct pipe_image_view *view = &nvc0->images[s][i]; nve4_update_surface_bindings() local 1347 nve4_create_image_handle(struct pipe_context *pipe, const struct pipe_image_view *view) nve4_create_image_handle() argument 1398 struct pipe_image_view *view = nve4_make_image_handle_resident() local 1421 gm107_create_image_handle(struct pipe_context *pipe, const struct pipe_image_view *view) gm107_create_image_handle() argument 1470 struct pipe_sampler_view *view = &entry->pipe; gm107_delete_image_handle() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
H A D | browser.c | 53 static void view_cb_notify_progress(WebKitWebView *view, GParamSpec *pspec, in view_cb_notify_progress() argument 56 ctx->progress = 100 * webkit_web_view_get_progress(view); in view_cb_notify_progress() 63 static void view_cb_notify_load_status(WebKitWebView *view, GParamSpec *pspec, in view_cb_notify_load_status() argument 66 int status = webkit_web_view_get_load_status(view); in view_cb_notify_load_status() 68 __func__, status, webkit_web_view_get_uri(view)); in view_cb_notify_load_status() 72 static void view_cb_resource_request_starting(WebKitWebView *view, in view_cb_resource_request_starting() argument 99 WebKitWebView *view, WebKitWebFrame *frame, WebKitNetworkRequest *req, in view_cb_mime_type_policy_decision() 105 if (!webkit_web_view_can_show_mime_type(view, mime)) { in view_cb_mime_type_policy_decision() 114 static gboolean view_cb_download_requested(WebKitWebView *view, in view_cb_download_requested() argument 125 static void view_cb_hovering_over_link(WebKitWebView *view, gcha argument 98 view_cb_mime_type_policy_decision( WebKitWebView *view, WebKitWebFrame *frame, WebKitNetworkRequest *req, gchar *mime, WebKitWebPolicyDecision *policy, struct browser_context *ctx) view_cb_mime_type_policy_decision() argument 140 view_cb_title_changed(WebKitWebView *view, WebKitWebFrame *frame, const char *title, struct browser_context *ctx) view_cb_title_changed() argument 155 WebKitWebView *view; hs20_web_browser() local [all...] |
/foundation/arkui/ui_lite/interfaces/kits/components/ |
H A D | abstract_adapter.h | 91 virtual void DeleteView(UIView*& view) in DeleteView() argument 93 delete view; in DeleteView() 94 view = nullptr; in DeleteView() 99 UIView* view = GetView(nullptr, index); in GetItemWidthWithMargin() local 100 if (view == nullptr) { in GetItemWidthWithMargin() 103 int16_t width = view->GetWidthWithMargin(); in GetItemWidthWithMargin() 104 DeleteView(view); in GetItemWidthWithMargin() 110 UIView* view = GetView(nullptr, index); in GetItemHeightWithMargin() local 111 if (view == nullptr) { in GetItemHeightWithMargin() 114 int16_t height = view in GetItemHeightWithMargin() [all...] |
/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_state_tss.c | 50 struct svga_hw_view_state *view = &svga->state.hw_draw.views[i]; in svga_cleanup_tss_binding() local 51 if (view) { in svga_cleanup_tss_binding() 52 svga_sampler_view_reference(&view->v, NULL); in svga_cleanup_tss_binding() 55 pipe_resource_reference(&view->texture, NULL); in svga_cleanup_tss_binding() 56 view->dirty = TRUE; in svga_cleanup_tss_binding() 65 struct svga_hw_view_state *view; member 80 struct svga_hw_view_state *view, in emit_tex_binding_unit() 106 if (view->texture != texture || in emit_tex_binding_unit() 107 view->min_lod != min_lod || in emit_tex_binding_unit() 108 view in emit_tex_binding_unit() 76 emit_tex_binding_unit(struct svga_context *svga, unsigned unit, const struct svga_sampler_state *s, const struct pipe_sampler_view *sv, struct svga_hw_view_state *view, boolean reemit, struct bind_queue *queue) emit_tex_binding_unit() argument 190 struct svga_hw_view_state *view = queue.bind[i].view; update_tss_binding() local 249 struct svga_hw_view_state *view = &svga->state.hw_draw.views[i]; svga_reemit_tss_bindings() local 262 struct svga_hw_view_state *view = &svga->state.hw_draw.views[unit]; svga_reemit_tss_bindings() local [all...] |
/foundation/arkui/ui_lite/test/uitest/test_ui_list/ |
H A D | ui_test_ui_list.cpp | 353 selectBtnPos->SetPosition(VIEW_DISTANCE_TO_LEFT_SIDE, list->GetY() + g_selectPos, 100, 1); // 100: mean view width in UIKitListScrollTestBlankSet001() 372 bool UITestUIList::OnClick(UIView& view, const ClickEvent& event) in OnClick() argument 377 if (&view == setBlankBtn_) { in OnClick() 379 } else if (&view == setBlankOffBtn_) { in OnClick() 381 } else if (&view == setThrowDragBtn_) { in OnClick() 383 } else if (&view == setThrowDragOffBtn_) { in OnClick() 385 } else if (&view == setRefreshBtn_) { in OnClick() 388 } else if (&view == setLoopBtn_) { in OnClick() 390 } else if (&view == setLoopOffBtn_) { in OnClick() 392 } else if (&view in OnClick() 444 OnScrollStart(int16_t index, UIView* view) OnScrollStart() argument 455 OnScrollEnd(int16_t index, UIView* view) OnScrollEnd() argument 465 OnScrollTop(int16_t index, UIView* view) OnScrollTop() argument 471 OnScrollBottom(int16_t index, UIView* view) OnScrollBottom() argument 477 OnItemSelected(int16_t index, UIView* view) OnItemSelected() argument 507 SetLastPos(UIView* view) SetLastPos() argument [all...] |