Lines Matching refs:h
188 sp<OverlayRef> LayerBuffer::createOverlay(uint32_t w, uint32_t h, int32_t f, in createOverlay() argument
196 sp<OverlaySource> source = new OverlaySource(*this, &result, w, h, f, orientation); in createOverlay()
255 uint32_t w, uint32_t h, int32_t format, int32_t orientation) { in createOverlay() argument
259 result = owner->createOverlay(w, h, format, orientation); in createOverlay()
275 src.crop.b = buffers.h; in Buffer()
278 src.img.h = buffers.ver_stride ?: buffers.h; in Buffer()
362 buffers.w, buffers.h, buffers.hor_stride, buffers.ver_stride); in BufferSource()
495 t.vstride= src.img.h; in onDraw()
511 uint32_t h = mLayer.mTransformedBounds.height(); in initTempBuffer() local
512 if (buffers.w * h != buffers.h * w) { in initTempBuffer()
513 int t = w; w = h; h = t; in initTempBuffer()
523 if (buffers.h > h*down) h = buffers.h / down; in initTempBuffer()
524 else if (h > buffers.h*up) h = buffers.h*up; in initTempBuffer()
528 if (w!=mTexture.width || h!= mTexture.height) { in initTempBuffer()
539 if (buffers.w * h == buffers.h * w) { in initTempBuffer()
548 w, h, HAL_PIXEL_FORMAT_RGB_565, in initTempBuffer()
556 dst.img.h = h; in initTempBuffer()
563 dst.crop.b = h; in initTempBuffer()
588 uint32_t w, uint32_t h, int32_t format, int32_t orientation) in OverlaySource() argument
599 overlay_t* overlay = overlay_dev->createOverlay(overlay_dev, w, h, format); in OverlaySource()
611 mHeight = overlay->h; in OverlaySource()
670 int h = bounds.height(); in onVisibilityResolved() local
676 overlay_dev->setPosition(overlay_dev, mOverlay, x,y,w,h); in onVisibilityResolved()