Searched refs:height (Results 326 - 350 of 1273) sorted by relevance

<<11121314151617181920>>

/frameworks/base/core/java/android/app/
H A DIUiAutomationConnection.aidl40 Bitmap takeScreenshot(int width, int height);
H A DMediaRouteButton.java222 final int height = getHeight();
223 final int midy = screenPos[1] + height / 2;
227 if (midy < displayFrame.height()) {
230 screenWidth - screenPos[0] - width / 2, height);
233 cheatSheet.setGravity(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, 0, height);
336 final int height = Math.max(mMinHeight, mRemoteIndicator != null ?
359 measuredHeight = Math.min(heightSize, height);
363 measuredHeight = height;
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
H A DMarshalQueryableHighSpeedVideoConfiguration.java32 * <p>Data is stored as {@code (width, height, fpsMin, fpsMax)} tuples (int32).</p>
58 int height = buffer.getInt();
63 return new HighSpeedVideoConfiguration(width, height, fpsMin, fpsMax, batchSizeMax);
H A DMarshalQueryableMeteringRectangle.java65 int height = yMax - yMin;
67 return new MeteringRectangle(xMin, yMin, width, height, weight);
/frameworks/base/core/jni/android/graphics/
H A DBitmap.h66 int height() const { return info().height(); } function in class:android::Bitmap
/frameworks/base/core/jni/
H A Dandroid_view_HardwareLayer.cpp45 jlong layerUpdaterPtr, jint width, jint height, jboolean isOpaque) {
48 changed |= layer->setSize(width, height);
44 android_view_HardwareLayer_prepare(JNIEnv* env, jobject clazz, jlong layerUpdaterPtr, jint width, jint height, jboolean isOpaque) argument
/frameworks/base/core/tests/coretests/src/android/view/
H A DBigCache.java57 // Compute the height of the view assuming a cache size based on ARGB8888
58 final int height = 2 * (cacheSize / 2) / screenWidth;
59 large.setLayoutParams(new LinearLayout.LayoutParams(screenWidth, height));
H A DViewStubTest.java82 assertEquals("Both stub and inflated should same height",
83 stub.getLayoutParams().height, swapped.getLayoutParams().height);
/frameworks/base/graphics/java/android/graphics/
H A DPicture.java80 public Canvas beginRecording(int width, int height) { argument
81 long ni = nativeBeginRecording(mNativePicture, width, height);
108 * Get the height of the picture as passed to beginRecording. This
/frameworks/base/media/mca/effect/java/android/media/effect/
H A DFilterGraphEffect.java83 public void apply(int inputTexId, int width, int height, int outputTexId) { argument
89 src.setInputValue("height", height);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DFlipFilter.java112 float height = (mVertical) ? -1.0f : 1.0f;
114 ((ShaderProgram) mProgram).setSourceRect(x_origin, y_origin, width, height);
/frameworks/base/native/graphics/jni/
H A Dbitmap.cpp35 info->height = bm.height();
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
H A DDividerWindowManager.java48 public void add(View view, int width, int height) { argument
50 width, height, TYPE_DOCK_DIVIDER,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DReverseLinearLayout.java29 * Also reverse the width and height values of layout params
108 params.width = params.height;
109 params.height = width;
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DGetBitmapActivity.java81 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
94 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
H A DGlTextureViewActivity.java48 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
68 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPorterDuffColorFilter_Delegate.java68 public void applyFilter(Graphics2D g, int width, int height) { argument
71 g.fillRect(0, 0, width, height);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
H A DMockView.java74 public void addView(View child, int width, int height) { argument
76 super.addView(child, width, height);
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DAndroidCameraSettings.java43 setPreviewSize(new Size(paramPreviewSize.width, paramPreviewSize.height));
71 setPhotoSize(new Size(paramPictureSize.width, paramPictureSize.height));
/frameworks/ex/framesequence/src/android/support/rastermill/
H A DFrameSequenceDrawable.java238 final int height = frameSequence.getHeight();
241 mFrontBitmap = acquireAndValidateBitmap(bitmapProvider, width, height);
242 mBackBitmap = acquireAndValidateBitmap(bitmapProvider, width, height);
243 mSrcRect = new Rect(0, 0, width, height);
372 float height = bounds.height();
373 float circleRadius = (Math.min(width, height)) / 2f;
374 canvas.drawCircle(width / 2f, height / 2f, circleRadius, mPaint);
/frameworks/native/include/gui/
H A DCpuConsumer.h49 uint32_t height; member in struct:android::CpuConsumer::LockedBuffer
74 height(0),
/frameworks/native/libs/gui/
H A DSurface.cpp432 mCrop.intersect(Rect(buffer->width, buffer->height), &crop);
447 // subtracting all top/bottom coordinates from the buffer height.
458 int height = buffer->height; local
462 std::swap(width, height);
469 int top = height - rect.bottom; // Flip from OpenGL convention
470 int bottom = height - rect.top; // Flip from OpenGL convention
480 Rect flippedRect{width - right, height - bottom,
481 width - left, height - top};
487 Rect flippedRect{height
710 uint32_t height = va_arg(args, uint32_t); local
721 uint32_t height = va_arg(args, uint32_t); local
727 uint32_t height = va_arg(args, uint32_t); local
1041 setBuffersDimensions(uint32_t width, uint32_t height) argument
1058 setBuffersUserDimensions(uint32_t width, uint32_t height) argument
[all...]
/frameworks/native/opengl/tests/testFramerate/src/com/android/testframerate/
H A DTestFramerateView.java83 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
84 GLES20.glViewport(0, 0, width, height);
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
H A DGrain.java60 int height = mInPixelsAllocation.getType().getY();
63 int noiseH = findHighBit(height);
H A DMandelbrot.java89 int height = mOutPixelsAllocation.getType().getY();
93 mScript.set_gDimY(height);

Completed in 1147 milliseconds

<<11121314151617181920>>