/frameworks/native/include/ui/ |
H A D | ANativeObjectBase.h | 33 int32_t height; member in struct:egl_native_pixmap_t
|
H A D | GraphicBuffer.h | 88 uint32_t getHeight() const { return height; } 92 Rect getBounds() const { return Rect(width, height); }
|
H A D | Rect.h | 66 // a valid rectangle has a non negative width and height 71 // an empty rect has a zero width or height, or is invalid 81 // rectangle's height 158 // the origin and extending to (width, height). If the transform includes 160 // (height, width). Otherwise the output rectangle is in the same space as 162 Rect transform(uint32_t xform, int32_t width, int32_t height) const; 170 inline int32_t height() const { return getHeight(); } function in class:android::Rect
|
/frameworks/native/libs/gui/ |
H A D | BufferQueueConsumer.cpp | 422 uint32_t height) { 425 if (width == 0 || height == 0) { 427 "height=%u)", width, height); 431 BQ_LOGV("setDefaultBufferSize: width=%u height=%u", width, height); 435 mCore->mDefaultHeight = height; 421 setDefaultBufferSize(uint32_t width, uint32_t height) argument
|
H A D | BufferQueueCore.cpp | 125 buffer->width, buffer->height, buffer->stride,
|
H A D | BufferQueueProducer.cpp | 253 uint32_t width, uint32_t height, uint32_t format, uint32_t usage) { 261 async ? "true" : "false", width, height, format, usage); 263 if ((width && !height) || (!width && height)) { 264 BQ_LOGE("dequeueBuffer: invalid size: w=%u h=%u", width, height); 302 const bool useDefaultSize = !width && !height; 305 height = mCore->mDefaultHeight; 313 (static_cast<uint32_t>(buffer->height) != height) || 330 found, buffer->width, buffer->height, buffe 251 dequeueBuffer(int *outSlot, sp<android::Fence> *outFence, bool async, uint32_t width, uint32_t height, uint32_t format, uint32_t usage) argument 906 allocateBuffers(bool async, uint32_t width, uint32_t height, uint32_t format, uint32_t usage) argument [all...] |
H A D | CpuConsumer.cpp | 58 status_t CpuConsumer::setDefaultBufferSize(uint32_t width, uint32_t height) argument 61 return mConsumer->setDefaultBufferSize(width, height); 192 nativeBuffer->height = mSlots[buf].mGraphicBuffer->getHeight();
|
H A D | GLConsumer.cpp | 57 size_t width, height; member in struct:android::__anon1316 315 kDebugData.width, kDebugData.height, PIXEL_FORMAT_RGBA_8888, 322 for (size_t y=0 ; y<kDebugData.height ; y++) { 824 if (cropRect.height() < bufferHeight) { 827 sy = (float(cropRect.height()) - (2.0f * shrinkAmount)) / 876 int32_t newHeight = mCurrentCrop.height(); 892 } else if (newHeight < mCurrentCrop.height()) { 893 int32_t dh = (newHeight - mCurrentCrop.height())/2;
|
H A D | IGraphicBufferProducer.cpp | 257 virtual void allocateBuffers(bool async, uint32_t width, uint32_t height, argument 263 data.writeInt32(static_cast<int32_t>(height)); 417 uint32_t height = static_cast<uint32_t>(data.readInt32()); local 420 allocateBuffers(async, width, height, format, usage);
|
H A D | LayerState.cpp | 89 output.writeInt32(height); 102 height = input.readInt32();
|
H A D | Surface.cpp | 316 mCrop.intersect(Rect(buffer->width, buffer->height), &crop); 748 // src and dst with, height and format must be identical. no verification 768 ssize_t h = r.height(); 819 const Rect bounds(backBuffer->width, backBuffer->height); 833 backBuffer->height == frontBuffer->height && 881 outBuffer->height = backBuffer->height;
|
H A D | SurfaceComposerClient.cpp | 169 void setDisplaySize(const sp<IBinder>& token, uint32_t width, uint32_t height); 430 void Composer::setDisplaySize(const sp<IBinder>& token, uint32_t width, uint32_t height) { argument 434 s.height = height; 634 uint32_t width, uint32_t height) { 635 Composer::getInstance().setDisplaySize(token, width, height); 783 return mBuffer.height; 795 return mBuffer.stride * mBuffer.height * bytesPerPixel(mBuffer.format); 633 setDisplaySize(const sp<IBinder>& token, uint32_t width, uint32_t height) argument
|
/frameworks/native/libs/gui/tests/ |
H A D | CpuConsumer_test.cpp | 45 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; 461 params.width, params.height, params.format); 506 fillYV12Buffer(img, params.width, params.height, *stride); 509 fillBayerRawBuffer(img, params.width, params.height, bu [all...] |
H A D | IGraphicBufferProducer_test.cpp | 354 uint32_t height; local 358 output.deflate(&width, &height, &transformHint, &numPendingBuffers); 361 EXPECT_EQ(DEFAULT_HEIGHT, height);
|
H A D | MultiTextureConsumer_test.cpp | 109 memset(buffer.bits, (i&7) * 0x20, buffer.stride * buffer.height * 4);
|
H A D | SRGB_test.cpp | 207 GLsizei height) { 209 glViewport(x, y, width, height); 218 ASSERT_EQ(mLockedBuffer.height, DISPLAY_HEIGHT); 307 for (int y = 0; y < outBuffer.height; ++y) { 323 size_t bufferSize = mLockedBuffer.height * mLockedBuffer.stride * 330 ASSERT_EQ(mLockedBuffer.height, outBuffer.height); 339 for (int y = 0; y < outBuffer.height; ++y) { 206 drawTexture(bool asSRGB, GLint x, GLint y, GLsizei width, GLsizei height) argument
|
H A D | SurfaceTextureClient_test.cpp | 222 EXPECT_EQ(1, buf->height); 232 EXPECT_EQ(8, buf->height); 242 EXPECT_EQ(1, buf->height); 252 EXPECT_EQ(8, buf->height); 262 EXPECT_EQ(8, buf->height); 268 EXPECT_EQ(1, buf->height); 278 EXPECT_EQ(1, buf->height); 284 EXPECT_EQ(8, buf->height); 295 EXPECT_EQ(8, buf->height); 314 EXPECT_EQ(8, buf[0]->height); [all...] |
H A D | SurfaceTextureGL_test.cpp | 572 // crop should be the same height, but have cropped left and right borders 680 EXPECT_EQ(texHeight, anb->height); 689 EXPECT_EQ(texHeight, anb->height); 698 EXPECT_EQ(texHeight, anb->height);
|
/frameworks/native/libs/input/ |
H A D | VirtualKeyMap.cpp | 118 && parseNextIntField(&defn.height); 127 "width=%d, height=%d", 128 defn.scanCode, defn.centerX, defn.centerY, defn.width, defn.height);
|
/frameworks/native/libs/ui/ |
H A D | FramebufferNativeWindow.cpp | 53 ANativeWindowBuffer::height = h; member in class:android::NativeBuffer::ANativeWindowBuffer 120 fbDev->width, fbDev->height, fbDev->format, GRALLOC_USAGE_HW_FB); 126 fbDev->width, fbDev->height, fbDev->format, 130 i, fbDev->width, fbDev->height, strerror(-err)); 184 return fbDev->setUpdateRect(fbDev, r.left, r.top, r.width(), r.height()); 304 *value = fb->height; 319 *value = fb->height;
|
H A D | GraphicBuffer.cpp | 49 height = 62 height = 78 height = h; 91 height = buffer->height; 140 if (handle && w==width && h==height && f==format && reqUsage==usage) 158 this->height = h; 167 const Rect lockBounds(width, height); 175 rect.top < 0 || rect.bottom > this->height) { 178 this->width, this->height); [all...] |
H A D | GraphicBufferMapper.cpp | 82 bounds.left, bounds.top, bounds.width(), bounds.height(), 100 bounds.left, bounds.top, bounds.width(), bounds.height(), 126 bounds.left, bounds.top, bounds.width(), bounds.height(), 132 bounds.left, bounds.top, bounds.width(), bounds.height(), 149 bounds.left, bounds.top, bounds.width(), bounds.height(), 155 bounds.left, bounds.top, bounds.width(), bounds.height(),
|
H A D | Rect.cpp | 90 Rect Rect::transform(uint32_t xform, int32_t width, int32_t height) const { 97 result = Rect(result.left, height - result.bottom, result.right, 98 height - result.top); 101 int left = height - result.bottom; 103 int right = height - result.top;
|
/frameworks/native/opengl/include/EGL/ |
H A D | eglext.h | 290 EGLAPI EGLBoolean EGLAPIENTRY eglPostSubBufferNV (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height); 292 typedef EGLBoolean (EGLAPIENTRYP PFNEGLPOSTSUBBUFFERNVPROC) (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height);
|
/frameworks/native/opengl/include/ETC1/ |
H A D | etc1.h | 58 etc1_uint32 etc1_get_encoded_data_size(etc1_uint32 width, etc1_uint32 height); 67 int etc1_encode_image(const etc1_byte* pIn, etc1_uint32 width, etc1_uint32 height, 79 etc1_uint32 width, etc1_uint32 height, 88 void etc1_pkm_format_header(etc1_byte* pHeader, etc1_uint32 width, etc1_uint32 height); 98 // Read the image height from a PKM header
|