/frameworks/base/libs/androidfw/tests/ |
D | ResourceTimer_test.cpp | 50 ASSERT_THAT(timer.pvalues.p50.floor, 0); in TEST() 58 ASSERT_THAT(timer.pvalues.p50.floor, US(49)); in TEST() 60 ASSERT_THAT(timer.pvalues.p90.floor, US(89)); in TEST() 62 ASSERT_THAT(timer.pvalues.p95.floor, US(94)); in TEST() 64 ASSERT_THAT(timer.pvalues.p99.floor, US(98)); in TEST() 74 ASSERT_THAT(timer.pvalues.p50.floor, US(0)); in TEST() 82 ASSERT_THAT(timer.pvalues.p50.floor, US(0)); in TEST() 84 ASSERT_THAT(timer.pvalues.p90.floor, US(0)); in TEST() 86 ASSERT_THAT(timer.pvalues.p95.floor, US(0)); in TEST() 88 ASSERT_THAT(timer.pvalues.p99.floor, US(0)); in TEST() [all …]
|
/frameworks/rs/toolkit/ |
D | Resize.cpp | 129 int startx = (int) floor(xf - 1); in OneBiCubic() 130 xf = xf - floor(xf); in OneBiCubic() 164 int startx = (int) floor(xf - 1); in OneBiCubic() 165 xf = xf - floor(xf); in OneBiCubic() 199 int startx = (int) floor(xf - 1); in OneBiCubic() 200 xf = xf - floor(xf); in OneBiCubic() 282 int startx = (int) floor(xf - 1); in OneBiCubic() 283 xf = xf - floor(xf); in OneBiCubic() 305 int startx = (int) floor(xf - 1); in OneBiCubic() 306 xf = xf - floor(xf); in OneBiCubic() [all …]
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsicResize.cpp | 103 int startx = (int) floor(xf - 1); in OneBiCubic() 104 xf = xf - floor(xf); in OneBiCubic() 138 int startx = (int) floor(xf - 1); in OneBiCubic() 139 xf = xf - floor(xf); in OneBiCubic() 173 int startx = (int) floor(xf - 1); in OneBiCubic() 174 xf = xf - floor(xf); in OneBiCubic() 254 int startx = (int) floor(xf - 1); in OneBiCubic() 255 xf = xf - floor(xf); in OneBiCubic() 277 int startx = (int) floor(xf - 1); in OneBiCubic() 278 xf = xf - floor(xf); in OneBiCubic() [all …]
|
/frameworks/rs/toolkit/test/ |
D | ReferenceResize.kt | 20 import kotlin.math.floor in <lambda>() 62 val startX: Int = floor(xf - 1).toInt() in bicubicU4() 63 val startY: Int = floor(yf - 1).toInt() in bicubicU4() 64 xf -= floor(xf) in bicubicU4() 65 yf -= floor(yf) in bicubicU4()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | VSyncDispatchRealtimeTest.cpp | 69 auto const floor = timePoint % mPeriod; in nextAnticipatedVSyncTimeFrom() local 70 if (floor == 0) { in nextAnticipatedVSyncTimeFrom() 73 return timePoint - floor + mPeriod; in nextAnticipatedVSyncTimeFrom() 84 auto const floor = (normalized_to_base) % mPeriod; in nextAnticipatedVSyncTimeFrom() local 85 if (floor == 0) { in nextAnticipatedVSyncTimeFrom() 88 return normalized_to_base - floor + mPeriod + mBase; in nextAnticipatedVSyncTimeFrom()
|
/frameworks/base/core/java/android/util/ |
D | FloatMath.java | 47 public static float floor(float value) { in floor() method in FloatMath 48 return (float) Math.floor(value); in floor()
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
D | OvalShape.java | 44 (int) Math.floor(rect.right), (int) Math.floor(rect.bottom)); in getOutline()
|
D | RectShape.java | 47 (int) Math.floor(rect.right), (int) Math.floor(rect.bottom)); in getOutline()
|
D | RoundRectShape.java | 105 (int) Math.floor(rect.right), (int) Math.floor(rect.bottom), radius); in getOutline()
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | MediaHistogram.h | 32 bool setup(size_t bucketCount, T width, T floor = 0); 76 bool MediaHistogram<T>::setup(size_t bucketCount, T width, T floor) { in setup() argument 83 mFloor = floor; in setup() 84 mCeiling = floor + bucketCount * width; in setup()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/shadow/ |
D | DoubleShadowTextClock.kt | 27 import kotlin.math.floor 130 floor(metrics.descent.toDouble()).toInt() / paddingDividedOffset in initializeAttributes() 132 textDescentExtraPadding - floor(metrics.descent.toDouble()).toInt() in initializeAttributes()
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
D | resize.rscript | 47 int startx = (int) floor(xf - 1); 48 int starty = (int) floor(yf - 1); 49 xf = xf - floor(xf); 50 yf = yf - floor(yf);
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
D | resize.rscript | 47 int startx = (int) floor(xf - 1); 48 int starty = (int) floor(yf - 1); 49 xf = xf - floor(xf); 50 yf = yf - floor(yf);
|
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
D | resize.rscript | 47 int startx = (int) floor(xf - 1); 48 int starty = (int) floor(yf - 1); 49 xf = xf - floor(xf); 50 yf = yf - floor(yf);
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | FloatMathTest.java | 50 assertEquals((float) Math.floor(value), FloatMath.floor(value), DELTA); in testFloor()
|
/frameworks/libs/systemui/weathereffects/graphics/assets/shaders/ |
D | color_grading_lut.agsl | 56 // Calculate the floor UVs. 57 vec3 colorFloor = floor(colorTmp) * SLICE_LAST_IDX_INV; 71 * Fetch the color from the LUT, and combine both floor and ceiling options based on the
|
D | rain_shower.agsl | 56 float columnId = idGenerator(floor(gridUv.x)); 61 float cellId = idGenerator(floor(gridUv)); 65 float intensity = idGenerator(floor(vec2(cellId * 8.16, 27.2)));
|
D | glass_rain.agsl | 68 float cellId = idGenerator(floor(gridUv)); 161 float columnId = idGenerator(floor(gridUv.x)); 165 float cellId = idGenerator(floor(gridUv)); 181 float circletime = floor(t / (duration + delay)); 182 float delayOffset = idGenerator(floor(gridUv) + vec2(circletime, 43.14 * cellId));
|
D | rain_shower_layer.agsl | 51 float columnOffset = idGenerator(floor(gridUv.x)); 71 float circletime = floor(t / (duration + delay)); 73 float cellId = idGenerator(floor(gridUv) + vec2(circletime, 23.14));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/unified/ |
D | BatteryFillDrawable.kt | 31 import kotlin.math.floor in <lambda>() 165 floor(scaledFillRect.width() * (1 - fillFraction)).roundToInt() in <lambda>()
|
D | BatteryLayersDrawable.kt | 32 import kotlin.math.floor 224 floor(scaledAttrRightCanvas.left).toInt(), in draw() 225 floor(scaledAttrRightCanvas.top).toInt(), in draw()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallpapers/ |
D | WallpaperLocalColorExtractor.java | 350 (int) Math.floor(imageArea.left * mMiniBitmap.getWidth()), in getLocalWallpaperColors() 351 (int) Math.floor(imageArea.top * mMiniBitmap.getHeight()), in getLocalWallpaperColors() 387 int currentPage = (int) Math.floor(area.centerX() / virtualPageWidth); in pageToImgRect()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/ |
D | StringUtil.java | 62 int seconds = (int) Math.floor(millis / 1000); in formatElapsedTime() 139 final int seconds = (int) Math.floor(millis / 1000); in formatRelativeTime()
|
/frameworks/av/services/camera/libcameraservice/tests/ |
D | DistortionMapperComp.py | 23 rawCoords = np.floor(np.random.rand(1000,2) * activeArray)
|
/frameworks/av/media/libeffects/loudness/common/core/ |
D | math.h | 82 return static_cast<T>(std::floor(static_cast<double>(x) + 0.5)); in round()
|