/third_party/libinput/src/ |
H A D | filter-touchpad-x230.c | 53 /* for the Lenovo x230 custom accel. do not touch */ 71 double accel; /* unitless factor */ member 80 * @param accel The acceleration filter 88 acceleration_profile(struct pointer_accelerator_x230 *accel, in acceleration_profile() argument 91 return accel->profile(&accel->base, data, velocity, time); in acceleration_profile() 98 * @param accel The acceleration filter 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, dat in calculate_acceleration() 134 struct pointer_accelerator_x230 *accel = accelerator_filter_x230() local 173 struct pointer_accelerator_x230 *accel = accelerator_filter_constant_x230() local 191 struct pointer_accelerator_x230 *accel = accelerator_restart_x230() local 212 struct pointer_accelerator_x230 *accel = accelerator_destroy_x230() local [all...] |
H A D | filter-mouse.c | 57 double accel; /* unitless factor */ member 66 * @param accel The acceleration filter 74 calculate_acceleration_factor(struct pointer_accelerator *accel, in calculate_acceleration_factor() argument 88 trackers_feed(&accel->trackers, &unaccel, time); in calculate_acceleration_factor() 89 velocity = trackers_velocity(&accel->trackers, time); in calculate_acceleration_factor() 91 accel_factor = calculate_acceleration_simpsons(&accel->base, in calculate_acceleration_factor() 92 accel->profile, in calculate_acceleration_factor() 95 accel->last_velocity, /* normalized coords */ in calculate_acceleration_factor() 97 accel->last_velocity = velocity; in calculate_acceleration_factor() 107 struct pointer_accelerator *accel in accelerator_filter_linear() local 141 struct pointer_accelerator *accel = accelerator_filter_noop() local 152 struct pointer_accelerator *accel = accelerator_restart() local 161 struct pointer_accelerator *accel = accelerator_destroy() local [all...] |
H A D | filter-low-dpi.c | 57 double accel; /* unitless factor */ member 66 * The threshold/max accel depends on the DPI, the smaller the DPI the 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 in calculate_acceleration_factor() 133 struct pointer_accelerator_low_dpi *accel = accelerator_filter_low_dpi() local 165 struct pointer_accelerator_low_dpi *accel = accelerator_restart() local 174 struct pointer_accelerator_low_dpi *accel = accelerator_destroy() local [all...] |
H A D | filter-touchpad.c | 54 double accel; /* unitless factor */ member 64 * @param accel The acceleration filter 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() 98 struct touchpad_accelerator *accel in accelerator_filter_touchpad() local 148 struct touchpad_accelerator *accel = touchpad_constant_filter() local 173 struct touchpad_accelerator *accel = touchpad_accelerator_restart() local 182 struct touchpad_accelerator *accel = touchpad_accelerator_destroy() local [all...] |
H A D | filter-touchpad-flat.c | 51 struct touchpad_accelerator_flat *accel = in accelerator_filter_touchpad_flat() local 58 factor = accel->factor; in accelerator_filter_touchpad_flat() 59 normalized = normalize_for_dpi(unaccelerated, accel->dpi); in accelerator_filter_touchpad_flat() 103 struct touchpad_accelerator_flat *accel = in accelerator_destroy_touchpad_flat() local 106 free(accel); in accelerator_destroy_touchpad_flat()
|
H A 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()
|
H A D | filter-flat.c | 105 struct pointer_accelerator_flat *accel = in accelerator_destroy_flat() local 108 free(accel); in accelerator_destroy_flat()
|
H A D | filter-trackpoint.c | 157 struct trackpoint_accelerator *accel = in trackpoint_accelerator_restart() local 160 trackers_reset(&accel->trackers, time); in trackpoint_accelerator_restart()
|
H A D | evdev-mt-touchpad.h | 348 } accel; member 563 normalized.x = delta.x * tp->accel.x_scale_coeff; in tp_normalize_delta() 564 normalized.y = delta.y * tp->accel.y_scale_coeff; in tp_normalize_delta() 592 raw.y = delta.y * tp->accel.xy_scale_coeff; in tp_scale_to_xaxis()
|
H A D | evdev-fallback.c | 174 struct normalized_coords accel; in fallback_flush_relative_motion() local 190 accel = filter_dispatch(device->pointer.filter, in fallback_flush_relative_motion() 196 "accel filter missing\n"); in fallback_flush_relative_motion() 197 accel.x = accel.y = 0; in fallback_flush_relative_motion() 200 if (normalized_is_zero(accel)) in fallback_flush_relative_motion() 203 pointer_notify_motion(base, time, &accel, &raw); in fallback_flush_relative_motion()
|
H A D | libinput.c | 4093 return device->config.accel ? in libinput_device_config_accel_is_available() 4094 device->config.accel->available(device) : 0; in libinput_device_config_accel_is_available() 4108 return device->config.accel->set_speed(device, speed); in libinput_device_config_accel_set_speed() 4116 return device->config.accel->get_speed(device); in libinput_device_config_accel_get_speed() 4125 return device->config.accel->get_default_speed(device); in libinput_device_config_accel_get_default_speed() 4134 return device->config.accel->get_profiles(device); in libinput_device_config_accel_get_profiles() 4143 return device->config.accel->get_profile(device); in libinput_device_config_accel_get_profile() 4152 return device->config.accel->get_default_profile(device); in libinput_device_config_accel_get_default_profile() 4172 return device->config.accel->set_profile(device, profile); in libinput_device_config_accel_set_profile() 4242 return device->config.accel in libinput_device_config_accel_apply() [all...] |
H A D | evdev-tablet.c | 492 struct device_float_coords accel; in tablet_tool_process_delta() local 513 accel.x = 1.0 * delta.x; in tablet_tool_process_delta() 514 accel.y = 1.0 * delta.y; in tablet_tool_process_delta() 516 if (device_float_is_zero(accel)) in tablet_tool_process_delta() 520 &accel, in tablet_tool_process_delta() 2450 /* we override the profile hooks for accel configuration with hooks in tablet_init_accel()
|
/third_party/mesa3d/src/intel/vulkan/ |
H A 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() [all...] |
H A D | anv_descriptor_set.c | 1691 struct anv_acceleration_structure *accel, in anv_descriptor_set_write_acceleration_structure() 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() 1689 anv_descriptor_set_write_acceleration_structure(struct anv_device *device, struct anv_descriptor_set *set, struct anv_acceleration_structure *accel, uint32_t binding, uint32_t element) anv_descriptor_set_write_acceleration_structure() argument
|
/third_party/skia/third_party/externals/freetype/src/pcf/ |
H A 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 in pcf_get_accel() [all...] |
H A D | pcfdrivr.c | 415 PCF_Accel accel = &( (PCF_Face)size->face )->accel; in FT_CALLBACK_DEF() local 420 size->metrics.ascender = accel->fontAscent * 64; in FT_CALLBACK_DEF() 421 size->metrics.descender = -accel->fontDescent * 64; in FT_CALLBACK_DEF() 422 size->metrics.max_advance = accel->maxbounds.characterWidth * 64; in FT_CALLBACK_DEF() 449 if ( height == ( face->accel.fontAscent + in FT_CALLBACK_DEF() 450 face->accel.fontDescent ) ) in FT_CALLBACK_DEF() 539 ( face->accel.fontAscent + in FT_CALLBACK_DEF() 540 face->accel.fontDescent ) * 64 ); in FT_CALLBACK_DEF()
|
H A D | pcf.h | 155 PCF_AccelRec accel; member
|
/third_party/libinput/tools/ |
H A 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() 160 printf("# set ylabel \"raw accel facto in print_accel_func() [all...] |
/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A 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/ |
H A D | hb-ot-layout.cc | 1826 const OT::hb_ot_layout_lookup_accelerator_t &accel) in apply_forward() 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() 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() 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() 1825 apply_forward(OT::hb_ot_apply_context_t *c, const OT::hb_ot_layout_lookup_accelerator_t &accel) apply_forward() argument 1849 apply_backward(OT::hb_ot_apply_context_t *c, const OT::hb_ot_layout_lookup_accelerator_t &accel) apply_backward() argument 1871 apply_string(OT::hb_ot_apply_context_t *c, const typename Proxy::Lookup &lookup, const OT::hb_ot_layout_lookup_accelerator_t &accel) apply_string() argument 1955 hb_ot_layout_substitute_lookup(OT::hb_ot_apply_context_t *c, const OT::SubstLookup &lookup, const OT::hb_ot_layout_lookup_accelerator_t &accel) hb_ot_layout_substitute_lookup() argument [all...] |
H A D | hb-aat-layout-kerx-table.hh | 113 accelerator_t accel (*this, c); in apply() 114 hb_kern_machine_t<accelerator_t> machine (accel, header.coverage & header.CrossStream); in apply() 406 accelerator_t accel (*this, c); in apply() 407 hb_kern_machine_t<accelerator_t> machine (accel, header.coverage & header.CrossStream); in apply() 666 accelerator_t accel (*this, c); in apply() 667 hb_kern_machine_t<accelerator_t> machine (accel, header.coverage & header.CrossStream); in apply()
|
H A D | hb-ot-cmap-table.hh | 457 accelerator_t accel (this); in get_glyph() 458 return accel.get_glyph_func (&accel, codepoint, glyph); in get_glyph() 462 accelerator_t accel (this); in collect_unicodes() 463 accel.collect_unicodes (out); in collect_unicodes() 469 accelerator_t accel (this); in collect_mapping() 470 accel.collect_mapping (unicodes, mapping); in collect_mapping()
|
/third_party/mesa3d/src/panfrost/midgard/ |
H A 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/mesa3d/src/amd/vulkan/ |
H A 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, accelerationStructur in radv_DestroyAccelerationStructureKHR() [all...] |
/third_party/vk-gl-cts/framework/platform/win32/ |
H A D | tcuWGL.cpp | 321 static PixelFormatInfo::Acceleration translateAcceleration (int accel) in translateAcceleration() argument 323 switch (accel) in translateAcceleration()
|