Home
last modified time | relevance | path

Searched +refs:x +refs:axis +refs:name (Results 1 – 25 of 200) sorted by relevance

12345678

/third_party/flutter/skia/third_party/externals/sdl/test/
Dtestgamecontroller.c36 static const struct { int x; int y; } button_positions[] = { member
55 static const struct { int x; int y; double angle; } axis_positions[] = { member
67 SDL_Texture *background, *button, *axis; variable
131 const SDL_Rect dst = { button_positions[i].x, button_positions[i].y, 50, 50 }; in loop()
140 const SDL_Rect dst = { axis_positions[i].x, axis_positions[i].y, 50, 50 }; in loop()
142 SDL_RenderCopyEx(screen, axis, NULL, &dst, angle, NULL, SDL_FLIP_NONE); in loop()
144 const SDL_Rect dst = { axis_positions[i].x, axis_positions[i].y, 50, 50 }; in loop()
146 SDL_RenderCopyEx(screen, axis, NULL, &dst, angle, NULL, SDL_FLIP_NONE); in loop()
167 const char *name = SDL_GameControllerName(gamecontroller); in WatchGameController() local
169 const size_t titlelen = SDL_strlen(basetitle) + SDL_strlen(name) + 1; in WatchGameController()
[all …]
Dcontrollermap.c37 int x, y; member
41 int axis, button, hat, hat_value; member
101 SDL_Texture *background, *button, *axis, *marker; in WatchJoystick() local
102 const char *name = NULL; in WatchJoystick() local
154 axis = LoadTexture(screen, "axis.bmp", SDL_TRUE); in WatchJoystick()
161 name = SDL_JoystickName(joystick); in WatchJoystick()
163 name ? name : "Unknown Joystick"); in WatchJoystick()
180 temp, name ? name : "Unknown Joystick", SDL_GetPlatform()); in WatchJoystick()
187 step->axis = -1; in WatchJoystick()
194 marker = axis; in WatchJoystick()
[all …]
/third_party/libinput/doc/user/
Dabsolute-coordinate-ranges.rst7 libinput requires that all touchpads provide a correct axis range and
14 Touchpads with incorrect axis ranges generate error messages
20 This error message indicates that the ABS_MT_POSITION_X axis (i.e. the x
21 axis) generated an event outside the expected range of 0-3000. In this case
61 Kernel axis range: x [1024..5112], y [2024..4832]
62 Detected axis range: x [ 0.. 0], y [ 0.. 0]
65 until the detected axis range stops changing.
69 Move the finger around until the detected axis range matches the data sent
74 Kernel axis range: x [1024..5112], y [2024..4832]
76 Detected axis range: x [2072..4880], y [2159..4832]
[all …]
Dtouchpad-jitter.rst37 Checking axes... x=16 y=16
40 In the above output, the axis fuzz is set to 16. To set a specific fuzz, run
77 evdev:name:Synaptics TM2668-002:dmi:*:svnLENOVO*:pvrThinkPadT440s*:
84 Substitute the ``name`` field with the device name (see the output of
100 A fuzz set on an absolute axis in the kernel causes the kernel to apply
101 hysteresis-like behavior to the axis. Unfortunately, this behavior leads to
105 startup libinput will check that property as well as the axis itself.
/third_party/skia/samplecode/
DSample3D.cpp43 return {v.x, v.y, z}; in computeUnitV3()
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()
108 static SkM44 T(SkScalar x, SkScalar y, SkScalar z) { in T()
109 return SkM44::Translate(x, y, z); in T()
112 static SkM44 R(SkV3 axis, SkScalar rad) { in R()
113 return SkM44::Rotate(axis, rad); in R()
[all …]
/third_party/libinput/test/
Dlitest.c245 char *name; member
258 char *name; member
363 t->name = safe_strdup(funcname); in litest_add_tcase_for_device()
390 t->name = safe_strdup(test_name); in litest_add_tcase_no_device()
417 t->name = safe_strdup(test_name); in litest_add_tcase_deviceless()
429 get_suite(const char *name) in get_suite() argument
434 if (streq(s->name, name)) in get_suite()
439 s->name = safe_strdup(name); in get_suite()
549 _litest_add_no_device(const char *name, const char *funcname, const void *func) in _litest_add_no_device() argument
551 _litest_add(name, funcname, func, LITEST_DISABLE_DEVICE, LITEST_DISABLE_DEVICE); in _litest_add_no_device()
[all …]
Dlitest.h45 const char *name; member
49 #define TEST_DEVICE(name, ...) \ argument
60 name, &_device \
64 .shortname = name, \
69 const char *name; member
73 #define TEST_COLLECTION(name) \ argument
74 static void (name##_setup)(void); \
78 #name, name##_setup \
80 static void (name##_setup)(void)
376 double x, y; member
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/linux/
DSDL_sysjoystick.c64 char *name; /* "SideWinder 3D Pro" or whatever */ member
78 #define NBITS(x) ((((x)-1)/(sizeof(long) * 8))+1) argument
213 item->name = SDL_strdup(namebuf); in MaybeAddDevice()
216 if ( (item->path == NULL) || (item->name == NULL) ) { in MaybeAddDevice()
218 SDL_free(item->name); in MaybeAddDevice()
274 SDL_free(item->name); in MaybeRemoveDevice()
385 return JoystickByDevIndex(device_index)->name; in SDL_SYS_JoystickNameForDeviceIndex()
406 joystick->hwdata->hats[i].axis[0] = 1; in allocate_hatdata()
407 joystick->hwdata->hats[i].axis[1] = 1; in allocate_hatdata()
424 joystick->hwdata->balls[i].axis[0] = 0; in allocate_balldata()
[all …]
/third_party/flutter/skia/site/user/api/
DSkRRect_Reference.md5 <a name='SkRRect'></a>
86 …ce#SkRRect'>SkRRect</a> may have up to eight different radii, one for each axis on each of its four
90 If either axis radii is zero or less: radii are stored as zero; corner is square.
93 <a name='SkRRect_empty_constructor'></a>
110 <div><fiddle-embed name="471e7aad0feaf9ec3a21757a317a64f5"></fiddle-embed></div>
116 <a name='SkRRect_copy_const_SkRRect'></a>
128 <table> <tr> <td><a name='SkRRect_copy_const_SkRRect_rrect'><code><strong>rrect</strong></code>…
139 <div><fiddle-embed name="ad8f5d49edfcee60eddfe2a955b6c5f5"></fiddle-embed></div>
145 <a name='SkRRect_copy_operator'></a>
157 <table> <tr> <td><a name='SkRRect_copy_operator_rrect'><code><strong>rrect</strong></code></a><…
[all …]
DSkMatrix_Reference.md5 <a name='SkMatrix'></a>
113 …void <a href='#SkMatrix_mapXY'>mapXY</a>(<a href='undocumented#SkScalar'>SkScalar</a> x, <a href='…
114 …ef='#SkMatrix_mapXY'>mapXY</a>(<a href='undocumented#SkScalar'>SkScalar</a> x, <a href='undocument…
157 <a name='SkMatrix_MakeScale'></a>
173 <table> <tr> <td><a name='SkMatrix_MakeScale_sx'><code><strong>sx</strong></code></a></td>
176 <tr> <td><a name='SkMatrix_MakeScale_sy'><code><strong>sy</strong></code></a></td>
187 <div><fiddle-embed name="7ff17718111df6d6f95381d8a8f1b389"></fiddle-embed></div>
193 <a name='SkMatrix_MakeScale_2'></a>
209 <table> <tr> <td><a name='SkMatrix_MakeScale_2_scale'><code><strong>scale</strong></code></a></…
220 <div><fiddle-embed name="2956aeb50fa862cdb13995e1e56a4bc8"></fiddle-embed></div>
[all …]
DSkIPoint_Reference.md5 <a name='SkIPoint'></a>
15 …'SkIPoint_Reference#SkIPoint'>SkIPoint</a> <a href='#SkIPoint_Make'>Make</a>(int32_t x, int32_t y);
16 int32_t <a href='#SkIPoint_x'>x()</a> const;
19 void <a href='#SkIPoint_set'>set</a>(int32_t x, int32_t y);
23 bool <a href='#SkIPoint_equals'>equals</a>(int32_t x, int32_t y) const;
39 …<td style='text-align: left; border: 2px solid #dddddd; padding: 8px; '><a name='SkIPoint_fX'><cod…
41 x-axis value used by <a href='SkIPoint_Reference#IPoint'>IPoint</a>.
46 …<td style='text-align: left; border: 2px solid #dddddd; padding: 8px; '><a name='SkIPoint_fY'><cod…
48 y-axis value used by <a href='SkIPoint_Reference#IPoint'>IPoint</a>.
53 <a name='SkIPoint_Make'></a>
[all …]
DSkIRect_Reference.md5 <a name='SkIRect'></a>
22 …IRect_Reference#SkIRect'>SkIRect</a> <a href='#SkIRect_MakeXYWH'>MakeXYWH</a>(int32_t x, int32_t y,
28 int32_t <a href='#SkIRect_x'>x()</a> const;
42 … void <a href='#SkIRect_setXYWH'>setXYWH</a>(int32_t x, int32_t y, int32_t width, int32_t height);
52 bool <a href='#SkIRect_contains'>contains</a>(int32_t x, int32_t y) const;
85 …<td style='text-align: left; border: 2px solid #dddddd; padding: 8px; '><a name='SkIRect_fLeft'><c…
93 …<td style='text-align: left; border: 2px solid #dddddd; padding: 8px; '><a name='SkIRect_fTop'><co…
101 …<td style='text-align: left; border: 2px solid #dddddd; padding: 8px; '><a name='SkIRect_fRight'><…
109 …<td style='text-align: left; border: 2px solid #dddddd; padding: 8px; '><a name='SkIRect_fBottom'>…
117 <a name='SkIRect_MakeEmpty'></a>
[all …]
DSkPoint_Reference.md5 <a name='SkPoint'></a>
15 … href='#SkPoint_Make'>Make</a>(<a href='undocumented#SkScalar'>SkScalar</a> x, <a href='undocument…
16 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPoint_x'>x()</a> const;
19 …void <a href='#SkPoint_set'>set</a>(<a href='undocumented#SkScalar'>SkScalar</a> x, <a href='undoc…
20 void <a href='#SkPoint_iset'>iset</a>(int32_t x, int32_t y);
29 …setNormalize'>setNormalize</a>(<a href='undocumented#SkScalar'>SkScalar</a> x, <a href='undocument…
31 …bool <a href='#SkPoint_setLength'>setLength</a>(<a href='undocumented#SkScalar'>SkScalar</a> x, <a…
41 …bool <a href='#SkPoint_equals'>equals</a>(<a href='undocumented#SkScalar'>SkScalar</a> x, <a href=…
46 …f='#SkPoint_Length'>Length</a>(<a href='undocumented#SkScalar'>SkScalar</a> x, <a href='undocument…
64 …<td style='text-align: left; border: 2px solid #dddddd; padding: 8px; '><a name='SkPoint_fX'><code…
[all …]
/third_party/flutter/skia/third_party/externals/freetype/src/truetype/
Dttgxvar.c71 #define FT_fdot14ToFixed( x ) \ argument
72 ( (FT_Fixed)( (FT_ULong)(x) << 2 ) )
77 #define FT_fixedToInt( x ) \ argument
78 ( (FT_Short)( ( (x) + 0x8000U ) >> 16 ) )
79 #define FT_fixedToFdot6( x ) \ argument
80 ( (FT_Pos)( ( (x) + 0x200 ) >> 10 ) )
893 GX_AxisCoords axis = itemStore->varRegionList[regionIndex].axisList; in ft_var_get_item_delta() local
897 for ( j = 0; j < itemStore->axisCount; j++, axis++ ) in ft_var_get_item_delta()
901 if ( axis->startCoord > axis->peakCoord || in ft_var_get_item_delta()
902 axis->peakCoord > axis->endCoord ) in ft_var_get_item_delta()
[all …]
/third_party/freetype/src/truetype/
Dttgxvar.c72 #define FT_fdot14ToFixed( x ) \ argument
73 ( (FT_Fixed)( (FT_ULong)(x) << 2 ) )
78 #define FT_fixedToInt( x ) \ argument
79 ( (FT_Short)( ( (x) + 0x8000U ) >> 16 ) )
80 #define FT_fixedToFdot6( x ) \ argument
81 ( (FT_Pos)( ( (x) + 0x200 ) >> 10 ) )
969 GX_AxisCoords axis = itemStore->varRegionList[regionIndex].axisList; in ft_var_get_item_delta() local
973 for ( j = 0; j < itemStore->axisCount; j++, axis++ ) in ft_var_get_item_delta()
977 if ( axis->startCoord > axis->peakCoord || in ft_var_get_item_delta()
978 axis->peakCoord > axis->endCoord ) in ft_var_get_item_delta()
[all …]
/third_party/skia/third_party/externals/freetype/src/truetype/
Dttgxvar.c71 #define FT_fdot14ToFixed( x ) \ argument
72 ( (FT_Fixed)( (FT_ULong)(x) << 2 ) )
77 #define FT_fixedToInt( x ) \ argument
78 ( (FT_Short)( ( (x) + 0x8000U ) >> 16 ) )
79 #define FT_fixedToFdot6( x ) \ argument
80 ( (FT_Pos)( ( (x) + 0x200 ) >> 10 ) )
975 GX_AxisCoords axis = itemStore->varRegionList[regionIndex].axisList; in ft_var_get_item_delta() local
979 for ( j = 0; j < itemStore->axisCount; j++, axis++ ) in ft_var_get_item_delta()
983 if ( axis->startCoord > axis->peakCoord || in ft_var_get_item_delta()
984 axis->peakCoord > axis->endCoord ) in ft_var_get_item_delta()
[all …]
/third_party/freetype/src/sfnt/
Dsfdriver.c283 #define ROTL32( x, r ) ( x << r ) | ( x >> ( 32 - r ) ) argument
619 TT_Name name = face->name_table.names + n; in sfnt_get_name_id() local
622 if ( name->nameID == id && name->stringLength > 0 ) in sfnt_get_name_id()
624 if ( IS_WIN( name ) && ( name->languageID == 0x409 || *win == -1 ) ) in sfnt_get_name_id()
627 if ( IS_APPLE( name ) && ( name->languageID == 0 || *apple == -1 ) ) in sfnt_get_name_id()
954 FT_Var_Axis* axis; in sfnt_get_var_ps_name() local
958 axis = mm_var->axis; in sfnt_get_var_ps_name()
970 for ( i = 0; i < num_coords; i++, coords++, axis++ ) in sfnt_get_var_ps_name()
977 if ( *coords == axis->def ) in sfnt_get_var_ps_name()
983 t = (char)( axis->tag >> 24 ); in sfnt_get_var_ps_name()
[all …]
/third_party/flutter/skia/third_party/externals/freetype/src/sfnt/
Dsfdriver.c280 #define ROTL32( x, r ) ( x << r ) | ( x >> ( 32 - r ) ) argument
620 TT_Name name = face->name_table.names + n; in sfnt_get_name_id() local
623 if ( name->nameID == id && name->stringLength > 0 ) in sfnt_get_name_id()
625 if ( IS_WIN( name ) && ( name->languageID == 0x409 || *win == -1 ) ) in sfnt_get_name_id()
628 if ( IS_APPLE( name ) && ( name->languageID == 0 || *apple == -1 ) ) in sfnt_get_name_id()
955 FT_Var_Axis* axis; in sfnt_get_var_ps_name() local
959 axis = mm_var->axis; in sfnt_get_var_ps_name()
971 for ( i = 0; i < num_coords; i++, coords++, axis++ ) in sfnt_get_var_ps_name()
978 if ( *coords == axis->def ) in sfnt_get_var_ps_name()
984 t = (char)( axis->tag >> 24 ); in sfnt_get_var_ps_name()
[all …]
/third_party/skia/third_party/externals/freetype/src/sfnt/
Dsfdriver.c279 #define ROTL32( x, r ) ( x << r ) | ( x >> ( 32 - r ) ) argument
619 TT_Name name = face->name_table.names + n; in sfnt_get_name_id() local
622 if ( name->nameID == id && name->stringLength > 0 ) in sfnt_get_name_id()
624 if ( IS_WIN( name ) && ( name->languageID == 0x409 || *win == -1 ) ) in sfnt_get_name_id()
627 if ( IS_APPLE( name ) && ( name->languageID == 0 || *apple == -1 ) ) in sfnt_get_name_id()
954 FT_Var_Axis* axis; in sfnt_get_var_ps_name() local
958 axis = mm_var->axis; in sfnt_get_var_ps_name()
970 for ( i = 0; i < num_coords; i++, coords++, axis++ ) in sfnt_get_var_ps_name()
977 if ( *coords == axis->def ) in sfnt_get_var_ps_name()
983 t = (char)( axis->tag >> 24 ); in sfnt_get_var_ps_name()
[all …]
/third_party/ffmpeg/libavfilter/
Davf_showcqt.c57 #define OFFSET(x) offsetof(ShowCQTContext, x) argument
92 …{ "axis", "draw axis", OFFSET(axis), AV_OPT_TYPE_BOOL, { .i64 = 1 }, …
93 …{ "text", "draw axis", OFFSET(axis), AV_OPT_TYPE_BOOL, { .i64 = 1 }, …
170 int x; in create_freq_table() local
178 for (x = 0; x < n; x++) { in create_freq_table()
179 double log_freq = log_base + (x + 0.5) * (log_end - log_base) * rcp_n; in create_freq_table()
180 freq[x] = exp(log_freq); in create_freq_table()
185 static double clip_with_log(void *log_ctx, const char *name, in clip_with_log() argument
192 idx, name, nan_replace); in clip_with_log()
196 idx, name, val, min); in clip_with_log()
[all …]
/third_party/harfbuzz/test/shaping/data/text-rendering-tests/fonts/
DSelawik-README.md11 …n space, thus there is no need for MVAR. A future release will contain an axis that varies vertica…
14 * 1 axis: weight
19 - [x] fvar
20 - [x] gvar
21 - [x] cvar
22 - [x] avar (to match Segoe UI weights and metrics)
23 - [x] STAT
24 - [x] GPOS/GDEF - kerning
25 - [x] HVAR
33axis that varies vertical metrics so we need an MVAR table. This axis will not be one of the stand…
[all …]
/third_party/skia/third_party/externals/harfbuzz/test/shape/data/text-rendering-tests/fonts/
DSelawik-README.md11 …n space, thus there is no need for MVAR. A future release will contain an axis that varies vertica…
14 * 1 axis: weight
19 - [x] fvar
20 - [x] gvar
21 - [x] cvar
22 - [x] avar (to match Segoe UI weights and metrics)
23 - [x] STAT
24 - [x] GPOS/GDEF - kerning
25 - [x] HVAR
33axis that varies vertical metrics so we need an MVAR table. This axis will not be one of the stand…
[all …]
/third_party/flutter/skia/third_party/externals/harfbuzz/test/shaping/data/text-rendering-tests/fonts/
DSelawik-README.md11 …n space, thus there is no need for MVAR. A future release will contain an axis that varies vertica…
14 * 1 axis: weight
19 - [x] fvar
20 - [x] gvar
21 - [x] cvar
22 - [x] avar (to match Segoe UI weights and metrics)
23 - [x] STAT
24 - [x] GPOS/GDEF - kerning
25 - [x] HVAR
33axis that varies vertical metrics so we need an MVAR table. This axis will not be one of the stand…
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/android/
DSDL_sysjoystick.c214 Android_OnJoy(int device_id, int axis, float value) in Android_OnJoy() argument
219 SDL_PrivateJoystickAxis(item->joystick, axis, (Sint16) (32767.*value) ); in Android_OnJoy()
226 Android_OnHat(int device_id, int hat_id, int x, int y) in Android_OnHat() argument
234 if (x >= -1 && x <=1 && y >= -1 && y <= 1) { in Android_OnHat()
237 SDL_PrivateJoystickHat(item->joystick, hat_id, position_map[y+1][x+1] ); in Android_OnHat()
247 Android_AddJoystick(int device_id, const char *name, SDL_bool is_accelerometer, int nbuttons, int n… in Android_AddJoystick() argument
252 if(JoystickByDeviceId(device_id) != NULL || name == NULL) { in Android_AddJoystick()
258 SDL_memcpy( &guid, name, SDL_min( sizeof(guid), SDL_strlen( name ) ) ); in Android_AddJoystick()
268 item->name = SDL_strdup(name); in Android_AddJoystick()
269 if ( item->name == NULL ) { in Android_AddJoystick()
[all …]
/third_party/flutter/skia/third_party/externals/freetype/src/type1/
Dt1load.c209 FT_MM_Axis* axis = master->axis + n; in T1_Get_Multi_Master() local
213 axis->name = blend->axis_names[n]; in T1_Get_Multi_Master()
214 axis->minimum = map->design_points[0]; in T1_Get_Multi_Master()
215 axis->maximum = map->design_points[map->num_points - 1]; in T1_Get_Multi_Master()
325 mmvar->axis = (FT_Var_Axis*)&mmvar[1]; in T1_Get_MM_Var()
331 mmvar->axis[i].name = mmaster.axis[i].name; in T1_Get_MM_Var()
332 mmvar->axis[i].minimum = INT_TO_FIXED( mmaster.axis[i].minimum ); in T1_Get_MM_Var()
333 mmvar->axis[i].maximum = INT_TO_FIXED( mmaster.axis[i].maximum ); in T1_Get_MM_Var()
334 mmvar->axis[i].def = ( mmvar->axis[i].minimum + in T1_Get_MM_Var()
335 mmvar->axis[i].maximum ) / 2; in T1_Get_MM_Var()
[all …]

12345678