Home
last modified time | relevance | path

Searched refs:rounded (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/java/android/text/format/
DFormatter.java277 final RoundedBytesResult rounded = RoundedBytesResult.roundBytes(sizeBytes, flags); in formatBytes() local
279 final NumberFormat numberFormatter = getNumberFormatter(locale, rounded.fractionDigits); in formatBytes()
280 final String formattedNumber = numberFormatter.format(rounded.value); in formatBytes()
285 locale, numberFormatter, rounded.value, rounded.units); in formatBytes()
289 if (rounded.units == MeasureUnit.BYTE) { in formatBytes()
294 rounded.roundedBytes); in formatBytes()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/
DUserIconDrawable.java460 Rect rounded = new Rect(); in onBoundsChange() local
461 dstRect.round(rounded); in onBoundsChange()
464 mUserDrawable.setBounds(rounded); in onBoundsChange()
/frameworks/base/graphics/java/android/graphics/drawable/
DDrawable.java1659 final int rounded = Math.round(result); in scaleFromDensity() local
1660 if (rounded != 0) { in scaleFromDensity()
1661 return rounded; in scaleFromDensity()
/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/
Dtimestats.proto101 // Frames per second, rounded to the nearest integer.
/frameworks/opt/telephony/proto/src/
Dpersist_atoms.proto331 optional int64 total_duration_millis = 3; // Duration needs to be rounded when pulled
430 optional int64 total_time_millis = 9; // Duration needs to be rounded when pulled
475 // Durations need to be rounded when pulled
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DQuickSettingsControllerImpl.java2295 float rounded = amount >= 1f ? amount : 0f; in onOverscrollTopChanged() local
2296 setOverScrolling(rounded != 0f && isRubberbanded); in onOverscrollTopChanged()
2297 mExpansionFromOverscroll = rounded != 0f; in onOverscrollTopChanged()
2298 mLastOverscroll = rounded; in onOverscrollTopChanged()
2300 setExpansionHeight(getMinExpansionHeight() + rounded); in onOverscrollTopChanged()
/frameworks/base/packages/SystemUI/
DREADME.md157 Draws decorations about the screen in software (e.g. rounded corners, cutouts).
/frameworks/proto_logging/stats/atoms/telephony/satellite/
Dsatellite_extension_atoms.proto92 // excluded while in charging state rounded to percent.
/frameworks/proto_logging/stats/atoms/cronet/
Dcronet_extension_atoms.proto390 // rounded, and clamped to the int64 range. (This should result in distinct
/frameworks/rs/script_api/
Drs_math.spec1037 Returns the remainder of (numerator / denominator), where the quotient is rounded towards zero.
2887 Returns the remainder of (numerator / denominator), where the quotient is rounded towards
/frameworks/proto_logging/stats/
Datoms.proto3233 // and whether the screen has a rounded shape.
15584 // Total duration that voice calls spent on this carrier and RAT, rounded to 5 minutes.
15633 // Total time spent in this service state, rounded to 5 minutes.
16113 // Duration of the data call, rounded into the closest 5 minutes.
16284 // Total time IMS was registered (connected time), rounded to 5 minutes.
16289 // All durations are rounded to 5 minutes and should be equal to or shorter than
16300 // Total time IMS was registering (connecting time), rounded to 5 minutes
16302 // Total time IMS was unregistered (unconnected time), rounded to 5 minutes
20797 // The time this feature tag was registered, rounded to 5 minutes
20876 // The amount of time in seconds that the device was in this state in total, rounded 5 minutes
[all …]
/frameworks/rs/script_api/include/
Drs_math.rsh1871 * Returns the remainder of (numerator / denominator), where the quotient is rounded towards zero.
5670 * Returns the remainder of (numerator / denominator), where the quotient is rounded towards