Searched defs:width (Results 1 - 21 of 21) sorted by relevance

/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/adb/
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
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;
/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/libpixelflinger/codeflinger/
H A DArm64Disassembler.cpp90 uint32_t width = msb - lsb + 1; local
91 uint32_t mask = (1 << width) - 1;
H A DARMAssembler.cpp433 void ARMAssembler::UBFX(int cc, int Rd, int Rn, int lsb, int width) argument
435 *mPC++ = (cc<<28) | 0x7E00000 | ((width-1)<<16) | (Rd<<12) | (lsb<<7) | 0x50 | Rn;
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 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 DArm64Assembler.cpp851 void ArmToArm64Assembler::UBFX(int cc, int Rd, int Rn, int lsb, int width) argument
854 *mPC++ = A64_UBFM_W(Rd, Rn, lsb, lsb + width - 1);
/system/core/libpixelflinger/
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 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
H A Dscanline.cpp725 const int w = tx.surface.width;
749 const int w = tx.surface.width;
1008 m_width_m1 = tx.surface.width - 1;
1096 m_width_m1 = tx.surface.width-1;
1434 const int width = c->iterators.xr - x; local
1437 count = width;
1735 gen.width = t.surface.width;
H A Dtrap.cpp350 static void linex(void *con, const GGLcoord* v0, const GGLcoord* v1, GGLcoord width) argument
362 GGLcoord halfWidth = TRI_ROUND(width) >> 1;
377 static void aa_linex(void *con, const GGLcoord* v0, const GGLcoord* v1, GGLcoord width) argument
391 const GGLfixed norm = gglMulx(width, gglSqrtRecipx(nx*nx+ny*ny), 4);
/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;
/system/core/libpixelflinger/tests/arch-arm64/assembler/
H A Darm64_assembler_test.cpp471 int32_t width = test.RmValue; local
472 a64asm->UBFX(test.cond, Rd,Rn,lsb, width);
/system/tools/hidl/c2hal/test/
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/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/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/update_engine/common/
H A Dutils.cc852 int width = 6; local
855 width--;
857 base::StringAppendF(&str, ".%0*u", width, usecs);

Completed in 1113 milliseconds