Searched defs:height (Results 276 - 300 of 763) sorted by relevance

<<11121314151617181920>>

/frameworks/base/core/java/android/app/
H A DUiAutomationConnection.java152 public Bitmap takeScreenshot(int width, int height) { argument
160 return SurfaceControl.screenshot(width, height);
/frameworks/base/core/java/android/hardware/
H A DHardwareBuffer.java60 /** Format: opaque format used for raw data transfer; must have a height of 1 */
111 * @param height The height in pixels of the buffer
127 public static HardwareBuffer create(int width, int height, @Format int format, int layers, argument
135 if (height <= 0) {
136 throw new IllegalArgumentException("Invalid height " + height);
141 if (format == BLOB && height != 1) {
144 long nativeObject = nCreateHardwareBuffer(width, height, format, layers, usage);
189 * Returns the height o
337 nCreateHardwareBuffer(int width, int height, int format, int layers, long usage) argument
[all...]
/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/display/
H A DDisplayManager.java505 int width, int height, int densityDpi, @Nullable Surface surface, int flags) {
506 return createVirtualDisplay(name, width, height, densityDpi, surface, flags, null, null);
535 * @param height The height of the virtual display in pixels, must be greater than 0.
553 int width, int height, int densityDpi, @Nullable Surface surface, int flags,
555 return createVirtualDisplay(null /* projection */, name, width, height, densityDpi, surface,
561 @NonNull String name, int width, int height, int densityDpi, @Nullable Surface surface,
565 name, width, height, densityDpi, surface, flags, callback, handler, uniqueId);
504 createVirtualDisplay(@onNull String name, int width, int height, int densityDpi, @Nullable Surface surface, int flags) argument
552 createVirtualDisplay(@onNull String name, int width, int height, int densityDpi, @Nullable Surface surface, int flags, @Nullable VirtualDisplay.Callback callback, @Nullable Handler handler) argument
560 createVirtualDisplay(@ullable MediaProjection projection, @NonNull String name, int width, int height, int densityDpi, @Nullable Surface surface, int flags, @Nullable VirtualDisplay.Callback callback, @Nullable Handler handler, @Nullable String uniqueId) argument
/frameworks/base/core/java/android/view/animation/
H A DScaleAnimation.java278 public void initialize(int width, int height, int parentWidth, int parentHeight) { argument
279 super.initialize(width, height, parentWidth, parentHeight);
283 mFromY = resolveScale(mFromY, mFromYType, mFromYData, height, parentHeight);
284 mToY = resolveScale(mToY, mToYType, mToYData, height, parentHeight);
287 mPivotY = resolveSize(mPivotYType, mPivotYValue, height, parentHeight);
/frameworks/base/core/java/android/view/autofill/
H A DAutofillPopupWindow.java90 public void update(View anchor, int offsetX, int offsetY, int width, int height, argument
174 setHeight(height);
177 update(actualAnchor, offsetX, offsetY, width, height);
205 p.width, p.height, gravity, getAllowScrollingAnchorParent());
/frameworks/base/core/java/android/widget/
H A DEdgeEffect.java134 * @param height Effect height in pixels
136 public void setSize(int width, int height) { argument
140 final float or = height * 0.75f / SIN;
147 mBounds.set(mBounds.left, mBounds.top, width, (int) Math.min(height, h));
223 Math.sqrt(Math.abs(mPullDistance) * mBounds.height()) - 0.3d) / 0.7d);
312 * 1.f of height.
324 final float centerY = mBounds.height() - mRadius;
347 * Return the maximum height that the edge effect will be drawn at given the original
349 * @return The maximum height o
[all...]
H A DFrameLayout.java142 * and a height of {@link android.view.ViewGroup.LayoutParams#MATCH_PARENT}.
194 lp.height == LayoutParams.MATCH_PARENT) {
205 // Check against our minimum height and width
209 // Check against our foreground's minimum height and width
241 if (lp.height == LayoutParams.MATCH_PARENT) {
242 final int height = Math.max(0, getMeasuredHeight()
246 height, MeasureSpec.EXACTLY);
251 lp.height);
279 final int height = child.getMeasuredHeight();
313 childTop = parentTop + (parentBottom - parentTop - height) /
446 LayoutParams(int width, int height) argument
462 LayoutParams(int width, int height, int gravity) argument
[all...]
/frameworks/base/core/java/com/android/internal/view/
H A DBaseSurfaceHolder.java115 public void setFixedSize(int width, int height) { argument
116 if (mRequestedWidth != width || mRequestedHeight != height) {
118 mRequestedHeight = height;
238 public void setSurfaceFrameSize(int width, int height) { argument
242 mSurfaceFrame.bottom = height;
/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarContextView.java125 layoutParams.height = mContentHeight;
137 public void setContentHeight(int height) { argument
138 mContentHeight = height;
239 layoutParams.height = mContentHeight;
321 final int height = maxHeight - verticalPadding;
322 final int childSpecHeight = MeasureSpec.makeMeasureSpec(height, MeasureSpec.AT_MOST);
357 final int customHeightMode = lp.height != LayoutParams.WRAP_CONTENT ?
359 final int customHeight = lp.height >= 0 ?
360 Math.min(lp.height, height)
[all...]
/frameworks/base/core/jni/android/graphics/
H A DGraphicBuffer.cpp110 jint width, jint height, jint format, jint usage) {
113 uint32_t(width), uint32_t(height), PixelFormat(format), uint32_t(usage),
109 android_graphics_GraphicBuffer_create(JNIEnv* env, jobject clazz, jint width, jint height, jint format, jint usage) argument
H A DYuvToJpegEncoder.cpp27 int height, int* offsets, int jpegQuality) {
41 setJpegCompressStruct(&cinfo, width, height, jpegQuality);
53 int width, int height, int quality) {
55 cinfo->image_height = height;
85 int height = cinfo->image_height; local
87 uint8_t* vuPlanar = yuv + offsets[1]; //width * height;
95 deinterleave(vuPlanar, uRows, vRows, cinfo->next_scanline, width, height);
97 // Jpeg library ignores the rows whose indices are greater than height.
104 // height and width are both halved because of downsampling
118 uint8_t* vRows, int rowIndex, int width, int height) {
26 encode(SkWStream* stream, void* inYuv, int width, int height, int* offsets, int jpegQuality) argument
52 setJpegCompressStruct(jpeg_compress_struct* cinfo, int width, int height, int quality) argument
117 deinterleave(uint8_t* vuPlanar, uint8_t* uRows, uint8_t* vRows, int rowIndex, int width, int height) argument
161 int height = cinfo->image_height; local
192 deinterleave(uint8_t* yuv, uint8_t* yRows, uint8_t* uRows, uint8_t* vRows, int rowIndex, int width, int height) argument
221 YuvImage_compressToJpeg(JNIEnv* env, jobject, jbyteArray inYuv, jint format, jint width, jint height, jintArray offsets, jintArray strides, jint jpegQuality, jobject jstream, jbyteArray jstorage) argument
[all...]
/frameworks/base/core/jni/android/graphics/pdf/
H A DPdfDocument.cpp37 PageRecord(int width, int height, const SkRect& contentRect) argument
41 , mHeight(height) {
65 SkCanvas* startPage(int width, int height, argument
71 PageRecord* page = new PageRecord(width, height, contentRect);
76 SkRect::MakeWH(contentRect.width(), contentRect.height()));
H A DPdfRenderer.cpp56 double height = 0; local
58 int result = FPDF_GetPageSizeByIndex(document, pageIndex, &width, &height);
67 env->SetIntField(outSize, gPointClassInfo.y, height);
90 FPDF_BITMAP bitmap = FPDFBitmap_CreateEx(skBitmap.width(), skBitmap.height(),
/frameworks/base/core/jni/
H A Dandroid_hardware_HardwareBuffer.cpp73 jint width, jint height, jint format, jint layers, jlong usage) {
85 sp<GraphicBuffer> buffer = new GraphicBuffer(width, height, pixelFormat, layers,
72 android_hardware_HardwareBuffer_create(JNIEnv* env, jobject clazz, jint width, jint height, jint format, jint layers, jlong usage) argument
H A Dandroid_media_RemoteDisplay.cpp65 uint32_t width, uint32_t height, uint32_t flags, uint32_t session) {
77 surfaceObj, width, height, flags, session);
64 onDisplayConnected(const sp<IGraphicBufferProducer>& bufferProducer, uint32_t width, uint32_t height, uint32_t flags, uint32_t session) argument
/frameworks/base/core/tests/coretests/src/android/text/
H A DStaticLayoutTest.java66 * Top and bottom padding are affected, as is the line descent and height.
221 public int scale(float height) { argument
222 int altVal = (int)(height * sMult + sAdd + 0.5);
223 int rndVal = Math.round(height * sMult + sAdd);
313 int top, int ascent, int descent, int height) {
318 assertEquals(info, height, l.getLineBottom(line) - top);
312 assertLineMetrics(Layout l, int line, int top, int ascent, int descent, int height) argument
/frameworks/base/graphics/java/android/graphics/
H A DGraphicBuffer.java70 * @param height The height in pixels of the buffer
76 public static GraphicBuffer create(int width, int height, int format, int usage) { argument
77 long nativeObject = nCreateGraphicBuffer(width, height, format, usage);
79 return new GraphicBuffer(width, height, format, usage, nativeObject);
87 private GraphicBuffer(int width, int height, int format, int usage, long nativeObject) { argument
89 mHeight = height;
99 public static GraphicBuffer createFromExisting(int width, int height, argument
103 return new GraphicBuffer(width, height, format, usage, nativeObject);
116 * Returns the height o
296 nCreateGraphicBuffer(int width, int height, int format, int usage) argument
[all...]
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
H A DRect.java31 * These fields can be accessed directly. Use width() and height() to retrieve
32 * the rectangle's width and height. Note: most methods do not check to see that
214 * @return the rectangle's height. This does not check for a valid rectangle
217 public final int height() { method in class:Rect
306 * keeping its width and height the same.
H A DRectF.java28 * These fields can be accessed directly. Use width() and height() to retrieve
29 * the rectangle's width and height. Note: most methods do not check to see that
157 * @return the rectangle's height. This does not check for a valid rectangle
160 public final float height() { method in class:RectF
246 * keeping its width and height the same.
H A DSurfaceTexture.java227 * The width and height parameters must be no greater than the minimum of
233 public void setDefaultBufferSize(int width, int height) { argument
234 nativeSetDefaultBufferSize(width, height);
401 private native void nativeSetDefaultBufferSize(int width, int height); argument
/frameworks/base/libs/hwui/
H A DBakedOpRenderer.cpp32 OffscreenBuffer* BakedOpRenderer::startTemporaryLayer(uint32_t width, uint32_t height) { argument
35 OffscreenBuffer* buffer = mRenderState.layerPool().get(mRenderState, width, height);
36 startRepaintLayer(buffer, Rect(width, height));
75 offscreenBuffer->texture.height());
105 const uint32_t height = area.getHeight(); local
106 OffscreenBuffer* buffer = mRenderState.layerPool().get(mRenderState, width, height);
107 if (!area.isEmpty() && width != 0 && height != 0) {
112 area.left, mRenderTarget.viewportHeight - area.bottom, width, height);
117 void BakedOpRenderer::startFrame(uint32_t width, uint32_t height, const Rect& repaintRect) { argument
120 setViewport(width, height);
161 setViewport(uint32_t width, uint32_t height) argument
[all...]
H A DFontRenderer.h107 uint32_t height; member in struct:android::uirenderer::FontRenderer::DropShadow
137 CacheTexture* createCacheTexture(int width, int height, GLenum format, bool allocate);
209 int32_t width, int32_t height);
211 int32_t width, int32_t height);
214 void blurImage(uint8_t** image, int32_t width, int32_t height, float radius);
H A DGradientCache.cpp218 const uint32_t width, const uint32_t height, Texture* texture) {
220 uint8_t pixels[rowBytes * height];
261 texture->upload(GL_RGBA16F, width, height, GL_RGBA, GL_FLOAT, pixels);
264 texture->upload(internalFormat, width, height, GL_RGBA, GL_UNSIGNED_BYTE, pixels);
217 generateTexture(uint32_t* colors, float* positions, const uint32_t width, const uint32_t height, Texture* texture) argument

Completed in 5733 milliseconds

<<11121314151617181920>>