/frameworks/base/libs/hwui/renderstate/ |
Scissor.cpp | 46 bool Scissor::set(GLint x, GLint y, GLint width, GLint height) { 48 || width != mScissorWidth || height != mScissorHeight)) { 55 height += y; 61 if (height < 0) { 62 height = 0; 64 glScissor(x, y, width, height); 69 mScissorHeight = height; 81 GLint height = std::max(0, (viewportHeight - (int)clip.top) - y); local 86 || height != mScissorHeight) { 87 glScissor(x, y, width, height); [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_format_s3tc.h | 52 int width, int height, 73 util_format_dxt1_rgb_unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 76 util_format_dxt1_rgb_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 82 util_format_dxt1_rgba_unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 85 util_format_dxt1_rgba_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 91 util_format_dxt3_rgba_unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 94 util_format_dxt3_rgba_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 100 util_format_dxt5_rgba_unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 103 util_format_dxt5_rgba_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 109 util_format_dxt1_srgb_unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); [all...] |
/external/skia/src/utils/ |
SkTextureCompressor.cpp | 25 int width, int height, size_t rowBytes) { 27 return 0 == etc1_encode_image(src, width, height, 2, SkToInt(rowBytes), dst); 74 int GetCompressedDataSize(Format fmt, int width, int height) { 111 if(((width % dimX) == 0) && ((height % dimY) == 0)) { 113 const int blocksY = height / dimY; 122 int width, int height, size_t rowBytes, Format format) { 124 if (proc && proc(dst, src, width, height, rowBytes)) { 140 if (proc && proc(dst, src, width, height, rowBytes)) { 148 int compressedDataSize = GetCompressedDataSize(format, pixmap.width(), pixmap.height()); 157 pixmap.width(), pixmap.height(), pixmap.rowBytes(), format)) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
AbstractSlotRenderer.java | 47 Texture content, int width, int height, int rotation) { 52 width = height = Math.min(width, height); 54 canvas.translate(width / 2, height / 2); 56 canvas.translate(-width / 2, -height / 2); 62 (float) height / content.getHeight()); 69 protected void drawVideoOverlay(GLCanvas canvas, int width, int height) { 70 // Scale the video overlay to the height of the thumbnail and put it 73 float scale = (float) height / v.getHeight(); 78 int s = Math.min(width, height) / 6 [all...] |
/external/libvpx/libvpx/third_party/libyuv/source/ |
convert_from.cc | 61 // 420 chroma is 1/2 width, 1/2 height 62 // 422 chroma is 1/2 width, 1x height 70 int width, int height) { 72 const int dst_uv_height = Abs(height); 79 width, height, 83 // 420 chroma is 1/2 width, 1/2 height 84 // 444 chroma is 1x width, 1x height 92 int width, int height) { 94 const int dst_uv_height = Abs(height); 101 width, height, [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
AllocationCopy2DRangeTest.java | 33 int height = random.nextInt(512); local 35 int[] inArray = new int[width * height]; 36 int[] outArray = new int[width * height]; 38 for (int i = 0; i < width * height; i++) { 44 typeBuilder.setX(width).setY(height); 47 mInAllocation.copy2DRangeFrom(0, 0, width, height, inArray); 49 mScript.set_height(height); 57 compareTwoArrays(inArray, outArray, width*height));
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/ |
InvertVerifier.java | 29 public boolean verify(int[] bitmap, int offset, int stride, int width, int height) { 30 boolean success = mBitmapVerifier.verify(bitmap, offset, stride, width, height);
|
/developers/build/prebuilts/gradle/Camera2Basic/Application/src/main/java/com/example/android/camera2basic/ |
AutoFitTextureView.java | 49 * @param height Relative vertical size 51 public void setAspectRatio(int width, int height) { 52 if (width < 0 || height < 0) { 56 mRatioHeight = height; 64 int height = MeasureSpec.getSize(heightMeasureSpec); local 66 setMeasuredDimension(width, height); 68 if (width < height * mRatioWidth / mRatioHeight) { 71 setMeasuredDimension(height * mRatioWidth / mRatioHeight, height);
|
/developers/build/prebuilts/gradle/Camera2Video/Application/src/main/java/com/example/android/camera2video/ |
AutoFitTextureView.java | 49 * @param height Relative vertical size 51 public void setAspectRatio(int width, int height) { 52 if (width < 0 || height < 0) { 56 mRatioHeight = height; 64 int height = MeasureSpec.getSize(heightMeasureSpec); local 66 setMeasuredDimension(width, height); 68 if (width < height * mRatioWidth / mRatioHeight) { 71 setMeasuredDimension(height * mRatioWidth / mRatioHeight, height);
|
/developers/samples/android/media/Camera2Basic/Application/src/main/java/com/example/android/camera2basic/ |
AutoFitTextureView.java | 49 * @param height Relative vertical size 51 public void setAspectRatio(int width, int height) { 52 if (width < 0 || height < 0) { 56 mRatioHeight = height; 64 int height = MeasureSpec.getSize(heightMeasureSpec); local 66 setMeasuredDimension(width, height); 68 if (width < height * mRatioWidth / mRatioHeight) { 71 setMeasuredDimension(height * mRatioWidth / mRatioHeight, height);
|
/developers/samples/android/media/Camera2Video/Application/src/main/java/com/example/android/camera2video/ |
AutoFitTextureView.java | 49 * @param height Relative vertical size 51 public void setAspectRatio(int width, int height) { 52 if (width < 0 || height < 0) { 56 mRatioHeight = height; 64 int height = MeasureSpec.getSize(heightMeasureSpec); local 66 setMeasuredDimension(width, height); 68 if (width < height * mRatioWidth / mRatioHeight) { 71 setMeasuredDimension(height * mRatioWidth / mRatioHeight, height);
|
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/ |
AutoFitTextureView.java | 49 * @param height Relative vertical size 51 public void setAspectRatio(int width, int height) { 52 if (width < 0 || height < 0) { 56 mRatioHeight = height; 64 int height = MeasureSpec.getSize(heightMeasureSpec); local 66 setMeasuredDimension(width, height); 68 if (width < height * mRatioWidth / mRatioHeight) { 71 setMeasuredDimension(height * mRatioWidth / mRatioHeight, height);
|
/development/samples/browseable/Camera2Video/src/com.example.android.camera2video/ |
AutoFitTextureView.java | 49 * @param height Relative vertical size 51 public void setAspectRatio(int width, int height) { 52 if (width < 0 || height < 0) { 56 mRatioHeight = height; 64 int height = MeasureSpec.getSize(heightMeasureSpec); local 66 setMeasuredDimension(width, height); 68 if (width < height * mRatioWidth / mRatioHeight) { 71 setMeasuredDimension(height * mRatioWidth / mRatioHeight, height);
|
/development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/ |
ListItemObject.java | 21 * a title, an image resource and a default cell height for every item in the ListView. 29 public ListItemObject(String title, int imgResource, int height) { 33 mHeight = height;
|
/device/generic/goldfish/opengl/system/GLESv1_enc/ |
GLEncoderUtils.cpp | 22 size_t pixelDataSize(void *self, GLsizei width, GLsizei height, GLenum format, GLenum type, int pack) 25 return ctx->pixelDataSize(width, height, format, type, pack);
|
/external/chromium-trace/catapult/third_party/coverage/coverage/htmlfiles/ |
jquery.isonscreen.js | 20 height: $(window).height() 26 box.top+box.height-container.top > 0 && 27 box.top < container.height+container.top 42 height: $(window).height() 48 $(this).offset().top+$(this).height()-container.top > 0 && 49 $(this).offset().top < container.height+container.top
|
/external/deqp/framework/common/ |
tcuRenderTarget.cpp | 39 RenderTarget::RenderTarget (int width, int height, const PixelFormat& format, int depthBits, int stencilBits, int numSamples) 41 , m_height (height)
|
/external/deqp/modules/egl/ |
teglGLES1RenderUtil.hpp | 37 void clear (int x, int y, int width, int height, const tcu::Vec4& color); 38 void readPixels (tcu::Surface& dst, int x, int y, int width, int height);
|
teglVGRenderUtil.hpp | 37 void clear (int x, int y, int width, int height, const tcu::Vec4& color); 38 void readPixels (tcu::Surface& dst, int x, int y, int width, int height);
|
/external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/surfaceview/ |
FillResolutionStrategy.java | 28 final int height = View.MeasureSpec.getSize(heightMeasureSpec);
local 30 return new MeasuredDimension(width, height);
|
/external/libgdx/backends/gdx-backend-lwjgl/src/com/badlogic/gdx/backends/lwjgl/ |
LwjglAWTFrame.java | 30 public LwjglAWTFrame (ApplicationListener listener, String title, int width, int height) { 42 protected void setDisplayMode (int width, int height) { 43 LwjglAWTFrame.this.getContentPane().setPreferredSize(new Dimension(width, height)); 47 updateSize(width, height); 50 protected void resize (int width, int height) { 51 updateSize(width, height); 63 getContentPane().setPreferredSize(new Dimension(width, height)); 97 public void updateSize (int width, int height) {
|
/external/libgdx/gdx/src/com/badlogic/gdx/maps/tiled/ |
TiledMapTileLayer.java | 25 private int height; field in class:TiledMapTileLayer 37 /** @return layer's height in tiles */ 39 return height; 47 /** @return tiles' height in pixels */ 55 * @param height layer height in tiles 57 * @param tileHeight tile height in pixels */ 58 public TiledMapTileLayer (int width, int height, int tileWidth, int tileHeight) { 61 this.height = height; [all...] |
/external/libvpx/libvpx/test/ |
i420_video_source.h | 25 unsigned int width, unsigned int height, 29 width, height,
|
/external/libyuv/files/include/libyuv/ |
convert_argb.h | 35 int width, int height); 43 int width, int height); 51 int width, int height); 59 int width, int height); 67 int width, int height); 75 int width, int height); 83 int width, int height); 92 int width, int height, int attenuate); 101 int width, int height, int attenuate); 107 int width, int height); [all...] |
/external/mesa3d/src/egl/wayland/wayland-egl/ |
wayland-egl.c | 9 int width, int height, 13 egl_window->height = height; 23 int width, int height) 34 wl_egl_window_resize(egl_window, width, height, 0, 0); 49 int *width, int *height) 53 if (height) 54 *height = egl_window->attached_height;
|