/frameworks/base/core/java/android/widget/ |
TableLayout.java | 40 * <p>The width of a column is defined by the row with the widest cell in that 45 * marked as shrinkable, the column width can be shrunk to fit the table into 46 * its parent object. If marked as stretchable, it can expand in width to fit 47 * any extra space. The total width of the table is defined by its parent 55 * attribute. Width is always <code>MATCH_PARENT</code>. However, the 447 // when the measured child is a table row, we force the width of its 469 * <p>Finds the largest cell in each column. For each column, the width of 477 // find the maximum width for each column 520 // the row is narrower or of the same width as the previous 521 // rows, so we find the maximum width for each colum [all...] |
LinearLayout.java | 341 // See how tall everyone is. Also remember max width. 418 if (widthMode != MeasureSpec.EXACTLY && lp.width == LayoutParams.MATCH_PARENT) { 419 // The width of the linear layout will scale, and at least one 420 // child said it wanted to match our width. Set a flag 422 // we know our width. 431 allFillParent = allFillParent && lp.width == LayoutParams.MATCH_PARENT; 509 lp.leftMargin + lp.rightMargin, lp.width); 537 lp.width == LayoutParams.MATCH_PARENT; 542 allFillParent = allFillParent && lp.width == LayoutParams.MATCH_PARENT; 563 // Check against our minimum width 1063 final int width = mRight - mLeft; local [all...] |
/frameworks/base/opengl/libs/ |
entries.in | 47 GL_ENTRY(void, glCompressedTexImage2D, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data) 48 GL_ENTRY(void, glCompressedTexImage3DOES, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void* data) 49 GL_ENTRY(void, glCompressedTexSubImage2D, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data) 50 GL_ENTRY(void, glCompressedTexSubImage3DOES, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void* data) 51 GL_ENTRY(void, glCopyTexImage2D, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) 52 GL_ENTRY(void, glCopyTexSubImage2D, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) 53 GL_ENTRY(void, glCopyTexSubImage3DOES, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) 81 GL_ENTRY(void, glDrawTexfOES, GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height) 83 GL_ENTRY(void, glDrawTexiOES, GLint x, GLint y, GLint z, GLint width, GLint height) 85 GL_ENTRY(void, glDrawTexsOES, GLshort x, GLshort y, GLshort z, GLshort width, GLshort height [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
DefaultSoftKeyboard.java | 91 /** Japanese 12-key keyboard [FULL-WIDTH HIRAGANA MODE] */ 93 /** Japanese 12-key keyboard [FULL-WIDTH NUMBER MODE] */ 95 /** Japanese 12-key keyboard [FULL-WIDTH ALPHABET MODE] */ 97 /** Japanese 12-key keyboard [FULL-WIDTH KATAKANA MODE] */ 99 /** Japanese 12-key keyboard [HALF-WIDTH KATAKANA MODE] */ 101 /** Japanese 12-key keyboard [HALF-WIDTH NUMBER MODE] */ 103 /** Japanese 12-key keyboard [HALF-WIDTH ALPHABET MODE] */ 123 /** Japanese Qwerty keyboard [FULL-WIDTH HIRAGANA MODE] */ 125 /** Japanese Qwerty keyboard [FULL-WIDTH NUMBER MODE] */ 127 /** Japanese Qwerty keyboard [FULL-WIDTH ALPHABET MODE] * [all...] |
/external/quake/quake/src/QW/client/ |
vid_win.c | 88 int width;
member in struct:__anon5076 122 int width;
member in struct:__anon5077 239 qboolean VID_CheckAdequateMem (int width, int height)
243 tbuffersize = width * height * sizeof (*d_pzbuffer);
245 tbuffersize += D_SurfaceCacheForRes (width, height);
264 qboolean VID_AllocBuffers (int width, int height)
268 tbuffersize = width * height * sizeof (*d_pzbuffer);
270 tsize = D_SurfaceCacheForRes (width, height);
297 width * height * sizeof (*d_pzbuffer);
537 modelist[curmode].width = xRes; 3105 int width; member in struct:__anon5078 [all...] |
snd_mem.c | 55 sc->width = 1; 57 sc->width = inwidth; 62 if (stepscale == 1 && inwidth == 1 && sc->width == 1) 82 if (sc->width == 2) 137 len = len * info.width * info.channels; 146 sc->width = info.width; 149 ResampleSfx (s, sc->speed, sc->width, data + info.dataofs); 294 info.width = GetLittleShort() / 8; 329 samples = GetLittleLong () / info.width; [all...] |
/external/quake/quake/src/WinQuake/ |
vid_win.cpp | 84 int width;
member in struct:__anon5534 118 int width;
member in struct:__anon5535 235 qboolean VID_CheckAdequateMem (int width, int height)
239 tbuffersize = width * height * sizeof (*d_pzbuffer);
241 tbuffersize += D_SurfaceCacheForRes (width, height);
260 qboolean VID_AllocBuffers (int width, int height)
264 tbuffersize = width * height * sizeof (*d_pzbuffer);
266 tsize = D_SurfaceCacheForRes (width, height);
293 width * height * sizeof (*d_pzbuffer);
496 modelist[curmode].width = xRes; 3058 int width; member in struct:__anon5536 [all...] |
snd_mem.cpp | 55 sc->width = 1; 57 sc->width = inwidth; 62 if (stepscale == 1 && inwidth == 1 && sc->width == 1) 82 if (sc->width == 2) 137 len = len * info.width * info.channels; 146 sc->width = info.width; 149 ResampleSfx (s, sc->speed, sc->width, data + info.dataofs); 292 info.width = GetLittleShort() / 8; 327 samples = GetLittleLong () / info.width; [all...] |
/external/blktrace/ |
blkparse_fmt.c | 165 int minus, int has_w, int width) 171 sprintf(format, "%%-%d", width); 173 sprintf(format, "%%%d", width); 197 case 'D': /* format width ignored */ 218 case 'P': { /* format width ignored */ 231 sprintf(format, "%%0%dlu", has_w ? width : 9); 263 int width = 0; local 273 width = (width * 10) + (*p++ - '0'); 278 minus, has_w, width); [all...] |
/external/clearsilver/imd/ |
imdm.py | 43 def makethumbnailimgtag(filename,width=THUMB_WIDTH,height=THUMB_HEIGHT): 45 return '<IMG SRC="%s?image=%s&width=%s&height=%s">' % (imagestartfile,filename,width,height) 68 sys.stdout.write("<TABLE WIDTH=100%><TR><TD ALIGN=CENTER>\n") 69 sys.stdout.write(makethumbnailimgtag(imagename,width=600,height=500)) 80 sys.stdout.write("<CENTER><TABLE WIDTH=50% BORDER=1><TR>") 114 sys.stdout.write("<table border=0 bgcolor=#cccccc width=100%%><tr><td align=center><font size=+2>%s</font></td></tr></table>" % album) 124 sys.stdout.write("<CENTER><TABLE WIDTH=90% CELLSPACING=3 BORDER=1><TR>") 144 sys.stdout.write("<TABLE BGCOLOR=#ccccc WIDTH=50% BORDER=0 CELLSPACING=1 CELLPADDING=1>") 148 sys.stdout.write("<TR><TD ALIGN=CENTER><TABLE BGCOLOR=#FFFFFF WIDTH=100% BORDER=0 CELSPACING=0 CELLPADDING=0><TR>" [all...] |
/external/opencore/protocols/sdp/parser/src/ |
h263mediainfoparser.cpp | 205 PVMF_SDP_PARSER_LOGERROR((0, "SDPH263MediaInfoParser::parseMediaInfo - Bad a=fmtp line format - frame width missing")); 208 uint32 width; local 209 if (PV_atoi(temp, 'd', (end - temp), width) == true) 211 payloadPtr->setFrameWidth(width); 252 uint32 width, height; local 293 if (!PV_atoi(sptr, 'd', eptr - sptr, width)) 295 PVMF_SDP_PARSER_LOGERROR((0, "SDPH263MediaInfoParser::parseMediaInfo - Bad a=framesize line format - bad width factor")); 314 if ((int)width != payloadPtr2->getFrameWidth() || (int)height != payloadPtr2->getFrameHeight()) 316 PVMF_SDP_PARSER_LOGERROR((0, "SDPH263MediaInfoParser::parseMediaInfo - Bad a=framesize line format - frame width & height mis match")); 323 payloadPtr2->setFrameWidth(width); [all...] |
/external/webkit/WebCore/loader/ |
ImageDocument.cpp | 149 if (size.width()) { 224 IntSize windowSize = IntSize(frame()->view()->width(), frame()->view()->height()); 226 float widthScale = (float)windowSize.width() / imageSize.width(); 240 m_imageElement->setWidth(static_cast<int>(imageSize.width() * scale)); 263 int scrollX = static_cast<int>(x / scale - (float)frame()->view()->width() / 2); 293 m_imageElement->setWidth(m_imageElement->cachedImage()->imageSize(frame()->pageZoomFactor()).width()); 311 IntSize windowSize = IntSize(frame()->view()->width(), frame()->view()->height()); 313 return imageSize.width() <= windowSize.width() && imageSize.height() <= windowSize.height(); [all...] |
/external/webkit/WebKitTools/DumpRenderTree/mac/ |
PixelDumpSupportMac.mm | 117 size_t pixelsWide = static_cast<size_t>(webViewSize.width); 151 for (NSRect column = NSMakeRect(0, 0, 1, webViewSize.height); column.origin.x < webViewSize.width; column.origin.x++) 154 for (NSRect line = NSMakeRect(0, 0, webViewSize.width, 1); line.origin.y < webViewSize.height; line.origin.y++) 182 newFrame = NSMakeRect(newFrame.origin.x + (newFrame.size.width - oldFrame.size.width) / 2, newFrame.origin.y + (newFrame.size.height - oldFrame.size.height) / 2, oldFrame.size.width, oldFrame.size.height); 186 CGRect rect = CGRectMake(newFrame.origin.x, newFrame.origin.y, webViewSize.width, webViewSize.height); 206 glReadPixels(rect.origin.x, rect.origin.y, rect.size.width, rect.size.height, GL_RGBA, GL_UNSIGNED_INT_8_8_8_8, flipBuffer); 208 glReadPixels(rect.origin.x, rect.origin.y, rect.size.width, rect.size.height, GL_RGBA, GL_UNSIGNED_INT_8_8_8_8_REV, flipBuffer); 251 CGContextStrokeRect(context, CGRectMake(rect.origin.x, rect.origin.y, rect.size.width, rect.size.height)) [all...] |
/external/webkit/WebKitTools/DumpRenderTree/win/ |
AccessibilityUIElementWin.cpp | 229 long x, y, width, height; local 230 if (FAILED(m_element->accLocation(&x, &y, &width, &height, self()))) 237 long x, y, width, height; local 238 if (FAILED(m_element->accLocation(&x, &y, &width, &height, self()))) 243 double AccessibilityUIElement::width() function in class:AccessibilityUIElement 245 long x, y, width, height; local 246 if (FAILED(m_element->accLocation(&x, &y, &width, &height, self()))) 248 return width; 253 long x, y, width, height; local 254 if (FAILED(m_element->accLocation(&x, &y, &width, &height, self())) [all...] |
/frameworks/base/core/java/android/app/ |
LauncherActivity.java | 273 int width = mIconWidth; local 281 painter.setIntrinsicWidth(width); 285 if (width > 0 && height > 0) { 286 if (width < iconWidth || height < iconHeight) { 290 height = (int) (width / ratio); 292 width = (int) (height * ratio); 306 final int x = (mIconWidth - width) / 2; 308 icon.setBounds(x, y, x + width, y + height); 312 } else if (iconWidth < width && iconHeight < height) { 318 final int x = (width - iconWidth) / 2 [all...] |
/frameworks/base/core/java/android/text/ |
PackedIntVector.java | 38 * Creates a new PackedIntVector with the specified width and 41 * @param columns the width of the PackedIntVector. 64 * (column < 0 || column >= width()). 95 * (column < 0 || column >= width()). 146 * is out of range (column < 0 || column >= width()). 150 (column >= width())) { 173 * values array is too small (values.length < width()). 180 if ((values != null) && (values.length < width())) { 240 * Returns the width of the PackedIntVector. This number is set 245 public int width() { method in class:PackedIntVector [all...] |
/frameworks/base/docs/html/sdk/api_diff/3/changes/ |
android.media.MediaPlayer.html | 80 <TABLE summary="Added Methods" WIDTH="100%"> 85 <TD VALIGN="TOP" WIDTH="25%"> 92 <TD VALIGN="TOP" WIDTH="25%"> 99 <TD VALIGN="TOP" WIDTH="25%"> 110 <TABLE summary="Added Fields" WIDTH="100%"> 115 <TD VALIGN="TOP" WIDTH="25%"> 122 <TD VALIGN="TOP" WIDTH="25%"> 129 <TD VALIGN="TOP" WIDTH="25%"> 136 <TD VALIGN="TOP" WIDTH="25%"> 143 <TD VALIGN="TOP" WIDTH="25%" [all...] |
android.provider.Contacts.Intents.Insert.html | 81 <TABLE summary="Added Fields" WIDTH="100%"> 86 <TD VALIGN="TOP" WIDTH="25%"> 93 <TD VALIGN="TOP" WIDTH="25%"> 100 <TD VALIGN="TOP" WIDTH="25%"> 107 <TD VALIGN="TOP" WIDTH="25%"> 114 <TD VALIGN="TOP" WIDTH="25%"> 121 <TD VALIGN="TOP" WIDTH="25%"> 128 <TD VALIGN="TOP" WIDTH="25%"> 135 <TD VALIGN="TOP" WIDTH="25%"> 142 <TD VALIGN="TOP" WIDTH="25%" [all...] |
android.view.GestureDetector.html | 79 <TABLE summary="Added Constructors" WIDTH="100%"> 84 <TD VALIGN="TOP" WIDTH="25%"> 91 <TD VALIGN="TOP" WIDTH="25%"> 101 <TABLE summary="Changed Constructors" WIDTH="100%"> 106 <TD VALIGN="TOP" WIDTH="25%"> 110 <TD VALIGN="TOP" WIDTH="30%"> 116 <TD VALIGN="TOP" WIDTH="25%"> 120 <TD VALIGN="TOP" WIDTH="30%"> 130 <TABLE summary="Added Methods" WIDTH="100%"> 135 <TD VALIGN="TOP" WIDTH="25%" [all...] |
/frameworks/base/docs/html/sdk/api_diff/4/changes/ |
android.provider.Settings.Secure.html | 81 <TABLE summary="Added Fields" WIDTH="100%"> 86 <TD VALIGN="TOP" WIDTH="25%"> 93 <TD VALIGN="TOP" WIDTH="25%"> 100 <TD VALIGN="TOP" WIDTH="25%"> 107 <TD VALIGN="TOP" WIDTH="25%"> 114 <TD VALIGN="TOP" WIDTH="25%"> 121 <TD VALIGN="TOP" WIDTH="25%"> 128 <TD VALIGN="TOP" WIDTH="25%"> 135 <TD VALIGN="TOP" WIDTH="25%"> 142 <TD VALIGN="TOP" WIDTH="25%" [all...] |
/frameworks/base/docs/html/sdk/api_diff/7/changes/ |
android.content.Intent.html | 80 <TABLE summary="Added Methods" WIDTH="100%"> 85 <TD VALIGN="TOP" WIDTH="25%"> 92 <TD VALIGN="TOP" WIDTH="25%"> 103 <TABLE summary="Added Fields" WIDTH="100%"> 108 <TD VALIGN="TOP" WIDTH="25%"> 115 <TD VALIGN="TOP" WIDTH="25%"> 122 <TD VALIGN="TOP" WIDTH="25%"> 132 <TABLE summary="Changed Fields" WIDTH="100%"> 137 <TD VALIGN="TOP" WIDTH="25%"> 140 <TD VALIGN="TOP" WIDTH="30%" [all...] |
android.webkit.WebChromeClient.html | 80 <TABLE summary="Added Methods" WIDTH="100%"> 85 <TD VALIGN="TOP" WIDTH="25%"> 92 <TD VALIGN="TOP" WIDTH="25%"> 99 <TD VALIGN="TOP" WIDTH="25%"> 106 <TD VALIGN="TOP" WIDTH="25%"> 113 <TD VALIGN="TOP" WIDTH="25%"> 120 <TD VALIGN="TOP" WIDTH="25%"> 127 <TD VALIGN="TOP" WIDTH="25%"> 134 <TD VALIGN="TOP" WIDTH="25%"> 141 <TD VALIGN="TOP" WIDTH="25%" [all...] |
android.webkit.WebSettings.html | 80 <TABLE summary="Added Methods" WIDTH="100%"> 85 <TD VALIGN="TOP" WIDTH="25%"> 92 <TD VALIGN="TOP" WIDTH="25%"> 99 <TD VALIGN="TOP" WIDTH="25%"> 106 <TD VALIGN="TOP" WIDTH="25%"> 113 <TD VALIGN="TOP" WIDTH="25%"> 120 <TD VALIGN="TOP" WIDTH="25%"> 127 <TD VALIGN="TOP" WIDTH="25%"> 134 <TD VALIGN="TOP" WIDTH="25%"> 141 <TD VALIGN="TOP" WIDTH="25%" [all...] |
/frameworks/base/docs/html/sdk/api_diff/8/changes/ |
android.content.Context.html | 80 <TABLE summary="Added Methods" WIDTH="100%"> 85 <TD VALIGN="TOP" WIDTH="25%"> 92 <TD VALIGN="TOP" WIDTH="25%"> 99 <TD VALIGN="TOP" WIDTH="25%"> 106 <TD VALIGN="TOP" WIDTH="25%"> 117 <TABLE summary="Added Fields" WIDTH="100%"> 122 <TD VALIGN="TOP" WIDTH="25%"> 129 <TD VALIGN="TOP" WIDTH="25%"> 136 <TD VALIGN="TOP" WIDTH="25%"> 143 <TD VALIGN="TOP" WIDTH="25%" [all...] |
android.database.sqlite.SQLiteDatabase.html | 80 <TABLE summary="Added Methods" WIDTH="100%"> 85 <TD VALIGN="TOP" WIDTH="25%"> 92 <TD VALIGN="TOP" WIDTH="25%"> 103 <TABLE summary="Added Fields" WIDTH="100%"> 108 <TD VALIGN="TOP" WIDTH="25%"> 115 <TD VALIGN="TOP" WIDTH="25%"> 122 <TD VALIGN="TOP" WIDTH="25%"> 129 <TD VALIGN="TOP" WIDTH="25%"> 136 <TD VALIGN="TOP" WIDTH="25%"> 143 <TD VALIGN="TOP" WIDTH="25%" [all...] |