Searched refs:height (Results 401 - 425 of 1236) sorted by relevance

<<11121314151617181920>>

/frameworks/base/libs/hwui/
H A DFontRenderer.h120 uint32_t height; member in struct:android::uirenderer::FontRenderer::DropShadow
145 CacheTexture* createCacheTexture(int width, int height, GLenum format, bool allocate);
211 int32_t width, int32_t height);
213 int32_t width, int32_t height);
216 void blurImage(uint8_t** image, int32_t width, int32_t height, float radius);
H A DBakedOpRenderer.h69 void startFrame(uint32_t width, uint32_t height, const Rect& repaintRect);
71 WARN_UNUSED_RESULT OffscreenBuffer* startTemporaryLayer(uint32_t width, uint32_t height);
111 void setViewport(uint32_t width, uint32_t height);
/frameworks/base/libs/hwui/tests/common/
H A DTestUtils.h135 static SkBitmap createSkBitmap(int width, int height, argument
138 SkImageInfo info = SkImageInfo::Make(width, height,
146 renderthread::RenderThread& renderThread, uint32_t width, uint32_t height,
150 static std::unique_ptr<DisplayList> createDisplayList(int width, int height, argument
152 CanvasType canvas(width, height);
H A DTestUtils.cpp44 renderthread::RenderThread& renderThread, uint32_t width, uint32_t height,
50 layerUpdater->setSize(width, height);
57 LayerRenderer::updateTextureLayer(layer, width, height, isOpaque, forceFilter,
43 createTextureLayerUpdater( renderthread::RenderThread& renderThread, uint32_t width, uint32_t height, const SkMatrix& transform) argument
/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/native/libs/gui/tests/
H A DCpuConsumer_test.cpp45 uint32_t height; member in struct:android::CpuConsumerTestParams
51 return os << "[ (" << p.width << ", " << p.height << "), B:"
65 params.width, params.height,
283 // Blocks need to be even-width/height, aim for 8-wide otherwise
309 uint32_t h = buf.height;
348 uint32_t h = buf.height;
391 uint32_t h = buf.height;
456 params.width, params.height);
504 fillYV12Buffer(img, params.width, params.height, *stride);
507 fillBayerRawBuffer(img, params.width, params.height, bu
[all...]
/frameworks/native/opengl/tools/glgen/specs/gles11/
H A DGLES20.spec22 void glCompressedTexImage2D ( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data )
23 void glCompressedTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data )
24 void glCopyTexImage2D ( GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border )
25 void glCopyTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height )
94 void glReadPixels ( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels )
96 void glRenderbufferStorage ( GLenum target, GLenum internalformat, GLsizei width, GLsizei height )
98 void glScissor ( GLint x, GLint y, GLsizei width, GLsizei height )
107 void glTexImage2D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels )
112 void glTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels )
144 void glViewport ( GLint x, GLint y, GLsizei width, GLsizei height )
[all...]
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
H A DUT_alloc_copy.java267 int height = random.nextInt(128);
269 int yoff = random.nextInt(height);
271 int ycount = height - yoff;
279 typeBuilder.setX(width).setY(height);
302 int height = random.nextInt(128);
304 int yoff = random.nextInt(height);
306 int ycount = height - yoff;
317 typeBuilder.setX(width).setY(height);
340 int height = random.nextInt(128);
342 int yoff = random.nextInt(height);
[all...]
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/
H A DUT_alloc_copy.java267 int height = random.nextInt(128);
269 int yoff = random.nextInt(height);
271 int ycount = height - yoff;
279 typeBuilder.setX(width).setY(height);
302 int height = random.nextInt(128);
304 int yoff = random.nextInt(height);
306 int ycount = height - yoff;
317 typeBuilder.setX(width).setY(height);
340 int height = random.nextInt(128);
342 int yoff = random.nextInt(height);
[all...]
/frameworks/support/v4/java/android/support/v4/app/
H A DSharedElementCallback.java191 int bitmapHeight = Math.round(screenBounds.height());
216 int height = drawable.getIntrinsicHeight();
217 if (width <= 0 || height <= 0) {
220 float scale = Math.min(1f, ((float)MAX_IMAGE_SIZE) / (width * height));
226 int bitmapHeight = (int) (height * scale);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskStackLayoutAlgorithm.java159 * @param freeformHeightPct the percentage of the stack height (not including paddings) to
194 // The freeform height is the visible height (not including system insets) - padding
196 int availableHeight = taskStackBounds.height() - topMargin - stackBottomOffset;
234 // The freeform workspace bounds, inset by the top system insets and is a fixed height
275 // The height between the top margin and the top of the focused task
278 // The height between the bottom margin and the top of task in front of the focused task
457 int height = mStackRect.height() - mInitialTopOffset - mStackBottomOffset;
458 mTaskRect.set(mStackRect.left, mStackRect.top, mStackRect.right, mStackRect.top + height);
[all...]
/frameworks/base/tools/aapt2/compile/
H A DPng.cpp55 uint32_t height = 0; member in struct:aapt::PngInfo
112 png_get_IHDR(readPtr, infoPtr, &outInfo->width, &outInfo->height, &bitDepth, &colorType,
143 outInfo->rows.resize(outInfo->height);
144 for (size_t i = 0; i < outInfo->height; i++) {
235 int h = imageInfo.height;
419 uint32_t width, height; local
427 png_bytepp outRows = (png_bytepp) malloc((int) info->height * sizeof(png_bytep));
432 for (uint32_t i = 0; i < info->height; i++) {
445 << ", h = " << info->height);
486 png_set_IHDR(writePtr, infoPtr, info->width, info->height,
705 getVerticalTicks(png_bytepp rows, int offset, int height, bool transparent, bool required, int32_t* outTop, int32_t* outBottom, const char** outError, uint8_t* outDivs, bool multipleAllowed) argument
783 getVerticalLayoutBoundsTicks(png_bytepp rows, int offset, int height, bool transparent, bool , int32_t* outTop, int32_t* outBottom, const char** outError) argument
[all...]
/frameworks/av/cmds/screenrecord/
H A DEglWindow.cpp64 status_t EglWindow::createPbuffer(int width, int height) { argument
75 mHeight = height;
79 EGL_HEIGHT, height,
/frameworks/av/media/libstagefright/
H A DJPEGSource.cpp207 uint16_t width, height; local
208 if (!mSource->getUInt16(i + 1, &height)
214 mHeight = height;
H A Davc_utils.cpp93 int32_t *width, int32_t *height,
162 *height = (2 - frame_mbs_only_flag)
196 *height -=
218 static const struct { unsigned width, height; } kFixedSARs[] = { member in struct:android::__anon327
240 sar_height = kFixedSARs[aspect_ratio_idc].height;
374 int32_t width, height; local
377 seqParamSet, &width, &height, &sarWidth, &sarHeight);
421 meta->setInt32(kKeyHeight, height);
432 height,
441 height,
91 FindAVCDimensions( const sp<ABuffer> &seqParamSet, int32_t *width, int32_t *height, int32_t *sarWidth, int32_t *sarHeight) argument
541 ExtractDimensionsFromVOLHeader( const uint8_t *data, size_t size, int32_t *width, int32_t *height) argument
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/include/
H A Dmp4dec_api.h131 int16 height; /* Height */ member in struct:tagVideoRefCopyInfoData
133 int16 realHeight; /* Non-padded height, not a multiple of 16. */
150 OSCL_IMPORT_REF Bool PVInitVideoDecoder(VideoDecControls *decCtrl, uint8 *volbuf[], int32 *volbuf_size, int nLayers, int width, int height, MP4DecodingMode mode);
151 Bool PVAllocVideoData(VideoDecControls *decCtrl, int width, int height, int nLayers);
/frameworks/av/media/libstagefright/rtsp/
H A Drtp_test.cpp193 int32_t width, height; local
195 CHECK(decoder->getFormat()->findInt32(kKeyHeight, &height));
196 printf("INFO_FORMAT_CHANGED %d x %d\n", width, height);
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3IOStreamBase.cpp33 uint32_t width, uint32_t height, size_t maxSize, int format,
36 width, height, maxSize, format, dataSpace, rotation, setId),
78 camera3_stream::width, camera3_stream::height,
32 Camera3IOStreamBase(int id, camera3_stream_type_t type, uint32_t width, uint32_t height, size_t maxSize, int format, android_dataspace dataSpace, camera3_stream_rotation_t rotation, int setId) argument
/frameworks/base/core/java/android/text/style/
H A DImageSpan.java68 int height = mDrawable.getIntrinsicHeight();
69 mDrawable.setBounds(0, 0, width > 0 ? width : 0, height > 0 ? height : 0);
/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)
H A DDayPickerViewPager.java82 lp.height == LayoutParams.MATCH_PARENT) {
93 // Check against our minimum height and width
97 // Check against our foreground's minimum height and width
127 if (lp.height == LayoutParams.MATCH_PARENT) {
134 lp.height);
/frameworks/base/core/java/com/android/internal/widget/
H A DDialogViewAnimator.java59 final boolean matchHeight = lp.height == LayoutParams.MATCH_PARENT;
91 // Check against our minimum height and width.
95 // Check against our foreground's minimum height and width.
125 if (lp.height == LayoutParams.MATCH_PARENT) {
133 lp.height);
/frameworks/base/core/tests/coretests/src/android/util/
H A DScrollViewScenario.java37 * specified amount of the screen height.
54 * to the screen height for its desired height.
63 * Partially implement ViewFactory given a height ratio.
64 * A negative height ratio means that WRAP_CONTENT will be used as height
97 * @param heightRatio The view's height will be this * the screen height.
114 * @param heightRatio The view's height will be this * the screen height
[all...]
/frameworks/base/libs/hwui/font/
H A DCacheTexture.h56 CacheBlock(uint16_t x, uint16_t y, uint16_t width, uint16_t height): argument
57 mX(x), mY(y), mWidth(width), mHeight(height), mNext(nullptr), mPrev(nullptr) {
76 CacheTexture(uint16_t width, uint16_t height, GLenum format, uint32_t maxQuadCount);
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/
H A DRectangle.java31 public Rectangle(float x, float y, float width, float height) { argument
34 new Point(x, y + height),
35 new Point(x + width, y + height));

Completed in 606 milliseconds

<<11121314151617181920>>