Searched refs:width (Results 1 - 25 of 40) sorted by relevance

12

/system/extras/power_profile/camera_avg/Application/src/main/java/com/example/android/powerprofile/cameraavg/
H A DAutoFitTextureView.java48 * @param width Relative horizontal size
51 public void setAspectRatio(int width, int height) { argument
52 if (width < 0 || height < 0) {
55 mRatioWidth = width;
63 int width = MeasureSpec.getSize(widthMeasureSpec);
66 setMeasuredDimension(width, height);
68 if (width < height * mRatioWidth / mRatioHeight) {
69 setMeasuredDimension(width, width * mRatioHeight / mRatioWidth);
H A DCameraAvgFragment.java122 * Max preview width 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);
378 * @param textureViewWidth The width of the texture view relative to sensor coordinate
380 * @param maxWidth The maximum width that can be chosen
499 * @param width The width of available size for camera preview
502 private void setUpCameraOutputs(int width, in argument
613 openCamera(int width, int height) argument
[all...]
/system/core/toolbox/
H A Dr.c26 int width = 4; local
28 width = 1;
32 width = 2;
46 endaddr = addr + width - 1;
79 switch(width){
99 addr += width;
/system/core/libpixelflinger/
H A Draster.h28 void gglCopyPixels(void* c, GGLint x, GGLint y, GGLsizei width, GGLsizei height, GGLenum type);
H A Draster.cpp30 GGLsizei width, GGLsizei height, GGLenum type);
54 GGLsizei width, GGLsizei height, GGLenum /*type*/)
62 if (uint32_t(xs) > cb->width)
66 if (uint32_t(xs + width) > cb->width)
80 width -= offset;
88 if ((xd + width) > GGLint(c->state.scissor.right)) {
89 width = GGLint(c->state.scissor.right) - xd;
95 if (width<=0 || height<=0) {
111 const size_t rowsize = width * f
53 ggl_copyPixels(void* con, GGLint xs, GGLint ys, GGLsizei width, GGLsizei height, GGLenum ) argument
[all...]
H A Dbuffer.cpp60 dst->width = src->width;
93 gen.width = s.width;
114 assert((x < s->width) && (y < s->height));
165 assert((x < s->width) && (y < s->height));
H A Dpixelflinger.cpp115 if (surface->width > c->state.buffers.coverageBufferSize) {
118 c->state.buffers.coverage = (int16_t*)malloc(surface->width * 2);
120 c->state.buffers.coverage ? surface->width : 0;
147 GGLsizei width, GGLsizei height)
152 c->state.scissor.user_right = x + width;
604 c->state.scissor.right = min(c->state.buffers.color.width, r);
610 c->state.scissor.right = c->state.buffers.color.width;
146 ggl_scissor(void* con, GGLint x, GGLint y, GGLsizei width, GGLsizei height) argument
/system/core/adb/
H A Dframebuffer_service.cpp46 unsigned int width; member in struct:fbinfo
99 fbinfo.width = w;
113 fbinfo.width = w;
127 fbinfo.width = w;
141 fbinfo.width = w;
155 fbinfo.width = w;
H A Dline_printer.cpp34 string ElideMiddle(const string& str, size_t width) { argument
37 if (result.size() + kMargin > width) {
38 size_t elide_size = (width - kMargin) / 2;
106 // Limit output to width of the terminal if provided so we don't cause
/system/extras/simpleperf/scripts/inferno/
H A Dsvg_renderer.py69 width = callsite.weight() / total_weight * 100
72 if width <= 0:
92 <rect x="%f%%" y="%f" ox="%f" oy="%f" width="%f%%" owidth="%f" height="15.0"
106 width,
107 width,
149 rx="10" ry="10" x="%d" y="10" width="%d" height="30" fill="rgb(255,255,255)""/>
157 onclick="unzoom(this);" rx="10" ry="10" x="%d" y="10" width="%d" height="30"
167 rx="10" ry="10" x="%d" y="10" width="%d" height="30" fill="rgb(255,255,255)"/>
170 rx="10" ry="10" x="%d" y="10" width="%d" height="30" fill="rgb(255,255,255)"/>
179 rx="10" ry="10" x="%d" y="10" width
[all...]
H A Dscript.js57 let width = parseFloat(rect.attributes['width'].value) * svgWidth * 0.01;
60 if (width < 28) {
71 if (numCharacters * 7.5 <= width) {
153 rect.attributes['width'].value = (rect.attributes['owidth'].value * scaleFactor) + '%';
/system/tools/hidl/c2hal/test/
H A Dsimple.h54 int left, int top, int width, int height);
H A Dtest.h138 const uint32_t width; 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/extras/simpleperf/
H A DSampleDisplayer.h198 size_t width; member in struct:SampleDisplayer::Item
209 item.width = name.size();
219 item.width = name.size();
234 item.width = std::max(item.width, data.size());
242 fprintf(fp, "%-*s ", static_cast<int>(item.width), item.name.c_str());
256 fprintf(fp, "%-*s ", static_cast<int>(item.width), data.c_str());
/system/extras/simpleperf/scripts/
H A Dreport_html.js205 width: '100%',
318 width: '100%',
385 width: 1000,
480 width: '100%',
524 let tableStr = openHtml('table', {id: tableId, cellspacing: '0', width: '100%'}) +
689 width: '100%',
768 width: '100%',
818 this.svgWidth = $(window).width();
836 this.div.css('width', '100%').css('height', this.svgHeight + 'px');
839 width
[all...]
/system/extras/tests/framebuffer/
H A Dfb_test.c33 int width; member in struct:simple_fb
96 fb->width = vi.xres;
104 fb->width = vi.xres;
187 return gr_fbs[0].width;
H A Drefresh.c74 float xdpi = (info.xres * 25.4f) / info.width;
100 printf( "width = %d mm (%f dpi)\n"
103 info.width, xdpi,
/system/media/camera/docs/
H A Dhtml.mako29 .section { color: #eeeeee; font-size: 1.5em; font-weight: bold; background-color: #888888; padding: 0.5em 0em 0.5em 0.5em; border-width: thick thin thin thin; border-color: #111111 #777777 #777777 #777777}
41 table { border-collapse:collapse; table-layout: fixed; width: 100%; word-wrap: break-word }
43 .th_name { width: 20% }
44 .th_units { width: 10% }
45 .th_tags { width: 5% }
46 .th_details { width: 25% }
47 .th_type { width: 17% }
48 .th_description { width: 20% }
49 .th_range { width: 8% }
50 .th_hal_version { width
[all...]
/system/core/libpixelflinger/include/pixelflinger/
H A Dpixelflinger.h189 GGLuint width; // width in pixels member in struct:__anon1735
208 const GGLcoord* v0, const GGLcoord* v1, GGLcoord width);
214 void (*scissor)(void* c, GGLint x, GGLint y, GGLsizei width, GGLsizei height);
303 GGLsizei width, GGLsizei height, GGLenum type);
/system/core/libpixelflinger/codeflinger/
H A Dtexturing.cpp463 int width = scratches.obtain(); local
471 CONTEXT_LOAD(width, generated_vars.texture[i].width);
499 wrapping(u, s.reg, width, tmu.swrap, FRAC_BITS);
520 // compute width-1 and height-1
521 SUB(AL, 0, width, width, imm(1));
529 MOV(MI, 0, u, width);
530 CMP(AL, u, width);
531 MOV(LT, 0, width, im
[all...]
H A DArm64Disassembler.cpp90 uint32_t width = msb - lsb + 1; local
91 uint32_t mask = (1 << width) - 1;
H A DARMAssemblerProxy.cpp293 void ARMAssemblerProxy::UBFX(int cc, int Rd, int Rn, int lsb, int width) { argument
294 mTarget->UBFX(cc, Rd, Rn, lsb, width);
/system/extras/pagecache/
H A Dpagecache.py86 height, width = pad.getmaxyx()
111 pad.refresh(0,0, 0,0, height,width)
300 height, width = stdscr.getmaxyx()
307 used_width = max(width, 100)
/system/core/libpixelflinger/include/private/pixelflinger/
H A Dggl_context.h348 GGLuint width; member in struct:android::surface_t::__anon1739::__anon1740
482 uint32_t width; member in struct:android::generated_tex_vars_t
/system/extras/simpleperf/doc/
H A Dinferno.md15 merged together. As a result, the width of a flamegraph represents 100% of

Completed in 266 milliseconds

12