/packages/apps/Camera2/src/com/android/camera/data/ |
D | Location.java | 27 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/ |
D | MetadataUtils.java | 98 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/ |
D | ieee754.h | 23 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()
|
D | strtod.h | 56 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/ |
D | ExifUtil.java | 142 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/ |
D | SuggestionRanker.java | 43 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()
|
D | SuggestionFeaturizer.java | 63 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/ |
D | Other.java | 42 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/ |
D | Recommender.java | 40 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/ |
D | readertest.cpp | 96 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
|
D | writertest.cpp | 97 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/ |
D | CbGeoUtils.java | 67 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/ |
D | MockSuggestionProviderCursor.java | 114 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/ |
D | ContextualCardLogUtils.java | 168 .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/ |
D | ContextualCardLogUtils.java | 168 .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/ |
D | sax.md | 42 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); }
|
D | internals.md | 96 | 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/ |
D | Wikidata.java | 248 } else if (object instanceof Double) { in dumpJson() 249 Double jsonDouble = (Double) object; in dumpJson()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/example/capitalize/ |
D | capitalize.cpp | 26 bool Double(double d) { return out_.Double(d); } in Double() function
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/ |
D | TestCopyJobProcessTracker.java | 33 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/ |
D | DialogDetailsView.java | 171 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/ |
D | DetailsDialog.java | 121 double time = Double.valueOf(value); 171 double focalLength = Double.parseDouble(detail.getValue().toString());
|
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/ |
D | RecommenderTest.java | 341 private final Map<Long, Double> mChannelScore = new HashMap<>(); 348 Double score = mChannelScore.get(channelId); in evaluateChannel()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/example/simplewriter/ |
D | simplewriter.cpp | 24 writer.Double(3.1416); in main()
|
/packages/services/BuiltInPrintService/src/com/android/bips/jni/ |
D | SizeD.java | 39 if (value < 0 || !Double.isFinite(value)) { in validate()
|