/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()
|
D | BufferUtils.kt | 28 import kotlin.math.floor 76 fun intFloor() = Int4(floor(x).toInt(), floor(y).toInt(), floor(z).toInt(), floor(w).toInt()) in plus()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | VSyncDispatchRealtimeTest.cpp | 44 auto const floor = timePoint % mPeriod; in nextAnticipatedVSyncTimeFrom() local 45 if (floor == 0) { in nextAnticipatedVSyncTimeFrom() 48 return timePoint - floor + mPeriod; in nextAnticipatedVSyncTimeFrom() 72 auto const floor = (normalized_to_base) % mPeriod; in nextAnticipatedVSyncTimeFrom() local 73 if (floor == 0) { in nextAnticipatedVSyncTimeFrom() 76 return normalized_to_base - floor + mPeriod + mBase; in nextAnticipatedVSyncTimeFrom()
|
/frameworks/base/core/java/android/util/ |
D | FloatMath.java | 46 public static float floor(float value) { in floor() method in FloatMath 47 return (float) Math.floor(value); in floor()
|
D | Half.java | 565 public static @HalfFloat short floor(@HalfFloat short h) { in floor() method in Half 566 return FP16.floor(h); 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/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/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/base/packages/SystemUI/shared/src/com/android/systemui/shared/shadow/ |
D | DoubleShadowTextClock.kt | 25 import kotlin.math.floor 105 textDescentExtraPadding - floor(paint.fontMetrics.descent.toDouble()).toInt()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallpapers/ |
D | WallpaperLocalColorExtractor.java | 276 (int) Math.floor(imageArea.left * mMiniBitmap.getWidth()), in getLocalWallpaperColors() 277 (int) Math.floor(imageArea.top * mMiniBitmap.getHeight()), in getLocalWallpaperColors() 313 int currentPage = (int) Math.floor(area.centerX() / virtualPageWidth); in pageToImgRect()
|
/frameworks/av/services/camera/libcameraservice/tests/ |
D | DistortionMapperComp.py | 23 rawCoords = np.floor(np.random.rand(1000,2) * activeArray)
|
/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/media/libeffects/loudness/common/core/ |
D | math.h | 82 return static_cast<T>(std::floor(static_cast<double>(x) + 0.5)); in round()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ScreenDecorHwcLayer.kt | 44 import kotlin.math.floor in <lambda>() 209 floor(centerX - scaledDistanceX).toInt(), in <lambda>() 210 floor(centerY - scaledDistanceY).toInt(), in <lambda>()
|
/frameworks/base/core/tests/benchmarks/src/android/util/ |
D | FloatMathBenchmark.java | 62 f += FloatMath.floor(100.123f); in timeFloatMathFloor()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | RenderDrawable.java | 138 w = (int) Math.floor(scale * w); in renderImage() 139 h = (int) Math.floor(scale * h); in renderImage()
|
/frameworks/av/media/libaaudio/src/flowgraph/resampler/ |
D | SincResampler.cpp | 44 int index1 = static_cast<int>(floor(tablePhase)); in readFrame()
|
D | SincResamplerStereo.cpp | 56 int index1 = static_cast<int>(floor(tablePhase)); in readFrame()
|
/frameworks/rs/driver/runtime/ |
D | rs_sample.c | 428 int32_t iPixel = floor(pixelUV); in sample_LOD_LinearPixel() 457 int32_t iPixel = floor(uv * (float)(sourceW)); in sample_LOD_NearestPixel() 475 int iPixelU = floor(pixelU); in sample_LOD_LinearPixel() 476 int iPixelV = floor(pixelV); in sample_LOD_LinearPixel() 521 int2 iPixel = convert_int2(floor(uv * dimF)); in sample_LOD_NearestPixel() 561 uint32_t lod0 = (uint32_t)floor(lod); in rsSample() 614 uint32_t lod0 = (uint32_t)floor(lod); in rsSample()
|
/frameworks/base/tests/JankBench/scripts/ |
D | collect.py | 8 from math import log10, floor 89 return round(val , -int(floor(log10(abs(val)))) + 1)
|