Home
last modified time | relevance | path

Searched refs:x (Results 1 – 25 of 1206) sorted by relevance

12345678910>>...49

/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/geojsontz_to_tzs2polygons/data/
DEurope_London_tzs2polygons.prototxt10 x: 0.5201278895565369
15 x: 0.5204172590143923
20 x: 0.5206677375977294
25 x: 0.5209318179268482
30 x: 0.5212253608327297
35 x: 0.5215401628342332
40 x: 0.5218240063124366
45 x: 0.5220684392518292
50 x: 0.5223271745066906
55 x: 0.5225952624658946
[all …]
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/canonicalizetzs2polygons/data/output_polygons/
DAmerica_Argentina_Buenos_Aires_tzs2polygons.prototxt10 x: 0.8166105692927096
15 x: 0.8166098744003123
20 x: 0.81660556003802
25 x: 0.8166061894408025
30 x: 0.8166056575801758
35 x: 0.8166053787672611
40 x: 0.8166057755849424
45 x: 0.816606168923499
50 x: 0.8166062662961983
55 x: 0.8166059945045919
[all …]
DEurope_London_tzs2polygons.prototxt10 x: 0.8166105692927096
15 x: 0.8166098744003123
20 x: 0.81660556003802
25 x: 0.8166061894408025
30 x: 0.8166056575801758
35 x: 0.8166053787672611
40 x: 0.8166057755849424
45 x: 0.816606168923499
50 x: 0.8166062662961983
55 x: 0.8166059945045919
[all …]
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/canonicalizetzs2polygons/data/input_polygons/
DGB_tzs2polygons.prototxt10 x: 0.8166105692927096
15 x: 0.8166098744003123
20 x: 0.81660556003802
25 x: 0.8166061894408025
30 x: 0.8166056575801758
35 x: 0.8166053787672611
40 x: 0.8166057755849424
45 x: 0.816606168923499
50 x: 0.8166062662961983
55 x: 0.8166059945045919
[all …]
DAmerica_Argentina_Cordoba_tzs2polygons.prototxt10 x: 0.8166105692927096
15 x: 0.8166098744003123
20 x: 0.81660556003802
25 x: 0.8166061894408025
30 x: 0.8166056575801758
35 x: 0.8166053787672611
40 x: 0.8166057755849424
45 x: 0.816606168923499
50 x: 0.8166062662961983
55 x: 0.8166059945045919
[all …]
DAmerica_Argentina_Ushuaia_tzs2polygons.prototxt10 x: 0.5655721441385828
15 x: 0.5652848306069943
20 x: 0.5652678100446973
25 x: 0.5652572115808114
30 x: 0.5652417664297675
35 x: 0.5652976237694303
40 x: 0.5652779754800322
45 x: 0.56526206026477
50 x: 0.5652891766433487
55 x: 0.5654296168067151
[all …]
/packages/modules/Bluetooth/system/stack/include/
Dhcidefs.h970 #define HCI_3_SLOT_PACKETS_SUPPORTED(x) ((x)[0] & 0x01) argument
971 #define HCI_5_SLOT_PACKETS_SUPPORTED(x) ((x)[0] & 0x02) argument
972 #define HCI_ENCRYPTION_SUPPORTED(x) ((x)[0] & 0x04) argument
973 #define HCI_SLOT_OFFSET_SUPPORTED(x) ((x)[0] & 0x08) argument
974 #define HCI_TIMING_ACC_SUPPORTED(x) ((x)[0] & 0x10) argument
975 #define HCI_SWITCH_SUPPORTED(x) ((x)[0] & 0x20) argument
976 #define HCI_HOLD_MODE_SUPPORTED(x) ((x)[0] & 0x40) argument
977 #define HCI_SNIFF_MODE_SUPPORTED(x) ((x)[0] & 0x80) argument
979 #define HCI_PARK_MODE_SUPPORTED(x) ((x)[1] & 0x01) argument
980 #define HCI_RSSI_SUPPORTED(x) ((x)[1] & 0x02) argument
[all …]
Davrc_defs.h479 #define AVRC_PF_SELECT_SUPPORTED(x) \ argument
480 ((x)[AVRC_PF_SELECT_OFF] & AVRC_PF_SELECT_MASK)
485 #define AVRC_PF_UP_SUPPORTED(x) ((x)[AVRC_PF_UP_OFF] & AVRC_PF_UP_MASK) argument
490 #define AVRC_PF_DOWN_SUPPORTED(x) ((x)[AVRC_PF_DOWN_OFF] & AVRC_PF_DOWN_MASK) argument
495 #define AVRC_PF_LEFT_SUPPORTED(x) ((x)[AVRC_PF_LEFT_OFF] & AVRC_PF_LEFT_MASK) argument
500 #define AVRC_PF_RIGHT_SUPPORTED(x) ((x)[AVRC_PF_RIGHT_OFF] & AVRC_PF_RIGHT_MASK) argument
505 #define AVRC_PF_RIGHTUP_SUPPORTED(x) \ argument
506 ((x)[AVRC_PF_RIGHTUP_OFF] & AVRC_PF_RIGHTUP_MASK)
511 #define AVRC_PF_RIGHTDOWN_SUPPORTED(x) \ argument
512 ((x)[AVRC_PF_RIGHTDOWN_OFF] & AVRC_PF_RIGHTDOWN_MASK)
[all …]
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/tzs2polygons_tzs2cellunions/data/
DPacific_Pitcairn_tzs2polygons.prototxt10 x: -0.5191268490686637
15 x: -0.5190346579596083
20 x: -0.5189348504456761
25 x: -0.5188202272662213
30 x: -0.518694550638604
35 x: -0.5184866710137985
40 x: -0.5183412239812691
45 x: -0.5182119689914533
50 x: -0.5180874922612864
55 x: -0.5179715787475742
[all …]
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DCleanupTest.kt39 var x = 1 in testNotThrow() variable
41 x = 2 in testNotThrow()
45 assertTrue(x == 2) in testNotThrow()
46 x = 3 in testNotThrow()
49 assertTrue(x == 3) in testNotThrow()
55 var x = 1 in testThrowTry() variable
58 x = 2 in testThrowTry()
60 x = 4 in testThrowTry()
62 assertTrue(x == 2) in testThrowTry()
63 x = 3 in testThrowTry()
[all …]
DCleanupTestJava.java39 final AtomicInteger x = new AtomicInteger(1); in testNotThrow() local
41 x.compareAndSet(1, 2); in testNotThrow()
45 x.compareAndSet(2, 3); in testNotThrow()
48 assertEquals(3, x.get()); in testNotThrow()
54 final AtomicInteger x = new AtomicInteger(1); in testThrowTry() local
57 x.compareAndSet(1, 2); in testThrowTry()
61 x.compareAndSet(2, 3); in testThrowTry()
65 assertEquals(3, x.get()); in testThrowTry()
70 final AtomicInteger x = new AtomicInteger(1); in testThrowCleanup() local
73 x.compareAndSet(1, 2); in testThrowCleanup()
[all …]
/packages/apps/Gallery2/jni/filters/
Dkmeans.h27 int x, y; in sum() local
29 for (x = 0; x < dimension; x++) { in sum()
30 dst[x] = 0; in sum()
32 for (x = 0; x < len; x+= stride) { in sum()
34 dst[y] += values[x + y]; in sum()
41 int x; in set() local
42 for (x = 0; x < dimension; x++) { in set()
43 val1[x] = val2[x]; in set()
49 int x; in add() local
50 for (x = 0; x < dimension; x++) { in add()
[all …]
DredEyeMath.c38 int y, x; in findPossible() local
42 for (x = 0; x < recW; x++) { in findPossible()
43 int p = (recX + x + sy) * 4; in findPossible()
48 mask[x + y * recW] = ( in findPossible()
49 mask[x + y * recW] > 0 && (value(r, g, b) > 240) ? 1 : 0); in findPossible()
59 int y, x; in findReds() local
63 for (x = 0; x < recW; x++) { in findReds()
64 int p = (recX + x + sy) * 4; in findReds()
66 mask[x + y * recW] = ((isRed(src, p)) ? 1 : 0); in findReds()
76 int y, x; in dialateMaskIfRed() local
[all …]
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_utilities.h61 inline int db_roundi (double x) { in db_roundi() argument
66 fld x; in db_roundi() local
71 return static_cast<int>(floor(x+0.5)); in db_roundi()
156 inline double db_sign(double x) in db_sign() argument
158 if(x>=0.0) return(1.0); in db_sign()
225 inline double db_CubRoot(double x) in db_CubRoot() argument
227 if(x>=0.0) return(pow(x,1.0/3.0)); in db_CubRoot()
228 else return(-pow(-x,1.0/3.0)); in db_CubRoot()
233 inline double db_SquareSum3(const double x[3]) in db_SquareSum3()
235 return(db_sqr(x[0])+db_sqr(x[1])+db_sqr(x[2])); in db_SquareSum3()
[all …]
Ddb_utilities_linalg.cpp102 void db_CholeskyBacksub(double *x,const double * const *A,const double *d,int n,const double *b) in db_CholeskyBacksub() argument
109 for(s=b[i],k=i-1;k>=0;k--) s-=A[i][k]*x[k]; in db_CholeskyBacksub()
110 x[i]=db_SafeDivision(s,d[i]); in db_CholeskyBacksub()
114 for(s=x[i],k=i+1;k<n;k++) s-=A[k][i]*x[k]; in db_CholeskyBacksub()
115 x[i]=db_SafeDivision(s,d[i]); in db_CholeskyBacksub()
145 void db_CholeskyBacksub3x3(double x[3],const double A[9],const double d[3],const double b[3]) in db_CholeskyBacksub3x3()
148 x[0]=db_SafeDivision(b[0],d[0]); in db_CholeskyBacksub3x3()
149 x[1]=db_SafeDivision((b[1]-A[3]*x[0]),d[1]); in db_CholeskyBacksub3x3()
150 x[2]=db_SafeDivision((b[2]-A[6]*x[0]-A[7]*x[1]),d[2]); in db_CholeskyBacksub3x3()
151 x[2]=db_SafeDivision(x[2],d[2]); in db_CholeskyBacksub3x3()
[all …]
/packages/modules/Wifi/framework/
Djarjar-rules.txt4 rule android.net.DataStallReportParcelable* com.android.wifi.x.@0
5 rule android.net.DhcpResultsParcelable* com.android.wifi.x.@0
6 rule android.net.IIpMemoryStore* com.android.wifi.x.@0
7 rule android.net.IIpMemoryStoreCallbacks* com.android.wifi.x.@0
8 rule android.net.INetd* com.android.wifi.x.@0
9 rule android.net.INetdUnsolicitedEventListener* com.android.wifi.x.@0
10 rule android.net.INetworkStackConnector* com.android.wifi.x.@0
11 rule android.net.InformationElementParcelable* com.android.wifi.x.@0
12 rule android.net.InitialConfigurationParcelable* com.android.wifi.x.@0
13 rule android.net.InterfaceConfigurationParcel* com.android.wifi.x.@0
[all …]
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/celllayout/board/
DCellLayoutBoard.java61 for (int x = 0; x < mWidget.length; x++) { in CellLayoutBoard()
63 mWidget[x][y] = CellType.EMPTY; in CellLayoutBoard()
72 for (int x = 0; x < mWidget.length; x++) { in CellLayoutBoard()
74 mWidget[x][y] = CellType.EMPTY; in CellLayoutBoard()
79 public boolean pointInsideRect(int x, int y, WidgetRect rect) { in pointInsideRect() argument
80 Boolean isXInRect = x >= rect.getCellX() && x < rect.getCellX() + rect.getSpanX(); in pointInsideRect()
86 return getWidgetAt(p.x, p.y);
94 public WidgetRect getWidgetAt(int x, int y) { in getWidgetAt() argument
96 .filter(widgetRect -> pointInsideRect(x, y, widgetRect)).findFirst().orElse(null); in getWidgetAt()
138 int x = iconPoint.coord.x; in removeOverlappingItems()
[all …]
/packages/modules/Virtualization/libs/libfdt/src/
Dresult.rs118 x if x >= 0 => Ok(x), in try_from()
119 x if x == -(FDT_ERR_NOTFOUND as c_int) => Err(FdtError::NotFound), in try_from()
120 x if x == -(FDT_ERR_EXISTS as c_int) => Err(FdtError::Exists), in try_from()
121 x if x == -(FDT_ERR_NOSPACE as c_int) => Err(FdtError::NoSpace), in try_from()
122 x if x == -(FDT_ERR_BADOFFSET as c_int) => Err(FdtError::BadOffset), in try_from()
123 x if x == -(FDT_ERR_BADPATH as c_int) => Err(FdtError::BadPath), in try_from()
124 x if x == -(FDT_ERR_BADPHANDLE as c_int) => Err(FdtError::BadPhandle), in try_from()
125 x if x == -(FDT_ERR_BADSTATE as c_int) => Err(FdtError::BadState), in try_from()
126 x if x == -(FDT_ERR_TRUNCATED as c_int) => Err(FdtError::Truncated), in try_from()
127 x if x == -(FDT_ERR_BADMAGIC as c_int) => Err(FdtError::BadMagic), in try_from()
[all …]
/packages/modules/Bluetooth/system/gd/security/ecc/
Dmultipoint_test.cc35 p.x[7] = 0x20b003d2; in TEST()
36 p.x[6] = 0xf297be2c; in TEST()
37 p.x[5] = 0x5e2c83a7; in TEST()
38 p.x[4] = 0xe9f9a5b9; in TEST()
39 p.x[3] = 0xeff49111; in TEST()
40 p.x[2] = 0xacf4fddb; in TEST()
41 p.x[1] = 0xcc030148; in TEST()
42 p.x[0] = 0x0e359de6; in TEST()
56 p.x[7] = 0x2c31a47b; in TEST()
57 p.x[6] = 0x5779809e; in TEST()
[all …]
/packages/services/Car/tests/DiagnosticTools/src/com/google/android/car/diagnostictools/utils/
DMathEval.java98 double x = parseExpression(); in eval() local
102 return x; in eval()
112 double x = parseTerm(); in eval() local
115 x += parseTerm(); // addition in eval()
117 x -= parseTerm(); // subtraction in eval()
119 return x; in eval()
125 double x = parseFactor(); in eval() local
128 x *= parseFactor(); // multiplication in eval()
130 x /= parseFactor(); // division in eval()
132 return x; in eval()
[all …]
/packages/apps/Nfc/
Djarjar-rules.txt4 rule android.se.omapi.I** com.android.nfc.x.@0
6 rule android.sysprop.** com.android.nfc.x.@0
8 rule androidx.annotation.** com.android.nfc.x.@0
10 rule androidx.appcompat.app.** com.android.nfc.x.@0
12 rule com.google.android.material.** com.android.nfc.x.@0
13 rule com.android.internal.util.FastXmlSerializer* com.android.nfc.x.@0
16 rule android.app.PendingIntentProto* com.android.nfc.x.@0
17 rule android.content.ComponentNameProto* com.android.nfc.x.@0
18 rule android.content.IntentProto* com.android.nfc.x.@0
19 rule android.content.IntentFilterProto* com.android.nfc.x.@0
[all …]
/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/
DPoint.java20 public float x; field in Point
24 public Point(float x, float y) { in Point() argument
25 this.x = x; in Point()
30 public Point(float x, float y, long timeOffsetNano) { in Point() argument
31 this.x = x; in Point()
42 return x == otherPoint.x && y == otherPoint.y; in equals()
47 int result = (x != +0.0f ? Float.floatToIntBits(x) : 0); in hashCode()
53 return (float) Math.hypot(a.x - x, a.y - y); in dist()
61 return (a.x - x) * (b.y - y) - (a.y - y) * (b.x - x); in crossProduct()
69 return (a.x - x) * (b.x - x) + (a.y - y) * (b.y - y); in dotProduct()
/packages/modules/DnsResolver/
DDnsTlsServer.cpp45 static bool operator <(const in6_addr& x, const in6_addr& y) { in operator <() argument
47 std::begin(x.s6_addr), std::end(x.s6_addr), in operator <()
51 static bool operator ==(const in6_addr& x, const in6_addr& y) { in operator ==() argument
53 std::begin(x.s6_addr), std::end(x.s6_addr), in operator ==()
57 static bool operator <(const sockaddr_storage& x, const sockaddr_storage& y) { in operator <() argument
58 if (x.ss_family != y.ss_family) { in operator <()
59 return x.ss_family < y.ss_family; in operator <()
62 if (x.ss_family == AF_INET) { in operator <()
63 const sockaddr_in& x_sin = reinterpret_cast<const sockaddr_in&>(x); in operator <()
66 } else if (x.ss_family == AF_INET6) { in operator <()
[all …]
/packages/modules/Uwb/service/java/com/android/server/uwb/correction/math/
DQuaternion.java61 public final float x; field in Quaternion
70 float x = v[0], y = v[1], z = v[2], w = v[3]; in Quaternion() local
72 float norm = x * x + y * y + z * z + w * w; in Quaternion()
74 this.x = x * norm; in Quaternion()
80 public Quaternion(float x, float y, float z, float w) { in Quaternion() argument
81 float norm = x * x + y * y + z * z + w * w; in Quaternion()
83 this.x = x * norm; in Quaternion()
96 return new Quaternion(sin * a.x, sin * a.y, sin * a.z, cos); in axisAngle()
122 float x, y, z, w; in fromMatrix() local
137 x = (matrix.data[6] - matrix.data[9]) * traceRoot; in fromMatrix()
[all …]
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/utils/
DImsMediaImageRotate.cpp23 uint16_t x, y; in YUV420_Planar_Rotate90_Flip() local
32 for (x = 0; x < nSrcHeight; x++) in YUV420_Planar_Rotate90_Flip()
50 for (x = 0; x < nSrcHeight; x++) in YUV420_Planar_Rotate90_Flip()
65 uint16_t x, y, nDstWidth = nSrcHeight, nDstHt = nSrcWidth, nPadWidth = outputStride - nDstWidth; in YUV420_SP_Rotate90() local
88 for (x = 0; x < nSrcHeight; x++) in YUV420_SP_Rotate90()
105 for (x = 0; x < nSrcHeight; x++) in YUV420_SP_Rotate90()
119 uint16_t x, y; in YUV420_SP_Rotate90_Flip() local
129 for (x = 0; x < nSrcHeight; x++) in YUV420_SP_Rotate90_Flip()
145 for (x = 0; x < nSrcHeight; x++) in YUV420_SP_Rotate90_Flip()
158 uint16_t x, y, nDstWth = nSrcHeight, nDstHt = nSrcWidth, nPadWidth = outputStride - nDstWth; in YUV420_SP_Rotate270() local
[all …]

12345678910>>...49