Home
last modified time | relevance | path

Searched refs:height (Results 1 – 25 of 35) sorted by relevance

12

/system/extras/power_profile/camera_avg/Application/src/main/java/com/example/android/powerprofile/cameraavg/
DAutoFitTextureView.java51 public void setAspectRatio(int width, int height) { in setAspectRatio() argument
52 if (width < 0 || height < 0) { in setAspectRatio()
56 mRatioHeight = height; in setAspectRatio()
64 int height = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
66 setMeasuredDimension(width, height); in onMeasure()
68 if (width < height * mRatioWidth / mRatioHeight) { in onMeasure()
71 setMeasuredDimension(height * mRatioWidth / mRatioHeight, height); in onMeasure()
DCameraAvgFragment.java139 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);
502 private void setUpCameraOutputs(int width, int height) { in setUpCameraOutputs() argument
557 int rotatedPreviewHeight = height; in setUpCameraOutputs()
562 rotatedPreviewWidth = height; in setUpCameraOutputs()
613 private void openCamera(int width, int height) { in openCamera() argument
619 setUpCameraOutputs(width, height); in openCamera()
620 configureTransform(width, height); in openCamera()
/system/media/audio_utils/include/audio_utils/
DLogPlot.h88 for (int height = HEIGHT - 1; height >= 0; height--) { in audio_utils_log_plot() local
90 ss << std::setw(9) << graphMin + increment * height; in audio_utils_log_plot()
100 if ((start || px == height) && it != last - 1) { in audio_utils_log_plot()
157 int height = log2(maxCount) + 1; // maxCount > 0, safe to call log2 variable
158 const int leftPadding = widthOf(1 << height);
162 if (height > maxHeight) {
163 scalingFactor = (height + maxHeight) / maxHeight;
164 height /= scalingFactor;
183 for (int row = height * scalingFactor; row >= 0; row -= scalingFactor) {
/system/core/libpixelflinger/
Draster.cpp30 GGLsizei width, GGLsizei height, GGLenum type);
54 GGLsizei width, GGLsizei height, GGLenum /*type*/) in ggl_copyPixels() argument
64 if (uint32_t(ys) > cb->height) in ggl_copyPixels()
68 if (uint32_t(ys + height) > cb->height) in ggl_copyPixels()
86 height -= offset; in ggl_copyPixels()
91 if ((yd + height) > GGLint(c->state.scissor.bottom)) { in ggl_copyPixels()
92 height = GGLint(c->state.scissor.bottom) - yd; in ggl_copyPixels()
95 if (width<=0 || height<=0) { in ggl_copyPixels()
112 size_t yc = height; in ggl_copyPixels()
116 src += height * bpr; in ggl_copyPixels()
[all …]
Dbuffer.cpp63 dst->height = src->height; in ggl_set_surface()
71 dst->data += bpr * (dst->height-1); in ggl_set_surface()
96 gen.height = s.height; in ggl_pick_texture()
116 assert((x < s->width) && (y < s->height)); in read_pixel()
167 assert((x < s->width) && (y < s->height)); in write_pixel()
Draster.h28 void gglCopyPixels(void* c, GGLint x, GGLint y, GGLsizei width, GGLsizei height, GGLenum type);
Dpixelflinger.cpp147 GGLsizei width, GGLsizei height) in ggl_scissor() argument
153 c->state.scissor.user_bottom = y + height; in ggl_scissor()
606 c->state.scissor.bottom = min(c->state.buffers.color.height, b); in ggl_set_scissor()
611 c->state.scissor.bottom = c->state.buffers.color.height; in ggl_set_scissor()
/system/extras/simpleperf/scripts/inferno/
Dsvg_renderer.py66 def create_svg_node(process, callsite, depth, f, total_weight, height, color_scheme, nav): argument
68 y = height - (depth + 1) * SVG_NODE_HEIGHT
122 def render_svg_nodes(process, flamegraph, depth, f, total_weight, height, color_scheme): argument
141 create_svg_node(process, child, depth, f, total_weight, height, color_scheme, nav)
143 render_svg_nodes(process, child, depth + 1, f, total_weight, height, color_scheme)
186 height = (flamegraph.get_max_depth() + 2) * SVG_NODE_HEIGHT
188 """ % height)
199 render_svg_nodes(process, flamegraph, 0, f, flamegraph.weight(), height, color_scheme)
/system/core/adb/daemon/
Dframebuffer_service.cpp49 unsigned int height; member
101 fbinfo.height = h; in framebuffer_service()
115 fbinfo.height = h; in framebuffer_service()
129 fbinfo.height = h; in framebuffer_service()
143 fbinfo.height = h; in framebuffer_service()
157 fbinfo.height = h; in framebuffer_service()
/system/media/camera/docs/
Dcamera_device_info.mako31 optional int32 height = 2;
36 optional float height = 2;
50 optional int32 height = 3;
Dcamera_device_info.proto31 optional int32 height = 2; field
36 optional float height = 2; field
50 optional int32 height = 3; field
/system/teeui/test/
Dteeui_device_config.cpp86 uint width = 0, height = 0; in initFromOptions() local
112 height = atoi(optarg); in initFromOptions()
162 createDevice(width, height, dp2px, mm2px, powerBottonTopMm, powerButtonBottomMm, in initFromOptions()
/system/core/libpixelflinger/codeflinger/
Dtexturing.cpp464 int height = scratches.obtain(); in build_textures() local
472 CONTEXT_LOAD(height, generated_vars.texture[i].height); in build_textures()
500 wrapping(v, t.reg, height, tmu.twrap, FRAC_BITS); in build_textures()
522 SUB(AL, 0, height, height, imm(1)); in build_textures()
564 MOV(MI, 0, v, height); in build_textures()
565 CMP(AL, v, height); in build_textures()
566 MOV(LT, 0, height, imm(1 << shift)); in build_textures()
568 MOV(GE, 0, height, reg_imm(height, LSL, shift)); in build_textures()
569 RSB(GE, 0, height, height, imm(0)); in build_textures()
570 MUL(AL, 0, height, stride, height); in build_textures()
[all …]
/system/extras/tests/framebuffer/
Dfb_test.c34 int height; member
97 fb->height = vi.yres; in get_framebuffer()
105 fb->height = vi.yres; in get_framebuffer()
192 return gr_fbs[0].height; in gr_fb_height()
Drefresh.c75 float ydpi = (info.yres * 25.4f) / info.height; in main()
104 info.height, ydpi, in main()
/system/teeui/tools/framebufferizer/src/com/android/framebufferizer/
DNativeRenderer.java27 …public static native int renderBuffer(int x, int y, int width, int height, int lineStride, int[] b… in renderBuffer() argument
/system/tools/hidl/c2hal/test/
Dsimple.h54 int left, int top, int width, int height);
Dtest.h139 const uint32_t height; member
194 int left, int top, int width, int height);
/system/core/libpixelflinger/include/pixelflinger/
Dpixelflinger.h190 GGLuint height; // height in pixels member
214 void (*scissor)(void* c, GGLint x, GGLint y, GGLsizei width, GGLsizei height);
303 GGLsizei width, GGLsizei height, GGLenum type);
/system/extras/pagecache/
Dpagecache.py86 height, width = pad.getmaxyx()
104 if y == height - 2:
111 pad.refresh(0,0, 0,0, height,width)
300 height, width = stdscr.getmaxyx()
308 used_height = max(height, 30)
/system/teeui/test/example_config/
DREADME56 "native-test-flag": "--height=<device height in pixels>"
101 com.android.tradefed.testtype.HostGTest:native-test-flag:"--height=100"\
/system/teeui/libteeui/include/teeui/
Dlabel.h141 #define LineHeight(height) static const constexpr auto label_line_height = height argument
/system/teeui/libteeui_jni/
Dlibteeui_jni.cpp169 JNIEnv* env, jclass, jint x, jint y, jint width, jint height, jint lineStride, in Java_com_android_framebufferizer_NativeRenderer_renderBuffer() argument
176 (uint32_t)height, (uint32_t)lineStride, in Java_com_android_framebufferizer_NativeRenderer_renderBuffer()
/system/core/libpixelflinger/include/private/pixelflinger/
Dggl_context.h349 GGLuint height;
483 uint32_t height;
/system/core/adb/
DSERVICES.TXT207 height: uint32_t: framebuffer height in pixels
210 size is always width*height*2

12