/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/native/android/ |
H A D | native_window.cpp | 61 int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* window, int32_t width, argument 65 err = native_window_set_buffers_user_dimensions(window, width, height); 68 if (width && height) {
|
/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/statusbar/phone/ |
H A D | IconMerger.java | 52 int width = getMeasuredWidth(); 53 setMeasuredDimension(width - (width % mIconSize), getMeasuredHeight()); 62 private void checkOverflow(int width) { argument 73 final boolean moreRequired = visibleChildren * mIconSize > width;
|
/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 | 59 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument 60 mThread.setSize(width, height); 77 void setSize(int width, int height) { argument 78 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
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
H A D | SimpleAppRS.java | 47 public void init(RenderScriptGL rs, Resources res, int width, int height) { argument 51 mSceneManager.initRS(mRS, mRes, width, height);
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
H A D | Size.java | 70 flatSizes.add(s.width()); 86 int width = Integer.parseInt(flatSizes[i]); 88 list.add(new Size(width,height)); 98 public Size(int width, int height) { argument 99 val = new Point(width, height); 109 val = new Point(other.width(), other.height()); 122 val = new Point(other.width, other.height); 152 public int width() { method in class:Size 176 return "Size: (" + this.width() + " x " + this.height() + ")";
|
/frameworks/native/include/gui/ |
H A D | CpuConsumer.h | 48 uint32_t width; member in struct:android::CpuConsumer::LockedBuffer 83 // requestBuffers when a width and height of zero is requested. 86 status_t setDefaultBufferSize(uint32_t width, uint32_t height);
|
/frameworks/native/include/ui/ |
H A D | ANativeObjectBase.h | 32 int32_t width; member in struct:egl_native_pixmap_t
|
/frameworks/native/libs/ui/ |
H A D | Rect.cpp | 90 Rect Rect::transform(uint32_t xform, int32_t width, int32_t height) const { argument 93 result = Rect(width - result.right, result.top, width - result.left,
|
/frameworks/native/opengl/tests/gl2_java/src/com/android/gl2java/ |
H A D | GL2JavaView.java | 79 public void onSurfaceChanged(GL10 gl, int width, int height) { argument 80 GLES20.glViewport(0, 0, width, height);
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | Texture.cpp | 50 void Texture::setDimensions(size_t width, size_t height) { argument 51 mWidth = width;
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | EdgeEffectCompat.java | 46 public void setSize(Object edgeEffect, int width, int height); argument 63 public void setSize(Object edgeEffect, int width, int height) { argument 95 public void setSize(Object edgeEffect, int width, int height) { argument 96 EdgeEffectCompatIcs.setSize(edgeEffect, width, height); 139 * @param width Effect width in pixels 142 public void setSize(int width, int height) { argument 143 IMPL.setSize(mEdgeEffect, width, height); 210 * width of X=0 to X=width, beginnin [all...] |