/system/extras/power_profile/camera_avg/Application/src/main/java/com/example/android/powerprofile/cameraavg/ |
H A D | AutoFitTextureView.java | 49 * @param height Relative vertical size 51 public void setAspectRatio(int width, int height) { argument 52 if (width < 0 || height < 0) { 56 mRatioHeight = height; 64 int height = MeasureSpec.getSize(heightMeasureSpec); 66 setMeasuredDimension(width, height); 68 if (width < height * mRatioWidth / mRatioHeight) { 71 setMeasuredDimension(height * mRatioWidth / mRatioHeight, height);
|
H A D | CameraAvgFragment.java | 127 * Max preview height that is guaranteed by Camera2 API 139 public void onSurfaceTextureAvailable(SurfaceTexture texture, int width, int height) { 140 openCamera(width, height); 144 public void onSurfaceTextureSizeChanged(SurfaceTexture texture, int width, int height) { 145 configureTransform(width, height); 379 * @param textureViewHeight The height of the texture view relative to sensor coordinate 381 * @param maxHeight The maximum height that can be chosen 500 * @param height The height of available size for camera preview 502 private void setUpCameraOutputs(int width, int height) { argument 613 openCamera(int width, int height) argument [all...] |
/system/core/adb/ |
H A D | framebuffer_service.cpp | 47 unsigned int height; member in struct:fbinfo 100 fbinfo.height = h; 114 fbinfo.height = h; 128 fbinfo.height = h; 142 fbinfo.height = h; 156 fbinfo.height = h;
|
/system/core/libpixelflinger/ |
H A D | raster.cpp | 30 GGLsizei width, GGLsizei height, GGLenum type); 54 GGLsizei width, GGLsizei height, GGLenum /*type*/) 64 if (uint32_t(ys) > cb->height) 68 if (uint32_t(ys + height) > cb->height) 86 height -= offset; 91 if ((yd + height) > GGLint(c->state.scissor.bottom)) { 92 height = GGLint(c->state.scissor.bottom) - yd; 95 if (width<=0 || height<=0) { 112 size_t yc = height; 53 ggl_copyPixels(void* con, GGLint xs, GGLint ys, GGLsizei width, GGLsizei height, GGLenum ) argument [all...] |
H A D | pixelflinger.cpp | 147 GGLsizei width, GGLsizei height) 153 c->state.scissor.user_bottom = y + height; 606 c->state.scissor.bottom = min(c->state.buffers.color.height, b); 611 c->state.scissor.bottom = c->state.buffers.color.height; 146 ggl_scissor(void* con, GGLint x, GGLint y, GGLsizei width, GGLsizei height) argument
|
/system/extras/tests/framebuffer/ |
H A D | fb_test.c | 34 int height; member in struct:simple_fb 97 fb->height = vi.yres; 105 fb->height = vi.yres; 192 return gr_fbs[0].height;
|
/system/core/libpixelflinger/codeflinger/ |
H A D | texturing.cpp | 464 int height = scratches.obtain(); local 472 CONTEXT_LOAD(height, generated_vars.texture[i].height); 500 wrapping(v, t.reg, height, tmu.twrap, FRAC_BITS); 520 // compute width-1 and height-1 522 SUB(AL, 0, height, height, imm(1)); 564 MOV(MI, 0, v, height); 565 CMP(AL, v, height); 566 MOV(LT, 0, height, im [all...] |
/system/tools/hidl/c2hal/test/ |
H A D | test.h | 139 const uint32_t height; member in struct:framebuffer_device_t 191 * return -EINVAL if width or height <=0, or if left or top < 0 194 int left, int top, int width, int height); 200 * buffer must be the same width and height as the display and must NOT
|
/system/core/libpixelflinger/include/pixelflinger/ |
H A D | pixelflinger.h | 190 GGLuint height; // height in pixels member in struct:__anon1735 214 void (*scissor)(void* c, GGLint x, GGLint y, GGLsizei width, GGLsizei height); 303 GGLsizei width, GGLsizei height, GGLenum type);
|
/system/core/libpixelflinger/include/private/pixelflinger/ |
H A D | ggl_context.h | 349 GGLuint height; member in struct:android::surface_t::__anon1739::__anon1740 483 uint32_t height; member in struct:android::generated_tex_vars_t
|