Home
last modified time | relevance | path

Searched refs:coord (Results 1 – 25 of 72) sorted by relevance

123

/OK3568_Linux_fs/kernel/drivers/input/touchscreen/
H A Dwacom_w8001.c107 static void parse_pen_data(u8 *data, struct w8001_coord *coord) in parse_pen_data() argument
109 memset(coord, 0, sizeof(*coord)); in parse_pen_data()
111 coord->rdy = data[0] & 0x20; in parse_pen_data()
112 coord->tsw = data[0] & 0x01; in parse_pen_data()
113 coord->f1 = data[0] & 0x02; in parse_pen_data()
114 coord->f2 = data[0] & 0x04; in parse_pen_data()
116 coord->x = (data[1] & 0x7F) << 9; in parse_pen_data()
117 coord->x |= (data[2] & 0x7F) << 2; in parse_pen_data()
118 coord->x |= (data[6] & 0x60) >> 5; in parse_pen_data()
120 coord->y = (data[3] & 0x7F) << 9; in parse_pen_data()
[all …]
H A Djornada720_ts.c55 int coord, high_bits = coords[3]; in jornada720_ts_average() local
57 coord = coords[0] | ((high_bits & 0x03) << 8); in jornada720_ts_average()
58 coord += coords[1] | ((high_bits & 0x0c) << 6); in jornada720_ts_average()
59 coord += coords[2] | ((high_bits & 0x30) << 4); in jornada720_ts_average()
61 return coord / 3; in jornada720_ts_average()
H A Dwm9713.c112 static int coord; variable
113 module_param(coord, int, 0);
114 MODULE_PARM_DESC(coord, "Polling coordinate mode");
203 if (coord) in wm9713_phy_init()
394 if (coord) { in wm9713_poll_touch()
H A Dwm9712.c112 static int coord; variable
113 module_param(coord, int, 0);
114 MODULE_PARM_DESC(coord, "Polling coordinate mode");
209 if (coord) in wm9712_phy_init()
383 if (coord) { in wm9712_poll_touch()
/OK3568_Linux_fs/kernel/lib/math/
H A Dcordic.c48 struct cordic_iq coord; in cordic_calc_iq() local
54 coord.i = CORDIC_ANGLE_GEN; in cordic_calc_iq()
55 coord.q = 0; in cordic_calc_iq()
73 valtmp = coord.i - (coord.q >> iter); in cordic_calc_iq()
74 coord.q += (coord.i >> iter); in cordic_calc_iq()
77 valtmp = coord.i + (coord.q >> iter); in cordic_calc_iq()
78 coord.q -= (coord.i >> iter); in cordic_calc_iq()
81 coord.i = valtmp; in cordic_calc_iq()
84 coord.i *= signx; in cordic_calc_iq()
85 coord.q *= signx; in cordic_calc_iq()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/declarativemaps/
H A Dqdeclarativegeomapitemutils.cpp70 QDoubleVector2D coord = path.at(i); in wrapPath() local
74 if (!qIsFinite(coord.x()) || !qIsFinite(coord.y())) in wrapPath()
77 const bool isPointLessThanUnwrapBelowX = (coord.x() < leftBound.x()); in wrapPath()
80 coord.setX(coord.x() + 1.0); in wrapPath()
82 QDoubleVector2D coordP1(coord.x() + 1.0, coord.y()); in wrapPath()
83 QDoubleVector2D coordM1(coord.x() - 1.0, coord.y()); in wrapPath()
85 wrappedPath.append(coord); in wrapPath()
115 QDoubleVector2D coord = path.at(i); in wrapPath() local
119 if (!qIsFinite(coord.x()) || !qIsFinite(coord.y())) in wrapPath()
122 const bool isPointLessThanUnwrapBelowX = (coord.x() < geoLeftBound.x()); in wrapPath()
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/bin/
H A Dtzselect52 coord=
152 coord=$OPTARG ;;
300 case $coord in
302 continent=coord;;
328 "coord - I want to use geographical coordinates." \
370 case $coord in
380 -v coord="$coord" \
392 "of distance from $coord".
526 case $country%$region%$coord in
529 %?*%?*) say >&2 " coord $coord$newline $region";;
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/bin/
H A Dtzselect52 coord=
152 coord=$OPTARG ;;
300 case $coord in
302 continent=coord;;
328 "coord - I want to use geographical coordinates." \
370 case $coord in
380 -v coord="$coord" \
392 "of distance from $coord".
526 case $country%$region%$coord in
529 %?*%?*) say >&2 " coord $coord$newline $region";;
[all …]
/OK3568_Linux_fs/buildroot/package/linux-zigbee/
H A D0002-addrdb-coord-config-parse.y-add-missing-time.h-inclu.patch4 Subject: [PATCH] addrdb/coord-config-parse.y: add missing <time.h> include
13 In file included from coord-config-lex.l:23:0:
14 coord-config-parse.y:107:2: error: unknown type name ‘time_t’
23 addrdb/coord-config-parse.y | 4 ++++
26 diff --git a/addrdb/coord-config-parse.y b/addrdb/coord-config-parse.y
28 --- a/addrdb/coord-config-parse.y
29 +++ b/addrdb/coord-config-parse.y
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-support/lowpan-tools/lowpan-tools/
H A D0001-addrdb-coord-config-parse.y-add-missing-time.h-inclu.patch4 Subject: [PATCH] addrdb/coord-config-parse.y: add missing <time.h> include
13 In file included from coord-config-lex.l:23:0:
14 coord-config-parse.y:107:2: error: unknown type name ‘time_t’
24 addrdb/coord-config-parse.y | 4 ++++
27 diff --git a/addrdb/coord-config-parse.y b/addrdb/coord-config-parse.y
29 --- a/addrdb/coord-config-parse.y
30 +++ b/addrdb/coord-config-parse.y
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/positioning/
H A Dqgeopositioninfo.cpp94 d->coord = coordinate; in QGeoPositionInfo()
158 return d->timestamp.isValid() && d->coord.isValid(); in isValid()
192 d->coord = coordinate; in setCoordinate()
204 return d->coord; in coordinate()
257 dbg << info.d->coord; in operator <<()
331 stream << info.d->coord; in operator <<()
349 stream >> info.d->coord; in operator >>()
368 && coord == other.coord in operator ==()
H A Dqlocationutils.cpp67 QGeoCoordinate coord; in qlocationutils_readGga() local
82 coord.setLatitude(lat); in qlocationutils_readGga()
83 coord.setLongitude(lng); in qlocationutils_readGga()
98 coord.setAltitude(alt); in qlocationutils_readGga()
101 if (coord.type() != QGeoCoordinate::InvalidCoordinate) in qlocationutils_readGga()
102 info->setCoordinate(coord); in qlocationutils_readGga()
151 QGeoCoordinate coord; in qlocationutils_readGll() local
166 coord.setLatitude(lat); in qlocationutils_readGll()
167 coord.setLongitude(lng); in qlocationutils_readGll()
171 if (coord.type() != QGeoCoordinate::InvalidCoordinate) in qlocationutils_readGll()
[all …]
H A Dqgeocoordinate.cpp492 void QGeoCoordinatePrivate::atDistanceAndAzimuth(const QGeoCoordinate &coord, in atDistanceAndAzimuth() argument
496 double latRad = qDegreesToRadians(coord.d->lat); in atDistanceAndAzimuth()
497 double lonRad = qDegreesToRadians(coord.d->lng); in atDistanceAndAzimuth()
705 QDebug operator<<(QDebug dbg, const QGeoCoordinate &coord) in operator <<() argument
708 double lat = coord.latitude(); in operator <<()
709 double lng = coord.longitude(); in operator <<()
723 if (coord.type() == QGeoCoordinate::Coordinate3D) { in operator <<()
725 dbg << coord.altitude(); in operator <<()
H A Dqwebmercator.cpp51 QDoubleVector2D QWebMercator::coordToMercator(const QGeoCoordinate &coord) in coordToMercator() argument
55 double lon = coord.longitude() / 360.0 + 0.5; in coordToMercator()
57 double lat = coord.latitude(); in coordToMercator()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/text/
H A Dcross_tile_symbol_index.cpp11 : coord(coord_), bucketInstanceId(bucketInstanceId_) { in TileLayerIndex()
13 …nstance.key].emplace_back(symbolInstance.crossTileID, getScaledCoordinates(symbolInstance, coord)); in TileLayerIndex()
20 … const double scale = roundingFactor / std::pow(2, childTileCoord.canonical.z - coord.canonical.z); in getScaledCoordinates()
28 …float tolerance = coord.canonical.z < newCoord.canonical.z ? 1 : std::pow(2, coord.canonical.z - n… in findMatches()
47 if (std::abs(thisTileSymbol.coord.x - scaledSymbolCoord.x) <= tolerance && in findMatches()
48 std::abs(thisTileSymbol.coord.y - scaledSymbolCoord.y) <= tolerance && in findMatches()
78 … index.second.coord = index.second.coord.unwrapTo(index.second.coord.wrap + wrapDelta); in handleWrapJump()
79 newZoomIndex.emplace(index.second.coord, std::move(index.second)); in handleWrapJump()
114 if (childIndex.second.coord.isChildOf(tileID)) { in addBucket()
H A Dcross_tile_symbol_index.hpp24 : crossTileID(crossTileID_), coord(coord_) in IndexedSymbolInstance()
28 Point<int64_t> coord; member in mbgl::IndexedSymbolInstance
33 TileLayerIndex(OverscaledTileID coord, std::vector<SymbolInstance>&, uint32_t bucketInstanceId);
38 OverscaledTileID coord; member in mbgl::TileLayerIndex
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/expand/
H A Dindexed.hpp75 coordinate_type const coord = get<Index, Dimension>(source); in apply() local
77 if (less(coord, get<min_corner, Dimension>(box))) in apply()
79 set<min_corner, Dimension>(box, coord); in apply()
82 if (greater(coord, get<max_corner, Dimension>(box))) in apply()
84 set<max_corner, Dimension>(box, coord); in apply()
H A Dpoint.hpp84 coordinate_type const coord = get<Dimension>(source); in apply() local
86 if (less(coord, get<min_corner, Dimension>(box))) in apply()
88 set<min_corner, Dimension>(box, coord); in apply()
91 if (greater(coord, get<max_corner, Dimension>(box))) in apply()
93 set<max_corner, Dimension>(box, coord); in apply()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qgeopositioninfo/
H A Dtst_qgeopositioninfo.cpp130 QFETCH(QGeoCoordinate, coord); in constructor_coord_dateTime()
134 QGeoPositionInfo info(coord, dateTime); in constructor_coord_dateTime()
135 QCOMPARE(info.coordinate(), coord); in constructor_coord_dateTime()
234 QFETCH(QGeoCoordinate, coord); in setCoordinate()
237 info.setCoordinate(coord); in setCoordinate()
238 QCOMPARE(info.coordinate(), coord); in setCoordinate()
367 QGeoCoordinate coord(1, 1); in debug_data() local
368 QTest::newRow("coord, time") << QGeoPositionInfo(coord, QDateTime::currentDateTime()) in debug_data()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/applications/positioning_backend/
H A Dwidget.cpp70 QGeoCoordinate coord = gpsPos.coordinate(); in positionUpdated() local
71 ui->labelLatitude->setText(QString::number(coord.latitude())); in positionUpdated()
72 ui->labelLongitude->setText(QString::number(coord.longitude())); in positionUpdated()
73 ui->labelAltitude->setText(QString::number(coord.altitude())); in positionUpdated()
95 log->appendLog(coord.toString()); in positionUpdated()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/declarative_ui/
H A Dtst_map.qml638 var coord = QtPositioning.coordinate(20,-20)
640 mapTiltBearing.alignCoordinateToPoint(coord, point)
642 compare(coord.latitude, coordAfter.latitude)
643 compare(coord.longitude, coordAfter.longitude)
681 var coord = coordinateMap.toCoordinate(Qt.point(500,500))
682 verify(coord.latitude > 49 && coord.latitude < 51)
683 verify(coord.longitude > 49 && coord.longitude < 51)
685 coord = coordinateMap.toCoordinate(Qt.point(2000, 2000))
686 verify(isNaN(coord.latitude))
687 verify(isNaN(coord.longitde))
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/positionpluginV1/
H A Dplugin.cpp159 QGeoCoordinate coord(lastPosition.coordinate().latitude() + 0.1, in updatePosition() local
162 QGeoPositionInfo info(coord, now); in updatePosition()
163 info.setAttribute(QGeoPositionInfo::Direction, lastPosition.coordinate().azimuthTo(coord)); in updatePosition()
165 double speed = lastPosition.coordinate().distanceTo(coord) / lastUpdateTime.msecsTo(now); in updatePosition()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/
H A Dexpand_by_epsilon.hpp50 coord_type const coord = get<I>(point); in apply() local
51 coord_type const eps = math::scaled_epsilon(coord); in apply()
53 set<I>(point, PlusOrMinus<coord_type>()(coord, eps)); in apply()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/maps/
H A Dqgeorouteparserosrmv4.cpp59 QGeoCoordinate coord(0, 0); in parsePolyline() local
74 coord.setLatitude(coord.latitude() + (double)diff/1e6); in parsePolyline()
76 coord.setLongitude(coord.longitude() + (double)diff/1e6); in parsePolyline()
77 path.append(coord); in parsePolyline()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/positionplugin/
H A Dplugin.cpp190 QGeoCoordinate coord(lastPosition.coordinate().latitude() + 0.1, in updatePosition() local
194 QGeoPositionInfo info(coord, now); in updatePosition()
195 info.setAttribute(QGeoPositionInfo::Direction, lastPosition.coordinate().azimuthTo(coord)); in updatePosition()
197 double speed = lastPosition.coordinate().distanceTo(coord) / lastUpdateTime.msecsTo(now); in updatePosition()

123