/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...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_so.c | 38 * to it, and all context bindings of that view. Similarly we must restore 39 * the view bindings, views and surfaces pointed to by the views when a 44 * struct vmw_view - view metadata 48 * @ctx: Non-refcounted pointer to the context this view belongs to. 49 * @srf: Refcounted pointer to the surface pointed to by this view. 50 * @cotable: Refcounted pointer to the cotable holding this view. 51 * @srf_head: List head for the surface-to-view list. 54 * @view_id: User-space per context view id. Currently used also as per 55 * context device view id. 56 * @cmd_size: Size of the SVGA3D define view comman 131 struct vmw_view *view = vmw_view(res); vmw_view_commit_notify() local 162 struct vmw_view *view = vmw_view(res); vmw_view_create() local 207 struct vmw_view *view = vmw_view(res); vmw_view_destroy() local 288 struct vmw_view *view = vmw_view(res); vmw_view_res_free() local 328 struct vmw_view *view; vmw_view_add() 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/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/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...] |
/kernel/linux/linux-5.10/drivers/s390/char/ |
H A D | raw3270.c | 46 struct raw3270_view *view; /* Active view. */ member 90 * Wait queue for device init/delete, view delete. 239 __raw3270_start(struct raw3270 *rp, struct raw3270_view *view, in __raw3270_start() argument 242 rq->view = view; in __raw3270_start() 243 raw3270_get_view(view); in __raw3270_start() 250 raw3270_put_view(view); in __raw3270_start() 259 raw3270_view_active(struct raw3270_view *view) in raw3270_view_active() argument 261 struct raw3270 *rp = view in raw3270_view_active() 268 raw3270_start(struct raw3270_view *view, struct raw3270_request *rq) raw3270_start() argument 288 raw3270_start_locked(struct raw3270_view *view, struct raw3270_request *rq) raw3270_start_locked() argument 305 raw3270_start_irq(struct raw3270_view *view, struct raw3270_request *rq) raw3270_start_irq() argument 323 struct raw3270_view *view; raw3270_irq() local 510 struct raw3270_view *view; raw3270_size_device_done() local 626 raw3270_reset(struct raw3270_view *view) raw3270_reset() argument 646 struct raw3270_view *view; __raw3270_disconnect() local 665 raw3270_init_irq(struct raw3270_view *view, struct raw3270_request *rq, struct irb *irb) raw3270_init_irq() argument 842 raw3270_activate_view(struct raw3270_view *view) raw3270_activate_view() argument 890 raw3270_deactivate_view(struct raw3270_view *view) raw3270_deactivate_view() argument 923 raw3270_add_view(struct raw3270_view *view, struct raw3270_fn *fn, int minor, int subclass) raw3270_add_view() argument 962 struct raw3270_view *view, *tmp; raw3270_find_view() local 989 raw3270_del_view(struct raw3270_view *view) raw3270_del_view() argument 1221 struct raw3270_view *view; raw3270_pm_stop() local 1261 raw3270_pm_unfreeze(struct raw3270_view *view) raw3270_pm_unfreeze() argument [all...] |
H A D | con3270.c | 3 * IBM/3270 Driver - console view. 39 * Main 3270 console view data structure. 42 struct raw3270_view view; member 87 * "console view" in the lower left corner and "Running"/"More..."/"Holding" 97 codepage_convert(cp->view.ascebc, cp->status->string + 24, 7); in con3270_update_status() 113 raw3270_buffer_address(cp->view.dev, cp->status->string + 1, in con3270_create_status() 114 cp->view.cols * (cp->view.rows - 1)); in con3270_create_status() 115 raw3270_buffer_address(cp->view.dev, cp->status->string + 21, in con3270_create_status() 116 cp->view in con3270_create_status() 391 con3270_activate(struct raw3270_view *view) con3270_activate() argument 402 con3270_deactivate(struct raw3270_view *view) con3270_deactivate() argument [all...] |
/kernel/linux/linux-6.6/drivers/s390/char/ |
H A D | raw3270.c | 48 struct raw3270_view *view; /* Active view. */ member 92 * Wait queue for device init/delete, view delete. 123 x = max_t(int, 0, rp->view->cols + x); in raw3270_buffer_address() 125 y = max_t(int, 0, rp->view->rows + y); in raw3270_buffer_address() 126 addr = (y * rp->view->cols) + x; in raw3270_buffer_address() 244 static int __raw3270_start(struct raw3270 *rp, struct raw3270_view *view, in __raw3270_start() argument 247 rq->view = view; in __raw3270_start() 248 raw3270_get_view(view); in __raw3270_start() 263 raw3270_view_active(struct raw3270_view *view) raw3270_view_active() argument 270 raw3270_start(struct raw3270_view *view, struct raw3270_request *rq) raw3270_start() argument 289 raw3270_start_request(struct raw3270_view *view, struct raw3270_request *rq, int cmd, void *data, size_t len) raw3270_start_request() argument 305 raw3270_start_locked(struct raw3270_view *view, struct raw3270_request *rq) raw3270_start_locked() argument 321 raw3270_start_irq(struct raw3270_view *view, struct raw3270_request *rq) raw3270_start_irq() argument 339 struct raw3270_view *view; raw3270_irq() local 534 struct raw3270_view *view; raw3270_resize_work() local 657 raw3270_reset(struct raw3270_view *view) raw3270_reset() argument 676 struct raw3270_view *view; __raw3270_disconnect() local 694 raw3270_init_irq(struct raw3270_view *view, struct raw3270_request *rq, struct irb *irb) raw3270_init_irq() argument 878 raw3270_view_lock_unavailable(struct raw3270_view *view) raw3270_view_lock_unavailable() argument 889 raw3270_assign_activate_view(struct raw3270 *rp, struct raw3270_view *view) raw3270_assign_activate_view() argument 895 __raw3270_activate_view(struct raw3270 *rp, struct raw3270_view *view) __raw3270_activate_view() argument 937 raw3270_activate_view(struct raw3270_view *view) raw3270_activate_view() argument 956 raw3270_deactivate_view(struct raw3270_view *view) raw3270_deactivate_view() argument 988 raw3270_add_view(struct raw3270_view *view, struct raw3270_fn *fn, int minor, int subclass) raw3270_add_view() argument 1028 struct raw3270_view *view, *tmp; raw3270_find_view() local 1055 raw3270_del_view(struct raw3270_view *view) raw3270_del_view() argument [all...] |
H A D | raw3270.h | 22 struct raw3270_view *view; /* view of this request */ member 51 * Functions of a 3270 view. 56 void (*intv)(struct raw3270_view *view, 58 void (*release)(struct raw3270_view *view); 59 void (*free)(struct raw3270_view *view); 60 void (*resize)(struct raw3270_view *view, 67 * be embedded at the start of the real view data structure, e.g.: 69 * struct raw3270_view view; 75 spinlock_t lock; /* protects members of view */ 104 raw3270_get_view(struct raw3270_view *view) raw3270_get_view() argument 112 raw3270_put_view(struct raw3270_view *view) raw3270_put_view() 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...] |
/base/update/updater/services/ui/control/ |
H A D | event_listener.cpp | 29 void CallBackDecorator::operator()(OHOS::UIView &view, bool isAsync) const in operator ()() argument 31 auto *page = view.GetParent(); in operator ()() 33 LOG(ERROR) << "view hasn't a parent"; in operator ()() 36 if (view.GetViewId() == nullptr) { in operator ()() 37 LOG(ERROR) << "view is invalid, please check your json config"; in operator ()() 40 std::string id = view.GetViewId(); in operator ()() 51 if (!view.IsVisible()) { in operator ()() 59 [cb = cb_, &view] () { in operator ()() 60 CallbackWithGuard(cb, view); in operator ()() 67 CallbackWithGuard(cb_, view); in operator ()() 71 CallbackWithGuard(Callback cb, OHOS::UIView &view) CallbackWithGuard() argument 83 OnRelease(OHOS::UIView &view, [[maybe_unused]] const OHOS::ReleaseEvent &event) OnRelease() argument 90 OnClick(OHOS::UIView &view, [[maybe_unused]] const OHOS::ClickEvent &event) OnClick() argument 96 OnPress(OHOS::UIView &view, [[maybe_unused]] const OHOS::PressEvent &event) OnPress() argument 102 OnRelease(OHOS::UIView &view, [[maybe_unused]] const OHOS::ReleaseEvent &event) OnRelease() argument 108 OnCancel(OHOS::UIView &view, [[maybe_unused]] const OHOS::CancelEvent &event) OnCancel() argument 114 OnDragStart(OHOS::UIView &view, [[maybe_unused]] const OHOS::DragEvent &event) OnDragStart() argument 120 OnDrag(OHOS::UIView &view, const OHOS::DragEvent &event) OnDrag() argument 130 OnDragEnd(OHOS::UIView &view, [[maybe_unused]] const OHOS::DragEvent &event) OnDragEnd() argument 138 OnKeyAct(OHOS::UIView &view, const OHOS::KeyEvent &event) OnKeyAct() argument 155 ProcessPowerKey(OHOS::UIView &view, const OHOS::KeyEvent &event) ProcessPowerKey() argument 178 ProcessVolumeKey(OHOS::UIView &view, const OHOS::KeyEvent &event) ProcessVolumeKey() argument [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...] |
/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...] |
/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...] |
/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...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_so.c | 37 * to it, and all context bindings of that view. Similarly we must restore 38 * the view bindings, views and surfaces pointed to by the views when a 43 * struct vmw_view - view metadata 46 * @ctx: Non-refcounted pointer to the context this view belongs to. 47 * @srf: Refcounted pointer to the surface pointed to by this view. 48 * @cotable: Refcounted pointer to the cotable holding this view. 49 * @srf_head: List head for the surface-to-view list. 52 * @view_id: User-space per context view id. Currently used also as per 53 * context device view id. 54 * @cmd_size: Size of the SVGA3D define view comman 128 struct vmw_view *view = vmw_view(res); vmw_view_commit_notify() local 159 struct vmw_view *view = vmw_view(res); vmw_view_create() local 204 struct vmw_view *view = vmw_view(res); vmw_view_destroy() local 285 struct vmw_view *view = vmw_view(res); vmw_view_res_free() local 328 struct vmw_view *view; vmw_view_add() local [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...] |