/external/skia/src/codec/ |
D | SkWebpCodec.cpp | 433 int scaledWidth = subsetWidth; in onGetPixels() local 446 scaledWidth = scaleX * scaledWidth; in onGetPixels() 449 if (0 == scaledWidth || 0 == scaledHeight) { in onGetPixels() 453 scaledWidth = dstInfo.width(); in onGetPixels() 457 config.options.scaled_width = scaledWidth; in onGetPixels() 535 tmp.allocPixels(dstInfo.makeWH(scaledWidth, 1)); in onGetPixels() 542 this->applyColorXform(xformDst, xformSrc, scaledWidth); in onGetPixels() 545 dstInfo.alphaType(), frame.has_alpha, scaledWidth); in onGetPixels() 557 dstInfo.alphaType(), frame.has_alpha, scaledWidth); in onGetPixels()
|
/external/webrtc/sdk/android/api/org/webrtc/ |
D | EglRenderer.java | 718 final int scaledWidth = (int) (listenerAndParams.scale * frame.getRotatedWidth()); in notifyCallbacks() local 721 if (scaledWidth == 0 || scaledHeight == 0) { in notifyCallbacks() 726 bitmapTextureFramebuffer.setSize(scaledWidth, scaledHeight); in notifyCallbacks() 735 0 /* viewportY */, scaledWidth, scaledHeight); in notifyCallbacks() 737 final ByteBuffer bitmapBuffer = ByteBuffer.allocateDirect(scaledWidth * scaledHeight * 4); in notifyCallbacks() 738 GLES20.glViewport(0, 0, scaledWidth, scaledHeight); in notifyCallbacks() 740 0, 0, scaledWidth, scaledHeight, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, bitmapBuffer); in notifyCallbacks() 745 final Bitmap bitmap = Bitmap.createBitmap(scaledWidth, scaledHeight, Bitmap.Config.ARGB_8888); in notifyCallbacks()
|
D | TextureBufferImpl.java | 181 int unscaledHeight, int scaledWidth, int scaledHeight) { in applyTransformMatrix() argument 185 return new TextureBufferImpl(unscaledWidth, unscaledHeight, scaledWidth, scaledHeight, type, id, in applyTransformMatrix()
|
/external/pdfium/fxbarcode/ |
D | BC_TwoDimWriter.cpp | 39 FX_SAFE_INT32 scaledWidth = tempWidth; in RenderResult() local 41 scaledWidth *= moduleHSize; in RenderResult() 43 m_outputWidth = scaledWidth.ValueOrDie(); in RenderResult()
|
/external/webrtc/sdk/objc/base/ |
D | RTCVideoFrame.h | 63 scaledWidth:(int)scaledWidth
|
D | RTCVideoFrame.mm | 54 scaledWidth:(int)scaledWidth
|
/external/robolectric/integration_tests/androidx_test/src/sharedTest/java/org/robolectric/integrationtests/axt/ |
D | EspressoTest.java | 161 float scaledWidth = textView.getPaint().measureText(textView.getText().toString()); in textViewWithPositiveScaleX() local 164 assertThat(scaledWidth).isGreaterThan(unscaledWidth); in textViewWithPositiveScaleX() 175 float scaledWidth = textView.getPaint().measureText(textView.getText().toString()); in textViewWithNegativeScaleX() local 178 assertThat(scaledWidth).isLessThan(unscaledWidth); in textViewWithNegativeScaleX()
|
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowBitmapFactory.java | 281 int scaledWidth = round(p.x * scale); in create() local 284 shadowBitmap.setWidth(scaledWidth); in create() 288 new BufferedImage(scaledWidth, scaledHeight, BufferedImage.TYPE_INT_ARGB); in create() 296 new int[scaledWidth * scaledHeight], 0, 0, 0, 0, scaledWidth, scaledHeight); in create()
|
/external/libjpeg-turbo/ |
D | tjunittest.c | 439 int scaledWidth = TJSCALED(w, sf); in _decompTest() local 448 dstSize = scaledWidth * scaledHeight * tjPixelSize[pf]; in _decompTest() 454 unsigned long yuvSize = tjBufSizeYUV2(scaledWidth, pad, scaledHeight, in _decompTest() 468 TRY_TJ(tjDecompressToYUV2(handle, jpegBuf, jpegSize, yuvBuf, scaledWidth, in _decompTest() 470 if (checkBufYUV(yuvBuf, scaledWidth, scaledHeight, subsamp, sf)) in _decompTest() 477 TRY_TJ(tjDecodeYUV(handle2, yuvBuf, pad, subsamp, dstBuf, scaledWidth, 0, in _decompTest() 486 TRY_TJ(tjDecompress2(handle, jpegBuf, jpegSize, dstBuf, scaledWidth, 0, in _decompTest() 490 if (checkBuf(dstBuf, scaledWidth, scaledHeight, pf, subsamp, sf, flags)) in _decompTest()
|
D | turbojpeg-jni.c | 786 int nc = 0, i, width, height, scaledWidth, scaledHeight, nsf = 0; in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III() local 810 scaledWidth = TJSCALED(jpegWidth, sf[i]); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III() 812 if (scaledWidth <= width && scaledHeight <= height) in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III() 829 int planeSize = tjPlaneSizeYUV(i, scaledWidth, dstStrides[i], scaledHeight, in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III() 831 int pw = tjPlaneWidth(i, scaledWidth, jpegSubsamp); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/extensions/leanback/src/main/java/com/google/android/exoplayer2/ext/leanback/ |
D | LeanbackPlayerAdapter.java | 283 int scaledWidth = Math.round(videoSize.width * videoSize.pixelWidthHeightRatio); in onVideoSizeChanged() local 284 getCallback().onVideoSizeChanged(LeanbackPlayerAdapter.this, scaledWidth, videoSize.height); in onVideoSizeChanged()
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/extensions/leanback/src/main/java/com/google/android/exoplayer2/ext/leanback/ |
D | LeanbackPlayerAdapter.java | 283 int scaledWidth = Math.round(videoSize.width * videoSize.pixelWidthHeightRatio); in onVideoSizeChanged() local 284 getCallback().onVideoSizeChanged(LeanbackPlayerAdapter.this, scaledWidth, videoSize.height); in onVideoSizeChanged()
|
/external/setupdesign/main/src/com/google/android/setupdesign/ |
D | GlifPatternDrawable.java | 154 int scaledWidth = (int) (VIEWBOX_WIDTH * scale); in createBitmapCache() local 158 Bitmap bitmap = Bitmap.createBitmap(scaledWidth, scaledHeight, Bitmap.Config.ALPHA_8); in createBitmapCache()
|
/external/lottie/lottie/src/main/java/com/airbnb/lottie/parser/ |
D | LottieCompositionMoshiParser.java | 105 int scaledWidth = (int) (width * scale); in parse() local 107 Rect bounds = new Rect(0, 0, scaledWidth, scaledHeight); in parse()
|
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/ |
D | CameraVideoCapturerTestFixtures.java | 672 final int scaledWidth = startWidth / 2; in scaleCameraOutput() local 676 videoTrackWithRenderer.source.adaptOutputFormat(scaledWidth, scaledHeight, frameRate); in scaleCameraOutput() 685 gotExpectedResolution = (videoTrackWithRenderer.rendererCallbacks.frameWidth() == scaledWidth in scaleCameraOutput()
|
/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/integrationtests/nativegraphics/ |
D | ShadowNativeBitmapTest.java | 1444 int scaledWidth = scaleFromDensity(ret.getWidth(), ret.getDensity(), dummyDensity); in testGetScaledWidth1() local 1446 assertEquals(scaledWidth, ret.getScaledWidth(dummyDensity)); in testGetScaledWidth1() 1453 int scaledWidth = scaleFromDensity(ret.getWidth(), ret.getDensity(), metrics.densityDpi); in testGetScaledWidth2() local 1454 assertEquals(scaledWidth, ret.getScaledWidth(metrics)); in testGetScaledWidth2() 1464 int scaledWidth = scaleFromDensity(ret.getWidth(), ret.getDensity(), mCanvas.getDensity()); in testGetScaledWidth3() local 1465 assertEquals(scaledWidth, ret.getScaledWidth(mCanvas)); in testGetScaledWidth3()
|
/external/webp/doc/ |
D | api.md | 191 config.options.scaled_width = scaledWidth();
|