/third_party/skia/third_party/externals/freetype/src/autofit/ |
H A D | afhints.c | 133 /* Get new segment for given axis. */ 136 af_axis_hints_new_segment( AF_AxisHints axis, in FT_LOCAL_DEF() 144 if ( axis->num_segments < AF_SEGMENTS_EMBEDDED ) in FT_LOCAL_DEF() 146 if ( !axis->segments ) in FT_LOCAL_DEF() 148 axis->segments = axis->embedded.segments; in FT_LOCAL_DEF() 149 axis->max_segments = AF_SEGMENTS_EMBEDDED; in FT_LOCAL_DEF() 152 else if ( axis->num_segments >= axis->max_segments ) in FT_LOCAL_DEF() 154 FT_Int old_max = axis in FT_LOCAL_DEF() 344 AF_AxisHints axis = &hints->axis[dimension]; af_get_segment_index() local 389 AF_AxisHints axis = &hints->axis[dimension]; af_get_edge_index() local 403 AF_AxisHints axis = &hints->axis[dimension]; af_get_strong_edge_index() local 541 AF_AxisHints axis = &hints->axis[dimension]; af_glyph_hints_dump_segments() local 603 AF_AxisHints axis; af_glyph_hints_get_num_segments() local 632 AF_AxisHints axis; af_glyph_hints_get_segment_offset() local 680 AF_AxisHints axis = &hints->axis[dimension]; af_glyph_hints_dump_edges() local 817 AF_AxisHints axis = &hints->axis[dim]; af_glyph_hints_done() local 1317 AF_AxisHints axis = & hints->axis[dim]; af_glyph_hints_align_edge_points() local 1394 AF_AxisHints axis = &hints->axis[dim]; af_glyph_hints_align_strong_points() local [all...] |
H A D | aflatin.c | 69 metrics->axis[AF_DIMENSION_HORZ].width_count = 0; in af_latin_metrics_init_widths() 70 metrics->axis[AF_DIMENSION_VERT].width_count = 0; in af_latin_metrics_init_widths() 180 AF_LatinAxis axis = &metrics->axis[dim]; in af_latin_metrics_init_widths() local 181 AF_AxisHints axhints = &hints->axis[dim]; in af_latin_metrics_init_widths() 220 axis->widths[num_widths++].org = dist; in af_latin_metrics_init_widths() 226 af_sort_and_quantize_widths( &num_widths, axis->widths, in af_latin_metrics_init_widths() 228 axis->width_count = num_widths; in af_latin_metrics_init_widths() 234 AF_LatinAxis axis = &metrics->axis[di in af_latin_metrics_init_widths() local 325 AF_LatinAxis axis = &metrics->axis[AF_DIMENSION_VERT]; af_latin_metrics_init_blues() local 1175 AF_LatinAxis axis; af_latin_metrics_scale_dim() local 1536 AF_AxisHints axis = &hints->axis[dim]; FT_LOCAL_DEF() local 1990 AF_AxisHints axis = &hints->axis[dim]; af_latin_hints_link_segments() local 2126 AF_AxisHints axis = &hints->axis[dim]; FT_LOCAL_DEF() local 2501 AF_AxisHints axis = &hints->axis[AF_DIMENSION_VERT]; af_latin_hints_compute_blue_edges() local 2747 AF_LatinAxis axis = &metrics->axis[dim]; af_latin_compute_stem_width() local 2994 AF_AxisHints axis = &hints->axis[dim]; af_latin_hint_edges() local 3550 AF_LatinAxis axis; af_latin_hints_apply() local [all...] |
H A D | afcjk.c | 78 metrics->axis[AF_DIMENSION_HORZ].width_count = 0; in af_cjk_metrics_init_widths() 79 metrics->axis[AF_DIMENSION_VERT].width_count = 0; in af_cjk_metrics_init_widths() 183 AF_CJKAxis axis = &metrics->axis[dim]; in af_cjk_metrics_init_widths() local 184 AF_AxisHints axhints = &hints->axis[dim]; in af_cjk_metrics_init_widths() 223 axis->widths[num_widths++].org = dist; in af_cjk_metrics_init_widths() 229 af_sort_and_quantize_widths( &num_widths, axis->widths, in af_cjk_metrics_init_widths() 231 axis->width_count = num_widths; in af_cjk_metrics_init_widths() 237 AF_CJKAxis axis = &metrics->axis[di in af_cjk_metrics_init_widths() local 290 AF_CJKAxis axis; af_cjk_metrics_init_blues() local 668 AF_CJKAxis axis; af_cjk_metrics_scale_dim() local 800 AF_AxisHints axis = &hints->axis[dim]; af_cjk_hints_compute_segments() local 844 AF_AxisHints axis = &hints->axis[dim]; af_cjk_hints_link_segments() local 1002 AF_AxisHints axis = &hints->axis[dim]; af_cjk_hints_compute_edges() local 1292 AF_AxisHints axis = &hints->axis[dim]; af_cjk_hints_compute_blue_edges() local 1501 AF_CJKAxis axis = &metrics->axis[dim]; af_cjk_compute_stem_width() local 1799 AF_AxisHints axis = &hints->axis[dim]; af_cjk_hint_edges() local 2178 AF_AxisHints axis = & hints->axis[dim]; af_cjk_align_edge_points() local [all...] |
/third_party/libinput/src/ |
H A D | evdev-tablet.h | 128 enum libinput_tablet_tool_axis axis; in evcode_to_axis() local 132 axis = LIBINPUT_TABLET_TOOL_AXIS_X; in evcode_to_axis() 135 axis = LIBINPUT_TABLET_TOOL_AXIS_Y; in evcode_to_axis() 138 axis = LIBINPUT_TABLET_TOOL_AXIS_ROTATION_Z; in evcode_to_axis() 141 axis = LIBINPUT_TABLET_TOOL_AXIS_DISTANCE; in evcode_to_axis() 144 axis = LIBINPUT_TABLET_TOOL_AXIS_PRESSURE; in evcode_to_axis() 147 axis = LIBINPUT_TABLET_TOOL_AXIS_TILT_X; in evcode_to_axis() 150 axis = LIBINPUT_TABLET_TOOL_AXIS_TILT_Y; in evcode_to_axis() 153 axis = LIBINPUT_TABLET_TOOL_AXIS_SLIDER; in evcode_to_axis() 156 axis in evcode_to_axis() 166 enum libinput_tablet_tool_axis axis; rel_evcode_to_axis() local 181 axis_to_evcode(const enum libinput_tablet_tool_axis axis) axis_to_evcode() argument [all...] |
H A D | evdev-tablet.c | 119 * Return a previous axis state, where index of 0 means "most recent", 1 is 142 enum libinput_tablet_tool_axis axis) in tablet_device_has_axis() 148 if (axis == LIBINPUT_TABLET_TOOL_AXIS_ROTATION_Z) { in tablet_device_has_axis() 158 code = axis_to_evcode(axis); in tablet_device_has_axis() 162 } else if (axis == LIBINPUT_TABLET_TOOL_AXIS_REL_WHEEL) { in tablet_device_has_axis() 167 code = axis_to_evcode(axis); in tablet_device_has_axis() 180 enum libinput_tablet_tool_axis axis) in tablet_filter_axis_fuzz() 185 previous = tablet->prev_value[axis]; in tablet_filter_axis_fuzz() 212 enum libinput_tablet_tool_axis axis; in tablet_process_absolute() local 223 axis in tablet_process_absolute() 141 tablet_device_has_axis(struct tablet_dispatch *tablet, enum libinput_tablet_tool_axis axis) tablet_device_has_axis() argument 177 tablet_filter_axis_fuzz(const struct tablet_dispatch *tablet, const struct evdev_device *device, const struct input_event *e, enum libinput_tablet_tool_axis axis) tablet_filter_axis_fuzz() argument 868 enum libinput_tablet_tool_axis axis; tablet_process_relative() local 916 copy_axis_cap(const struct tablet_dispatch *tablet, struct libinput_tablet_tool *tool, enum libinput_tablet_tool_axis axis) copy_axis_cap() argument 2571 enum libinput_tablet_tool_axis axis; tablet_init() local [all...] |
/third_party/skia/tests/ |
H A D | TypefaceMacTest.cpp | 54 // Setting the initial opsz <= min, the reported wght axis is strange, but draws the same? in DEF_TEST() 85 SkMaybeDebugf("(%s: %f) ", tagToString(originalCoordinate.axis).c_str(), in DEF_TEST() 107 if (originalCoordinate.axis == kOpszTag && omitOpsz) { in DEF_TEST() 108 SkMaybeDebugf("#%s: %f# ", tagToString(originalCoordinate.axis).c_str(), in DEF_TEST() 111 if (originalCoordinate.axis == axisToBump) { in DEF_TEST() 117 if (originalCoordinate.axis == kWghtTag) { in DEF_TEST() 120 SkMaybeDebugf("(%s: %f) ", tagToString(originalCoordinate.axis).c_str(), in DEF_TEST() 122 requestPosition.push_back({originalCoordinate.axis, requestValue}); in DEF_TEST() 127 if (originalAxis.tag == originalCoordinate.axis) { in DEF_TEST() 132 expectedPosition.push_back({originalCoordinate.axis, expectedValu in DEF_TEST() [all...] |
/third_party/skia/src/ports/skia_ohos/ |
H A D | FontInfo_ohos.h | 34 axisSet.axis = font.axisSet.axis; in FontInfo() 48 axisSet.axis = std::move(font.axisSet.axis); in FontInfo() 87 axisSet.axis = font.axisSet.axis; in operator =() 108 axisSet.axis = std::move(font.axisSet.axis); in operator =() 116 /*! To set axis values 117 * \param count the count of axis 158 std::vector<SkFixed> axis; // the axis values global() member [all...] |
H A D | SkTypeface_ohos.cpp | 70 fontInfo->axisSet.axis.data(), fontInfo->axisSet.axis.size()); in onMakeFontData() 87 descriptor->setVariationCoordinates(fontInfo->axisSet.axis.size()); in onGetFontDescriptor() 88 for (int i = 0; i < fontInfo->axisSet.axis.size(); i++) { in onGetFontDescriptor() 89 descriptor->getVariation()[i].axis = fontInfo->axisSet.range[i].fTag; in onGetFontDescriptor() 90 // The axis actual value need to dealt by SkFixedToFloat because the real-time value was in onGetFontDescriptor() 92 descriptor->getVariation()[i].value = SkFixedToFloat(fontInfo->axisSet.axis[i]); in onGetFontDescriptor() 146 SkFixed axis[axisDefs.count()]; in onMakeClone() local 148 axis, info.familyName); in onMakeClone() 149 info.setAxisSet(axisCount, axis, axisDef in onMakeClone() [all...] |
/third_party/skia/src/utils/ |
H A D | SkCamera.cpp | 73 SkV3 axis, zenith, cross; in doUpdate() local 75 // construct a orthonormal basis of cross (x), zenith (y), and axis (z) in doUpdate() 76 axis = fAxis.normalize(); in doUpdate() 78 zenith = fZenith - (axis * fZenith) * axis; in doUpdate() 81 cross = axis.cross(zenith); in doUpdate() 87 // Looking along the view axis we have: in doUpdate() 97 // So this does a z-shear along the view axis based on the observer's x and y values, in doUpdate() 101 orien->set(SkMatrix::kMScaleX, x * axis.x - z * cross.x); in doUpdate() 102 orien->set(SkMatrix::kMSkewX, x * axis in doUpdate() [all...] |
/third_party/node/deps/v8/tools/ignition/ |
H A D | bytecode_dispatches_report.py | 140 # Reverse y axis for a nicer appearance 148 def plot_dispatches_table(dispatches_table, figure, axis): 151 image = axis.pcolor( 160 axis.xaxis.set( 164 axis.xaxis.tick_top() 165 axis.set_xlim(0, len(xlabels)) 166 axis.set_xticklabels(xlabels, rotation="vertical") 168 axis.yaxis.set( 173 axis.set_ylim(0, len(ylabels)) 177 ax=axis, [all...] |
/third_party/libevdev/tools/ |
H A D | libevdev-tweak-device.c | 28 printf("%s --abs <axis> [--min min] [--max max] [--res res] [--fuzz fuzz] [--flat flat] /dev/input/eventXYZ\n" in usage() 29 "\tChange the absinfo struct for the named axis\n" in usage() 117 int *axis, struct input_absinfo *absinfo) in parse_options_abs() 143 *axis = parse_event_code(EV_ABS, optarg); in parse_options_abs() 144 if (*axis == -1) in parse_options_abs() 305 unsigned int axis, struct input_absinfo *absinfo) in set_abs() 311 if ((a = libevdev_get_abs_info(dev, axis)) == NULL) { in set_abs() 313 "Device '%s' doesn't have axis %s\n", in set_abs() 315 libevdev_event_code_get_name(EV_ABS, axis)); in set_abs() 331 rc = libevdev_kernel_set_abs_info(dev, axis, in set_abs() 116 parse_options_abs(int argc, char **argv, unsigned int *changes, int *axis, struct input_absinfo *absinfo) parse_options_abs() argument 304 set_abs(struct libevdev *dev, unsigned int changes, unsigned int axis, struct input_absinfo *absinfo) set_abs() argument 389 int axis = -1; main() local [all...] |
/third_party/mesa3d/src/gallium/auxiliary/tessellator/ |
H A D | tessellator.cpp | 637 int edge, axis; in QuadProcessTessFactors() local 645 for( axis = 0; axis < QUAD_AXES; axis++ ) in QuadProcessTessFactors() 647 processedTessFactors.insideTessFactorParity[axis] = in QuadProcessTessFactors() 648 (isEven(insideTessFactor[axis]) || (FLOAT_ONE == insideTessFactor[axis]) ) in QuadProcessTessFactors() 666 for( axis = 0; axis < QUAD_AXES; axis in QuadProcessTessFactors() 2198 int edge, axis; QuadHLSLProcessTessFactors() local [all...] |
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-style.cc | 64 * Searches variation axes of a #hb_font_t object for a specific axis first, 68 * Returns: Corresponding axis or default value to a style tag. 81 hb_ot_var_axis_info_t axis; in hb_style_get_value() local 82 if (hb_ot_var_find_axis_info (face, style_tag, &axis)) in hb_style_get_value() 84 if (axis.axis_index < font->num_coords) return font->design_coords[axis.axis_index]; in hb_style_get_value() 86 return axis.default_value; in hb_style_get_value()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | gen_overlay_widgets.py | 161 def is_negative_coord(coords, axis, widgets_so_far): 163 if isinstance(coords[axis], unicode): 164 coord_split = coords[axis].split('.') 167 return widgets_so_far[coord_split[0]].negative_alignment[axis] 169 return coords[axis] < 0 182 def get_offset_helper(widget, axis, smaller_coord_side): 183 # Assume axis is X. This function returns two values: 187 # The input coordinate (widget.coord[axis]) is either: 196 # The case for the Y axis is similar, with the edge values being top or bottom. 198 coord = widget.coords[axis] [all...] |
/third_party/skia/samplecode/ |
H A D | Sample3D.cpp | 54 SkV3 axis = u.cross(v); in computeRotationInfo() local 55 SkScalar length = axis.length(); in computeRotationInfo() 58 return {axis * (1.0f / length), acos(u.dot(v))}; in computeRotationInfo() 64 auto [axis, angle] = this->computeRotationInfo(a, b); in computeRotation() 65 return SkM44::Rotate(axis, angle); in computeRotation() 112 static SkM44 R(SkV3 axis, SkScalar rad) { in R() 113 return SkM44::Rotate(axis, rad); in R() 183 void update(SkV3 axis, SkScalar angle) { in update() argument 191 fAxis = axis; in update() 342 auto [axis, angl [all...] |
/third_party/libinput/tools/ |
H A D | libinput-analyze-recording.py | 42 # Default is to just return the value of an axis, but some axes want special 82 help="A comma-separated list of axis names to ignore", 88 help="A comma-separated list of axis names to print, ignoring all others", 94 help="Always print all axis values, even unchanged ones", 102 ignored_axes = [libevdev.evbit(axis) for axis in args.ignore.split(",") if axis] 103 only_axes = [libevdev.evbit(axis) for axis in args.only.split(",") if axis] [all...] |
/third_party/noto-cjk/google-fonts/ |
H A D | hotfix.py | 59 for axis in stat.DesignAxisRecord.Axis: 60 deletable_names.add(axis.AxisNameID) 64 for axis in fvar.axes: 65 deletable_names.remove(axis.axisNameID)
|
/third_party/skia/third_party/externals/freetype/src/type1/ |
H A D | t1load.c | 158 /* allocate axis data if needed */ in t1_allocate_blend() 194 FT_MM_Axis* axis = master->axis + n; in FT_LOCAL_DEF() local 198 axis->name = blend->axis_names[n]; in FT_LOCAL_DEF() 199 axis->minimum = map->design_points[0]; in FT_LOCAL_DEF() 200 axis->maximum = map->design_points[map->num_points - 1]; in FT_LOCAL_DEF() 242 * normalized axis coordinates which gave rise to those weights. 331 /* while axis flags are meaningless here, we have to provide the array */ in FT_LOCAL_DEF() 338 mmvar->axis = (FT_Var_Axis*)( (char*)axis_flags + axis_flags_size ); in FT_LOCAL_DEF() 343 mmvar->axis[ in FT_LOCAL_DEF() 899 FT_Int axis, n_axis; parse_blend_design_positions() local [all...] |
/third_party/node/deps/v8/tools/ |
H A D | gc-nvp-trace-processor.py | 72 def __init__(self, title, field, axis = x1y1, **keywords): 74 self.axis = axis 88 'axis %s' % self.axis] 143 if item.axis == x1y2 or item.axis == x2y2:
|
/third_party/cups-filters/filter/pdftopdf/ |
H A D | pptypes.cc | 17 void Position_dump(Position pos,Axis axis) // {{{ in Position_dump() argument 19 assert((axis == Axis::X) || (axis == Axis::Y)); in Position_dump() 24 if (axis==Axis::X) { in Position_dump()
|
/third_party/libinput/test/ |
H A D | test-log.c | 176 int axis = _i; /* looped test */ in START_TEST() local 184 abs = libevdev_get_abs_info(dev->evdev, axis); in START_TEST() 188 ABS_MT_POSITION_X + axis, in START_TEST() 190 litest_event(dev, EV_ABS, axis, abs->maximum * 2); in START_TEST() 213 /* mtdev clips to axis ranges */ in TEST_COLLECTION()
|
/third_party/libevdev/libevdev/ |
H A D | libevdev.c | 53 slot_value(const struct libevdev *dev, int slot, int axis) in slot_value() argument 59 if (unlikely(axis < ABS_MT_MIN || axis > ABS_MT_MAX)) { in slot_value() 60 log_bug(dev, "MT axis %d is outside the valid range [%d,%d]\n", in slot_value() 61 axis, ABS_MT_MIN, ABS_MT_MAX); in slot_value() 62 axis = ABS_MT_MIN; in slot_value() 64 return &dev->mt_slot_vals[slot * ABS_MT_CNT + axis - ABS_MT_MIN]; in slot_value() 136 int axis, in fix_invalid_absinfo() 144 if (axis == ABS_MT_TRACKING_ID && in fix_invalid_absinfo() 673 for (int axis in sync_mt_state() 135 fix_invalid_absinfo(const struct libevdev *dev, int axis, struct input_absinfo* abs_info) fix_invalid_absinfo() argument [all...] |
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtx/ |
H A D | rotate_normalized_axis.hpp | 11 /// @brief Quaternions and matrices rotations around normalized axis. 31 /// Builds a rotation 4 * 4 matrix created from a normalized axis and an angle. 35 /// @param axis Rotation axis, must be normalized. 46 tvec3<T, P> const & axis); 48 /// Rotates a quaternion from a vector of 3 components normalized axis and an angle. 52 /// @param axis Normalized axis of the rotation, must be normalized. 59 tvec3<T, P> const & axis);
|
/third_party/skia/modules/skparagraph/src/ |
H A D | FontArguments.cpp | 7 return a.axis == b.axis && a.value == b.value; in operator ==() 21 hash ^= std::hash<SkFourByteTag>()(coord.axis); in operator ()()
|
/third_party/skia/third_party/externals/freetype/src/cff/ |
H A D | cffload.c | 1203 CFF_AxisCoords* axis = ®ion->axisList[j]; in cff_vstore_load() local 1213 axis->startCoord = FT_fdot14ToFixed( start14 ); in cff_vstore_load() 1214 axis->peakCoord = FT_fdot14ToFixed( peak14 ); in cff_vstore_load() 1215 axis->endCoord = FT_fdot14ToFixed( end14 ); in cff_vstore_load() 1496 CFF_AxisCoords* axis = &varRegion->axisList[j]; in FT_LOCAL_DEF() local 1500 /* compute the scalar contribution of this axis; */ in FT_LOCAL_DEF() 1502 if ( axis->startCoord > axis->peakCoord || in FT_LOCAL_DEF() 1503 axis->peakCoord > axis in FT_LOCAL_DEF() [all...] |