/frameworks/base/core/tests/coretests/src/com/android/internal/widget/ |
D | SizeAdaptiveLayoutTest.java | 83 int height = (int) lp.minHeight + 10; in testOpenLarge() local 100 int height = (int) lp.minHeight; in testOpenSmall() local 117 int height = (int) lp.minHeight - 10; in testOpenTooSmall() local 136 int height = (int) (lp.minHeight + 10); in testOpenTooBig() local 153 int height = (int) lp.minHeight + 10; in testOpenWrapContent() local 169 int height = (int) lp.minHeight - 10; in testOpenOneUOnlySmall() local 185 int height = (int) lp.maxHeight + 10; in testOpenOneUOnlyLarge() local 201 int height = (int) lp.minHeight; in testOpenOneUOnlyJustRight() local 217 int height = (int) lp.minHeight - 10; in testOpenFourUOnlySmall() local 233 int height = (int) lp.maxHeight + 10; in testOpenFourUOnlyLarge() local [all …]
|
/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()
|
D | PixelUtils.java | 47 int height, in copyPixels() 70 int height, in nativeCopyPixels()
|
D | GLToolbox.java | 70 public static void readFbo(int fboId, ByteBuffer pixels, int width, int height) { in readFbo() 76 public static void readTarget(RenderTarget target, ByteBuffer pixels, int width, int height) { in readTarget() 103 public static void allocateTexturePixels(int texId, int target, int width, int height) { in allocateTexturePixels() 115 int width, int height) { in setTexturePixels()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Atlas.java | 88 public Atlas(Type type, int width, int height) { in Atlas() 105 public Atlas(Type type, int width, int height, int flags) { in Atlas() 120 public Entry pack(int width, int height) { in pack() 137 public Entry pack(int width, int height, Entry entry) { in pack() 142 private static Policy findPolicy(Type type, int width, int height, int flags) { in findPolicy() 164 abstract Entry pack(int width, int height, Entry entry); in pack() 255 int height; field in Atlas.SlicePolicy.Cell 265 SlicePolicy(int width, int height, int flags, SplitDecision splitDecision) { in SlicePolicy() 280 Entry pack(int width, int height, Entry entry) { in pack() 364 private boolean insert(Cell cell, Cell prev, int width, int height, Entry entry) { in insert()
|
D | Bitmap.java | 114 Bitmap(long nativeBitmap, byte[] buffer, int width, int height, int density, in Bitmap() 145 void reinit(int width, int height, boolean requestPremultiplied) { in reinit() 223 public void reconfigure(int width, int height, Config config) { in reconfigure() 269 public void setHeight(int height) { in setHeight() 270 reconfigure(getWidth(), height, getConfig()); in setHeight() local 377 private static void checkWidthHeight(int width, int height) { in checkWidthHeight() 597 final int height = src.getHeight(); in createScaledBitmap() local 638 public static Bitmap createBitmap(Bitmap source, int x, int y, int width, int height) { in createBitmap() 666 public static Bitmap createBitmap(Bitmap source, int x, int y, int width, int height, in createBitmap() 760 public static Bitmap createBitmap(int width, int height, Config config) { in createBitmap() [all …]
|
D | YuvImage.java | 79 public YuvImage(byte[] yuv, int format, int width, int height, int[] strides) { in YuvImage() 216 int height = rect.height(); in adjustRectangle() local 238 int format, int width, int height, int[] offsets, int[] strides, in nativeCompressToJpeg()
|
/frameworks/base/libs/hwui/ |
D | PixelBuffer.cpp | 50 CpuPixelBuffer::CpuPixelBuffer(GLenum format, uint32_t width, uint32_t height): in CpuPixelBuffer() 74 void CpuPixelBuffer::upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) { in upload() 101 GpuPixelBuffer::GpuPixelBuffer(GLenum format, 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() 161 PixelBuffer* PixelBuffer::create(GLenum format, uint32_t width, uint32_t height, BufferType type) { in create()
|
D | PathCache.cpp | 88 float& left, float& top, float& offset, uint32_t& width, uint32_t& height) { in computePathBounds() 94 float& left, float& top, float& offset, uint32_t& width, uint32_t& height) { in computeBounds() 107 static void initBitmap(SkBitmap& bitmap, uint32_t width, uint32_t height) { in initBitmap() 125 float left, float top, float offset, uint32_t width, uint32_t height) { in drawPath() 137 uint32_t width, uint32_t height, uint32_t id) { in createTexture() 240 void PathCache::purgeCache(uint32_t width, uint32_t height) { in purgeCache() 261 uint32_t width, height; in addTexture() local 341 uint32_t width, height; in onProcess() local 504 PathTexture* PathCache::getRoundRect(float width, float height, in getRoundRect() 550 PathTexture* PathCache::getOval(float width, float height, const SkPaint* paint) { in getOval() [all …]
|
/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 | 75 int height = texture.getHeight(); in loadTexture() local 117 public ETC1Texture(int width, int height, ByteBuffer data) { in ETC1Texture() 154 int height = 0; in createTexture() local 192 …public static ETC1Texture compressTexture(Buffer input, int width, int height, int pixelSize, int … in compressTexture() 211 int height = texture.getHeight(); in writeTexture() local
|
/frameworks/base/core/jni/android/graphics/ |
D | YuvToJpegEncoder.cpp | 25 int height, int* offsets, int jpegQuality) { in encode() 51 int width, int height, int quality) { in setJpegCompressStruct() 83 int height = cinfo->image_height; in compress() local 116 uint8_t* vRows, int rowIndex, int width, int height) { in deinterleave() 159 int height = cinfo->image_height; in compress() local 191 uint8_t* vRows, int rowIndex, int width, int height) { in deinterleave() 220 jint format, jint width, jint height, jintArray offsets, in YuvImage_compressToJpeg()
|
D | Picture.cpp | 39 Canvas* Picture::beginRecording(int width, int height) { in beginRecording() 68 int Picture::height() const { in height() function in android::Picture
|
/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/base/core/java/android/hardware/camera2/ |
D | DngCreator.java | 159 int height = pixels.getHeight(); in setThumbnail() local 199 int height = pixels.getHeight(); in setThumbnail() local 309 int height = size.getHeight(); in writeInputStream() local 361 int height = size.getHeight(); in writeByteBuffer() local 449 private void writeByteBuffer(int width, int height, ByteBuffer pixels, OutputStream dngOutput, in writeByteBuffer() 509 int height = yuvImage.getHeight(); in convertToRGB() local 568 int height = argbBitmap.getHeight(); in convertToRGB() local 621 private synchronized native void nativeSetThumbnail(ByteBuffer buffer, int width, int height); in nativeSetThumbnail() 623 private synchronized native void nativeWriteImage(OutputStream out, int width, int height, in nativeWriteImage() 629 int width, int height, long offset) in nativeWriteInputStream()
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | Size.java | 87 int height = Integer.parseInt(flatSizes[i + 1]); in stringToList() local 98 public Size(int width, int height) { in Size() 156 public int height() { in height() method in Size
|
/frameworks/av/cmds/screenrecord/ |
D | Overlay.cpp | 144 int height = mEglWindow.getHeight(); in setup_l() local 221 int height = mEglWindow.getHeight(); in processFrame_l() local 297 int height = window.getHeight(); in drawInfoPage() local 332 int height = window.getHeight(); in doDrawInfoPage() local
|
/frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/ |
D | RsYuv.java | 68 void reset(int width, int height) { in reset() 127 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() 134 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged()
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
D | Shape.java | 64 public final void resize(float width, float height) { in resize() 94 protected void onResize(float width, float height) {} in onResize()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | GLFrame.java | 128 int height = getFormat().getHeight(); in initWithTexture() local 138 int height = getFormat().getHeight(); in initWithFbo() local 276 public void setViewport(int x, int y, int width, int height) { in setViewport() 364 private native boolean nativeAllocate(GLEnvironment env, int width, int height); in nativeAllocate() 369 int height); in nativeAllocateWithTexture() 374 int height); in nativeAllocateWithFbo() 396 private native boolean setNativeViewport(int x, int y, int width, int height); in setNativeViewport()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | GetBitmapActivity.java | 81 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() 94 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged()
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
D | CompareActivity.java | 66 int height = getResources().getDimensionPixelSize(R.dimen.layer_height); in onCreateCommon() local 81 int height = mSoftwareBitmap.getHeight(); in loadBitmaps() local
|
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | AccessibilityNodeInfoDumper.java | 53 int width, int height) { in dumpWindowToFile() 76 int width, int height) { in dumpWindowToFile() 102 int width, int height) throws IOException { in dumpNodeRec()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
D | exposure.cpp | 30 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer) { in Java_androidx_media_filterfw_samples_simplecamera_ExposureFilter_overExposureOperator() 52 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer) { in Java_androidx_media_filterfw_samples_simplecamera_ExposureFilter_underExposureOperator()
|
/frameworks/base/services/core/java/com/android/server/ |
D | AssetAtlasService.java | 324 private Canvas acquireCanvas(int width, int height) { in acquireCanvas() 366 private static native long nAcquireAtlasCanvas(Canvas canvas, int width, int height); in nAcquireAtlasCanvas() 530 int height = readInt(reader, MIN_SIZE, MAX_SIZE); in readConfiguration() local 600 final int height; field in AssetAtlasService.Configuration 604 Configuration(Atlas.Type type, int width, int height, int count) { in Configuration() 608 Configuration(Atlas.Type type, int width, int height, int count, int flags) { in Configuration() 630 int height; field in AssetAtlasService.WorkerResult 633 WorkerResult(Atlas.Type type, int width, int height, int count) { in WorkerResult() 718 private int packBitmaps(Atlas.Type type, int width, int height, Atlas.Entry entry) { in packBitmaps()
|