/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
CandidateTextView.java | 38 /** Width of fontsize change */ 40 /** Fontsize corresponding to width */ 42 /** Width of fontsize change beginning */ 45 /** Maximum width of candidate view */ 47 /** Width of fontsize change beginning */ 49 /** Minimum width of candidate view */ 68 * @param candidateMinimumWidth Minimum width of candidate view 69 * @param maxWidth Maximum width of candidate view 113 * If the text view is set to the best width for the display, 116 * @return int textview width 120 int width = (int)paint.measureText(word.candidate, 0, word.candidate.length()); local [all...] |
/external/mesa3d/src/mesa/main/ |
drawpix.c | 49 _mesa_DrawPixels( GLsizei width, GLsizei height, 58 width, height, 67 if (width < 0 || height < 0) { 68 _mesa_error( ctx, GL_INVALID_VALUE, "glDrawPixels(width or height < 0)" ); 144 if (width > 0 && height > 0) { 151 if (!_mesa_validate_pbo_access(2, &ctx->Unpack, width, height, 165 ctx->Driver.DrawPixels(ctx, x, y, width, height, format, type, 193 _mesa_CopyPixels( GLint srcx, GLint srcy, GLsizei width, GLsizei height, 202 srcx, srcy, width, height, 209 if (width < 0 || height < 0) [all...] |
teximage.h | 54 return (texImage->Width == 0 || 84 GLsizei width, GLsizei height, GLsizei depth, 132 GLint width, GLint height, GLint depth, GLint border); 142 _mesa_get_tex_max_num_levels(GLenum target, GLsizei width, GLsizei height, 150 _mesa_get_tex_max_num_levels(GLenum target, GLsizei width, GLsizei height, 179 GLsizei width, GLint border, 185 GLsizei width, GLsizei height, GLint border, 191 GLsizei width, GLsizei height, GLsizei depth, GLint border, 197 GLsizei width, GLsizei height, GLsizei depth, 206 GLsizei width, [all...] |
/external/skia/src/core/ |
SkBitmapFilter.h | 25 SkBitmapFilter(float width) : fWidth(width), fInvWidth(1.f/width) { 40 float width() const { return fWidth; } 68 float fx = ((float)x + .5f) * this->width() / SKBITMAP_FILTER_TABLE_SIZE; 144 SkGaussianFilter(float a, float width = 2) 145 : SkBitmapFilter(width) 147 , fExpWidth(expf(-a * width * width)) 157 SkTriangleFilter(float width = 1) : SkBitmapFilter(width) { [all...] |
/external/skia/src/images/ |
SkImageDecoder_ktx.cpp | 63 const unsigned short width = ktxFile.width(); local 71 SkScaledBitmapSampler sampler(width, height, this->getSampleSize()); 135 int nPixels = width * height; 142 outRGBDataPtr, width, buf, width, height, ktxCompressedFormat)) { 147 const int srcRowBytes = width; 164 int nPixels = width * height; 171 outRGBDataPtr, width*3, buf, width, height, SkTextureCompressor::kETC1_Format)) 291 etc1_uint32 width = etc1_pkm_get_width(bytes); local [all...] |
/external/webrtc/talk/media/devices/ |
gdivideorenderer.cc | 48 VideoWindow(int x, int y, int width, int height); 54 bool SetSize(int width, int height); 99 void OnSize(int width, int height, bool frame_changed); 114 int x, int y, int width, int height) 122 bmi_.bmiHeader.biWidth = width; 124 bmi_.bmiHeader.biSizeImage = width * height * 4; 137 bool GdiVideoRenderer::VideoWindow::SetSize(int width, int height) { 142 } else if (width != bmi_.bmiHeader.biWidth || 144 SendMessage(handle(), kSetSizeMsg, 0, MAKELPARAM(width, height)); 216 void GdiVideoRenderer::VideoWindow::OnSize(int width, int height [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
deringing_luma.cpp | 25 int width, 47 incr = width - BLKSIZE; 50 for (MB_H = 0; MB_H < width; MB_H += MBSIZE) 62 ptr = &Rec_Y[(int32)(BLK_V) * width + MB_H + BLK_H]; 97 thr, width, max_diff); 109 max_diff = (QP_store[((((int32)MB_V*width)>>4))>>4] >> 2) + 4; 117 ptr = &Rec_Y[(int32)(MB_V + BLK_V) * width + BLK_H]; 151 thr, width, max_diff); 158 for (MB_H = MBSIZE; MB_H < width; MB_H += MBSIZE) 160 max_diff = (QP_store[((((int32)MB_V*width)>>4)+MB_H)>>4] >> 2) + 4 [all...] |
/frameworks/base/graphics/java/android/graphics/ |
Bitmap.java | 111 Bitmap(long nativeBitmap, byte[] buffer, int width, int height, int density, 118 mWidth = width; 149 * width/height values 152 void reinit(int width, int height, boolean requestPremultiplied) { 153 mWidth = width; 203 * <p>Modifies the bitmap to have a specified width, height, and {@link 251 public void reconfigure(int width, int height, Config config) { 253 if (width <= 0 || height <= 0) { 254 throw new IllegalArgumentException("width and height must be > 0"); 263 nativeReconfigure(mNativePtr, width, height, config.nativeInt 658 final int width = src.getWidth(); local [all...] |
/external/harfbuzz_ng/util/ |
ansi-print.cc | 101 width (width_), 108 width (width_), 111 data ((color_t *) malloc (sizeof (data[0]) * width * height)), 112 stride (width) {} 127 assert (x < width); 132 if (x + w <= width) 136 unsigned int limit = width - x; 146 const unsigned int width; 159 biimage_t (unsigned int width, unsigned int height) : 160 width (width) [all...] |
/external/pdfium/third_party/agg23/ |
agg_math_stroke.h | 50 FX_FLOAT width, 58 if(width < 0) { 59 width = -width; 61 da = FXSYS_acos(FXSYS_Div(width, width + FXSYS_Div(1.0f / 8, approximation_scale))) * 2; 70 out_vertices.add(coord_type(x + FXSYS_Mul(width, FXSYS_cos(a1)), 71 y + FXSYS_Mul(width, FXSYS_sin(a1)))); 81 out_vertices.add(coord_type(x + FXSYS_Mul(width, FXSYS_cos(a1)), 82 y + FXSYS_Mul(width, FXSYS_sin(a1)))) [all...] |
/hardware/qcom/display/msm8226/libgralloc/ |
alloc_controller.cpp | 129 void AdrenoMemInfo::getAlignedWidthAndHeight(int width, int height, int format, 132 aligned_w = width; 136 aligned_w = ALIGN(width, 32); 161 // the function below computes aligned width and aligned height 164 LINK_adreno_compute_aligned_width_and_height(width, 171 aligned_w = LINK_adreno_compute_padding(width, bpp, 187 aligned_w = ALIGN(width, 32); 190 aligned_w = ALIGN(width, 128); 198 aligned_w = ALIGN(width, 16); 202 aligned_w = VENUS_Y_STRIDE(COLOR_FMT_NV12, width); [all...] |
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
surface.c | 45 uint32_t width, uint32_t height, 52 if (!(width && height)) { 86 p_surf->templat.width = width; 145 uint32_t *width, uint32_t *height) 147 if (!(width && height && chroma_type)) 155 *width = p_surf->video_buffer->width; 159 *width = p_surf->templat.width; 225 unsigned width, height; local 319 unsigned width, height; local [all...] |
/external/opencv/cvaux/src/ |
cvface.cpp | 122 if ( (p.x >= rect.x) && (p.y >= rect.y) && (p.x <= rect.x + rect.width) && (p.y <= rect.y + rect.height) ) 140 if (Rect.height > Rect.width) 143 long SizeIdeal = IdealRect.width*IdealRect.height; 144 long Size = Rect.width*Rect.height; 154 long x = Rect.x + cvRound(Rect.width/2); 161 // isPointInRect(cvPoint(Rect.x + Rect.width,Rect.y + Rect.height),UpRect ) && 163 // isPointInRect(cvPoint(DownRect.x + DownRect.width,DownRect.y + DownRect.height),Rect) ) 168 // isPointInRect(cvPoint(Rect.x + Rect.width,Rect.y + Rect.height),IdealRect ) ) 182 long LeftSquare = LeftEyeRect.width*LeftEyeRect.height; 183 long RightSquare = RightEyeRect.width*RightEyeRect.height [all...] |
/external/toybox/kconfig/lxdialog/ |
textbox.c | 25 static void print_page(WINDOW * win, int height, int width); 26 static void print_line(WINDOW * win, int row, int width); 55 int height, width, boxh, boxw; local 67 getmaxyx(stdscr, height, width); 68 if (height < 8 || width < 8) 78 width = initial_width; 80 if (width > 5) 81 width -= 5; 83 width = 0; 86 x = (COLS - width) / 2 [all...] |
/external/webrtc/webrtc/modules/video_render/android/ |
video_render_opengles20.cc | 91 int32_t VideoRenderOpenGles20::Setup(int32_t width, int32_t height) { 93 "%s: width %d, height %d", __FUNCTION__, (int) width, 168 glViewport(0, 0, width, height); 228 if (_textureWidth != (GLsizei) frameToRender.width() || 326 static void InitializeTexture(int name, int id, int width, int height) { 333 glTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE, width, height, 0, 339 "%s: width %d, height %d", __FUNCTION__, 340 frameToRender.width(), frameToRender.height()); 342 const GLsizei width = frameToRender.width() local 376 const GLsizei width = frameToRender.width(); local [all...] |
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/flyout/ |
FlyoutControlComposite.java | 138 * Sets the minimal width of flyout. 171 if (clientArea.width == 0 || clientArea.height == 0) { 184 // prepare width to display 185 int width; local 188 width = m_preferences.getWidth(); 191 width = Math.min(clientArea.width / 2, width); 193 width = Math.min(clientArea.height / 2, width); 461 int width; local [all...] |
/external/libvpx/libvpx/third_party/libyuv/source/ |
row_gcc.cc | [all...] |
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
vfscanf.c | 103 size_t width; /* field width, or 0 */ local 140 width = 0; 195 width = width * 10 + c - '0'; 339 if (width == 0) 340 width = 1; 348 while (width != 0) { 366 width--; 386 if ((n = fp->_r) < width) { [all...] |
/device/moto/shamu/camera/QCamera/HAL/usbcamcore/src/ |
QCameraUsbParm.cpp | 380 snprintf(buffer, sizeof(buffer), "%dx%d", sizes[0].width, sizes[0].height); 384 snprintf(buffer, sizeof(buffer), ",%dx%d", sizes[i].width, sizes[i].height); 475 * Description: This function parses preview width and height from the input 491 int rc = 0, width, height, i, numPrvwSizes, validSize; local 494 params.getPreviewSize(&width, &height); 495 ALOGI("%s: Requested preview size %d x %d", __func__, width, height); 500 if (width == previewSizes[i].width 504 camHal->qCamParams.setPreviewSize(width, height); 505 ALOGD("%s: setPreviewSize: width: %d height: %d" 544 int rc = 0, width, height, i, numPictSizes, validSize; local 594 int rc = 0, width, height, i, numThumbnailSizes, validSize; local [all...] |
/external/libvncserver/libvncserver/ |
scale.c | 79 return ((int)(((double) x / (double)from->width) * (double)to->width )); 94 double scaleW = ((double) to->width) / ((double) from->width); 100 * from, to, from->width, from->height, to->width, to->height, *x, *y, *w, *h); 123 * from->width, from->height, to->width, to->height); 136 if (*x+*w > to->width) *w=to->width - *x [all...] |
/external/opencv3/modules/cudalegacy/test/ |
TestHaarCascadeApplication.cpp | 91 width(width_), 100 strOut << "width=" << width << std::endl; 136 haar.ClassifierSize.width = haar.ClassifierSize.height = 1; 157 srcRoi.width = this->width; 159 srcIIRoi.width = srcRoi.width + 1; 161 searchRoi.width = srcIIRoi.width - haar.ClassifierSize.width [all...] |
/hardware/qcom/camera/usbcamcore/src/ |
QCameraUsbParm.cpp | 380 snprintf(buffer, sizeof(buffer), "%dx%d", sizes[0].width, sizes[0].height); 384 snprintf(buffer, sizeof(buffer), ",%dx%d", sizes[i].width, sizes[i].height); 475 * Description: This function parses preview width and height from the input 491 int rc = 0, width, height, i, numPrvwSizes, validSize; local 494 params.getPreviewSize(&width, &height); 495 ALOGI("%s: Requested preview size %d x %d", __func__, width, height); 500 if (width == previewSizes[i].width 504 camHal->qCamParams.setPreviewSize(width, height); 505 ALOGD("%s: setPreviewSize: width: %d height: %d" 544 int rc = 0, width, height, i, numPictSizes, validSize; local 594 int rc = 0, width, height, i, numThumbnailSizes, validSize; local [all...] |
/hardware/qcom/display/msm8996/libgralloc/ |
alloc_controller.cpp | 176 aligned_w = hnd->width; 216 void AdrenoMemInfo::getAlignedWidthAndHeight(int width, int height, int format, 224 getGpuAlignedWidthHeight(width, height, format, tileEnabled, aligned_w, aligned_h); 226 getYuvUBwcWidthHeight(width, height, format, aligned_w, aligned_h); 228 aligned_w = width; 238 aligned_w = ALIGN(width, alignment); 241 aligned_w = ALIGN(width, alignment); 244 aligned_w = ALIGN(width, 16); 247 aligned_w = ALIGN(width * 10 / 8, 8); 250 aligned_w = ALIGN(width, 128) 773 int width = hnd->width; local [all...] |
/external/iproute2/misc/ |
lnstat.c | 25 /* default field width if none specified */ 52 { "width", 1, NULL, 'w' }, 80 fprintf(stderr, "\t-w --width n,n,n,...\tWidth for each field\n"); 90 unsigned int width; member in struct:field_param::__anon14015 107 fprintf(of, "%*lu|", fp->params[i].print.width, lf->result); 142 if (!fps->params[j].print.width) 143 fps->params[j].print.width = 169 if (!fps->params[i].print.width) 170 fps->params[i].print.width = FIELD_WIDTH_DEFAULT; 195 unsigned int width = fps->params[i].print.width local [all...] |
/external/opencv/cv/src/ |
cvcanny.cpp | 92 dx = cvCreateMat( size.height, size.width, CV_16SC1 ); 93 dy = cvCreateMat( size.height, size.width, CV_16SC1 ); 125 CV_CALL( buffer = cvAlloc( (size.width+2)*(size.height+2) + 126 (size.width+2)*3*sizeof(int)) ); 129 mag_buf[1] = mag_buf[0] + size.width + 2; 130 mag_buf[2] = mag_buf[1] + size.width + 2; 131 map = (uchar*)(mag_buf[2] + size.width + 2); 132 mapstep = size.width + 2; 134 maxsize = MAX( 1 << 10, size.width*size.height/10 ); 137 memset( mag_buf[0], 0, (size.width+2)*sizeof(int) ) [all...] |