/system/extras/power_profile/camera_avg/Application/src/main/java/com/example/android/powerprofile/cameraavg/ |
H A D | AutoFitTextureView.java | 48 * @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 D | CameraAvgFragment.java | 122 * 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 D | r.c | 26 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 D | raster.h | 28 void gglCopyPixels(void* c, GGLint x, GGLint y, GGLsizei width, GGLsizei height, GGLenum type);
|
H A D | raster.cpp | 30 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 D | buffer.cpp | 60 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 D | pixelflinger.cpp | 115 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 D | framebuffer_service.cpp | 46 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 D | line_printer.cpp | 34 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 D | svg_renderer.py | 69 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 D | script.js | 57 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 D | simple.h | 54 int left, int top, int width, int height);
|
H A D | test.h | 138 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 D | SampleDisplayer.h | 198 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 D | report_html.js | 205 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 D | fb_test.c | 33 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 D | refresh.c | 74 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 D | html.mako | 29 .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 D | pixelflinger.h | 189 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 D | texturing.cpp | 463 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 D | Arm64Disassembler.cpp | 90 uint32_t width = msb - lsb + 1; local 91 uint32_t mask = (1 << width) - 1;
|
H A D | ARMAssemblerProxy.cpp | 293 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 D | pagecache.py | 86 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 D | ggl_context.h | 348 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 D | inferno.md | 15 merged together. As a result, the width of a flamegraph represents 100% of
|