/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/units/ |
D | PercentageTest.java | 34 assertThat(Percentage.fromValue(10.0)).isInstanceOf(Percentage.class); in testCreate() 35 assertThat(Percentage.fromValue(10.0).getValue()).isEqualTo(10.0); in testCreate() 40 Percentage Percentage1 = Percentage.fromValue(10.0); in testEquals() 41 Percentage Percentage2 = Percentage.fromValue(10.0); in testEquals() 42 Percentage Percentage3 = Percentage.fromValue(20.0); in testEquals() 50 Percentage Percentage1 = Percentage.fromValue(10.0); in testCompare() 51 Percentage Percentage2 = Percentage.fromValue(10.0); in testCompare() 52 Percentage Percentage3 = Percentage.fromValue(20.0); in testCompare()
|
/packages/services/Car/car-lib/src/android/car/diagnostic/ |
D | CarDiagnosticEvent.java | 674 public IgnitionMonitor fromValue(int value) { in fromValue() method in CarDiagnosticEvent.IgnitionMonitor.Decoder 716 components = COMPONENTS_DECODER.fromValue(bitmask); in CommonIgnitionMonitors() 717 fuelSystem = FUEL_SYSTEM_DECODER.fromValue(bitmask); in CommonIgnitionMonitors() 718 misfire = MISFIRE_DECODER.fromValue(bitmask); in CommonIgnitionMonitors() 828 EGR = EGR_DECODER.fromValue(bitmask); in SparkIgnitionMonitors() 829 oxygenSensorHeater = OXYGEN_SENSOR_HEATER_DECODER.fromValue(bitmask); in SparkIgnitionMonitors() 830 oxygenSensor = OXYGEN_SENSOR_DECODER.fromValue(bitmask); in SparkIgnitionMonitors() 831 ACRefrigerant = AC_REFRIGERANT_DECODER.fromValue(bitmask); in SparkIgnitionMonitors() 832 secondaryAirSystem = SECONDARY_AIR_SYSTEM_DECODER.fromValue(bitmask); in SparkIgnitionMonitors() 833 evaporativeSystem = EVAPORATIVE_SYSTEM_DECODER.fromValue(bitmask); in SparkIgnitionMonitors() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/contacts/displaypreference/ |
D | ContactDisplayPreferences.java | 41 static <T extends Enum<T> & StringResEnum> T fromValue( in fromValue() method 84 static DisplayOrder fromValue(Context context, String value) { in fromValue() method in DisplayOrder 85 return StringResEnum.fromValue(context, DisplayOrder.values(), value); in fromValue() 122 static SortOrder fromValue(Context context, String value) { in fromValue() method in SortOrder 123 return StringResEnum.fromValue(context, SortOrder.values(), value); in fromValue()
|
D | ContactDisplayPreferencesImpl.java | 53 return DisplayOrder.fromValue(appContext, sharedPreferences.getString(displayOrderKey, null)); in getDisplayOrder() 67 return SortOrder.fromValue(appContext, sharedPreferences.getString(sortOrderKey, null)); in getSortOrder()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | InterruptibleInOutAnimator.java | 68 public InterruptibleInOutAnimator(long duration, float fromValue, float toValue) { in InterruptibleInOutAnimator() argument 69 mAnimator = ObjectAnimator.ofFloat(this, VALUE, fromValue, toValue).setDuration(duration); in InterruptibleInOutAnimator() 71 mOriginalFromValue = fromValue; in InterruptibleInOutAnimator()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | FilterRotateRepresentation.java | 48 public static Rotation fromValue(int value) { in fromValue() method in FilterRotateRepresentation.Rotation 179 Rotation r = Rotation.fromValue(reader.nextInt()); in deSerializeRepresentation()
|
D | FilterMirrorRepresentation.java | 52 public static Mirror fromValue(char value) { in fromValue() method in FilterMirrorRepresentation.Mirror 201 Mirror r = Mirror.fromValue((char) reader.nextInt()); in deSerializeRepresentation()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/ |
D | OxygenSaturationRecordTest.java | 348 new Metadata.Builder().build(), Instant.now(), Percentage.fromValue(10.0)); in testZoneOffsets() 357 new Metadata.Builder().build(), Instant.now(), Percentage.fromValue(100.1)) in testCreateOxygenSaturationRecord_invalidValue() 544 metadataWithId, Instant.now(), Percentage.fromValue(20.0)) in getOxygenSaturationRecord_update() 551 new Metadata.Builder().build(), Instant.now(), Percentage.fromValue(10.0)) in getBaseOxygenSaturationRecord() 570 testMetadataBuilder.build(), Instant.now(), Percentage.fromValue(10.0)) in getCompleteOxygenSaturationRecord()
|
D | BodyFatRecordTest.java | 318 new Metadata.Builder().build(), Instant.now(), Percentage.fromValue(10.0)); in testZoneOffsets() 502 return new BodyFatRecord.Builder(metadataWithId, Instant.now(), Percentage.fromValue(10.0)) in getBodyFatRecord_update() 509 new Metadata.Builder().build(), Instant.now(), Percentage.fromValue(10.0)) in getBaseBodyFatRecord() 528 testMetadataBuilder.build(), Instant.now(), Percentage.fromValue(10.0)) in getCompleteBodyFatRecord()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/units/ |
D | Percentage.java | 37 public static Percentage fromValue(double value) { in fromValue() method in Percentage
|
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/ |
D | BodyFatRecordInternal.java | 48 buildMetaData(), getTime(), Percentage.fromValue(getPercentage())) in toExternalRecord()
|
D | OxygenSaturationRecordInternal.java | 49 buildMetaData(), getTime(), Percentage.fromValue(getPercentage())) in toExternalRecord()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utils/ |
D | TestConstants.kt | 358 getOxygenSaturationRecord(INSTANT_DAY, Percentage.fromValue(98.0)) 360 getOxygenSaturationRecord(INSTANT_DAY2, Percentage.fromValue(95.0)) 390 getOxygenSaturationRecord(instantYesterday, Percentage.fromValue(99.0))) in getMixedRecordsAcrossTwoDays()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/formatters/ |
D | BodyFatFormatterTest.kt | 93 return BodyFatRecord.Builder(getMetaData(), NOW, Percentage.fromValue(value)).build() in getBodyFat()
|
D | OxygenSaturationFormatterTest.kt | 93 return OxygenSaturationRecord.Builder(getMetaData(), NOW, Percentage.fromValue(value)) in getOxygenSaturation()
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | TimerDAO.kt | 69 val state: Timer.State? = Timer.State.fromValue(stateValue) in getTimers()
|
D | Timer.kt | 63 fun fromValue(value: Int): State? { in <lambda>() method
|
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/utils/ |
D | InsertOrUpdateRecords.kt | 306 Percentage.fromValue( in createRecordObjectHelper() 460 Percentage.fromValue( in createRecordObjectHelper()
|
/packages/services/Car/cpp/displayproxy/src/ |
D | CarDisplayProxy.cpp | 114 ::android::DisplayId::fromValue<::android::PhysicalDisplayId>(id); in getDisplayInfoFromSurfaceComposerClient()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | GeometryMathUtils.java | 379 holder.rotation = Rotation.fromValue(rotation); in getOriginalToScreen()
|
/packages/services/Car/tests/carservice_unit_test/res/raw/ |
D | car_hidden_apis_release_33.2.txt | 202 android.car.diagnostic CarDiagnosticEvent.IgnitionMonitor.Decoder IgnitionMonitor fromValue(int val…
|
D | car_hidden_apis_release_33.1.txt | 202 android.car.diagnostic CarDiagnosticEvent.IgnitionMonitor.Decoder IgnitionMonitor fromValue(int val…
|
D | car_hidden_apis.txt | 295 android.car.diagnostic CarDiagnosticEvent.IgnitionMonitor.Decoder IgnitionMonitor fromValue(int val…
|
D | car_hidden_apis_release_33.3.txt | 223 android.car.diagnostic CarDiagnosticEvent.IgnitionMonitor.Decoder IgnitionMonitor fromValue(int val…
|
/packages/modules/HealthFitness/framework/api/ |
D | current.txt | 1740 … method @NonNull public static android.health.connect.datatypes.units.Percentage fromValue(double);
|