HomeSort by relevance Sort by last modified time
    Searched refs:height (Results 1251 - 1275 of 9458) sorted by null

<<51525354555657585960>>

  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
BitmapMutateActivity.java 88 int height = mBitmap1.getHeight(); local
97 for (int y = 0; y < height; y++) {
102 mBitmap1.setPixels(mPixels, 0, width, 0, 0, width, height);
106 canvas.translate(0.0f, height + 32);
107 canvas.drawBitmap(mPixels, 0, width, 0.0f, 0.0f, width, height, false, mBitmapPaint);
  /frameworks/support/compat/tests/java/android/support/v4/widget/
TextViewCompatTest.java 49 public TestDrawable(@ColorInt int color, int width, int height) {
52 mHeight = height;
152 assertEquals("Compound drawable: left height",
153 drawablesAbsolute[0].getBounds().height(), 20);
158 assertEquals("Compound drawable: top height",
159 drawablesAbsolute[1].getBounds().height(), 25);
164 assertEquals("Compound drawable: right height",
165 drawablesAbsolute[2].getBounds().height(), 20);
198 assertEquals("Compound drawable: left height",
199 drawablesAbsolute[0].getBounds().height(), 20)
    [all...]
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
video_source.h 121 void SetSize(unsigned int width, unsigned int height) {
122 if (width != width_ || height != height_) {
124 raw_sz_ = ((width + 31)&~31) * height * 3 / 2;
125 img_ = vpx_img_alloc(NULL, VPX_IMG_FMT_I420, width, height, 32);
127 height_ = height;
  /hardware/intel/common/wrs_omxil_core/core/src/
intel_m4v_config_parser.h 85 OSCL_IMPORT_REF int16 iDecodeVOLHeader(mp4StreamType *psBits, int32 *width, int32 *height, int32 *, int32 *, int32 *profilelevel);
86 OSCL_IMPORT_REF int16 iGetM4VConfigInfo(uint8 *buffer, int32 length, int32 *width, int32 *height, int32 *, int32 *);
88 OSCL_IMPORT_REF int16 iDecodeShortHeader(mp4StreamType *psBits, int32 *width, int32 *height, int32 *, int32 *);
89 OSCL_IMPORT_REF int16 iGetAVCConfigInfo(uint8 *buffer, int32 length, int32 *width, int32 *height, int32 *, int32 *, int32 *profile, int32 *level);
92 int16 DecodeSPS(mp4StreamType *psBits, int32 *width, int32 *height, int32 *display_width, int32 *display_height, int32 *profile_idc, int32 *level_idc);
  /hardware/qcom/display/msm8996/libgralloc1/
gr_adreno_info.cpp 95 void AdrenoMemInfo::AlignUnCompressedRGB(int width, int height, int format, int tile_enabled,
98 *aligned_h = (unsigned int)ALIGN(height, 32);
123 // the function below computes aligned width and aligned height
127 width, height, bpp, tile_enabled, raster_mode, padding_threshold,
142 void AdrenoMemInfo::AlignCompressedRGB(int width, int height, int format, unsigned int *aligned_w,
151 width, height, format, 0, raster_mode, padding_threshold,
gr_allocator.cpp 117 // Allocates buffer from width, height and format into a
250 int height = descriptor.GetHeight(); local
255 return GetUBwcSize(width, height, format, alignedw, alignedh);
281 size += (unsigned int)ALIGN(2 * ALIGN(width / 2, 32) * ALIGN(height / 2, 32), SIZE_4K);
288 size += ALIGN(alignedw * (unsigned int)ALIGN(height / 2, 32), SIZE_8K);
291 if ((format == HAL_PIXEL_FORMAT_YV12) && ((width & 1) || (height & 1))) {
314 size = VENUS_BUFFER_SIZE(COLOR_FMT_NV12, width, height);
317 size = VENUS_BUFFER_SIZE(COLOR_FMT_NV21, width, height);
321 if (height != 1) {
322 ALOGE("%s: Buffers with HAL_PIXEL_FORMAT_BLOB must have height 1 ", __FUNCTION__)
413 uint32_t height = UINT(hnd->height); local
793 int height = descriptor.GetHeight(); local
    [all...]
  /hardware/ti/omap3/omx/ti_omx_config_parser/inc/
ti_m4v_config_parser.h 96 int32 *height,
104 int32 *height,
113 int32 *height,
120 int32 *height,
128 int16 DecodeSPS(mp4StreamType *psBits, int32 *width, int32 *height, int32 *display_width, int32 *display_height, int32 *profile_idc, int32 *level_idc);
  /packages/apps/ContactsCommon/src/com/android/contacts/common/widget/
ProportionalLayout.java 28 * Layout that calculates its height based on its width, or vice versa (depending on the set
30 * <p>For {@link Direction#heightToWidth}: width := height * factor</p>
31 * <p>For {@link Direction#widthToHeight}: height := width * factor</p>
36 /** Specifies whether the width should be calculated based on the height or vice-versa */
103 final int height; local
106 height = childHeight;
109 height = Math.round(childWidth * mRatio);
115 MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY));
118 resolveSize(width, widthMeasureSpec), resolveSize(height, heightMeasureSpec));
  /external/libjpeg-turbo/
turbojpeg.c 383 while(height--) \
398 int height, int pixelFormat, unsigned char *dst)
443 while(height--) \
459 int pitch, int height, int pixelFormat)
596 DLLEXPORT unsigned long DLLCALL tjBufSize(int width, int height,
600 if(width<1 || height<1 || jpegSubsamp<0 || jpegSubsamp>=NUMSUBOPT)
609 retval=PAD(width, mcuw) * PAD(height, mcuh) * (2 + chromasf) + 2048;
615 DLLEXPORT unsigned long DLLCALL TJBUFSIZE(int width, int height)
618 if(width<1 || height<1)
624 retval=PAD(width, 16) * PAD(height, 16) * 6 + 2048
    [all...]
  /hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/
mm_camera_stream.c     [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
RadioGroup_LayoutParamsTest.java 53 assertEquals(Integer.MAX_VALUE, mLayoutParams.height);
58 assertEquals(Integer.MIN_VALUE, mLayoutParams.height);
64 assertEquals(Integer.MAX_VALUE, mLayoutParams.height);
70 assertEquals(Integer.MAX_VALUE, mLayoutParams.height);
75 assertEquals(60, mLayoutParams.height);
87 assertEquals(200, mLayoutParams.height);
102 assertEquals(20, mLayoutParams.height);
126 assertEquals(LayoutParams.MATCH_PARENT, mLayoutParams.height);
130 assertEquals(RadioGroup.LayoutParams.WRAP_CONTENT, mLayoutParams.height);
144 assertEquals(LayoutParams.WRAP_CONTENT, layoutParams.height);
    [all...]
  /external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/
bitmaptools.cc 34 // left, top, width, height
37 int height; local
39 ReadInt(&width) && ReadInt(&height))) {
43 if (left < 0 || top < 0 || width < 0 || height < 0) {
48 bottom = top + height;
60 int height() const { return bottom - top; } function in struct:Box
79 // bpp, width, height, box, pixels
83 int height; local
84 if (!(ReadInt(&bpp) && ReadInt(&width) && ReadInt(&height))) {
88 if (bpp <= 0 || width <= 0 || height <= 0)
    [all...]
  /external/libdrm/tests/modetest/
buffers.c 62 bo_create_dumb(int fd, unsigned int width, unsigned int height, unsigned int bpp)
77 arg.height = height;
130 unsigned int width, unsigned int height,
210 virtual_height = height * 3 / 2;
215 virtual_height = height * 2;
219 virtual_height = height;
258 offsets[1] = pitches[0] * height;
271 offsets[1] = pitches[0] * height;
274 offsets[2] = offsets[1] + pitches[1] * height / 2
    [all...]
  /external/mesa3d/src/gallium/winsys/sw/fbdev/
fbdev_sw_winsys.c 45 unsigned height; member in struct:fbdev_sw_displaytarget
84 unsigned height, row_offset, row_len, i; local
93 height = dst->height;
94 if (dst->y + dst->height > fbdev->rows) {
99 height = fbdev->rows - dst->y;
117 for (i = 0; i < height; i++) {
161 unsigned width, unsigned height,
174 fbdt->height = height;
    [all...]
  /external/opencv/cvaux/src/
camshift.cpp 94 m_temp->width != size.width || m_temp->height != size.height ||
118 for( ; size.height--; color_data += color_step, mask += mask_step )
162 if( m_comp.rect.width == 0 || m_comp.rect.height == 0 ||
213 if( m_comp.rect.width == 0 || m_comp.rect.height == 0 ||
232 if( rect.y + rect.height > bp_size.height )
233 rect.height = bp_size.height - rect.y;
239 if( m_comp.rect.width == 0 || m_comp.rect.height == 0
    [all...]
  /external/opencv3/modules/cudalegacy/test/
TestHypothesesFilter.cpp 77 double delta = eps*(std::min(r1.width, r2.width) + std::min(r1.height, r2.height))*0.5;
81 std::abs((Ncv32s)r1.y + (Ncv32s)r1.height - (Ncv32s)r2.y - (Ncv32s)r2.height) <= delta;
118 h_vecDst_groundTruth.ptr()[i].height = this->canvasHeight / (this->numDstRects * 2);
133 (Ncv32s)(h_vecDst_groundTruth.ptr()[i].height * this->eps * (randVal - 0.5));
135 h_vecSrc.ptr()[srcSlotSize * i + j].height = h_vecDst_groundTruth.ptr()[i].height;
148 (Ncv32s)(h_vecDst_groundTruth.ptr()[i].height * this->eps * (randVal - 0.5));
150 h_vecSrc.ptr()[srcSlotSize * i + j].height = h_vecDst_groundTruth.ptr()[i].height
    [all...]
  /external/opencv3/modules/videoio/src/
cap_cmu.cpp 201 unsigned long width = 0, height = 0; local
202 cmucam->GetVideoFrameDimensions( &width, &height );
203 return cvSize((int)width, (int)height);
403 for(int i=0; i<im->height; i++){
435 return image->height;
507 int width, height; local
511 height = width*3/4;
514 height = ival;
515 width = height*4/3;
517 retval = setVideoSize(width, height);
    [all...]
  /external/skia/src/core/
SkBlitter.h 38 virtual void blitV(int x, int y, int height, SkAlpha alpha);
40 virtual void blitRect(int x, int y, int width, int height);
46 virtual void blitAntiRect(int x, int y, int width, int height,
152 void blitV(int x, int y, int height, SkAlpha alpha) override;
153 void blitRect(int x, int y, int width, int height) override;
173 void blitV(int x, int y, int height, SkAlpha alpha) override;
174 void blitRect(int x, int y, int width, int height) override;
175 virtual void blitAntiRect(int x, int y, int width, int height,
207 void blitV(int x, int y, int height, SkAlpha alpha) override;
208 void blitRect(int x, int y, int width, int height) override
    [all...]
  /external/skia/src/gpu/text/
GrFontScaler.cpp 96 int height,
99 for (int i = 0; i < height; ++i) {
115 bool GrFontScaler::getPackedGlyphImage(const SkGlyph& glyph, int width, int height, int dstRB,
118 SkASSERT(glyph.fHeight == height);
129 for (int y = 0; y < height; y++) {
146 expand_bits(bytes, bits, width, height, dstRB, srcRB);
151 expand_bits(rgb565, bits, width, height, dstRB, srcRB);
158 memcpy(dst, src, dstRB * height);
161 for (int y = 0; y < height; y++) {
170 bool GrFontScaler::getPackedGlyphDFImage(const SkGlyph& glyph, int width, int height, void* dst)
    [all...]
  /external/skia/src/images/
SkImageDecoder_ktx.cpp 64 const unsigned short height = ktxFile.height(); local
71 SkScaledBitmapSampler sampler(width, height, this->getSampleSize());
135 int nPixels = width * height;
142 outRGBDataPtr, width, buf, width, height, ktxCompressedFormat)) {
164 int nPixels = width * height;
171 outRGBDataPtr, width*3, buf, width, height, SkTextureCompressor::kETC1_Format)) {
292 etc1_uint32 height = etc1_pkm_get_height(bytes); local
296 if (width == 0 || (width & 3) != 0 || height == 0 || (height & 3) != 0)
    [all...]
  /external/skia/tests/
RectangleTextureTest.cpp 18 int pixelCnt = rectangleTexture->width() * rectangleTexture->height();
22 rectangleTexture->height(), kRGBA_8888_GrPixelConfig,
38 int pixelCnt = rectangleTexture->width() * rectangleTexture->height();
41 for (int x = 0; x < rectangleTexture->height(); ++x) {
46 rectangleTexture->height(), kRGBA_8888_GrPixelConfig,
59 copyDstDesc.fHeight = rectangleTexture->height();
69 int pixelCnt = rectangleTexture->width() * rectangleTexture->height();
72 for (int x = 0; x < rectangleTexture->height(); ++x) {
80 copySrcDesc.fHeight = rectangleTexture->height();
103 int h = rectangleTexture->height();
    [all...]
  /external/webrtc/webrtc/test/win/
d3d_renderer.cc 28 size_t height) {
29 return D3dRenderer::Create(window_title, width, height);
32 D3dRenderer::D3dRenderer(size_t width, size_t height)
34 height_(height),
41 assert(height > 0);
137 size_t height) {
153 D3dRenderer* d3d_renderer = new D3dRenderer(width, height);
162 void D3dRenderer::Resize(size_t width, size_t height) {
164 height_ = height;
197 static_cast<size_t>(frame.height()) != height_)
    [all...]
  /frameworks/base/media/mca/filterfw/native/core/
gl_frame.cpp 56 bool GLFrame::Init(int width, int height) {
59 InitDimensions(width, height);
65 bool GLFrame::InitWithTexture(GLint texture_id, int width, int height) {
68 InitDimensions(width, height);
72 bool GLFrame::InitWithFbo(GLint fbo_id, int width, int height) {
76 InitDimensions(width, height);
87 void GLFrame::InitDimensions(int width, int height) {
89 height_ = height;
91 vp_height_ = height;
187 bool GLFrame::SetViewport(int x, int y, int width, int height) {
    [all...]
  /frameworks/native/libs/ui/
GraphicBufferAllocator.cpp 60 rec.width, rec.stride, rec.height, rec.format, rec.usage,
65 rec.width, rec.stride, rec.height, rec.format, rec.usage,
84 status_t GraphicBufferAllocator::allocate(uint32_t width, uint32_t height,
92 if (!width || !height)
93 width = height = 1;
99 auto error = descriptor->setDimensions(width, height);
101 ALOGE("Failed to set dimensions to (%u, %u): %d", width, height, error);
125 width, height, format, usage, error);
140 rec.height = height;
    [all...]
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_scale/generic/
yv12config.c 50 int width, int height, int border) {
53 int aligned_height = (height + 15) & ~15;
81 ybf->y_crop_height = height;
109 int width, int height, int border) {
112 return vp8_yv12_realloc_frame_buffer(ybf, width, height, border);
138 int width, int height,
145 //int aligned_height = (height + 7) & ~7;
146 int aligned_height = (height + 31) & ~31;
195 // external height is 32-bit align, align here either
244 ybf->y_crop_height = height;
    [all...]

Completed in 2246 milliseconds

<<51525354555657585960>>