/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/base/graphics/tests/graphicstests/src/android/graphics/ |
D | PaintTest.java | 171 float width = p.measureText(bidiText, 0, 4); in testMeasureTextBidi() local 181 float width = p.measureText(bidiText, 0, 4); in testMeasureTextBidi() local 189 float width = p.measureText(bidiText, 0, 4); in testMeasureTextBidi() local 197 float width = p.measureText(bidiText, 0, 4); in testMeasureTextBidi() local 207 float width = p.measureText(bidiText, 0, 4); in testMeasureTextBidi() local 215 float width = p.measureText(bidiText, 0, 4); in testMeasureTextBidi() local
|
/frameworks/base/graphics/java/android/graphics/ |
D | Atlas.java | 83 public Atlas(Type type, int width, int height) { in Atlas() 100 public Atlas(Type type, int width, int height, int flags) { in Atlas() 115 public Entry pack(int width, int height) { in pack() 132 public Entry pack(int width, int height, Entry entry) { in pack() 137 private static Policy findPolicy(Type type, int width, int height, int flags) { in findPolicy() 159 abstract Entry pack(int width, int height, Entry entry); in pack() 248 int width; field in Atlas.SlicePolicy.Cell 259 SlicePolicy(int width, int height, int flags, SplitDecision splitDecision) { in SlicePolicy() 273 Entry pack(int width, int height, Entry entry) { in pack() 356 private boolean insert(Cell cell, Cell prev, int width, int height, Entry entry) { in insert()
|
D | YuvImage.java | 79 public YuvImage(byte[] yuv, int format, int width, int height, int[] strides) { in YuvImage() 199 private int[] calculateStrides(int width, int format) { in calculateStrides() 215 int width = rect.width(); in adjustRectangle() local 238 int format, int width, int height, int[] offsets, int[] strides, in nativeCompressToJpeg()
|
D | Bitmap.java | 111 Bitmap(long nativeBitmap, byte[] buffer, int width, int height, int density, in Bitmap() 152 void reinit(int width, int height, boolean requestPremultiplied) { in reinit() 251 public void reconfigure(int width, int height, Config config) { in reconfigure() 281 public void setWidth(int width) { in setWidth() 408 private static void checkWidthHeight(int width, int height) { in checkWidthHeight() 658 final int width = src.getWidth(); in createScaledBitmap() local 700 public static Bitmap createBitmap(Bitmap source, int x, int y, int width, int height) { in createBitmap() 728 public static Bitmap createBitmap(Bitmap source, int x, int y, int width, int height, in createBitmap() 822 public static Bitmap createBitmap(int width, int height, Config config) { in createBitmap() 837 public static Bitmap createBitmap(DisplayMetrics display, int width, in createBitmap() [all …]
|
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | UT_alloc_copy.java | 59 int width = random.nextInt(512); in allocation_copy1DRangeTo_Byte() local 98 int width = random.nextInt(512); in allocation_copy1DRangeTo_Short() local 140 int width = random.nextInt(512); in allocation_copy1DRangeTo_Int() local 182 int width = random.nextInt(512); in allocation_copy1DRangeTo_Float() local 224 int width = random.nextInt(512); in allocation_copy1DRangeTo_Long() local 266 int width = random.nextInt(128); in allocation_copy2DRangeTo_Byte() local 301 int width = random.nextInt(128); in allocation_copy2DRangeTo_Short() local 339 int width = random.nextInt(128); in allocation_copy2DRangeTo_Int() local 377 int width = random.nextInt(128); in allocation_copy2DRangeTo_Float() local 415 int width = random.nextInt(128); in allocation_copy2DRangeTo_Long() local [all …]
|
D | UT_alloc_copyPadded.java | 84 int width = random.nextInt(512); in testAllocation_Byte3_1D() local 115 int width = random.nextInt(128); in testAllocation_Byte3_2D() local 180 int width = random.nextInt(512); in testAllocation_Short3_1D() local 214 int width = random.nextInt(128); in testAllocation_Short3_2D() local 285 int width = random.nextInt(512); in testAllocation_Int3_1D() local 319 int width = random.nextInt(128); in testAllocation_Int3_2D() local 390 int width = random.nextInt(512); in testAllocation_Float3_1D() local 423 int width = random.nextInt(128); in testAllocation_Float3_2D() local 493 int width = random.nextInt(512); in testAllocation_Double3_1D() local 526 int width = random.nextInt(128); in testAllocation_Double3_2D() local [all …]
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
D | UT_alloc_copy.java | 59 int width = random.nextInt(512); in allocation_copy1DRangeTo_Byte() local 98 int width = random.nextInt(512); in allocation_copy1DRangeTo_Short() local 140 int width = random.nextInt(512); in allocation_copy1DRangeTo_Int() local 182 int width = random.nextInt(512); in allocation_copy1DRangeTo_Float() local 224 int width = random.nextInt(512); in allocation_copy1DRangeTo_Long() local 266 int width = random.nextInt(128); in allocation_copy2DRangeTo_Byte() local 301 int width = random.nextInt(128); in allocation_copy2DRangeTo_Short() local 339 int width = random.nextInt(128); in allocation_copy2DRangeTo_Int() local 377 int width = random.nextInt(128); in allocation_copy2DRangeTo_Float() local 415 int width = random.nextInt(128); in allocation_copy2DRangeTo_Long() local [all …]
|
D | UT_alloc_copyPadded.java | 84 int width = random.nextInt(512); in testAllocation_Byte3_1D() local 115 int width = random.nextInt(128); in testAllocation_Byte3_2D() local 180 int width = random.nextInt(512); in testAllocation_Short3_1D() local 214 int width = random.nextInt(128); in testAllocation_Short3_2D() local 285 int width = random.nextInt(512); in testAllocation_Int3_1D() local 319 int width = random.nextInt(128); in testAllocation_Int3_2D() local 390 int width = random.nextInt(512); in testAllocation_Float3_1D() local 423 int width = random.nextInt(128); in testAllocation_Float3_2D() local 493 int width = random.nextInt(512); in testAllocation_Double3_1D() local 526 int width = random.nextInt(128); in testAllocation_Double3_2D() local [all …]
|
/frameworks/base/libs/hwui/ |
D | PixelBuffer.cpp | 51 CpuPixelBuffer::CpuPixelBuffer(GLenum format, uint32_t width, uint32_t height) in CpuPixelBuffer() 71 void CpuPixelBuffer::upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) { in upload() 101 uint32_t width, uint32_t height) in GpuPixelBuffer() 149 void GpuPixelBuffer::upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) { in upload() 163 uint32_t width, uint32_t height, BufferType type) { in create()
|
D | PathCache.cpp | 130 float& left, float& top, float& offset, uint32_t& width, uint32_t& height) { in computePathBounds() 136 float& left, float& top, float& offset, uint32_t& width, uint32_t& height) { in computeBounds() 149 static void initBitmap(SkBitmap& bitmap, uint32_t width, uint32_t height) { in initBitmap() 167 float left, float top, float offset, uint32_t width, uint32_t height) { in drawPath() 254 void PathCache::purgeCache(uint32_t width, uint32_t height) { in purgeCache() 275 uint32_t width, height; in addTexture() local 334 uint32_t width, height; in onProcess() local 461 PathTexture* PathCache::getRoundRect(float width, float height, in getRoundRect() 507 PathTexture* PathCache::getOval(float width, float height, const SkPaint* paint) { in getOval() 530 PathTexture* PathCache::getRect(float width, float height, const SkPaint* paint) { in getRect() [all …]
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
D | OverlayDisplayWindow.java | 62 int width, int height, int gravity) { in OverlayDisplayWindow() 71 int width, int height, int gravity) { in create() 91 public abstract void updateAspectRatio(int width, int height); in updateAspectRatio() 113 int width, int height, int gravity) { in LegacyImpl() 138 int width = (int)(display.getWidth() * INITIAL_SCALE); in show() local 168 public void updateAspectRatio(int width, int height) { in updateAspectRatio() 210 int width, int height, int gravity) { in JellybeanMr1Impl() 250 public void updateAspectRatio(int width, int height) { in updateAspectRatio() 336 int width = (int)(mWidth * scale); in updateWindowParams() local
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | LaunchingTaskPositioner.java | 94 int width = mAvailableRect.width(); in configure() local 124 int width = getFinalWidth(windowLayout); in updateDefaultBounds() local 150 int width = mDefaultFreeformWidth; in getFinalWidth() local 171 private void positionBottomLeft(TaskRecord task, ArrayList<TaskRecord> tasks, int width, in positionBottomLeft() 178 private void positionBottomRight(TaskRecord task, ArrayList<TaskRecord> tasks, int width, in positionBottomRight() 185 private void positionTopLeft(TaskRecord task, ArrayList<TaskRecord> tasks, int width, in positionTopLeft() 192 private void positionTopRight(TaskRecord task, ArrayList<TaskRecord> tasks, int width, in positionTopRight() 199 private void positionCenter(TaskRecord task, ArrayList<TaskRecord> tasks, int width, in positionCenter()
|
/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/av/media/libstagefright/codecs/aacenc/src/ |
D | bit_cnt.c | 43 const Word16 width, in count1_2_3_4_5_6_7_8_9_10_11() 119 const Word16 width, in count3_4_5_6_7_8_9_10_11() 193 const Word16 width, in count5_6_7_8_9_10_11() 250 const Word16 width, in count7_8_9_10_11() 298 const Word16 width, in count9_10_11() 346 const Word16 width, in count11() 387 const Word16 width, in countEsc() 470 const Word16 width, in bitCount() 495 Word16 codeValues(Word16 *values, Word16 width, Word16 codeBook, HANDLE_BIT_BUF hBitstream) in codeValues()
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
D | ShadowPainter.java | 80 int width = source.getWidth(); in createDropShadow() local 189 int width = source.getWidth(); in createRectangularDropShadow() local 216 int width = source.getWidth(); in createSmallRectangularDropShadow() local 242 int x, int y, int width, int height) { in drawRectangleShadow() 263 int x, int y, int width, int height) { in drawSmallRectangleShadow() 295 public static void drawRectangleShadow(Graphics2D gc, int x, int y, int width, int height) { in drawRectangleShadow() 336 public static void drawSmallRectangleShadow(Graphics2D gc, int x, int y, int width, in drawSmallRectangleShadow()
|
/frameworks/base/tools/layoutlib/bridge/src/android/text/ |
D | Primitive.java | 30 public final float width; field in Primitive 36 private Primitive(@NonNull PrimitiveType type, int location, float width, float penalty) { in Primitive() 83 public Primitive getNewPrimitive(int location, float width, float penalty) { in getNewPrimitive()
|
/frameworks/base/core/jni/android/graphics/ |
D | YuvToJpegEncoder.cpp | 26 bool YuvToJpegEncoder::encode(SkWStream* stream, void* inYuv, int width, in encode() 53 int width, int height, int quality) { in setJpegCompressStruct() 84 int width = cinfo->image_width; in compress() local 118 uint8_t* vRows, int rowIndex, int width, int height) { in deinterleave() 160 int width = cinfo->image_width; in compress() local 193 uint8_t* vRows, int rowIndex, int width, int height) { in deinterleave() 222 jint format, jint width, jint height, jintArray offsets, in YuvImage_compressToJpeg()
|
/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/libstagefright/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() 510 int16 *blk, uint8 *pred, uint8 *dst, int width in idctrow() 621 int16 *blk, PIXEL *comp, int width in idctrow_intra()
|
/frameworks/av/camera/ |
D | CameraParameters2.cpp | 219 int width, height; in parseSizesList() local 235 void CameraParameters2::setPreviewSize(int width, int height) in setPreviewSize() 242 void CameraParameters2::getPreviewSize(int *width, int *height) const in getPreviewSize() 251 void CameraParameters2::getPreferredPreviewSizeForVideo(int *width, int *height) const in getPreferredPreviewSizeForVideo() 265 void CameraParameters2::setVideoSize(int width, int height) in setVideoSize() 272 void CameraParameters2::getVideoSize(int *width, int *height) const in getVideoSize() 320 void CameraParameters2::setPictureSize(int width, int height) in setPictureSize() 327 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 492 private void writeByteBuffer(int width, int height, ByteBuffer pixels, OutputStream dngOutput, in writeByteBuffer() 551 int width = yuvImage.getWidth(); in convertToRGB() local 610 int width = argbBitmap.getWidth(); in convertToRGB() local 664 private synchronized native void nativeSetThumbnail(ByteBuffer buffer, int width, int height); in nativeSetThumbnail() 666 private synchronized native void nativeWriteImage(OutputStream out, int width, int height, in nativeWriteImage() 672 int width, int height, long offset) in nativeWriteInputStream()
|
/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
|