Searched refs:rounded (Results 1 – 12 of 12) sorted by relevance
/frameworks/base/core/java/android/text/format/ |
D | Formatter.java | 277 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/ |
D | UserIconDrawable.java | 460 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/ |
D | Drawable.java | 1659 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/ |
D | timestats.proto | 101 // Frames per second, rounded to the nearest integer.
|
/frameworks/opt/telephony/proto/src/ |
D | persist_atoms.proto | 331 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/ |
D | QuickSettingsControllerImpl.java | 2295 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/ |
D | README.md | 157 Draws decorations about the screen in software (e.g. rounded corners, cutouts).
|
/frameworks/proto_logging/stats/atoms/telephony/satellite/ |
D | satellite_extension_atoms.proto | 92 // excluded while in charging state rounded to percent.
|
/frameworks/proto_logging/stats/atoms/cronet/ |
D | cronet_extension_atoms.proto | 390 // rounded, and clamped to the int64 range. (This should result in distinct
|
/frameworks/rs/script_api/ |
D | rs_math.spec | 1037 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/ |
D | atoms.proto | 3233 // 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/ |
D | rs_math.rsh | 1871 * 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
|