/frameworks/base/libs/hwui/private/hwui/ |
H A D | DrawGlInfo.h | 34 // Input: current width/height of destination surface 35 int width; member in struct:android::uirenderer::DrawGlInfo
|
/frameworks/base/libs/hwui/tests/unit/ |
H A D | SkiaBehaviorTests.cpp | 29 SkBitmap createSkBitmap(int width, int height) { argument 31 SkImageInfo info = SkImageInfo::Make(width, height, kN32_SkColorType, kPremul_SkAlphaType);
|
/frameworks/base/media/java/android/media/ |
H A D | ImageUtils.java | 172 * Return the estimated native allocation size in bytes based on width, height, format, 178 * @param width The width of the images. 183 public static int getEstimatedNativeAllocBytes(int width, int height, int format, argument 226 return (int)(width * height * estimatedBytePerPixel * numImages);
|
/frameworks/base/media/mca/effect/java/android/media/effect/ |
H A D | FilterGraphEffect.java | 83 public void apply(int inputTexId, int width, int height, int outputTexId) { argument 88 src.setInputValue("width", width);
|
H A D | SingleFilterEffect.java | 67 public void apply(int inputTexId, int width, int height, int outputTexId) { argument 70 Frame inputFrame = frameFromTexture(inputTexId, width, height); 71 Frame outputFrame = frameFromTexture(outputTexId, width, height);
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | MutableFrameFormat.java | 64 public void setDimensions(int width, int height) { argument 66 dimensions[0] = width; 72 public void setDimensions(int width, int height, int depth) { argument 74 dimensions[0] = width;
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/ |
H A D | Rectangle.java | 31 public Rectangle(float x, float y, float width, float height) { argument 33 new Point(x + width, y), 35 new Point(x + width, y + height));
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | geometry.h | 72 float x, y, width, height; member in struct:android::filterfw::Rect 76 width = height = 1.0f; 79 Rect(float x, float y, float width, float height) { argument 82 this->width = width;
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
H A D | CropRectFilter.java | 39 @GenerateFieldPort(name = "width") 119 void updateSourceRect(int width, int height) { argument 120 mWidth = width;
|
H A D | FisheyeFilter.java | 136 private void updateFrameSize(int width, int height) { argument 137 mWidth = width;
|
H A D | SharpenFilter.java | 127 private void updateFrameSize(int width, int height) { argument 128 mWidth = width;
|
/frameworks/base/media/mca/filterpacks/native/base/ |
H A D | geometry.h | 80 float width() const { return width_; } function in class:android::filterfw::SlantedRect 89 float x, y, width, height; member in struct:android::filterfw::Rect 93 width = height = 1.0f; 96 Rect(float x, float y, float width, float height) { argument 99 this->width = width;
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
H A D | Camera2SurfaceViewActivity.java | 102 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument 103 Log.i(TAG, "Surface Changed to: " + width + "x" + height); 105 currentWidth = width;
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | ETC1.java | 86 public static native int getEncodedDataSize(int width, int height); argument 97 public static native void encodeImage(Buffer in, int width, int height, argument 110 int width, int height, int pixelSize, int stride); 115 * @param width the width of the image in pixels. 118 public static native void formatHeader(Buffer header, int width, int height); argument 127 * Read the image width from a PKM header 109 decodeImage(Buffer in, Buffer out, int width, int height, int pixelSize, int stride) argument
|
H A D | ETC1Util.java | 74 int width = texture.getWidth(); 79 GLES10.glCompressedTexImage2D(target, level, ETC1.ETC1_RGB8_OES, width, height, 84 int stride = pixelSize * width; 87 ETC1.decodeImage(data, decodedData, width, height, pixelSize, stride); 88 GLES10.glTexImage2D(target, level, fallbackFormat, width, height, border, 117 public ETC1Texture(int width, int height, ByteBuffer data) { argument 118 mWidth = width; 124 * Get the width of the texture in pixels. 125 * @return the width of the texture in pixels. 131 * @return the width o 192 compressTexture(Buffer input, int width, int height, int pixelSize, int stride) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | FixedSizeFrameLayout.java | 81 protected void measureContents(int width, int height) { argument 82 super.onMeasure(MeasureSpec.makeMeasureSpec(width, MeasureSpec.AT_MOST), 92 int width = getMeasuredWidth(); 94 onSizeChanged(width, height, width, height);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/grid/ |
H A D | GridTaskViewThumbnail.java | 58 public void onTaskViewSizeChanged(int width, int height) { argument 60 super.onTaskViewSizeChanged(width, height); 74 final int viewWidth = mTaskViewRect.width(); 77 (int) (mThumbnailRect.width() * mThumbnailScale)); 155 final int viewWidth = mTaskViewRect.width(); 158 (int) (mThumbnailRect.width() * mThumbnailScale));
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | RSTextureView.java | 68 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument 73 mRS.setSurfaceTexture(mSurfaceTexture, width, height); 81 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument 86 mRS.setSurfaceTexture(mSurfaceTexture, width, height);
|
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
H A D | UsbHid.java | 38 public Multitouch(int reportId, int maxContacts, int width, int height) { argument 41 mWidth = width;
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
H A D | sobeloperator.cpp | 42 void computeGradient(unsigned char* dataPtr, int width, int height, short* gxPtr, short* gyPtr) { argument 44 for (int j = 0; j < width; j++) { 46 const int right = (j < width - 1) ? 4 : 0; 47 const int curr = (i * width + j) * 4; 48 const int above = (i > 0) ? curr - 4 * width : curr; 49 const int below = (i < height - 1) ? curr + 4 * width : curr; 50 const int offset = (i * width + j) * 3; 66 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer, 78 int numPixels = width * height; 82 computeGradient(srcPtr, width, heigh 65 Java_androidx_media_filterpacks_image_SobelFilter_sobelOperator( JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer, jobject magBuffer, jobject dirBuffer) argument [all...] |
H A D | stats_scorer.cpp | 44 JNIEnv* env, jobject thiz, jobject imageBuffer, jint width, jint height, 48 int xStart = static_cast<int>(width * left); 49 int xEnd = static_cast<int>(width * right); 57 int disp = width * y; 43 Java_androidx_media_filterpacks_numeric_StatsFilter_regionscore( JNIEnv* env, jobject thiz, jobject imageBuffer, jint width, jint height, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloatArray statsArray) argument
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | SobelFilter.java | 168 private static native boolean sobelOperator(int width, int height, argument
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | CanvasTextureViewActivity.java | 50 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument 56 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
|
H A D | HardwareCanvasSurfaceViewActivity.java | 96 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument 97 mThread.setSize(width, height); 114 void setSize(int width, int height) { argument 115 mWidth = width;
|
H A D | HardwareCanvasTextureViewActivity.java | 51 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument 57 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
|