/third_party/flutter/flutter/packages/flutter/test/gestures/ |
D | gesture_binding_test.dart | 5 import 'dart:ui' as ui; 37 const ui.PointerDataPacket packet = ui.PointerDataPacket( 38 data: <ui.PointerData>[ 39 ui.PointerData(change: ui.PointerChange.down), 40 ui.PointerData(change: ui.PointerChange.up), 47 ui.window.onPointerDataPacket(packet); 54 const ui.PointerDataPacket packet = ui.PointerDataPacket( 55 data: <ui.PointerData>[ 56 ui.PointerData(change: ui.PointerChange.down), 57 ui.PointerData(change: ui.PointerChange.move), [all …]
|
D | mouse_tracking_test.dart | 5 import 'dart:ui' as ui; 78 final ui.PointerDataPacket packet1 = ui.PointerDataPacket(data: <ui.PointerData>[ 79 ui.PointerData( 80 change: ui.PointerChange.hover, 81 physicalX: 0.0 * ui.window.devicePixelRatio, 82 physicalY: 0.0 * ui.window.devicePixelRatio, 86 final ui.PointerDataPacket packet2 = ui.PointerDataPacket(data: <ui.PointerData>[ 87 ui.PointerData( 88 change: ui.PointerChange.hover, 89 physicalX: 1.0 * ui.window.devicePixelRatio, [all …]
|
/third_party/cef/libcef/browser/native/ |
D | cursor_util_win.cc | 20 LPCWSTR ToCursorID(ui::mojom::CursorType type) { in ToCursorID() 22 case ui::mojom::CursorType::kPointer: in ToCursorID() 24 case ui::mojom::CursorType::kCross: in ToCursorID() 26 case ui::mojom::CursorType::kHand: in ToCursorID() 28 case ui::mojom::CursorType::kIBeam: in ToCursorID() 30 case ui::mojom::CursorType::kWait: in ToCursorID() 32 case ui::mojom::CursorType::kHelp: in ToCursorID() 34 case ui::mojom::CursorType::kEastResize: in ToCursorID() 36 case ui::mojom::CursorType::kNorthResize: in ToCursorID() 38 case ui::mojom::CursorType::kNorthEastResize: in ToCursorID() [all …]
|
D | browser_platform_delegate_native_aura.cc | 25 ui::KeyEvent ui_event = TranslateUiKeyEvent(event); in SendKeyEvent() 38 ui::MouseEvent ui_event = in SendMouseClickEvent() 50 ui::MouseEvent ui_event = TranslateUiMoveEvent(event, mouseLeave); in SendMouseMoveEvent() 62 ui::MouseWheelEvent ui_event = TranslateUiWheelEvent(event, deltaX, deltaY); in SendMouseWheelEvent() 83 return ui::MakeWebMouseEvent( in TranslateWebClickEvent() 91 return ui::MakeWebMouseEvent(TranslateUiMoveEvent(mouse_event, mouseLeave)); in TranslateWebMoveEvent() 99 return ui::MakeWebMouseWheelEvent( in TranslateWebWheelEvent() 103 ui::MouseEvent CefBrowserPlatformDelegateNativeAura::TranslateUiClickEvent( in TranslateUiClickEvent() 110 ui::EventType event_type = in TranslateUiClickEvent() 111 mouseUp ? ui::ET_MOUSE_RELEASED : ui::ET_MOUSE_PRESSED; in TranslateUiClickEvent() [all …]
|
/third_party/openssl/crypto/ui/ |
D | ui_lib.c | 73 void UI_free(UI *ui) in UI_free() argument 75 if (ui == NULL) in UI_free() 77 if ((ui->flags & UI_FLAG_DUPL_DATA) != 0) { in UI_free() 78 ui->meth->ui_destroy_data(ui, ui->user_data); in UI_free() 80 sk_UI_STRING_pop_free(ui->strings, free_string); in UI_free() 81 CRYPTO_free_ex_data(CRYPTO_EX_INDEX_UI, ui, &ui->ex_data); in UI_free() 82 CRYPTO_THREAD_lock_free(ui->lock); in UI_free() 83 OPENSSL_free(ui); in UI_free() 86 static int allocate_string_stack(UI *ui) in allocate_string_stack() argument 88 if (ui->strings == NULL) { in allocate_string_stack() [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | cbs_mpeg2_syntax_template.c | 27 ui(8, sequence_header_code); in FUNC() 37 ui(18, bit_rate_value); in FUNC() 41 ui(10, vbv_buffer_size_value); in FUNC() 42 ui(1, constrained_parameters_flag); in FUNC() 44 ui(1, load_intra_quantiser_matrix); in FUNC() 50 ui(1, load_non_intra_quantiser_matrix); in FUNC() 67 ui(8, user_data_start_code); in FUNC() 95 ui(8, profile_and_level_indication); in FUNC() 96 ui(1, progressive_sequence); in FUNC() 97 ui(2, chroma_format); in FUNC() [all …]
|
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/compositor/ |
D | layer_scene_builder.dart | 7 class LayerScene implements ui.Scene { 18 Future<ui.Image> toImage(int width, int height) => null; 24 class LayerSceneBuilder implements ui.SceneBuilder { 30 {ui.Offset offset = ui.Offset.zero, 33 ui.SceneHost sceneHost, 39 void addPerformanceOverlay(int enabledOptions, ui.Rect bounds) { 45 void addPicture(ui.Offset offset, ui.Picture picture, 52 void addRetained(ui.EngineLayer retainedLayer) { 61 {ui.Offset offset = ui.Offset.zero, 71 ui.Offset offset = ui.Offset.zero, [all …]
|
D | recording_canvas.dart | 11 js.JsObject _makeSkRect(ui.Rect rect) { 16 js.JsObject _makeSkPaint(ui.Paint paint) { 23 case ui.PaintingStyle.stroke: 26 case ui.PaintingStyle.fill: 59 void clipPath(ui.Path path) { 64 void clipRRect(ui.RRect rrect) { 69 void clipRect(ui.Rect rect) { 74 ui.Rect computePaintBounds() { 97 void drawCircle(ui.Offset c, double radius, ui.Paint paint) { 102 void drawColor(ui.Color color, ui.BlendMode blendMode) { [all …]
|
/third_party/flutter/flutter/packages/flutter/test/painting/ |
D | text_painter_test.dart | 5 import 'dart:ui' as ui; 21 const ui.TextPosition(offset: 0), 22 ui.Rect.zero, 25 caretOffset = painter.getOffsetForCaret(ui.TextPosition(offset: text.length), ui.Rect.zero); 32 caretOffset = painter.getOffsetForCaret(ui.TextPosition(offset: text.length), ui.Rect.zero); 44 Offset caretOffset = painter.getOffsetForCaret(const ui.TextPosition(offset: 0), ui.Rect.zero); 46 caretOffset = painter.getOffsetForCaret(const ui.TextPosition(offset: 1), ui.Rect.zero); 48 caretOffset = painter.getOffsetForCaret(const ui.TextPosition(offset: 2), ui.Rect.zero); 55 caretOffset = painter.getOffsetForCaret(const ui.TextPosition(offset: 0), ui.Rect.zero); 57 caretOffset = painter.getOffsetForCaret(const ui.TextPosition(offset: 1), ui.Rect.zero); [all …]
|
/third_party/libunwind/src/coredump/ |
D | _UCD_find_proc_info.c | 34 get_unwind_info(struct UCD_info *ui, unw_addr_space_t as, unw_word_t ip) in get_unwind_info() argument 39 if (!ui->edi.ktab.start_ip && _Uia64_get_kernel_table (&ui->edi.ktab) < 0) in get_unwind_info() 42 if (ui->edi.ktab.format != -1 && ip >= ui->edi.ktab.start_ip && ip < ui->edi.ktab.end_ip) in get_unwind_info() 46 if ((ui->edi.di_cache.format != -1 in get_unwind_info() 47 && ip >= ui->edi.di_cache.start_ip && ip < ui->edi.di_cache.end_ip) in get_unwind_info() 49 || (ui->edi.di_debug.format != -1 in get_unwind_info() 50 && ip >= ui->edi.di_arm.start_ip && ip < ui->edi.di_arm.end_ip) in get_unwind_info() 52 || (ui->edi.di_debug.format != -1 in get_unwind_info() 53 && ip >= ui->edi.di_debug.start_ip && ip < ui->edi.di_debug.end_ip)) in get_unwind_info() 56 invalidate_edi (&ui->edi); in get_unwind_info() [all …]
|
D | _UCD_access_reg_freebsd.c | 39 struct UCD_info *ui = arg; in _UCD_access_reg() local 44 *valp = ui->prstatus->pr_reg.r_eax; in _UCD_access_reg() 47 *valp = ui->prstatus->pr_reg.r_edx; in _UCD_access_reg() 50 *valp = ui->prstatus->pr_reg.r_ecx; in _UCD_access_reg() 53 *valp = ui->prstatus->pr_reg.r_ebx; in _UCD_access_reg() 56 *valp = ui->prstatus->pr_reg.r_esi; in _UCD_access_reg() 59 *valp = ui->prstatus->pr_reg.r_edi; in _UCD_access_reg() 62 *valp = ui->prstatus->pr_reg.r_ebp; in _UCD_access_reg() 65 *valp = ui->prstatus->pr_reg.r_esp; in _UCD_access_reg() 68 *valp = ui->prstatus->pr_reg.r_eip; in _UCD_access_reg() [all …]
|
D | _UCD_create.c | 57 struct UCD_info *ui = memset(malloc(sizeof(*ui)), 0, sizeof(*ui)); in _UCD_create() local 58 ui->edi.di_cache.format = -1; in _UCD_create() 59 ui->edi.di_debug.format = -1; in _UCD_create() 61 ui->edi.ktab.format = -1; in _UCD_create() 64 int fd = ui->coredump_fd = open(filename, O_RDONLY); in _UCD_create() 67 ui->coredump_filename = strdup(filename); in _UCD_create() 122 unsigned size = ui->phdrs_count = (_64bits ? elf_header64.e_phnum : elf_header32.e_phnum); in _UCD_create() 123 …coredump_phdr_t *phdrs = ui->phdrs = memset(malloc(size * sizeof(phdrs[0])), 0, size * sizeof(phdr… in _UCD_create() 178 int ret = _UCD_get_threadinfo(ui, phdrs, size); in _UCD_create() 184 ret = _UCD_get_mapinfo(ui, phdrs, size); in _UCD_create() [all …]
|
/third_party/flutter/flutter/examples/layers/raw/ |
D | canvas.dart | 5 // This example shows how to use the ui.Canvas interface to draw various shapes 10 import 'dart:ui' as ui; 12 ui.Picture paint(ui.Rect paintBounds) { 16 final ui.PictureRecorder recorder = ui.PictureRecorder(); 23 final ui.Canvas canvas = ui.Canvas(recorder, paintBounds); 25 final ui.Paint paint = ui.Paint(); 26 canvas.drawPaint(ui.Paint()..color = const ui.Color(0xFFFFFFFF)); 28 final ui.Size size = paintBounds.size; 29 final ui.Offset mid = size.center(ui.Offset.zero); 32 final double devicePixelRatio = ui.window.devicePixelRatio; [all …]
|
D | text.dart | 9 import 'dart:ui' as ui; 12 ui.Paragraph paragraph; 14 ui.Picture paint(ui.Rect paintBounds) { 15 final ui.PictureRecorder recorder = ui.PictureRecorder(); 16 final ui.Canvas canvas = ui.Canvas(recorder, paintBounds); 18 final double devicePixelRatio = ui.window.devicePixelRatio; 19 final ui.Size logicalSize = ui.window.physicalSize / devicePixelRatio; 22 canvas.drawRect(const ui.Rect.fromLTRB(-100.0, -100.0, 100.0, 100.0), 23 ui.Paint()..color = const ui.Color.fromARGB(255, 0, 255, 0)); 27 …canvas.drawParagraph(paragraph, ui.Offset(-paragraph.width / 2.0, (paragraph.width / 2.0) - 125.0)… [all …]
|
D | hello_world.dart | 8 import 'dart:ui' as ui; 11 final double devicePixelRatio = ui.window.devicePixelRatio; 12 final ui.Size logicalSize = ui.window.physicalSize / devicePixelRatio; 14 final ui.ParagraphBuilder paragraphBuilder = ui.ParagraphBuilder( 15 ui.ParagraphStyle(textDirection: ui.TextDirection.ltr), 18 final ui.Paragraph paragraph = paragraphBuilder.build() 19 ..layout(ui.ParagraphConstraints(width: logicalSize.width)); 21 final ui.Rect physicalBounds = ui.Offset.zero & (logicalSize * devicePixelRatio); 22 final ui.PictureRecorder recorder = ui.PictureRecorder(); 23 final ui.Canvas canvas = ui.Canvas(recorder, physicalBounds); [all …]
|
D | touch_input.dart | 9 import 'dart:ui' as ui; 11 ui.Color color; 13 ui.Picture paint(ui.Rect paintBounds) { 17 final ui.PictureRecorder recorder = ui.PictureRecorder(); 24 final ui.Canvas canvas = ui.Canvas(recorder, paintBounds); 27 final ui.Size size = paintBounds.size; 29 size.center(ui.Offset.zero), 31 ui.Paint()..color = color, 41 ui.Scene composite(ui.Picture picture, ui.Rect paintBounds) { 46 final double devicePixelRatio = ui.window.devicePixelRatio; [all …]
|
/third_party/openssl/apps/lib/ |
D | apps_ui.c | 18 static int ui_open(UI *ui) in ui_open() argument 20 int (*opener)(UI *ui) = UI_method_get_opener(ui_base_method); in ui_open() 23 return opener(ui); in ui_open() 27 static int ui_read(UI *ui, UI_STRING *uis) in ui_read() argument 29 int (*reader)(UI *ui, UI_STRING *uis) = NULL; in ui_read() 32 && UI_get0_user_data(ui)) { in ui_read() 38 ((PW_CB_DATA *)UI_get0_user_data(ui))->password; in ui_read() 41 UI_set_result(ui, uis, password); in ui_read() 56 return reader(ui, uis); in ui_read() 58 UI_set_result(ui, uis, ""); in ui_read() [all …]
|
/third_party/exfatprogs/mkfs/ |
D | mkfs.c | 43 struct exfat_blk_dev *bd, struct exfat_user_input *ui) in exfat_setup_boot_sector() argument 69 for (i = ui->cluster_size / bd->sector_size; i > 1; i /= 2) in exfat_setup_boot_sector() 103 struct exfat_user_input *ui, unsigned int *checksum, in exfat_write_boot_sector() argument 120 exfat_setup_boot_sector(ppbr, bd, ui); in exfat_write_boot_sector() 216 struct exfat_user_input *ui, bool is_backup) in exfat_create_volume_boot_record() argument 221 ret = exfat_write_boot_sector(bd, ui, &checksum, is_backup); in exfat_create_volume_boot_record() 250 static int write_fat_entries(struct exfat_user_input *ui, int fd, in write_fat_entries() argument 256 count = clu + round_up(length, ui->cluster_size) / ui->cluster_size; in write_fat_entries() 272 struct exfat_user_input *ui) in exfat_create_fat_table() argument 291 clu = write_fat_entries(ui, bd->dev_fd, EXFAT_FIRST_CLUSTER, in exfat_create_fat_table() [all …]
|
/third_party/openssl/ohos_lite/include/openssl/ |
D | ui.h | 44 void UI_free(UI *ui); 89 int UI_add_input_string(UI *ui, const char *prompt, int flags, 91 int UI_dup_input_string(UI *ui, const char *prompt, int flags, 93 int UI_add_verify_string(UI *ui, const char *prompt, int flags, 96 int UI_dup_verify_string(UI *ui, const char *prompt, int flags, 99 int UI_add_input_boolean(UI *ui, const char *prompt, const char *action_desc, 102 int UI_dup_input_boolean(UI *ui, const char *prompt, const char *action_desc, 105 int UI_add_info_string(UI *ui, const char *text); 106 int UI_dup_info_string(UI *ui, const char *text); 107 int UI_add_error_string(UI *ui, const char *text); [all …]
|
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/ |
D | dom_canvas.dart | 30 void clipRect(ui.Rect rect) { 35 void clipRRect(ui.RRect rrect) { 40 void clipPath(ui.Path path) { 45 void drawColor(ui.Color color, ui.BlendMode blendMode) { 59 void drawLine(ui.Offset p1, ui.Offset p2, ui.PaintData paint) { 64 void drawPaint(ui.PaintData paint) { 69 void drawRect(ui.Rect rect, ui.PaintData paint) { 78 final bool isStroke = paint.style == ui.PaintingStyle.stroke; 129 void drawRRect(ui.RRect rrect, ui.PaintData paint) { 134 void drawDRRect(ui.RRect outer, ui.RRect inner, ui.PaintData paint) { [all …]
|
/third_party/flutter/flutter/packages/flutter_test/test/ |
D | reference_image_test.dart | 5 import 'dart:ui' as ui; 9 Future<ui.Image> createTestImage(int width, int height, ui.Color color) { 10 final ui.Paint paint = ui.Paint() 11 ..style = ui.PaintingStyle.stroke 14 final ui.PictureRecorder recorder = ui.PictureRecorder(); 15 final ui.Canvas pictureCanvas = ui.Canvas(recorder); 17 final ui.Picture picture = recorder.endRecording(); 22 const ui.Color red = ui.Color.fromARGB(255, 255, 0, 0); 23 const ui.Color green = ui.Color.fromARGB(255, 0, 255, 0); 24 const ui.Color transparentRed = ui.Color.fromARGB(128, 255, 0, 0); [all …]
|
/third_party/flutter/engine/flutter/lib/ui/ |
D | dart_ui.gni | 6 "$flutter_root/lib/ui/compositing.dart", 7 "$flutter_root/lib/ui/geometry.dart", 8 "$flutter_root/lib/ui/hash_codes.dart", 9 "$flutter_root/lib/ui/hooks.dart", 10 "$flutter_root/lib/ui/isolate_name_server.dart", 11 "$flutter_root/lib/ui/lerp.dart", 12 "$flutter_root/lib/ui/natives.dart", 13 "$flutter_root/lib/ui/painting.dart", 14 "$flutter_root/lib/ui/plugins.dart", 15 "$flutter_root/lib/ui/pointer.dart", [all …]
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_draw.c | 265 swapped.ui[0] = color->ui[0]; in fd5_clear() 266 swapped.ui[1] = color->ui[1]; in fd5_clear() 267 swapped.ui[2] = color->ui[2]; in fd5_clear() 268 swapped.ui[3] = color->ui[3]; in fd5_clear() 271 swapped.ui[2] = color->ui[0]; in fd5_clear() 272 swapped.ui[1] = color->ui[1]; in fd5_clear() 273 swapped.ui[0] = color->ui[2]; in fd5_clear() 274 swapped.ui[3] = color->ui[3]; in fd5_clear() 277 swapped.ui[3] = color->ui[0]; in fd5_clear() 278 swapped.ui[0] = color->ui[1]; in fd5_clear() [all …]
|
/third_party/flutter/engine/flutter/lib/web_ui/test/ |
D | canvas_test.dart | 5 import 'package:ui/src/engine.dart'; 6 import 'package:ui/ui.dart' as ui; 15 ui.Paragraph paragraph; 19 {ui.Rect canvasSize, ui.VoidCallback whenDone}) { 20 canvasSize ??= ui.Rect.fromLTWH(0, 0, 100, 100); 34 RecordingCanvas(ui.Rect.fromLTWH(0, 0, 100, 100)); 35 final ui.ParagraphBuilder builder = 36 ui.ParagraphBuilder(ui.ParagraphStyle()); 39 paragraph.layout(ui.ParagraphConstraints(width: 100)); 40 recordingCanvas.drawParagraph(paragraph, const ui.Offset(10, 10)); [all …]
|
/third_party/flutter/flutter/packages/flutter/lib/src/painting/ |
D | shader_warm_up.dart | 7 import 'dart:ui' as ui; 64 ui.Size get size => const ui.Size(100.0, 100.0); 77 Future<void> warmUpOnCanvas(ui.Canvas canvas); 82 final ui.PictureRecorder recorder = ui.PictureRecorder(); 83 final ui.Canvas canvas = ui.Canvas(recorder); 87 final ui.Picture picture = recorder.endRecording(); 104 this.canvasSize = const ui.Size(100.0, 100.0)}); 112 final ui.Size canvasSize; 115 ui.Size get size => canvasSize; 120 Future<void> warmUpOnCanvas(ui.Canvas canvas) async { [all …]
|