Home
last modified time | relevance | path

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

/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/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)
Dscript.js124 let svgBoxHeight = svgBox.height;
/system/extras/simpleperf/scripts/purgatorio/templates/
Dstyles.css40 height: 100%;
49 height: 1em;
57 height: 78%;
64 height: 20%;
85 height: 1.5em;
86 line-height: 1.6em;
107 height: 100%;
/system/media/camera/docs/
Dcamera_device_info.mako31 optional int32 height = 2;
36 optional float height = 2;
50 optional int32 height = 3;
84 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
84 optional int32 height = 3; field
Dhtml.mako84 .entry_spacer { background-color: transparent; border-style: none; height: 0.5em; }
/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/media/audio_utils/tests/
Dchannels_tests.cpp73 const AUDIO_GEOMETRY_HEIGHT height = heightFromChannelIdx(i); in TEST() local
78 ASSERT_TRUE(height == AUDIO_GEOMETRY_HEIGHT_BOTTOM in TEST()
79 || height == AUDIO_GEOMETRY_HEIGHT_MIDDLE in TEST()
80 || height == AUDIO_GEOMETRY_HEIGHT_TOP); in TEST()
/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/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>"
104 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/extras/simpleperf/scripts/purgatorio/
Dpurgatorio.py111 height=100,
/system/extras/simpleperf/doc/
Dinferno.md18 the number of samples and the height is related to the number of functions on
/system/extras/simpleperf/scripts/
Dreport_html.js534 height: 600, property
/system/chre/pal/doc/
DDoxyfile50 # in the documentation. The maximum height of the logo should not exceed 55
/system/chre/chre_api/doc/
DDoxyfile50 # in the documentation. The maximum height of the logo should not exceed 55
/system/media/audio_utils/
DDoxyfile50 # in the documentation. The maximum height of the logo should not exceed 55