/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | DefaultBitmapCropper.java | 43 (int) Math.floor((float) cropRect.left / scale), in cropAndScaleBitmap() 44 (int) Math.floor((float) cropRect.top / scale), in cropAndScaleBitmap() 45 (int) Math.floor((float) cropRect.right / scale), in cropAndScaleBitmap() 46 (int) Math.floor((float) cropRect.bottom / scale)); in cropAndScaleBitmap()
|
D | DefaultWallpaperPersister.java | 330 (int) Math.floor((float) cropRect.left / minWallpaperZoom), in cropAndSetWallpaperBitmapInRotationStatic() 331 (int) Math.floor((float) cropRect.top / minWallpaperZoom), in cropAndSetWallpaperBitmapInRotationStatic() 332 (int) Math.floor((float) cropRect.right / minWallpaperZoom), in cropAndSetWallpaperBitmapInRotationStatic() 333 (int) Math.floor((float) cropRect.bottom / minWallpaperZoom)); in cropAndSetWallpaperBitmapInRotationStatic()
|
/packages/apps/Camera2/jni/ |
D | tinyplanet.cc | 62 float ax = x - floor(x); in InterpolatePixel() 63 float ay = y - floor(y); in InterpolatePixel() 89 return value - (dimension * floor(value/dimension)); in wrap()
|
/packages/apps/Gallery2/jni/filters/ |
D | tinyplanet.cc | 61 float ax = x - floor(x); in InterpolatePixel() 62 float ay = y - floor(y); in InterpolatePixel() 88 return value - (dimension * floor(value/dimension)); in wrap()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/ |
D | RespiratoryRateFormatter.kt | 25 import kotlin.math.floor 48 return format(context.getString(res), mapOf("count" to floor(rpm))) in formatRate()
|
/packages/modules/NeuralNetworks/common/cpu_operations/ |
D | ResizeImageOps.cpp | 194 height = std::floor(static_cast<float>(inHeight) * in prepare() 196 width = std::floor(static_cast<float>(inWidth) * in prepare() 199 height = std::floor( in prepare() 202 width = std::floor( in prepare()
|
D | RoiAlign.cpp | 128 uint32_t x1 = std::floor(static_cast<float>(x)); in roiAlignNhwc() 129 uint32_t y1 = std::floor(static_cast<float>(y)); in roiAlignNhwc() 255 uint32_t x1 = std::floor(x), y1 = std::floor(y); in roiAlignQuantNhwc()
|
D | RoiPooling.cpp | 99 uint32_t wStart = std::floor(static_cast<float>(wStepSize * j + wRoiStart)); in roiPoolingNhwc() 101 uint32_t hStart = std::floor(static_cast<float>(hStepSize * i + hRoiStart)); in roiPoolingNhwc()
|
/packages/modules/NeuralNetworks/runtime/test/generated/spec_V1_0/ |
D | floor.example.cpp | 7 namespace generated_tests::floor { namespace 54 namespace generated_tests::floor { namespace
|
/packages/modules/AdServices/adservices/libraries/cobalt/proto/ |
D | report_definition.proto | 802 // a[0] = floor 803 // a[1] = floor + initial_step 804 // a[2] = floor + initial_step * step_multiplier 805 // a[3] = floor + initial_step * step_multiplier ^ 2 806 // a[4] = floor + initial_step * step_multiplier ^ 3 808 // a[i] = floor + initial_step * step_multiplier ^ (i-1) 811 // Bucket 0 is the underflow bucket: (-infinity, floor) 816 // floor = 0 823 // floor = 0 830 // floor = 10 [all …]
|
/packages/providers/MediaProvider/pdf/framework/libs/pdfClient/ |
D | rect.cc | 50 return IntRect(floor(input.left), floor(input.top), ceil(input.right), ceil(input.bottom)); in OuterIntRect()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/util/ |
D | StringUtil.java | 55 int seconds = (int) Math.floor(millis / 1000); in formatElapsedTime() 132 final int seconds = (int) Math.floor(millis / 1000); in formatRelativeTime()
|
/packages/apps/Nfc/tests/unit/src/com/android/nfc/ |
D | NfcWifiProtectedSetupTest.java | 161 byte[] ssidLength = {(byte) ((int) Math.floor(ssid.length() / 256)), in createWifiRecord() 163 byte[] passwordLength = {(byte) ((int) Math.floor(password.length() / 256)), in createWifiRecord()
|
/packages/apps/Car/Launcher/docklib/src/com/android/car/docklib/view/ |
D | DockItemViewController.kt | 30 import kotlin.math.floor 281 floor(strokeWidth / 2).toInt()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | UiUtils.java | 257 final int blendedRed = (int) Math.floor(0.8 * Color.red(color)); in setStatusBarColor() 258 final int blendedGreen = (int) Math.floor(0.8 * Color.green(color)); in setStatusBarColor() 259 final int blendedBlue = (int) Math.floor(0.8 * Color.blue(color)); in setStatusBarColor()
|
/packages/modules/Wifi/framework/java/android/net/wifi/rtt/ |
D | CivicLocation.java | 192 String floor = in toAddress() local 209 new StringBuilder().append(room).append(desk).append(floor).toString(); in toAddress()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/ |
D | StochasticRoundingUtil.java | 80 double truncatedScaledValue = Math.floor(noisyScaledValue); in roundStochastically()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | Lerper.java | 58 delta = (int)(Math.floor(delta / mDivisor)); in getValue()
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | PhotoCarousel.java | 123 return 180f * (float) Math.floor(a / 180f); in lockTo180() 127 return a - 360f * (float) Math.floor(a / 360f); in wrap360()
|
D | PhotoSource.java | 220 (float) Math.floor(image.getWidth() / 2f), in load() 221 (float) Math.floor(image.getHeight() / 2f)); in load()
|
/packages/modules/Bluetooth/system/embdrv/sbc/decoder/srce/ |
D | dequant.c | 222 integerized_float_result = (int32_t)floor(0.5f + float_result * (1 << 15)); in OI_SBC_Dequant()
|
/packages/apps/Launcher3/tests/multivalentTests/shared/com/android/launcher3/testing/shared/ |
D | ResourceUtils.java | 90 float fraction = (float) (value - Math.floor(value)); in roundPxValueFromFloat()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/element/ |
D | CarSystemBarElementController.java | 142 int length = (int) Math.floor(Math.log10(mView.getId())) + 1; in getUniqueViewId()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | Util.java | 128 (int) Math.min(Math.floor(w / minSideLength), in computeInitialSampleSize() 129 Math.floor(h / minSideLength)); in computeInitialSampleSize()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/util/ |
D | UwbUtil.java | 154 qInt = (int) Math.floor(in); in convertFloatToQFormat()
|