/frameworks/base/core/java/android/text/ |
H A D | PackedIntVector.java | 39 * 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 D | SurfaceHolder.java | 89 * @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 D | RotateAnimation.java | 178 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 D | TranslateAnimation.java | 163 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 D | AbsoluteLayout.java | 90 // 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 D | BitmapRegionDecoder.java | 193 /** 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 D | Movie.java | 33 public native int width(); method in class:Movie
|
H A D | YuvImage.java | 28 * 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 D | AssetAtlas.cpp | 43 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 D | DeferredLayerUpdater.h | 42 ANDROID_API bool setSize(uint32_t width, uint32_t height) { argument 43 if (mWidth != width || mHeight != height) { 44 mWidth = width;
|
H A D | GradientCache.h | 157 uint32_t width; member in struct:android::uirenderer::GradientCache::GradientInfo
|
H A D | LayerCache.cpp | 99 Layer* LayerCache::get(RenderState& renderState, const uint32_t width, const uint32_t height) { argument 102 LayerEntry entry(width, height);
|
H A D | PixelBuffer.h | 66 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 D | RenderBufferCache.cpp | 110 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 D | RenderState.cpp | 84 void RenderState::setViewport(GLsizei width, GLsizei height) { argument 85 mViewportWidth = width;
|
H A D | Texture.h | 74 uint32_t width; member in class:android::uirenderer::Texture
|
/frameworks/base/libs/hwui/utils/ |
H A D | Blur.cpp | 95 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 D | RemoteDisplay.java | 126 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 D | MediaProjection.java | 102 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 D | FilterSurfaceView.java | 117 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 D | AutoFixFilter.java | 269 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 D | GrainFilter.java | 133 private void updateFrameSize(int width, int height) { argument 134 mWidth = width;
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/ui/ |
H A D | SurfaceRenderFilter.java | 132 // 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 D | BitmapUtils.java | 43 * 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 D | com_android_server_AssetAtlasService.cpp | 61 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
|