Home
last modified time | relevance | path

Searched refs:mass (Results 1 – 25 of 27) sorted by relevance

12

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/
DMassFormatter.kt17 fun formatValue(context: Context, mass: Mass, weightUnit: WeightUnit): String { in formatValue()
20 mass, in formatValue()
29 fun formatA11yValue(context: Context, mass: Mass, weightUnit: WeightUnit): String { in formatA11yValue()
32 mass, in formatA11yValue()
42 mass: Mass, in getMassString()
51 val pounds = WeightConverter.convertFromGrams(POUND, mass.inGrams) in getMassString()
56 val pounds = WeightConverter.convertFromGrams(POUND, mass.inGrams) in getMassString()
74 val truncatedKg = Math.round(mass.inGrams / 1000 * 10) / 10.0 in getMassString()
DNutritionFormatter.kt46 { mass -> in <lambda>() method
47 val grams = mass.inGrams in <lambda>()
61 { mass -> in <lambda>() method
62 val grams = mass.inGrams in <lambda>()
71 formatMass: (mass: Mass) -> String, in <lambda>()
137 formatMass: (mass: Mass) -> String in <lambda>()
DBoneMassFormatter.kt31 return MassFormatter.formatValue(context, record.mass, unitPreferences.getWeightUnit()) in formatValue()
38 return MassFormatter.formatA11yValue(context, record.mass, unitPreferences.getWeightUnit()) in formatA11yValue()
DLeanBodyMassFormatter.kt31 return MassFormatter.formatValue(context, record.mass, unitPreferences.getWeightUnit()) in formatValue()
38 return MassFormatter.formatA11yValue(context, record.mass, unitPreferences.getWeightUnit()) in formatA11yValue()
DExercisePerformanceGoalFormatter.kt121 context, performanceGoal.mass, unitPreferences.getWeightUnit()) in formatPerformanceGoal()
195 context, performanceGoal.mass, unitPreferences.getWeightUnit()) in formatPerformanceGoalA11y()
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DGeometry.h67 double &mass, double &centX, double &centY) in FindTriangleCentroid() argument
78 mass = fabs((y1 - y0) * (x2 - x0)); // Special case 1a in FindTriangleCentroid()
82 mass = fabs((y1 - y0) * (x1 - x0)); // Special case 1b in FindTriangleCentroid()
89 mass = fabs((x2 - x0) * (y2 - y0)); // Special case 2a in FindTriangleCentroid()
93 mass = fabs((x1 - x0) * (y2 - y0)); // Special case 2a in FindTriangleCentroid()
98 mass = fabs((x1 - x0) * (y2 - y0)); // Special case 3 in FindTriangleCentroid()
120 mass = len1 * sqrt(dx * dx + dy * dy); in FindTriangleCentroid()
124 mass = fabs( (y1 - y0) * (x2 - x0) ); in FindTriangleCentroid()
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DLeanBodyMassRecord.java46 @NonNull Mass mass, in LeanBodyMassRecord() argument
52 Objects.requireNonNull(mass); in LeanBodyMassRecord()
54 ValidationUtils.requireInRange(mass.getInGrams(), 0.0, 1000000.0, "mass"); in LeanBodyMassRecord()
56 mMass = mass; in LeanBodyMassRecord()
99 public Builder(@NonNull Metadata metadata, @NonNull Instant time, @NonNull Mass mass) { in Builder() argument
102 Objects.requireNonNull(mass); in Builder()
105 mMass = mass; in Builder()
DBoneMassRecord.java44 @NonNull Mass mass, in BoneMassRecord() argument
50 Objects.requireNonNull(mass); in BoneMassRecord()
52 ValidationUtils.requireInRange(mass.getInGrams(), 0.0, 1000000.0, "mass"); in BoneMassRecord()
54 mMass = mass; in BoneMassRecord()
97 public Builder(@NonNull Metadata metadata, @NonNull Instant time, @NonNull Mass mass) { in Builder() argument
100 Objects.requireNonNull(mass); in Builder()
103 mMass = mass; in Builder()
DExercisePerformanceGoal.java237 public WeightGoal(@NonNull Mass mass) { in WeightGoal() argument
238 Objects.requireNonNull(mass); in WeightGoal()
239 this.mMass = mass; in WeightGoal()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/aggregation/
DUtils.java36 static void assertMassWithTolerance(Mass mass, double expected) { in assertMassWithTolerance() argument
37 assertThat(mass).isNotNull(); in assertMassWithTolerance()
38 assertThat(mass.getInGrams()).isWithin(0.001).of(expected); in assertMassWithTolerance()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DLeanBodyMassRecordInternal.java39 public LeanBodyMassRecordInternal setMass(double mass) { in setMass() argument
40 this.mMass = mass; in setMass()
DBoneMassRecordInternal.java39 public BoneMassRecordInternal setMass(double mass) { in setMass() argument
40 this.mMass = mass; in setMass()
DExercisePerformanceGoalInternal.java336 public WeightGoalInternal(Mass mass) { in WeightGoalInternal() argument
337 this.mMass = mass; in WeightGoalInternal()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DDeriveBasalCaloriesBurnedHelper.java184 double mass = StorageUtils.getCursorDouble(lbmCursor, MASS_COLUMN_NAME); in derivedBasalCaloriesBurnedFromLeanBodyMass() local
195 bmrFromLbmInCaloriesPerDay = getBmrFromLbmInCaloriesPerDay(mass); in derivedBasalCaloriesBurnedFromLeanBodyMass()
201 bmrFromLbmInCaloriesPerDay = getBmrFromLbmInCaloriesPerDay(mass); in derivedBasalCaloriesBurnedFromLeanBodyMass()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DBodyWaterMassRecordTest.java566 static BodyWaterMassRecord getBodyWaterMassRecord(double mass) { in getBodyWaterMassRecord() argument
568 new Metadata.Builder().build(), Instant.now(), Mass.fromGrams(mass)) in getBodyWaterMassRecord()
/packages/inputmethods/LatinIME/dictionaries/
Dfr_wordlist.combined.gz
Dnb_wordlist.combined.gz
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz
Dit_wordlist.combined.gz1dictionary=main:it,locale=it,description=Italiano,date=1414726258, ...
Dnl_wordlist.combined.gz
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dpl_wordlist.combined.gz

12