Home
last modified time | relevance | path

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

123

/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/DocumentsUI/src/com/android/documentsui/inspector/
DMetadataUtils.java98 double degrees = Double.parseDouble(pair[0].trim()) in convertRationalLatLonToFloat()
99 / Double.parseDouble(pair[1].trim()); in convertRationalLatLonToFloat()
102 double minutes = Double.parseDouble(pair[0].trim()) in convertRationalLatLonToFloat()
103 / Double.parseDouble(pair[1].trim()); in convertRationalLatLonToFloat()
106 double seconds = Double.parseDouble(pair[0].trim()) in convertRationalLatLonToFloat()
107 / Double.parseDouble(pair[1].trim()); in convertRationalLatLonToFloat()
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/
Dieee754.h23 class Double {
25 Double() {} in Double() function
26 explicit Double(double d) : d_(d) {} in Double() function
27 explicit 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/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/ranking/
DSuggestionRanker.java43 private static final Map<String, Double> WEIGHTS = new HashMap<String, Double>() {{
55 private final Map<Suggestion, Double> mRelevanceMetrics;
78 Map<String, Map<String, Double>> features = mSuggestionFeaturizer.featurize(suggestions); in rankRelevantSuggestions()
98 double getRelevanceMetric(Map<String, Double> features) { in getRelevanceMetric()
DSuggestionFeaturizer.java63 public Map<String, Map<String, Double>> featurize(List<Suggestion> suggestions) { in featurize()
64 Map<String, Map<String, Double>> features = new HashMap<>(); in featurize()
71 Map<String, Double> featureMap = new HashMap<>(); in featurize()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/
DOther.java42 mLatitude = Double.NaN; in Other()
43 mLongitude = Double.NaN; in Other()
97 return !Double.isNaN(mLatitude) && !Double.isNaN(mLongitude); in hasLatLong()
/packages/apps/TV/src/com/android/tv/recommendation/
DRecommender.java40 private static final Comparator<Pair<Channel, Double>> mChannelScoreComparator =
41 new Comparator<Pair<Channel, Double>>() {
43 public int compare(Pair<Channel, Double> lhs, Pair<Channel, Double> rhs) {
121 List<Pair<Channel, Double>> records = new ArrayList<>(); in recommendChannels()
/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/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DCbGeoUtils.java67 Double.parseDouble(geoParameters[2]))); in parseGeometriesFromString()
150 return new LatLng(Double.parseDouble(latLng[0]), Double.parseDouble(latLng[1])); in parseLatLngFromString()
/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/Settings/src/com/android/settings/homepage/contextualcards/logging/
DContextualCardLogUtils.java168 .setRankingScore(Double.parseDouble(parts[1])); in parseCardClickLog()
203 .setRankingScore(Double.parseDouble(parts[1])); in parseCardDismissLog()
240 .setRankingScore(Double.parseDouble(parts[i++])); in parseCardListLog()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/logging/
DContextualCardLogUtils.java168 .setRankingScore(Double.parseDouble(parts[1])); in parseCardClickLog()
203 .setRankingScore(Double.parseDouble(parts[1])); in parseCardDismissLog()
240 .setRankingScore(Double.parseDouble(parts[i++])); in parseCardListLog()
/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/UniversalMediaPlayer/java/com/android/pump/provider/
DWikidata.java248 } else if (object instanceof Double) { in dumpJson()
249 Double jsonDouble = (Double) object; in dumpJson()
/packages/apps/Test/connectivity/sl4n/rapidjson/example/capitalize/
Dcapitalize.cpp26 bool Double(double d) { return out_.Double(d); } in Double() function
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/
DTestCopyJobProcessTracker.java33 private final Function<Double, String> mProgressFormatter;
49 long requiredData, CopyJob job, Function<Double, String> progressFormatter, in TestCopyJobProcessTracker() argument
/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.java341 private final Map<Long, Double> mChannelScore = new HashMap<>();
348 Double score = mChannelScore.get(channelId); in evaluateChannel()
/packages/apps/Test/connectivity/sl4n/rapidjson/example/simplewriter/
Dsimplewriter.cpp24 writer.Double(3.1416); in main()
/packages/services/BuiltInPrintService/src/com/android/bips/jni/
DSizeD.java39 if (value < 0 || !Double.isFinite(value)) { in validate()

123