/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/adb/ |
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
|
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;
|
/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/libpixelflinger/codeflinger/ |
H A D | Arm64Disassembler.cpp | 90 uint32_t width = msb - lsb + 1; local 91 uint32_t mask = (1 << width) - 1;
|
H A D | ARMAssembler.cpp | 433 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 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);
|
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 | Arm64Assembler.cpp | 851 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 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 | 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
|
H A D | scanline.cpp | 725 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 D | trap.cpp | 350 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 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/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;
|
/system/core/libpixelflinger/tests/arch-arm64/assembler/ |
H A D | arm64_assembler_test.cpp | 471 int32_t width = test.RmValue; local 472 a64asm->UBFX(test.cond, Rd,Rn,lsb, width);
|
/system/tools/hidl/c2hal/test/ |
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/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/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/update_engine/common/ |
H A D | utils.cc | 852 int width = 6; local 855 width--; 857 base::StringAppendF(&str, ".%0*u", width, usecs);
|