/frameworks/base/core/jni/ |
H A D | android_text_AndroidCharacter.cpp | 98 int width = u_getIntPropertyValue(input, UCHAR_EAST_ASIAN_WIDTH); local 99 if (width < 0 || width >= U_EA_COUNT) 100 width = PROPERTY_UNDEFINED; 102 return width; 131 int width = u_getIntPropertyValue(c, UCHAR_EAST_ASIAN_WIDTH); local 132 if (width < 0 || width >= U_EA_COUNT) 133 width = PROPERTY_UNDEFINED; 135 dest[i++] = width; 139 int width = u_getIntPropertyValue(c, UCHAR_EAST_ASIAN_WIDTH); local [all...] |
H A D | android_view_HardwareLayer.cpp | 45 jlong layerUpdaterPtr, jint width, jint height, jboolean isOpaque) { 48 changed |= layer->setSize(width, height); 44 android_view_HardwareLayer_prepare(JNIEnv* env, jobject clazz, jlong layerUpdaterPtr, jint width, jint height, jboolean isOpaque) argument
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | LargeBitmap.java | 60 /** Returns the original image's width */ 113 int start_x, int start_y, int width, int height, 112 nativeDecodeRegion(long nativeLbm, int start_x, int start_y, int width, int height, BitmapFactory.Options options) argument
|
/frameworks/base/include/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/ |
H A D | AssetAtlas.cpp | 97 const float width = float(mTexture->width()); local 114 x / width, (x + pixelRef->info().width()) / width, 119 texture->wrap(mTexture->id(), pixelRef->info().width(),
|
H A D | LayerCache.cpp | 91 Layer* LayerCache::get(RenderState& renderState, const uint32_t width, const uint32_t height) { argument 94 LayerEntry entry(width, height);
|
H A D | PixelBuffer.cpp | 36 CpuPixelBuffer(GLenum format, uint32_t width, uint32_t height); 42 void upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) override; 51 CpuPixelBuffer::CpuPixelBuffer(GLenum format, uint32_t width, uint32_t height) argument 52 : PixelBuffer(format, width, height) 53 , mBuffer(new uint8_t[width * height * formatSize(format)]) { 71 void CpuPixelBuffer::upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) { argument 72 glTexSubImage2D(GL_TEXTURE_2D, 0, x, y, width, height, 82 GpuPixelBuffer(GLenum format, uint32_t width, uint32_t height); 89 void upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) override; 101 uint32_t width, uint32_ 100 GpuPixelBuffer(GLenum format, uint32_t width, uint32_t height) argument 149 upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) argument 162 create(GLenum format, uint32_t width, uint32_t height, BufferType type) argument [all...] |
H A D | RenderBuffer.h | 35 RenderBuffer(GLenum format, uint32_t width, uint32_t height): argument 36 mFormat(format), mWidth(width), mHeight(height), mAllocated(false) { 92 void resize(uint32_t width, uint32_t height) { argument 93 if (isAllocated() && (width != mWidth || height != mHeight)) { 94 glRenderbufferStorage(GL_RENDERBUFFER, mFormat, width, height); 97 mWidth = width; 102 * Returns the width of the render buffer in pixels.
|
H A D | RenderBufferCache.cpp | 97 RenderBuffer* RenderBufferCache::get(GLenum format, const uint32_t width, const uint32_t height) { argument 100 RenderBufferEntry entry(format, width, height); 111 RenderBuffer::formatName(format), width, height); 113 buffer = new RenderBuffer(format, width, height); 116 RenderBuffer::formatName(format), width, height);
|
/frameworks/base/libs/hwui/tests/macrobench/ |
H A D | TestSceneRunner.cpp | 74 const int width = gDisplay.w; local 78 sp<RenderNode> rootNode = TestUtils::createNode(0, 0, width, height, 79 [&scene, width, height](RenderProperties& props, TestCanvas& canvas) { 81 scene->createContent(width, height, canvas); 89 float lightX = width / 2.0; 90 proxy->setup(width, height, dp(800.0f), 255 * 0.075, 255 * 0.15);
|
/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/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/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);
|