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

12

/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/extras/simpleperf/inferno/
H A Dsvg_renderer.py51 width = float(callsite.num_samples) /float(num_samples) * SVG_CANVAS_WIDTH
54 if (width <= 0) :
81 <rect x="%f" y="%f" ox="%f" oy="%f" width="%f" owidth="%f" height="15.0" ofill="rgb(%d,%d,%d)" \
86 x, y, x, y, width , width, r, g, b, r, g, b, r_border, g_border, b_border,
122 x="%d" y="10" width="80" height="30" fill="rgb(255,255,255)""/> \
131 rx="10" ry="10" x="10" y="10" width="80" height="30" fill="rgb(255,255,255)"/> \
139 rx="10" ry="10" x="120" y="10" width="%d" height="30" fill="rgb(255,255,255)"/></clipPath> \
141 rx="10" ry="10" x="120" y="10" width="%d" height="30" fill="rgb(255,255,255)"/> \
148 rx="10" ry="10" x="%d" y="10" width
[all...]
H A Dscript.js31 width = parseFloat(rect.attributes["width"].value);
34 if (width < 25) {
44 // if (text.getSubStringLength(0, numCharacters) <= width) {
45 if (numCharacters * 7.5 <= width) {
88 var svgBoxWidth = svgBox.width
116 rect.attributes["width"].value = rect.attributes["owidth"].value * scaleFactor;
/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/bt/btif/src/
H A Dbtif_sock_util.cc168 const int width = 16; local
179 for (j = 0; j < width; j++) {
186 for (i = 0; i < size / width; i++) {
189 addr = i * width;
194 for (j = 0; j < width; j++) {
199 for (j = 0; j < width; j++) byte2char(data++, &line);
206 int leftover = size % width;
210 addr = i * width;
220 for (; j < width; j++) {
/system/tools/hidl/c2hal/test/
H A Dsimple.h54 int left, int top, int width, int height);
H A Dtest.h140 const uint32_t width; member in struct:framebuffer_device_t
193 * return -EINVAL if width or height <=0, or if left or top < 0
196 int left, int top, int width, int height);
202 * buffer must be the same width and height as the display and must NOT
/system/nfc/halimpl/bcm2079x/adaptation/
H A Dandroid_logmsg.cpp95 const int width = 16; local
97 for (i = 0; i < size / width; i++) {
100 addr = i * width;
105 for (j = 0; j < width; j++) {
110 for (j = 0; j < width; j++) byte2char(data++, &line);
117 int leftover = size % width;
121 addr = i * width;
131 for (; j < width; j++) {
/system/nfc/src/adaptation/
H A Dandroid_logmsg.cpp96 const int width = 16; local
98 for (i = 0; i < size / width; i++) {
101 addr = i * width;
106 for (j = 0; j < width; j++) {
111 for (j = 0; j < width; j++) byte2char(data++, &line);
118 int leftover = size % width;
122 addr = i * width;
132 for (; j < width; j++) {
/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/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.c75 float xdpi = (info.xres * 25.4f) / info.width;
101 printf( "width = %d mm (%f dpi)\n"
104 info.width, xdpi,
/system/core/libpixelflinger/include/pixelflinger/
H A Dpixelflinger.h189 GGLuint width; // width in pixels member in struct:__anon1614
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/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: 20% }
48 .th_description { width: 20% }
49 .th_range { width: 10% }
/system/core/libpixelflinger/codeflinger/
H A Dtexturing.cpp471 int width = scratches.obtain(); local
479 CONTEXT_LOAD(width, generated_vars.texture[i].width);
507 wrapping(u, s.reg, width, tmu.swrap, FRAC_BITS);
528 // compute width-1 and height-1
529 SUB(AL, 0, width, width, imm(1));
537 MOV(MI, 0, u, width);
538 CMP(AL, u, width);
539 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);
H A DARMAssembler.h159 virtual void UBFX(int cc, int Rd, int Rn, int lsb, int width);
H A DARMAssemblerProxy.h147 virtual void UBFX(int cc, int Rd, int Rn, int lsb, int 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::__anon1618::__anon1619
482 uint32_t width; member in struct:android::generated_tex_vars_t

Completed in 682 milliseconds

12