/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/tzs2polygons_tzs2cellunions/data/ |
D | Europe_London_tzs2polygons.prototxt | 10 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/geojsontz_to_tzs2polygons/data/ |
D | Europe_London_tzs2polygons.prototxt | 10 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/ |
D | America_Argentina_Buenos_Aires_tzs2polygons.prototxt | 10 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 …]
|
D | Europe_London_tzs2polygons.prototxt | 10 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/ |
D | America_Argentina_Cordoba_tzs2polygons.prototxt | 10 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 …]
|
D | GB_tzs2polygons.prototxt | 10 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 …]
|
D | America_Argentina_Ushuaia_tzs2polygons.prototxt | 10 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/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
D | valuetest.cpp | 22 Value x; in TEST() local 23 EXPECT_EQ(kNullType, x.GetType()); in TEST() 24 EXPECT_TRUE(x.IsNull()); in TEST() 79 Value x((Value(kArrayType))); in TEST() 80 x.Reserve(4u, allocator); in TEST() 81 x.PushBack(1, allocator).PushBack(2, allocator).PushBack(3, allocator).PushBack(4, allocator); in TEST() 82 EXPECT_TRUE(x.IsArray()); in TEST() 83 EXPECT_EQ(4u, x.Size()); in TEST() 86 Value y(std::move(x)); in TEST() 87 EXPECT_TRUE(x.IsNull()); in TEST() [all …]
|
/packages/apps/Gallery2/jni/filters/ |
D | kmeans.h | 27 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 …]
|
D | redEyeMath.c | 38 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/modules/Wifi/framework/ |
D | jarjar-rules.txt | 4 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/LegacyCamera/jni/feature_stab/db_vlvm/ |
D | db_utilities.h | 61 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 …]
|
D | db_utilities_linalg.cpp | 102 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 …]
|
D | db_metrics.h | 119 …double db_SquaredReprojectionErrorHomography(const double y[2],const double H[9],const double x[3]) in db_SquaredReprojectionErrorHomography() 124 x0=H[0]*x[0]+H[1]*x[1]+H[2]*x[2]; in db_SquaredReprojectionErrorHomography() 125 x1=H[3]*x[0]+H[4]*x[1]+H[5]*x[2]; in db_SquaredReprojectionErrorHomography() 126 x2=H[6]*x[0]+H[7]*x[1]+H[8]*x[2]; in db_SquaredReprojectionErrorHomography() 133 …double db_SquaredInhomogenousHomographyError(const double y[2],const double H[9],const double x[2]) in db_SquaredInhomogenousHomographyError() 138 x0=H[0]*x[0]+H[1]*x[1]+H[2]; in db_SquaredInhomogenousHomographyError() 139 x1=H[3]*x[0]+H[4]*x[1]+H[5]; in db_SquaredInhomogenousHomographyError() 140 x2=H[6]*x[0]+H[7]*x[1]+H[8]; in db_SquaredInhomogenousHomographyError() 153 …uble db_ExpCauchyInhomogenousHomographyError(const double y[2],const double H[9],const double x[2], in db_ExpCauchyInhomogenousHomographyError() 157 sd=db_SquaredInhomogenousHomographyError(y,H,x); in db_ExpCauchyInhomogenousHomographyError() [all …]
|
/packages/services/Car/tests/DiagnosticTools/src/com/google/android/car/diagnostictools/utils/ |
D | MathEval.java | 98 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/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | PointerTracker.java | 276 private void callListenerOnCodeInput(final Key key, final int primaryCode, final int x, in callListenerOnCodeInput() argument 284 Log.d(TAG, String.format("[%d] onCodeInput: %4d %4d %s%s%s", mPointerId, x, y, in callListenerOnCodeInput() 298 sListener.onCodeInput(code, x, y, isKeyRepeat); in callListenerOnCodeInput() 381 public Key getKeyOn(final int x, final int y) { in getKeyOn() argument 382 return mKeyDetector.detectHitKey(x, y); in getKeyOn() 472 private Key onDownKey(final int x, final int y, final long eventTime) { in onDownKey() argument 474 CoordinateUtils.set(mDownCoordinates, x, y); in onDownKey() 476 return onMoveToNewKey(onMoveKeyInternal(x, y), x, y); in onDownKey() 483 private Key onMoveKeyInternal(final int x, final int y) { in onMoveKeyInternal() argument 484 mBogusMoveEventDetector.onMoveKey(getDistance(x, y, mLastX, mLastY)); in onMoveKeyInternal() [all …]
|
/packages/modules/DnsResolver/ |
D | DnsTlsServer.cpp | 44 static bool operator <(const in6_addr& x, const in6_addr& y) { in operator <() argument 46 std::begin(x.s6_addr), std::end(x.s6_addr), in operator <() 50 static bool operator ==(const in6_addr& x, const in6_addr& y) { in operator ==() argument 52 std::begin(x.s6_addr), std::end(x.s6_addr), in operator ==() 56 static bool operator <(const sockaddr_storage& x, const sockaddr_storage& y) { in operator <() argument 57 if (x.ss_family != y.ss_family) { in operator <() 58 return x.ss_family < y.ss_family; in operator <() 61 if (x.ss_family == AF_INET) { in operator <() 62 const sockaddr_in& x_sin = reinterpret_cast<const sockaddr_in&>(x); in operator <() 65 } else if (x.ss_family == AF_INET6) { in operator <() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | Spline.java | 112 public void movePoint(int pick, float x, float y) { in movePoint() argument 117 point.x = x; in movePoint() 126 if (mPoints.elementAt(0).x != 0 || mPoints.elementAt(0).y != 1) { in isOriginal() 129 if (mPoints.elementAt(1).x != 1 || mPoints.elementAt(1).y != 0) { in isOriginal() 153 points[i] = new ControlPoint(p.x, p.y); in getAppliedCurve() 158 if (points[0].x != 0) { in getAppliedCurve() 159 start = (int) (points[0].x * 256); in getAppliedCurve() 161 if (points[points.length - 1].x != 1) { in getAppliedCurve() 162 end = (int) (points[points.length - 1].x * 256); in getAppliedCurve() 173 double x = i / 256.0; in getAppliedCurve() local [all …]
|
D | EclipseControl.java | 67 public void setRadius(float x, float y) { in setRadius() argument 68 mRadiusX = x; in setRadius() 72 public void setCenter(float x, float y) { in setCenter() argument 73 mCenterX = x; in setCenter() 77 public int getCloseHandle(float x, float y) { in getCloseHandle() argument 81 float dx = handlex[i] - x; in getCloseHandle() 94 float dx = handlex[i] - x; in getCloseHandle() 111 public void actionDown(float x, float y, Oval oval) { in actionDown() argument 113 x, y}; in actionDown() 124 public void actionMove(int handle, float x, float y, Oval oval) { in actionMove() argument [all …]
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
D | rapidjson.h | 50 #define RAPIDJSON_STRINGIFY(x) RAPIDJSON_DO_STRINGIFY(x) argument 51 #define RAPIDJSON_DO_STRINGIFY(x) #x argument 245 #define RAPIDJSON_ALIGN(x) (((x) + static_cast<uint64_t>(7u)) & ~static_cast<uint64_t>(7u)) argument 247 #define RAPIDJSON_ALIGN(x) (((x) + 3u) & ~3u) argument 344 #define RAPIDJSON_ASSERT(x) assert(x) argument 354 template <bool x> struct STATIC_ASSERTION_FAILURE; 356 template<int x> struct StaticAssertTest {}; 375 #define RAPIDJSON_STATIC_ASSERT(x) \ 377 sizeof(::RAPIDJSON_NAMESPACE::STATIC_ASSERTION_FAILURE<bool(x) >)> \ 391 #define RAPIDJSON_VERSION_CODE(x,y,z) \ [all …]
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/ |
D | Point.java | 20 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/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
D | WallpaperCropUtils.java | 61 float x = (WALLPAPER_WIDTH_TO_SCREEN_RATIO_LANDSCAPE in wallpaperTravelToScreenWidthRatio() local 64 float y = WALLPAPER_WIDTH_TO_SCREEN_RATIO_PORTRAIT - x * ASPECT_RATIO_PORTRAIT; in wallpaperTravelToScreenWidthRatio() 65 return x * aspectRatio + y; in wallpaperTravelToScreenWidthRatio() 77 int maxDim = Math.max(maxDims.x, maxDims.y); in getDefaultCropSurfaceSize() 78 int minDim = Math.max(minDims.x, minDims.y); in getDefaultCropSurfaceSize() 83 maxDim = Math.max(realSize.x, realSize.y); in getDefaultCropSurfaceSize() 84 minDim = Math.min(realSize.x, realSize.y); in getDefaultCropSurfaceSize() 125 if (inner.x > outer.x || inner.y > outer.y) { in calculateCenterPosition() 133 relativePosition.x = isRtl ? outer.x - inner.x : 0; in calculateCenterPosition() 135 relativePosition.x = Math.round((outer.x - inner.x) / 2f); in calculateCenterPosition() [all …]
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | Scroller.java | 79 float x, tx, coef; 81 x = x_min + (x_max - x_min) / 2.0f; 82 coef = 3.0f * x * (1.0f - x); 83 tx = coef * ((1.0f - x) * START_TENSION + x * END_TENSION) + x * x * x; 85 if (tx > t) x_max = x; 86 else x_min = x; 88 final float d = coef + x * x * x; 258 float x = timePassed * mDurationReciprocal; in computeScrollOffset() local 261 x = viscousFluid(x); in computeScrollOffset() 263 x = mInterpolator.getInterpolation(x); in computeScrollOffset() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/ |
D | PieRenderer.java | 122 mListener.onPieOpened(mCenter.x, mCenter.y); 267 public void setCenter(int x, int y) { in setCenter() argument 268 mCenter.x = x; in setCenter() 271 alignFocus(x, y); in setCenter() 308 int x = (int) (r * Math.cos(angle)); in layoutItems() local 310 x = mCenter.x + x - w / 2; in layoutItems() 311 item.setBounds(x, y, x + w, y + h); in layoutItems() 324 new RectF(center.x - outer, center.y - outer, center.x + outer, in makeSlice() 327 new RectF(center.x - inner, center.y - inner, center.x + inner, in makeSlice() 368 canvas.scale(sf, sf, mCenter.x, mCenter.y); in onDraw() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/ |
D | PieRenderer.java | 122 listener.onPieOpened(center.x, center.y); 269 public void setCenter(int x, int y) { in setCenter() argument 270 center.x = x; in setCenter() 273 alignFocus(x, y); in setCenter() 308 int x = (int) (r * Math.cos(angle)); in layoutItems() local 310 x = center.x + x - w / 2; in layoutItems() 311 item.setBounds(x, y, x + w, y + h); in layoutItems() 322 RectF bb = new RectF(center.x - outer, center.y - outer, center.x + outer, center.y + outer); in makeSlice() 323 RectF bbi = new RectF(center.x - inner, center.y - inner, center.x + inner, center.y + inner); in makeSlice() 369 canvas.scale(sf, sf, center.x, center.y); in onDraw() [all …]
|