Searched defs:width (Results 151 - 175 of 602) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/text/
H A DPackedIntVector.java39 * Creates a new PackedIntVector with the specified width and
42 * @param columns the width of the PackedIntVector.
65 * (column < 0 || column >= width()).
96 * (column < 0 || column >= width()).
147 * is out of range (column < 0 || column >= width()).
151 (column >= width())) {
174 * values array is too small (values.length < width()).
181 if ((values != null) && (values.length < width())) {
241 * Returns the width of the PackedIntVector. This number is set
246 public int width() { method in class:PackedIntVector
[all...]
/frameworks/base/core/java/android/view/
H A DSurfaceHolder.java89 * @param width The new width of the surface.
92 public void surfaceChanged(SurfaceHolder holder, int format, int width, argument
161 * @param width The surface's width.
164 public void setFixedSize(int width, int height); argument
/frameworks/base/core/java/android/view/animation/
H A DRotateAnimation.java178 public void initialize(int width, int height, int parentWidth, int parentHeight) { argument
179 super.initialize(width, height, parentWidth, parentHeight);
180 mPivotX = resolveSize(mPivotXType, mPivotXValue, width, parentWidth);
H A DTranslateAnimation.java163 public void initialize(int width, int height, int parentWidth, int parentHeight) { argument
164 super.initialize(width, height, parentWidth, parentHeight);
165 mFromXDelta = resolveSize(mFromXType, mFromXValue, width, parentWidth);
166 mToXDelta = resolveSize(mToXType, mToXValue, width, parentWidth);
/frameworks/base/core/java/android/widget/
H A DAbsoluteLayout.java90 // Check against minimum height and width
99 * Returns a set of layout parameters with a width of
169 * Creates a new set of layout parameters with the specified width,
172 * @param width the width, either {@link #MATCH_PARENT},
179 public LayoutParams(int width, int height, int x, int y) { argument
180 super(width, height);
221 return output + "Absolute.LayoutParams={width="
222 + sizeToString(width) + ", height=" + sizeToString(height)
/frameworks/base/graphics/java/android/graphics/
H A DBitmapRegionDecoder.java193 /** Returns the original image's width */
258 int start_x, int start_y, int width, int height,
257 nativeDecodeRegion(long lbm, int start_x, int start_y, int width, int height, BitmapFactory.Options options) argument
H A DMovie.java33 public native int width(); method in class:Movie
H A DYuvImage.java28 * region by left, top, width and height.
56 * The width of the image.
71 * @param width The width of the YuvImage.
75 * padding and derives the row bytes by format and width itself.
76 * @throws IllegalArgumentException if format is not support; width or height <= 0; or yuv is
79 public YuvImage(byte[] yuv, int format, int width, int height, int[] strides) { argument
87 if (width <= 0 || height <= 0) {
89 "width and height must large than 0");
97 mStrides = calculateStrides(width, forma
199 calculateStrides(int width, int format) argument
237 nativeCompressToJpeg(byte[] oriYuv, int format, int width, int height, int[] offsets, int[] strides, int quality, OutputStream stream, byte[] tempStorage) argument
[all...]
/frameworks/base/libs/hwui/
H A DAssetAtlas.cpp43 mTexture->width = buffer->getWidth();
118 const float width = float(mTexture->width); local
136 x / width, (x + bitmap->width()) / width,
141 texture->width = bitmap->width();
H A DDeferredLayerUpdater.h42 ANDROID_API bool setSize(uint32_t width, uint32_t height) { argument
43 if (mWidth != width || mHeight != height) {
44 mWidth = width;
H A DGradientCache.h157 uint32_t width; member in struct:android::uirenderer::GradientCache::GradientInfo
H A DLayerCache.cpp99 Layer* LayerCache::get(RenderState& renderState, const uint32_t width, const uint32_t height) { argument
102 LayerEntry entry(width, height);
H A DPixelBuffer.h66 static PixelBuffer* create(GLenum format, uint32_t width, uint32_t height,
119 virtual void upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) = 0;
129 void upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height) { argument
130 upload(x, y, width, height, getOffset(x, y));
134 * Returns the width of the render buffer in pixels.
202 PixelBuffer(GLenum format, uint32_t width, uint32_t height): argument
203 mFormat(format), mWidth(width), mHeight(height), mAccessMode(kAccessMode_None) {
H A DRenderBufferCache.cpp110 RenderBuffer* RenderBufferCache::get(GLenum format, const uint32_t width, const uint32_t height) { argument
113 RenderBufferEntry entry(format, width, height);
124 RenderBuffer::formatName(format), width, height);
126 buffer = new RenderBuffer(format, width, height);
129 RenderBuffer::formatName(format), width, height);
H A DRenderState.cpp84 void RenderState::setViewport(GLsizei width, GLsizei height) { argument
85 mViewportWidth = width;
H A DTexture.h74 uint32_t width; member in class:android::uirenderer::Texture
/frameworks/base/libs/hwui/utils/
H A DBlur.cpp95 const uint8_t* source, uint8_t* dest, int32_t width, int32_t height) {
101 const uint8_t* input = source + y * width;
102 uint8_t* output = dest + y * width;
104 for (int32_t x = 0; x < width; x ++) {
108 if (x > radius && x < (width - radius)) {
123 if (validW > width - 1) {
124 validW = width - 1;
139 const uint8_t* source, uint8_t* dest, int32_t width, int32_t height) {
144 uint8_t* output = dest + y * width;
146 for (int32_t x = 0; x < width;
94 horizontal(float* weights, int32_t radius, const uint8_t* source, uint8_t* dest, int32_t width, int32_t height) argument
138 vertical(float* weights, int32_t radius, const uint8_t* source, uint8_t* dest, int32_t width, int32_t height) argument
[all...]
/frameworks/base/media/java/android/media/
H A DRemoteDisplay.java126 final int width, final int height, final int flags, final int session) {
130 mListener.onDisplayConnected(surface, width, height, flags, session);
160 int width, int height, int flags, int session);
125 notifyDisplayConnected(final Surface surface, final int width, final int height, final int flags, final int session) argument
159 onDisplayConnected(Surface surface, int width, int height, int flags, int session) argument
/frameworks/base/media/java/android/media/projection/
H A DMediaProjection.java102 int width, int height, int dpi, boolean isSecure, @Nullable Surface surface,
106 return dm.createVirtualDisplay(this, name, width, height, dpi, surface,
116 * @param width The width of the virtual display in pixels. Must be
135 int width, int height, int dpi, int flags, @Nullable Surface surface,
139 this, name, width, height, dpi, surface, flags, callback, handler);
101 createVirtualDisplay(@onNull String name, int width, int height, int dpi, boolean isSecure, @Nullable Surface surface, @Nullable VirtualDisplay.Callback callback, @Nullable Handler handler) argument
134 createVirtualDisplay(@onNull String name, int width, int height, int dpi, int flags, @Nullable Surface surface, @Nullable VirtualDisplay.Callback callback, @Nullable Handler handler) argument
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DFilterSurfaceView.java117 int width,
121 mWidth = width;
127 mListener.surfaceChanged(holder, format, width, height);
115 surfaceChanged(SurfaceHolder holder, int format, int width, int height) argument
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DAutoFixFilter.java269 private void createHistogramFrame(FilterContext context, int width, int height, int[] data) { argument
275 int x_border_thickness = (int) (width * border_thickness_ratio);
276 int pixels = (width - 2 * x_border_thickness) * (height - 2 * y_border_thickness);
280 for (int x = x_border_thickness; x < width - x_border_thickness; ++x) {
281 int index = y * width + x;
H A DGrainFilter.java133 private void updateFrameSize(int width, int height) { argument
134 mWidth = width;
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/ui/
H A DSurfaceRenderFilter.java132 // will update our screen width and height.
216 int width,
221 mScreenWidth = width;
214 surfaceChanged(SurfaceHolder holder, int format, int width, int height) argument
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
H A DBitmapUtils.java43 * minSideLength is used to specify that minimal width or height of a
59 public static int computeSampleSize(int width, int height, argument
62 width, height, minSideLength, maxNumOfPixels);
118 int width = Math.round(bitmap.getWidth() * scale);
120 if (width == bitmap.getWidth()
122 Bitmap target = Bitmap.createBitmap(width, height, getConfig(bitmap));
159 int width = Math.round(scale * bitmap.getWidth());
162 canvas.translate((size - width) / 2f, (size - height) / 2f);
/frameworks/base/services/core/jni/
H A Dcom_android_server_AssetAtlasService.cpp61 jobject canvas, jint width, jint height) {
64 bitmap->allocN32Pixels(width, height);
186 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, bitmap->width(), bitmap->height(),
60 com_android_server_AssetAtlasService_acquireCanvas(JNIEnv* env, jobject, jobject canvas, jint width, jint height) argument

Completed in 2066 milliseconds

1234567891011>>