Searched defs:width (Results 101 - 125 of 710) sorted by relevance

1234567891011>>

/frameworks/base/core/jni/
H A Dandroid_text_AndroidCharacter.cpp98 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 Dandroid_view_HardwareLayer.cpp45 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 DLargeBitmap.java60 /** 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 DDrawGlInfo.h34 // Input: current width/height of destination surface
35 int width; member in struct:android::uirenderer::DrawGlInfo
/frameworks/base/libs/hwui/
H A DAssetAtlas.cpp97 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 DLayerCache.cpp91 Layer* LayerCache::get(RenderState& renderState, const uint32_t width, const uint32_t height) { argument
94 LayerEntry entry(width, height);
H A DPixelBuffer.cpp36 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 DRenderBuffer.h35 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 DRenderBufferCache.cpp97 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 DTestSceneRunner.cpp74 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 DImageUtils.java172 * 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 DFilterGraphEffect.java83 public void apply(int inputTexId, int width, int height, int outputTexId) { argument
88 src.setInputValue("width", width);
H A DSingleFilterEffect.java67 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 DMutableFrameFormat.java64 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 DRectangle.java31 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 Dgeometry.h72 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 DCropRectFilter.java39 @GenerateFieldPort(name = "width")
119 void updateSourceRect(int width, int height) { argument
120 mWidth = width;
H A DFisheyeFilter.java136 private void updateFrameSize(int width, int height) { argument
137 mWidth = width;
H A DSharpenFilter.java127 private void updateFrameSize(int width, int height) { argument
128 mWidth = width;
/frameworks/base/media/mca/filterpacks/native/base/
H A Dgeometry.h80 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 DCamera2SurfaceViewActivity.java102 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 Dnative_window.cpp61 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 DETC1.java86 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 DETC1Util.java74 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 DFixedSizeFrameLayout.java81 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);

Completed in 4985 milliseconds

1234567891011>>