/third_party/libinput/src/ |
D | filter-touchpad-x230.c | 71 double accel; /* unitless factor */ member 88 acceleration_profile(struct pointer_accelerator_x230 *accel, in acceleration_profile() argument 91 return accel->profile(&accel->base, data, velocity, time); in acceleration_profile() 107 calculate_acceleration(struct pointer_accelerator_x230 *accel, in calculate_acceleration() argument 117 factor = acceleration_profile(accel, data, velocity, time); in calculate_acceleration() 118 factor += acceleration_profile(accel, data, last_velocity, time); in calculate_acceleration() 120 acceleration_profile(accel, data, in calculate_acceleration() 134 struct pointer_accelerator_x230 *accel = in accelerator_filter_x230() local 149 unaccelerated = normalize_for_dpi(raw, accel->dpi); in accelerator_filter_x230() 153 trackers_feed(&accel->trackers, &delta_normalized, time); in accelerator_filter_x230() [all …]
|
D | filter-mouse.c | 57 double accel; /* unitless factor */ member 74 calculate_acceleration_factor(struct pointer_accelerator *accel, in calculate_acceleration_factor() argument 82 trackers_feed(&accel->trackers, unaccelerated, time); in calculate_acceleration_factor() 83 velocity = trackers_velocity(&accel->trackers, time); in calculate_acceleration_factor() 84 accel_factor = calculate_acceleration_simpsons(&accel->base, in calculate_acceleration_factor() 85 accel->profile, in calculate_acceleration_factor() 88 accel->last_velocity, in calculate_acceleration_factor() 90 accel->last_velocity = velocity; in calculate_acceleration_factor() 112 struct pointer_accelerator *accel = in accelerator_filter_generic() local 117 accel_value = calculate_acceleration_factor(accel, in accelerator_filter_generic() [all …]
|
D | filter-low-dpi.c | 57 double accel; /* unitless factor */ member 82 double max_accel = accel_filter->accel; /* unitless factor */ in pointer_accel_profile_linear_low_dpi() 107 calculate_acceleration_factor(struct pointer_accelerator_low_dpi *accel, in calculate_acceleration_factor() argument 115 trackers_feed(&accel->trackers, unaccelerated, time); in calculate_acceleration_factor() 116 velocity = trackers_velocity(&accel->trackers, time); in calculate_acceleration_factor() 117 accel_factor = calculate_acceleration_simpsons(&accel->base, in calculate_acceleration_factor() 118 accel->profile, in calculate_acceleration_factor() 121 accel->last_velocity, in calculate_acceleration_factor() 123 accel->last_velocity = velocity; in calculate_acceleration_factor() 133 struct pointer_accelerator_low_dpi *accel = in accelerator_filter_generic() local [all …]
|
D | filter-touchpad.c | 54 double accel; /* unitless factor */ member 72 calculate_acceleration_factor(struct touchpad_accelerator *accel, in calculate_acceleration_factor() argument 80 trackers_feed(&accel->trackers, unaccelerated, time); in calculate_acceleration_factor() 81 velocity = trackers_velocity(&accel->trackers, time); in calculate_acceleration_factor() 82 accel_factor = calculate_acceleration_simpsons(&accel->base, in calculate_acceleration_factor() 83 accel->profile, in calculate_acceleration_factor() 86 accel->last_velocity, in calculate_acceleration_factor() 88 accel->last_velocity = velocity; in calculate_acceleration_factor() 110 struct touchpad_accelerator *accel = in accelerator_filter_generic() local 115 accel_value = calculate_acceleration_factor(accel, in accelerator_filter_generic() [all …]
|
D | filter-flat.c | 68 struct pointer_accelerator_flat *accel = in accelerator_filter_noop_flat() local 71 return normalize_for_dpi(unaccelerated, accel->dpi); in accelerator_filter_noop_flat() 97 struct pointer_accelerator_flat *accel = in accelerator_destroy_flat() local 100 free(accel); in accelerator_destroy_flat()
|
D | filter-touchpad-flat.c | 71 struct touchpad_accelerator_flat *accel = in accelerator_filter_noop_touchpad_flat() local 75 normalized = normalize_for_dpi(unaccelerated, accel->dpi); in accelerator_filter_noop_touchpad_flat() 100 struct touchpad_accelerator_flat *accel = in accelerator_destroy_touchpad_flat() local 103 free(accel); in accelerator_destroy_touchpad_flat()
|
D | filter-tablet.c | 104 struct normalized_coords accel; in tablet_accelerator_filter_flat() local 111 accel = tablet_accelerator_filter_flat_mouse(accel_filter, in tablet_accelerator_filter_flat() 115 accel = tablet_accelerator_filter_flat_pen(accel_filter, in tablet_accelerator_filter_flat() 120 return accel; in tablet_accelerator_filter_flat()
|
D | filter-trackpoint.c | 158 struct trackpoint_accelerator *accel = in trackpoint_accelerator_restart() local 161 trackers_reset(&accel->trackers, time); in trackpoint_accelerator_restart()
|
D | evdev-mt-touchpad.h | 348 } accel; member 560 normalized.x = delta.x * tp->accel.x_scale_coeff; in tp_normalize_delta() 561 normalized.y = delta.y * tp->accel.y_scale_coeff; in tp_normalize_delta() 589 raw.y = delta.y * tp->accel.xy_scale_coeff; in tp_scale_to_xaxis()
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_acceleration_structure.c | 77 struct anv_acceleration_structure *accel; in anv_CreateAccelerationStructureKHR() local 79 accel = vk_zalloc2(&device->vk.alloc, pAllocator, sizeof(*accel), 8, in anv_CreateAccelerationStructureKHR() 81 if (accel == NULL) in anv_CreateAccelerationStructureKHR() 84 vk_object_base_init(&device->vk, &accel->base, in anv_CreateAccelerationStructureKHR() 87 accel->size = pCreateInfo->size; in anv_CreateAccelerationStructureKHR() 88 accel->address = anv_address_add(buffer->address, pCreateInfo->offset); in anv_CreateAccelerationStructureKHR() 90 *pAccelerationStructure = anv_acceleration_structure_to_handle(accel); in anv_CreateAccelerationStructureKHR() 102 ANV_FROM_HANDLE(anv_acceleration_structure, accel, accelerationStructure); in anv_DestroyAccelerationStructureKHR() 104 if (!accel) in anv_DestroyAccelerationStructureKHR() 107 vk_object_base_finish(&accel->base); in anv_DestroyAccelerationStructureKHR() [all …]
|
D | anv_descriptor_set.c | 1691 struct anv_acceleration_structure *accel, in anv_descriptor_set_write_acceleration_structure() argument 1703 .accel_struct = accel, in anv_descriptor_set_write_acceleration_structure() 1710 if (accel != NULL) { in anv_descriptor_set_write_acceleration_structure() 1711 desc_data.address = anv_address_physical(accel->address); in anv_descriptor_set_write_acceleration_structure() 1712 desc_data.range = accel->size; in anv_descriptor_set_write_acceleration_structure() 1800 ANV_FROM_HANDLE(anv_acceleration_structure, accel, in anv_UpdateDescriptorSets() 1802 anv_descriptor_set_write_acceleration_structure(device, set, accel, in anv_UpdateDescriptorSets() 1973 ANV_FROM_HANDLE(anv_acceleration_structure, accel, *accel_obj); in anv_descriptor_set_write_template() 1976 accel, in anv_descriptor_set_write_template()
|
/third_party/cef/libcef/browser/chrome/ |
D | chrome_context_menu_handler.cc | 63 bool GetAccelerator(int command_id, ui::Accelerator* accel) override { in GetAccelerator() argument 65 if (info && info->accel) { in GetAccelerator() 66 *accel = *info->accel; in GetAccelerator() 117 absl::optional<ui::Accelerator> accel) override { in SetAccelerator() argument 119 if (!accel && !GetItemInfo(command_id)) in SetAccelerator() 123 info->accel = accel; in SetAccelerator() 124 if (!accel) in SetAccelerator() 133 absl::optional<ui::Accelerator> accel; member 154 if (!info->checked && !info->accel) { in MaybeDeleteItemInfo()
|
/third_party/skia/third_party/externals/freetype/src/pcf/ |
D | pcfread.c | 1195 PCF_Accel accel = &face->accel; in pcf_get_accel() local 1225 if ( FT_STREAM_READ_FIELDS( pcf_accel_msb_header, accel ) ) in pcf_get_accel() 1230 if ( FT_STREAM_READ_FIELDS( pcf_accel_header, accel ) ) in pcf_get_accel() 1236 accel->noOverlap ? "yes" : "no", in pcf_get_accel() 1237 accel->constantMetrics ? "yes" : "no", in pcf_get_accel() 1238 accel->terminalFont ? "yes" : "no", in pcf_get_accel() 1239 accel->constantWidth ? "yes" : "no" )); in pcf_get_accel() 1241 accel->inkInside ? "yes" : "no", in pcf_get_accel() 1242 accel->inkMetrics ? "yes" : "no", in pcf_get_accel() 1243 accel->drawDirection ? "RTL" : "LTR" )); in pcf_get_accel() [all …]
|
D | pcfdrivr.c | 415 PCF_Accel accel = &( (PCF_Face)size->face )->accel; in PCF_Size_Select() local 420 size->metrics.ascender = accel->fontAscent * 64; in PCF_Size_Select() 421 size->metrics.descender = -accel->fontDescent * 64; in PCF_Size_Select() 422 size->metrics.max_advance = accel->maxbounds.characterWidth * 64; in PCF_Size_Select() 449 if ( height == ( face->accel.fontAscent + in PCF_Size_Request() 450 face->accel.fontDescent ) ) in PCF_Size_Request() 539 ( face->accel.fontAscent + in PCF_Glyph_Load() 540 face->accel.fontDescent ) * 64 ); in PCF_Glyph_Load()
|
/third_party/libinput/tools/ |
D | ptraccel-debug.c | 42 struct normalized_coords accel; in print_ptraccel_deltas() local 59 accel = filter_dispatch(filter, &motion, NULL, time); in print_ptraccel_deltas() 61 printf("%.2f %.3f\n", i, accel.x); in print_ptraccel_deltas() 72 struct normalized_coords accel; in print_ptraccel_movement() local 103 accel = filter_dispatch(filter, &motion, NULL, time); in print_ptraccel_movement() 105 printf("%d %.3f %.3f\n", i, accel.x, dx); in print_ptraccel_movement() 118 struct normalized_coords accel; in print_ptraccel_sequence() local 138 accel = filter_dispatch(filter, &motion, NULL, time); in print_ptraccel_sequence() 140 printf("%d %.3f %.3f\n", i, accel.x, *dx); in print_ptraccel_sequence()
|
D | make-ptraccel-graphs.sh | 14 $tool --mode=accel --dpi=1000 --filter=linear --speed=$speed > $outfile-$speed.gnuplot 33 $tool --mode=accel --dpi=$dpi --filter=low-dpi > $outfile-$dpi.gnuplot 55 $tool --mode=accel --dpi=1000 --filter=touchpad --speed=$speed> $outfile-$speed.gnuplot 73 $tool --mode=accel --speed=$speed --filter=trackpoint > $outfile-$speed.gnuplot
|
/third_party/cef/libcef/browser/ |
D | simple_menu_model_impl.cc | 449 ui::Accelerator accel; in GetAcceleratorAt() local 450 if (model_->GetAcceleratorAt(index, &accel)) { in GetAcceleratorAt() 451 key_code = accel.key_code(); in GetAcceleratorAt() 452 shift_pressed = accel.modifiers() & ui::EF_SHIFT_DOWN; in GetAcceleratorAt() 453 ctrl_pressed = accel.modifiers() & ui::EF_CONTROL_DOWN; in GetAcceleratorAt() 454 alt_pressed = accel.modifiers() & ui::EF_ALT_DOWN; in GetAcceleratorAt()
|
/third_party/gstreamer/gstplugins_good/gst/goom/ |
D | filters.c | 521 int accel = goom_irand (goomInfo->gRandom, 8) - 4; in generateTheWaterFXHorizontalDirectionBuffer() local 537 spdc = spdc - goom_irand (goomInfo->gRandom, 3) + accel / 10; in generateTheWaterFXHorizontalDirectionBuffer() 539 spdc = spdc + goom_irand (goomInfo->gRandom, 3) + accel / 10; in generateTheWaterFXHorizontalDirectionBuffer() 550 accel += in generateTheWaterFXHorizontalDirectionBuffer() 552 if (accel > 20) in generateTheWaterFXHorizontalDirectionBuffer() 553 accel -= 2; in generateTheWaterFXHorizontalDirectionBuffer() 554 if (accel < -20) in generateTheWaterFXHorizontalDirectionBuffer() 555 accel += 2; in generateTheWaterFXHorizontalDirectionBuffer()
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_screen.c | 509 int accel = pscreen->get_param(pscreen, PIPE_CAP_ACCELERATED); in u_pipe_screen_get_param_defaults() local 511 return !!accel && debug_get_bool_option("MESA_HW_ACCEL_SELECT", accel > 0) && in u_pipe_screen_get_param_defaults()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-ot-layout.cc | 1826 const OT::hb_ot_layout_lookup_accelerator_t &accel) in apply_forward() argument 1833 if (accel.may_have (buffer->cur().codepoint) && in apply_forward() 1837 applied = accel.apply (c); in apply_forward() 1850 const OT::hb_ot_layout_lookup_accelerator_t &accel) in apply_backward() argument 1856 if (accel.may_have (buffer->cur().codepoint) && in apply_backward() 1859 ret |= accel.apply (c); in apply_backward() 1873 const OT::hb_ot_layout_lookup_accelerator_t &accel) in apply_string() argument 1889 apply_forward (c, accel); in apply_string() 1899 apply_backward (c, accel); in apply_string() 1957 const OT::hb_ot_layout_lookup_accelerator_t &accel) in hb_ot_layout_substitute_lookup() argument [all …]
|
D | hb-aat-layout-kerx-table.hh | 113 accelerator_t accel (*this, c); in apply() local 114 hb_kern_machine_t<accelerator_t> machine (accel, header.coverage & header.CrossStream); in apply() 406 accelerator_t accel (*this, c); in apply() local 407 hb_kern_machine_t<accelerator_t> machine (accel, header.coverage & header.CrossStream); in apply() 666 accelerator_t accel (*this, c); in apply() local 667 hb_kern_machine_t<accelerator_t> machine (accel, header.coverage & header.CrossStream); in apply()
|
/third_party/mesa3d/src/panfrost/midgard/ |
D | midgard_opt_perspective.c | 116 midgard_instruction accel = { in midgard_opt_combine_projection() local 132 mir_insert_instruction_before(ctx, ins, accel); in midgard_opt_combine_projection()
|
/third_party/cef/patch/patches/ |
D | chrome_browser_context_menus.patch | 105 ui::Accelerator* accel) const { 106 + if (RenderViewContextMenu::GetAcceleratorForCommandId(command_id, accel)) 188 + ui::Accelerator* accel) { 210 + virtual bool GetAccelerator(int command_id, ui::Accelerator* accel);
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_acceleration_structure.c | 149 struct radv_acceleration_structure *accel; in radv_CreateAccelerationStructureKHR() local 151 accel = vk_alloc2(&device->vk.alloc, pAllocator, sizeof(*accel), 8, in radv_CreateAccelerationStructureKHR() 153 if (accel == NULL) in radv_CreateAccelerationStructureKHR() 156 vk_object_base_init(&device->vk, &accel->base, VK_OBJECT_TYPE_ACCELERATION_STRUCTURE_KHR); in radv_CreateAccelerationStructureKHR() 158 accel->mem_offset = buffer->offset + pCreateInfo->offset; in radv_CreateAccelerationStructureKHR() 159 accel->size = pCreateInfo->size; in radv_CreateAccelerationStructureKHR() 160 accel->bo = buffer->bo; in radv_CreateAccelerationStructureKHR() 162 *pAccelerationStructure = radv_acceleration_structure_to_handle(accel); in radv_CreateAccelerationStructureKHR() 172 RADV_FROM_HANDLE(radv_acceleration_structure, accel, accelerationStructure); in radv_DestroyAccelerationStructureKHR() 174 if (!accel) in radv_DestroyAccelerationStructureKHR() [all …]
|
/third_party/cef/libcef/browser/native/ |
D | native_menu_win.cc | 275 std::wstring accel; in OnDrawItem() local 278 accel = label.substr(tab_pos); in OnDrawItem() 283 if (!accel.empty()) { in OnDrawItem() 284 DrawTextEx(dc, const_cast<wchar_t*>(accel.data()), in OnDrawItem() 285 static_cast<int>(accel.size()), &rect, format | DT_RIGHT, in OnDrawItem()
|