Searched defs:height (Results 151 - 175 of 674) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/gesture/
H A DGestureStroke.java155 * @param height the height of the bounding box of the target path
160 public Path toPath(float width, float height, int numSample) { argument
167 float sy = height / rect.height();
/frameworks/base/core/java/android/hardware/camera2/impl/
H A DICameraDeviceUserWrapper.java137 public int createInputStream(int width, int height, int format) throws CameraAccessException { argument
139 return mRemoteDevice.createInputStream(width, height, format);
/frameworks/base/core/java/android/hardware/camera2/params/
H A DMeteringRectangle.java29 * An immutable class to represent a rectangle {@code (x, y, width, height)} with an additional
39 * android.sensor.info.activeArraySize.height - 1)} being the bottom-right pixel in the active pixel
86 * @param height height >= 0
91 public MeteringRectangle(int x, int y, int width, int height, int meteringWeight) { argument
95 mHeight = checkArgumentNonnegative(height, "height must be nonnegative");
106 * @param dimensions a non-{@code null} {@link android.util.Size Size} with width, height >= 0
119 mHeight = checkArgumentNonnegative(dimensions.getHeight(), "height must be nonnegative");
140 mHeight = checkArgumentNonnegative(rect.height(), "rec
[all...]
/frameworks/base/core/java/android/view/
H A DHardwareLayer.java100 * return false if the requested width/height cannot be satisfied
103 * @param height The new height of this layer
109 public boolean prepare(int width, int height, boolean isOpaque) { argument
110 return nPrepare(mFinalizer.get(), width, height, isOpaque);
148 private static native boolean nPrepare(long layerUpdater, int width, int height, boolean isOpaque); argument
H A DSurfaceHolder.java90 * @param height The new height of the surface.
93 int height);
162 * @param height The surface's height.
164 public void setFixedSize(int width, int height); argument
92 surfaceChanged(SurfaceHolder holder, int format, 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);
181 mPivotY = resolveSize(mPivotYType, mPivotYValue, height, parentHeight);
H A DTranslateAnimation.java171 public void initialize(int width, int height, int parentWidth, int parentHeight) { argument
172 super.initialize(width, height, parentWidth, parentHeight);
175 mFromYDelta = resolveSize(mFromYType, mFromYValue, height, parentHeight);
176 mToYDelta = resolveSize(mToYType, mToYValue, height, parentHeight);
/frameworks/base/core/java/android/widget/
H A DAbsoluteLayout.java90 // Check against minimum height and width
101 * a height of {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT}
170 * height and location.
174 * @param height the height, either {@link #MATCH_PARENT},
179 public LayoutParams(int width, int height, int x, int y) { argument
180 super(width, height);
222 + sizeToString(width) + ", height=" + sizeToString(height)
/frameworks/base/core/java/com/android/internal/widget/
H A DMessagingLinearLayout.java45 * The maximum height allowed.
88 // up to a maximum height.
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 DBitmap.h66 int height() const { return info().height(); } function in class:android::Bitmap
/frameworks/base/graphics/java/android/graphics/
H A DBitmapRegionDecoder.java201 /** Returns the original image's height */
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.java34 public native int height(); method in class:Movie
H A DYuvImage.java28 * region by left, top, width and height.
61 * The height of the the image.
72 * @param height The height of the YuvImage.
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");
105 mHeight = height;
142 rectangle.height(), offset
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 DDeferredLayerUpdater.h41 ANDROID_API bool setSize(int width, int height) { argument
42 if (mWidth != width || mHeight != height) {
44 mHeight = height;
H A DLayerBuilder.h75 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,
108 const uint32_t height; member in class:android::uirenderer::LayerBuilder
H A DPixelBuffer.h67 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));
134 * Returns the height 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 DTexture.h66 * 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);
104 uint32_t height() 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 DOffscreenBufferPool.h39 * 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);
127 , height(OffscreenBuffer::computeIdealDimension(layerHeight)) {}
132 , height(layer->texture.height()) {
151 uint32_t height = 0; member in struct:android::uirenderer::OffscreenBufferPool::Entry
/frameworks/base/libs/hwui/renderthread/
H A DEglManager.h35 EGLint height() const { return mHeight; } function in class:android::uirenderer::renderthread::Frame
/frameworks/base/libs/hwui/utils/
H A DBlur.cpp95 const uint8_t* source, uint8_t* dest, int32_t width, int32_t height) {
99 for (int32_t y = 0; y < height; y ++) {
139 const uint8_t* source, uint8_t* dest, int32_t width, int32_t height) {
143 for (int32_t y = 0; y < height; y ++) {
151 if (y > radius && y < (height - radius)) {
166 if (validH > height - 1) {
167 validH = height - 1;
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
H A DTestWindowContext.cpp64 mCpuConsumer->setDefaultBufferSize(mSize.width(), mSize.height());
67 mSize.width(), mSize.height());
77 (0, 0, mSize.width(), mSize.height());
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(), mSize.height(),
123 mSize.width() * mSize.height());
194 initialize(int width, int height) argument
[all...]
/frameworks/base/media/java/android/media/
H A DRemoteDisplay.java129 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 DMediaProjection.java101 int width, int height, int dpi, boolean isSecure, @Nullable Surface surface,
105 return dm.createVirtualDisplay(this, name, width, height, dpi, surface,
117 * @param height The height 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 DFilterSurfaceView.java118 int height) {
122 mHeight = height;
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
274 int y_border_thickness = (int) (height * border_thickness_ratio);
276 int pixels = (width - 2 * x_border_thickness) * (height - 2 * y_border_thickness);
279 for (int y = y_border_thickness; y < height - y_border_thickness; ++y) {

Completed in 421 milliseconds

1234567891011>>