/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | ColorSpace.java | 42 ByteBuffer input, ByteBuffer output, int width, int height) { in convertYuv420pToRgba8888() 61 ByteBuffer input, ByteBuffer output, int width, int height) { in convertArgb8888ToRgba8888() 80 ByteBuffer input, ByteBuffer output, int width, int height) { in convertRgba8888ToHsva8888() 99 ByteBuffer input, ByteBuffer output, int width, int height) { in convertRgba8888ToYcbcra8888() 122 ByteBuffer input, ByteBuffer output, int width, int height); in nativeYuv420pToRgba8888() 125 ByteBuffer input, ByteBuffer output, int width, int height); in nativeArgb8888ToRgba8888() 128 ByteBuffer input, ByteBuffer output, int width, int height); in nativeRgba8888ToHsva8888() 131 ByteBuffer input, ByteBuffer output, int width, int height); in nativeRgba8888ToYcbcra8888()
|
/frameworks/native/libs/vr/libbufferhub/ |
D | ion_buffer.cpp | 20 IonBuffer::IonBuffer(uint32_t width, uint32_t height, uint32_t format, in IonBuffer() 26 IonBuffer::IonBuffer(buffer_handle_t handle, uint32_t width, uint32_t height, in IonBuffer() 31 IonBuffer::IonBuffer(buffer_handle_t handle, uint32_t width, uint32_t height, in IonBuffer() 74 int IonBuffer::Alloc(uint32_t width, uint32_t height, uint32_t layer_count, in Alloc() 91 void IonBuffer::Reset(buffer_handle_t handle, uint32_t width, uint32_t height, in Reset() 101 int IonBuffer::Import(buffer_handle_t handle, uint32_t width, uint32_t height, in Import() 123 int int_count, uint32_t width, uint32_t height, in Import() 198 int IonBuffer::Lock(uint32_t usage, int x, int y, int width, int height, in Lock() 214 int IonBuffer::LockYUV(uint32_t usage, int x, int y, int width, int height, in LockYUV()
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | UT_alloc_copy.java | 61 int width = random.nextInt(512); in allocation_copy1DRangeTo_Byte() local 100 int width = random.nextInt(512); in allocation_copy1DRangeTo_Short() local 142 int width = random.nextInt(512); in allocation_copy1DRangeTo_Int() local 184 int width = random.nextInt(512); in allocation_copy1DRangeTo_Float() local 226 int width = random.nextInt(512); in allocation_copy1DRangeTo_Long() local 268 int width = random.nextInt(128); in allocation_copy2DRangeTo_Byte() local 303 int width = random.nextInt(128); in allocation_copy2DRangeTo_Short() local 341 int width = random.nextInt(128); in allocation_copy2DRangeTo_Int() local 379 int width = random.nextInt(128); in allocation_copy2DRangeTo_Float() local 417 int width = random.nextInt(128); in allocation_copy2DRangeTo_Long() local [all …]
|
D | UT_alloc_copyPadded.java | 85 int width = random.nextInt(512); in testAllocation_Byte3_1D() local 116 int width = random.nextInt(128); in testAllocation_Byte3_2D() local 181 int width = random.nextInt(512); in testAllocation_Short3_1D() local 215 int width = random.nextInt(128); in testAllocation_Short3_2D() local 286 int width = random.nextInt(512); in testAllocation_Int3_1D() local 320 int width = random.nextInt(128); in testAllocation_Int3_2D() local 391 int width = random.nextInt(512); in testAllocation_Float3_1D() local 424 int width = random.nextInt(128); in testAllocation_Float3_2D() local 494 int width = random.nextInt(512); in testAllocation_Double3_1D() local 527 int width = random.nextInt(128); in testAllocation_Double3_2D() local [all …]
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | UT_alloc_copy.java | 63 int width = random.nextInt(512); in allocation_copy1DRangeTo_Byte() local 102 int width = random.nextInt(512); in allocation_copy1DRangeTo_Short() local 144 int width = random.nextInt(512); in allocation_copy1DRangeTo_Int() local 186 int width = random.nextInt(512); in allocation_copy1DRangeTo_Float() local 228 int width = random.nextInt(512); in allocation_copy1DRangeTo_Long() local 270 int width = random.nextInt(128); in allocation_copy2DRangeTo_Byte() local 305 int width = random.nextInt(128); in allocation_copy2DRangeTo_Short() local 343 int width = random.nextInt(128); in allocation_copy2DRangeTo_Int() local 381 int width = random.nextInt(128); in allocation_copy2DRangeTo_Float() local 419 int width = random.nextInt(128); in allocation_copy2DRangeTo_Long() local [all …]
|
D | UT_alloc_copyPadded.java | 87 int width = random.nextInt(512); in testAllocation_Byte3_1D() local 118 int width = random.nextInt(128); in testAllocation_Byte3_2D() local 183 int width = random.nextInt(512); in testAllocation_Short3_1D() local 217 int width = random.nextInt(128); in testAllocation_Short3_2D() local 288 int width = random.nextInt(512); in testAllocation_Int3_1D() local 322 int width = random.nextInt(128); in testAllocation_Int3_2D() local 393 int width = random.nextInt(512); in testAllocation_Float3_1D() local 426 int width = random.nextInt(128); in testAllocation_Float3_2D() local 496 int width = random.nextInt(512); in testAllocation_Double3_1D() local 529 int width = random.nextInt(128); in testAllocation_Double3_2D() local [all …]
|
/frameworks/base/apct-tests/perftests/core/src/android/view/ |
D | ViewShowHidePerfTest.java | 141 void run(BenchmarkState state, int width, int height, ViewGroup parent, View child); in run() 151 final int width = 1000; in testParentWithChild() local 164 private void layout(int width, int height, View view) { in layout() 173 testParentWithChild((state, width, height, parent, child) -> { in testRemove() argument 189 testParentWithChild((state, width, height, parent, child) -> { in testAdd() argument 205 testParentWithChild((state, width, height, parent, child) -> { in testRecordAfterAdd() argument 220 testParentWithChild((state, width, height, parent, child) -> { in testVisibility() argument
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | BitmapRenderer.java | 35 static Bitmap createSoftwareBitmap(int width, int height, BitmapRenderer renderer) { in createSoftwareBitmap() 43 static Bitmap createHardwareBitmap(int width, int height, BitmapRenderer renderer) { in createHardwareBitmap() 59 static Bitmap createBitmap(Bitmap source, int x, int y, int width, int height) { in createBitmap()
|
/frameworks/base/opengl/java/android/opengl/ |
D | ETC1.java | 86 public static native int getEncodedDataSize(int width, int height); in getEncodedDataSize() 97 public static native void encodeImage(Buffer in, int width, int height, in encodeImage() 110 int width, int height, int pixelSize, int stride); in decodeImage() 118 public static native void formatHeader(Buffer header, int width, int height); in formatHeader()
|
D | ETC1Util.java | 74 int width = texture.getWidth(); in loadTexture() local 117 public ETC1Texture(int width, int height, ByteBuffer data) { in ETC1Texture() 153 int width = 0; in createTexture() local 192 …public static ETC1Texture compressTexture(Buffer input, int width, int height, int pixelSize, int … in compressTexture() 210 int width = texture.getWidth(); in writeTexture() local
|
/frameworks/base/graphics/java/android/graphics/ |
D | YuvImage.java | 144 public YuvImage(byte[] yuv, int format, int width, int height, int[] strides) { in YuvImage() 164 public YuvImage(@NonNull byte[] yuv, int format, int width, int height, in YuvImage() 369 private int[] calculateStrides(int width, int format) { in calculateStrides() 391 int width = rect.width(); in adjustRectangle() local 414 int format, int width, int height, int[] offsets, int[] strides, in nativeCompressToJpeg() 418 byte[] sdr, int sdrColorSpaceId, int width, int height, int quality, in nativeCompressToJpegR()
|
D | Bitmap.java | 128 Bitmap(long nativeBitmap, int width, int height, int density, in Bitmap() 136 Bitmap(long nativeBitmap, int width, int height, int density, in Bitmap() 184 void reinit(int width, int height, boolean requestPremultiplied) { in reinit() 284 public void reconfigure(int width, int height, @NonNull Config config) { in reconfigure() 311 public void setWidth(int width) { in setWidth() 443 private static void checkWidthHeight(int width, int height) { in checkWidthHeight() 824 final int width = src.getWidth(); in createScaledBitmap() local 861 public static Bitmap createBitmap(@NonNull Bitmap source, int x, int y, int width, int height) { in createBitmap() 897 public static Bitmap createBitmap(@NonNull Bitmap source, int x, int y, int width, int height, in createBitmap() 1069 public static Bitmap createBitmap(int width, int height, @NonNull Config config) { in createBitmap() [all …]
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | PaintTest.java | 279 float width = p.measureText(bidiText, 0, 4); in testMeasureTextBidi() local 289 float width = p.measureText(bidiText, 0, 4); in testMeasureTextBidi() local 297 float width = p.measureText(bidiText, 0, 4); in testMeasureTextBidi() local 305 float width = p.measureText(bidiText, 0, 4); in testMeasureTextBidi() local 315 float width = p.measureText(bidiText, 0, 4); in testMeasureTextBidi() local 323 float width = p.measureText(bidiText, 0, 4); in testMeasureTextBidi() local
|
/frameworks/base/apct-tests/perftests/core/src/android/widget/ |
D | TextViewPrecomputedTextPerfTest.java | 247 int width = MeasureSpec.makeMeasureSpec(TEXT_WIDTH, MeasureSpec.AT_MOST); in testOnMeasure_RandomText() local 267 int width = MeasureSpec.makeMeasureSpec(TEXT_WIDTH, MeasureSpec.AT_MOST); in testOnMeasure_RandomText_Selectable() local 288 int width = MeasureSpec.makeMeasureSpec(TEXT_WIDTH, MeasureSpec.AT_MOST); in testOnMeasure_PrecomputedText() local 311 int width = MeasureSpec.makeMeasureSpec(TEXT_WIDTH, MeasureSpec.AT_MOST); in testOnMeasure_PrecomputedText_Selectable() local 335 int width = MeasureSpec.makeMeasureSpec(TEXT_WIDTH, MeasureSpec.AT_MOST); in testOnDraw_RandomText() local 361 int width = MeasureSpec.makeMeasureSpec(TEXT_WIDTH, MeasureSpec.AT_MOST); in testOnDraw_RandomText_Selectable() local 388 int width = MeasureSpec.makeMeasureSpec(TEXT_WIDTH, MeasureSpec.AT_MOST); in testOnDraw_PrecomputedText() local 417 int width = MeasureSpec.makeMeasureSpec(MeasureSpec.AT_MOST, TEXT_WIDTH); in testOnDraw_PrecomputedText_Selectable() local
|
/frameworks/base/media/mca/filterfw/native/core/ |
D | gl_frame.cpp | 56 bool GLFrame::Init(int width, int height) { in Init() 65 bool GLFrame::InitWithTexture(GLint texture_id, int width, int height) { in InitWithTexture() 72 bool GLFrame::InitWithFbo(GLint fbo_id, int width, int height) { in InitWithFbo() 87 void GLFrame::InitDimensions(int width, int height) { in InitDimensions() 187 bool GLFrame::SetViewport(int x, int y, int width, int height) { in SetViewport()
|
/frameworks/av/media/module/codecs/m4v_h263/dec/src/ |
D | mb_utils.cpp | 25 void PutSKIPPED_MB(uint8 *comp, uint8 *prev, int width) in PutSKIPPED_MB() 86 void PutSKIPPED_B(uint8 *comp, uint8 *prev, int width) in PutSKIPPED_B()
|
D | block_idct.cpp | 231 int width, width_uv; in MBlockIDCT() local 251 MacroBlock *mblock, PIXEL *c_comp, int comp, int width) in BlockIDCT_intra() 323 void Copy_Blk_to_Vop(uint8 *dst, uint8 *pred, int width) in Copy_Blk_to_Vop() 352 int width, /* width of dst */ in BlockIDCT() 511 int16 *blk, uint8 *pred, uint8 *dst, int width in idctrow() 623 int16 *blk, PIXEL *comp, int width in idctrow_intra()
|
/frameworks/base/libs/hwui/renderthread/ |
D | Frame.h | 30 Frame(int32_t width, int32_t height, int32_t bufferAge) in Frame() 33 int32_t width() const { return mWidth; } in width() function
|
/frameworks/base/tests/TaskOrganizerTest/src/com/android/test/taskembed/ |
D | TaskView.java | 74 private void launchOrganizedActivity(Intent i, int width, int height) { in launchOrganizedActivity() 78 private Bundle makeLaunchOptions(int width, int height) { in makeLaunchOptions() 87 void resizeTask(int width, int height) { in resizeTask()
|
/frameworks/av/camera/ |
D | CameraParameters2.cpp | 220 int width, height; in parseSizesList() local 236 void CameraParameters2::setPreviewSize(int width, int height) in setPreviewSize() 243 void CameraParameters2::getPreviewSize(int *width, int *height) const in getPreviewSize() 252 void CameraParameters2::getPreferredPreviewSizeForVideo(int *width, int *height) const in getPreferredPreviewSizeForVideo() 266 void CameraParameters2::setVideoSize(int width, int height) in setVideoSize() 273 void CameraParameters2::getVideoSize(int *width, int *height) const in getVideoSize() 321 void CameraParameters2::setPictureSize(int width, int height) in setPictureSize() 328 void CameraParameters2::getPictureSize(int *width, int *height) const in getPictureSize()
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | DngCreator.java | 192 int width = pixels.getWidth(); in setThumbnail() local 233 int width = pixels.getWidth(); in setThumbnail() local 347 int width = size.getWidth(); in writeInputStream() local 402 int width = size.getWidth(); in writeByteBuffer() local 493 private void writeByteBuffer(int width, int height, ByteBuffer pixels, OutputStream dngOutput, in writeByteBuffer() 552 int width = yuvImage.getWidth(); in convertToRGB() local 611 int width = argbBitmap.getWidth(); in convertToRGB() local 665 private synchronized native void nativeSetThumbnail(ByteBuffer buffer, int width, int height); in nativeSetThumbnail() 667 private synchronized native void nativeWriteImage(OutputStream out, int width, int height, in nativeWriteImage() 673 int width, int height, long offset) in nativeWriteInputStream()
|
/frameworks/base/media/java/android/media/projection/ |
D | MediaProjection.java | 144 int width, int height, int dpi, boolean isSecure, @Nullable Surface surface, in createVirtualDisplay() 215 int width, int height, int dpi, int flags, @Nullable Surface surface, in createVirtualDisplay() 350 public void onCapturedContentResize(int width, int height) { } in onCapturedContentResize() 391 public void onCapturedContentResize(int width, int height) { in onCapturedContentResize() 426 public void onCapturedContentResize(int width, int height) { in onCapturedContentResize()
|
/frameworks/av/services/camera/libcameraservice/tests/ |
D | NV12Compressor.cpp | 41 bool NV12Compressor::compress(const unsigned char* data, int width, int height, int quality) { in compress() 51 bool NV12Compressor::compressWithExifOrientation(const unsigned char* data, int width, int height, in compressWithExifOrientation() 82 bool NV12Compressor::configureCompressor(int width, int height, int quality) { in configureCompressor() 122 std::vector<uint8_t>& vRows, int rowIndex, int width, int height, int stride) { in deinterleave() 144 int width = mCompressInfo.image_width; in compressData() local 319 size_t jpegBufferSize, size_t *width /*out*/, size_t *height /*out*/) { in getJpegImageDimensions()
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | Size.java | 86 int width = Integer.parseInt(flatSizes[i]); in stringToList() local 98 public Size(int width, int height) { in Size() 152 public int width() { in width() method in Size
|
/frameworks/av/media/libstagefright/rtsp/ |
D | APacketSource.cpp | 106 const char *params, int32_t *width, int32_t *height) { in MakeAVCCodecSpecificData() 336 const sp<ABuffer> &config, int32_t *width, int32_t *height) { in ExtractDimensionsMPEG4Config() 363 const char *params, int32_t *width, int32_t *height) { in MakeMPEG4VideoCodecSpecificData() 428 int32_t width, height; in APacketSource() local 459 int32_t width, height; in APacketSource() local 471 int32_t width, height; in APacketSource() local 524 int32_t width, height; in APacketSource() local
|