Home
last modified time | relevance | path

Searched refs:Double (Results 1 – 25 of 44) sorted by relevance

12

/packages/apps/Camera2/src/com/android/camera/data/
DLocation.java27 public static final Location UNKNOWN = new Location(Double.NaN, Double.NaN);
73 if (Double.compare(location.mLatitude, mLatitude) != 0) { in equals()
76 if (Double.compare(location.mLongitude, mLongitude) != 0) { in equals()
87 temp = Double.doubleToLongBits(mLatitude); in hashCode()
89 temp = Double.doubleToLongBits(mLongitude); in hashCode()
95 if (Double.isNaN(latitude) || Double.isNaN(longitude) in from()
96 || Double.isInfinite(latitude) || Double.isInfinite(longitude) in from()
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/
Dieee754.h23 class Double {
25 Double() {} in Double() function
26 Double(double d) : d_(d) {} in Double() function
27 Double(uint64_t u) : u_(u) {} in Double() function
34 return Double(u_ + 1).Value(); in NextPositiveDouble()
Dstrtod.h56 const Double db(b); in CheckWithinHalfULP()
181 const unsigned effectiveSignificandSize = Double::EffectiveSignificandSize(64 + v.e); in StrtodDiyFp()
210 Double a(approx); in StrtodBigInteger()
/packages/apps/Camera2/src/com/android/camera/util/
DExifUtil.java142 Double exposureTime = (double) exposureTimeNs / NS_TO_S;
143 Double shutterSpeedValue = -log2(exposureTime);
156 Double apertureValue = 2 * log2(fNumber);
201 private Rational rational(Double value, Long precision) {
208 private Double log2(Float value) {
215 private Double log2(Double value) {
/packages/apps/UnifiedEmail/src/org/apache/commons/io/
DEndianUtils.java106 return Double.longBitsToDouble( swapLong( Double.doubleToLongBits( value ) ) ); in swapDouble()
263 writeSwappedLong( data, offset, Double.doubleToLongBits( value ) ); in writeSwappedDouble()
274 return Double.longBitsToDouble( readSwappedLong( data, offset ) ); in readSwappedDouble()
456 writeSwappedLong( output, Double.doubleToLongBits( value ) ); in writeSwappedDouble()
469 return Double.longBitsToDouble( readSwappedLong( input ) ); in readSwappedDouble()
/packages/apps/TV/src/com/android/tv/recommendation/
DRecommender.java41 private static final Comparator<Pair<Channel, Double>> mChannelScoreComparator =
42 new Comparator<Pair<Channel, Double>>() {
44 public int compare(Pair<Channel, Double> lhs, Pair<Channel, Double> rhs) {
120 List<Pair<Channel, Double>> records = new ArrayList<>(); in recommendChannels()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DMockSuggestionProviderCursor.java114 if (o instanceof Double) return (Double) o; in getDouble()
115 return Double.valueOf(o.toString()); in getDouble()
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Dreadertest.cpp96 bool Double(double d) { actual_ = d; step_++; return true; } in Double() function
185 internal::Double e(x), a(h.actual_); \ in TestParseDouble()
317 internal::Double d = internal::Double(u); in TestParseDouble()
326 internal::Double a(h.actual_); in TestParseDouble()
343 internal::Double d(1.0); in TestParseDouble()
353 internal::Double a(h.actual_); in TestParseDouble()
386 internal::Double e, a; in TEST()
775 …bool Double(double d) { EXPECT_EQ(12u, step_); EXPECT_DOUBLE_EQ(3.1416, d); step_++; return true; } in Double() function
1135 …bool Double(double) { RAPIDJSON_ASSERT(LogCount < LogCapacity); Logs[LogCount++] = LOG_DOUBLE; ret… in Double() function
1315 bool Double(double) { return e != 6; } in Double() function
Dwritertest.cpp97 TEST(Writer, Double) { in TEST() argument
194 T(writer.Double(0)); in TEST()
244 T(writer.Double(0)); in TEST()
316 T(writer.Double(0)); in TEST()
/packages/apps/Calculator/src/com/android/calculator2/
DCalculatorExpressionEvaluator.java57 if (expr.length() == 0 || Double.valueOf(expr) != null) { in evaluate()
67 if (Double.isNaN(result)) { in evaluate()
/packages/apps/Test/connectivity/sl4n/rapidjson/example/capitalize/
Dcapitalize.cpp26 bool Double(double d) { return out_.Double(d); } in Double() function
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dsax.md42 Double(3.1416)
69 bool Double(double d) { cout << "Double(" << d << ")" << endl; return true; }
108 bool Double(double d);
122 …ion out of `Int(int)`, `Uint(unsigned)`, `Int64(int64_t)`, `Uint64(uint64_t)` and `Double(double)`.
208 writer.Double(3.1416);
421 bool Double(double d) { return out_.Double(d); }
Dinternals.md96 | Number (Double) | |32-bit|64-bit|
98 | `uint64_t i64` | Double precision floating-point |8 |8 |
219 ## Parsing to Double {#ParsingDouble}
238 ## Double-to-String conversion {#dtoa}
/packages/apps/Test/connectivity/sl4n/rapidjson/example/simplewriter/
Dsimplewriter.cpp24 writer.Double(3.1416); in main()
/packages/apps/Test/connectivity/sl4n/rapidjson/example/simplereader/
Dsimplereader.cpp14 bool Double(double d) { cout << "Double(" << d << ")" << endl; return true; } in Double() function
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DDialogDetailsView.java171 double time = Double.valueOf(value); in setDetails()
218 double focalLength = Double.parseDouble(detail.getValue().toString()); in setDetails()
/packages/apps/Camera2/src/com/android/camera/ui/
DDetailsDialog.java121 double time = Double.valueOf(value);
171 double focalLength = Double.parseDouble(detail.getValue().toString());
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
DRecommenderTest.java313 private final Map<Long, Double> mChannelScore = new HashMap<>();
320 Double score = mChannelScore.get(channelId); in evaluateChannel()
DRecentChannelEvaluatorTest.java128 Map<Long, Double> scores = new HashMap<>(); in testScoreDecreasesWithIncrementOfWatchedLogUpdatedTime()
/packages/apps/Camera2/src/com/android/camera/
DCaptureModuleUtil.java66 double targetRatio, Double aspectRatioTolerance) { in getOptimalPreviewSize()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DRoundedLine.java50 if (Double.compare(0.0d, l) == 0) { in makePath()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DSuggestionCursorBackedCursor.java186 return Double.valueOf(getString(column)); in getDouble()
/packages/apps/Test/connectivity/sl4n/rapidjson/example/serialize/
Dserialize.cpp54 writer.Double(GPA_); in Serialize()
/packages/apps/Test/connectivity/sl4n/rapidjson/
DCHANGELOG.md39 * Double quote in unicode escape (#288).
/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/
DBluetoothMapIMProvider.java579 } else if(ent.getValue() instanceof Double) { in createContentValues()
580 values.put(key, (Double) value); in createContentValues()

12