Searched defs:height (Results 1 - 10 of 10) sorted by relevance

/system/extras/power_profile/camera_avg/Application/src/main/java/com/example/android/powerprofile/cameraavg/
H A DAutoFitTextureView.java49 * @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 DCameraAvgFragment.java127 * 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 Dframebuffer_service.cpp47 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 Draster.cpp30 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 Dpixelflinger.cpp147 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 Dfb_test.c34 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 Dtexturing.cpp464 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 Dtest.h139 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 Dpixelflinger.h190 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 Dggl_context.h349 GGLuint height; member in struct:android::surface_t::__anon1739::__anon1740
483 uint32_t height; member in struct:android::generated_tex_vars_t

Completed in 237 milliseconds