/frameworks/base/core/java/android/view/animation/ |
H A D | TranslateAnimation.java | 171 public void initialize(int width, int height, int parentWidth, int parentHeight) { argument 172 super.initialize(width, height, parentWidth, parentHeight); 173 mFromXDelta = resolveSize(mFromXType, mFromXValue, width, parentWidth); 174 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/core/java/com/android/internal/widget/ |
H A D | MessagingLinearLayout.java | 147 // Now that we know which views to take, fix up the indents and see what width we get. 193 final int width = right - left; 194 final int childRight = width - mPaddingRight; 256 LayoutParams copy = new LayoutParams(lp.width, lp.height); 294 public LayoutParams(int width, int height) { argument 295 super(width, height);
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Bitmap.h | 65 int width() const { return info().width(); } function in class:android::Bitmap
|
/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 | DeferredLayerUpdater.h | 41 ANDROID_API bool setSize(int width, int height) { argument 42 if (mWidth != width || mHeight != height) { 43 mWidth = width;
|
H A D | GradientCache.h | 143 const uint32_t width, const uint32_t height, Texture* texture); 146 uint32_t width; member in struct:android::uirenderer::GradientCache::GradientInfo
|
H A D | LayerBuilder.h | 75 LayerBuilder(uint32_t width, uint32_t height, const Rect& repaintRect) argument 76 : LayerBuilder(width, height, repaintRect, nullptr, nullptr) {}; 80 LayerBuilder(uint32_t width, uint32_t height, 107 const uint32_t width; member in class:android::uirenderer::LayerBuilder
|
H A D | PixelBuffer.h | 67 static PixelBuffer* create(GLenum format, uint32_t width, uint32_t height, 112 virtual void upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) = 0; 122 void upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height) { argument 123 upload(x, y, width, height, getOffset(x, y)); 127 * Returns the width of the render buffer in pixels. 195 PixelBuffer(GLenum format, uint32_t width, uint32_t height): argument 196 mFormat(format), mWidth(width), mHeight(height), mAccessMode(kAccessMode_None) {
|
H A D | Texture.h | 66 * Sets the width, height, and format of the texture along with allocating 67 * the texture ID. Does nothing if the width, height, and format are already 72 void resize(uint32_t width, uint32_t height, GLint format) { argument 73 upload(format, width, height, format, GL_UNSIGNED_BYTE, nullptr); 78 * also setting the appropriate width, height, and format. It is not necessary 88 void upload(GLint internalformat, uint32_t width, uint32_t height, 94 void wrap(GLuint id, uint32_t width, uint32_t height, GLint format); 100 uint32_t width() const { function in class:android::uirenderer::Texture 151 bool updateSize(uint32_t width, uint32_t height, GLint format);
|
/frameworks/base/libs/hwui/renderstate/ |
H A D | OffscreenBufferPool.h | 39 * texture.width/.height are actual allocated texture size. Texture will tend to be larger than the 40 * viewport bounds, since textures are always allocated with width / height as a multiple of 64, for 93 const uint32_t width, const uint32_t height); 96 const uint32_t width, const uint32_t height); 126 : width(OffscreenBuffer::computeIdealDimension(layerWidth)) 131 , width(layer->texture.width()) 150 uint32_t width = 0; member in struct:android::uirenderer::OffscreenBufferPool::Entry
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | EglManager.h | 34 EGLint width() const { return mWidth; } function in class:android::uirenderer::renderthread::Frame
|
/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...] |
H A D | TestWindowContext.cpp | 64 mCpuConsumer->setDefaultBufferSize(mSize.width(), mSize.height()); 67 mSize.width(), mSize.height()); 77 (0, 0, mSize.width(), mSize.height()); 87 float lightX = mSize.width() / 2.0f; 89 mProxy->setup(mSize.width(), mSize.height(), 800.0f, 93 mCanvas.reset(new android::uirenderer::RecordingCanvas(mSize.width(), mSize.height())); 95 mCanvas.reset(new android::uirenderer::DisplayListCanvas(mSize.width(), mSize.height())); 100 //mCanvas->reset(mSize.width(), mSize.height()); 101 mCanvas->clipRect(0, 0, mSize.width(), mSize.height(), 119 SkImageInfo::Make(mSize.width(), mSiz 194 initialize(int width, int height) argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | RemoteDisplay.java | 129 final int width, final int height, final int flags, final int session) { 133 mListener.onDisplayConnected(surface, width, height, flags, session); 163 int width, int height, int flags, int session); 128 notifyDisplayConnected(final Surface surface, final int width, final int height, final int flags, final int session) argument 162 onDisplayConnected(Surface surface, int width, int height, int flags, int session) argument
|
/frameworks/base/media/java/android/media/projection/ |
H A D | MediaProjection.java | 101 int width, int height, int dpi, boolean isSecure, @Nullable Surface surface, 105 return dm.createVirtualDisplay(this, name, width, height, dpi, surface, 115 * @param width The width of the virtual display in pixels. Must be 134 int width, int height, int dpi, int flags, @Nullable Surface surface, 138 this, name, width, height, dpi, surface, flags, callback, handler); 100 createVirtualDisplay(@onNull String name, int width, int height, int dpi, boolean isSecure, @Nullable Surface surface, @Nullable VirtualDisplay.Callback callback, @Nullable Handler handler) argument 133 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/SystemUI/src/com/android/systemui/analytics/ |
H A D | SensorLoggerSession.java | 148 public void setTouchArea(int width, int height) { argument 149 mTouchAreaWidth = width;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | IconMerger.java | 69 int width = getMeasuredWidth(); 70 setMeasuredDimension(width - (width % getFullIconWidth()), getMeasuredHeight()); 79 private void checkOverflow(int width) { argument 90 final boolean moreRequired = visibleChildren * getFullIconWidth() > width;
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/ |
H A D | BitmapUtils.java | 42 * minSideLength is used to specify that minimal width or height of a 58 public static int computeSampleSize(int width, int height, argument 61 width, height, minSideLength, maxNumOfPixels); 117 int width = Math.round(bitmap.getWidth() * scale); 119 if (width == bitmap.getWidth() 121 Bitmap target = Bitmap.createBitmap(width, height, getConfig(bitmap)); 158 int width = Math.round(scale * bitmap.getWidth()); 161 canvas.translate((size - width) / 2f, (size - height) / 2f);
|