Searched defs:height (Results 176 - 200 of 674) sorted by relevance

1234567891011>>

/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DGrainFilter.java133 private void updateFrameSize(int width, int height) { argument
135 mHeight = height;
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/ui/
H A DSurfaceRenderFilter.java132 // will update our screen width and height.
217 int height) {
222 mScreenHeight = height;
214 surfaceChanged(SurfaceHolder holder, int format, int width, int height) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/
H A DSensorLoggerSession.java148 public void setTouchArea(int width, int height) { argument
150 mTouchAreaHeight = height;
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
H A DBitmapUtils.java42 * 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);
118 int height = Math.round(bitmap.getHeight() * scale);
120 && height == bitmap.getHeight()) return bitmap;
121 Bitmap target = Bitmap.createBitmap(width, height, getConfig(bitmap));
159 int height = Math.round(scale * bitmap.getHeight());
161 canvas.translate((size - width) / 2f, (size - height) / 2f);
/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayAdapter.java139 public static Display.Mode createMode(int width, int height, float refreshRate) { argument
141 NEXT_DISPLAY_MODE_ID.getAndIncrement(), width, height, refreshRate);
/frameworks/base/services/core/java/com/android/server/tv/
H A DUinputBridge.java34 private static native long nativeOpen(String name, String uniqueId, int width, int height, argument
44 public UinputBridge(IBinder token, String name, int width, int height, int maxPointers) argument
46 if (width < 1 || height < 1) {
55 mPtr = nativeOpen(name, token.toString(), width, height, maxPointers);
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
H A DDisplaySinkService.java112 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument
123 int width = 0, height = 0;
129 height = frame.height();
136 if (mSurface == surface && mSurfaceWidth == width && mSurfaceHeight == height) {
142 mSurfaceHeight = height;
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/
H A DCameraTooActivity.java84 * width and height are at least as large as the respective requested values.
87 * @param height The minimum desired height
90 static Size chooseBigEnoughSize(Size[] choices, int width, int height) { argument
94 if (option.getWidth() >= width && option.getHeight() >= height) {
153 mSurfaceView.getHolder().setFixedSize(/*width*/0, /*height*/0);
232 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {
233 // On the first invocation, width and height were automatically set to the view's size
264 info.getOutputSizes(SurfaceHolder.class), width, height);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DGLToolbox.java70 public static void readFbo(int fboId, ByteBuffer pixels, int width, int height) { argument
72 GLES20.glReadPixels(0, 0, width, height, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, pixels);
76 public static void readTarget(RenderTarget target, ByteBuffer pixels, int width, int height) { argument
78 GLES20.glReadPixels(0, 0, width, height, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, pixels);
103 public static void allocateTexturePixels(int texId, int target, int width, int height) { argument
104 setTexturePixels(texId, target, (ByteBuffer)null, width, height);
115 int width, int height) {
120 pixels = ByteBuffer.allocateDirect(width * height * 4);
122 GLES20.glTexImage2D(target, 0, GLES20.GL_RGBA, width, height, 0,
114 setTexturePixels(int texId, int target, ByteBuffer pixels, int width, int height) argument
H A DStatsFilter.java81 private void calcMeanAndStd(ByteBuffer pixelBuffer, int width, int height, Quad quad) { argument
84 regionscore(pixelBuffer, width, height, quad.topLeft().x, quad.topLeft().y,
114 private native void regionscore(ByteBuffer imageBuffer, int width, int height, float left, argument
H A DTextureSource.java63 public void allocate(int width, int height) { argument
64 //Log.i("TextureSource", "Allocating empty texture " + mTexId + ": " + width + "x" + height + ".");
65 GLToolbox.allocateTexturePixels(mTexId, mTarget, width, height);
69 public void allocateWithPixels(ByteBuffer pixels, int width, int height) { argument
70 //Log.i("TextureSource", "Uploading pixels to texture " + mTexId + ": " + width + "x" + height + ".");
71 GLToolbox.setTexturePixels(mTexId, mTarget, pixels, width, height);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
H A DCpuVideoTrackDecoder.java237 ByteBuffer input, ByteBuffer output, int colorFormat, int width, int height) {
240 ColorSpace.convertArgb8888ToRgba8888(input, output, width, height);
243 ColorSpace.convertYuv420pToRgba8888(input, output, width, height);
236 convertImage( ByteBuffer input, ByteBuffer output, int colorFormat, int width, int height) argument
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DDisplayListLayersActivity.java71 private void addChild(LinearLayout root, View child, int width, int height) { argument
72 LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(width, height);
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
H A DSurfaceAndTextureViews.java138 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument
139 System.out.println("surfaceChanged: w h = " + width + ", " + height);
173 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
178 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
179 System.out.println("SurfaceTexture size changed to " + width + ", " + height);
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DShadowPainter.java81 int height = source.getHeight();
82 image = new BufferedImage(width + SHADOW_SIZE, height + SHADOW_SIZE,
190 int height = source.getHeight();
192 image = new BufferedImage(width + SHADOW_SIZE, height + SHADOW_SIZE, type);
195 drawRectangleShadow(image, 0, 0, width, height);
217 int height = source.getHeight();
220 image = new BufferedImage(width + SMALL_SHADOW_SIZE, height + SMALL_SHADOW_SIZE, type);
224 drawSmallRectangleShadow(image, 0, 0, width, height);
239 * @param height the height o
241 drawRectangleShadow(BufferedImage image, int x, int y, int width, int height) argument
262 drawSmallRectangleShadow(BufferedImage image, int x, int y, int width, int height) argument
295 drawRectangleShadow(Graphics2D gc, int x, int y, int width, int height) argument
336 drawSmallRectangleShadow(Graphics2D gc, int x, int y, int width, int height) argument
[all...]
/frameworks/minikin/sample/
H A Dexample_skia.cpp130 int height = 600; local
132 bitmap.allocN32Pixels(width, height);
/frameworks/native/include/ui/
H A DRect.h79 // a valid rectangle has a non negative width and height
84 // an empty rect has a zero width or height, or is invalid
94 // rectangle's height
171 // the origin and extending to (width, height). If the transform includes
173 // (height, width). Otherwise the output rectangle is in the same space as
175 Rect transform(uint32_t xform, int32_t width, int32_t height) const;
183 inline int32_t height() const { return getHeight(); } function in class:android::Rect
/frameworks/native/libs/gui/
H A DISurfaceComposerClient.cpp57 uint32_t height, PixelFormat format, uint32_t flags,
64 data.writeUint32(height);
115 uint32_t height = data.readUint32(); local
120 status_t result = createSurface(name, width, height, format,
56 createSurface(const String8& name, uint32_t width, uint32_t height, PixelFormat format, uint32_t flags, sp<IBinder>* handle, sp<IGraphicBufferProducer>* gbp) argument
/frameworks/native/libs/ui/
H A DGraphicBufferAllocator.cpp69 rec.width, rec.stride, rec.height, rec.format, rec.usage);
73 rec.width, rec.stride, rec.height, rec.format, rec.usage);
93 status_t GraphicBufferAllocator::alloc(uint32_t width, uint32_t height, argument
101 if (!width || !height)
102 width = height = 1;
112 static_cast<int>(height), format, static_cast<int>(usage), handle,
117 width, height, format, usage, err, strerror(-err));
125 rec.height = height;
129 rec.size = static_cast<size_t>(height * (*strid
[all...]
/frameworks/native/opengl/tests/gl2_jni/jni/
H A Dgl_code.cpp152 JNIEXPORT void JNICALL Java_com_android_gl2jni_GL2JNILib_init(JNIEnv * env, jobject obj, jint width, jint height);
156 JNIEXPORT void JNICALL Java_com_android_gl2jni_GL2JNILib_init(JNIEnv * env, jobject obj, jint width, jint height) argument
158 setupGraphics(width, height);
/frameworks/native/opengl/tests/gldual/jni/
H A Dgl_code.cpp152 JNIEXPORT void JNICALL Java_com_android_gldual_GLDualLib_init(JNIEnv * env, jobject obj, jint width, jint height);
156 JNIEXPORT void JNICALL Java_com_android_gldual_GLDualLib_init(JNIEnv * env, jobject obj, jint width, jint height) argument
158 setupGraphics(width, height);
/frameworks/native/opengl/tests/hwc/
H A DhwcTestLib.h41 uint32_t wMod, hMod; // Width/height mod this value must equal zero
86 // Dimension - width and height of a rectanguler area
92 uint32_t height(void) const { return _h; } function in class:HwcTestDim
106 EGLint *width, EGLint *height);
/frameworks/native/opengl/tests/testViewport/src/com/android/test/
H A DTestView.java236 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
237 gl.glViewport(0, 0, width, height);
240 gl.glOrthof(0, width, height, 0, -1, 1);
242 createGrid(gl, width, height);
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.h86 status_t allocateVirtualDisplay(uint32_t width, uint32_t height,
142 uint32_t height; member in struct:android::HWComposer::DisplayConfig
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
H A DBottomScrollViewTest.java82 public TestChildView(Context context, int height) { argument
84 mHeight = height;
92 public void setHeight(int height) { argument
93 mHeight = height;

Completed in 666 milliseconds

1234567891011>>