/external/webkit/WebCore/platform/graphics/ |
SimpleFontData.h | 242 float width = m_glyphToWidthMap.widthForGlyph(glyph); local 243 if (width != cGlyphWidthUnknown) 244 return width; 246 width = platformWidthForGlyph(glyph); 247 m_glyphToWidthMap.setWidthForGlyph(glyph, width); 249 return width;
|
/external/webkit/WebCore/platform/graphics/mac/ |
Canvas3DLayer.mm | 80 glViewport(0, 0, frame.size.width, frame.size.height); 123 size_t width = layerBounds.size.width; 126 size_t rowBytes = (width * 4 + 15) & ~15; 133 glReadPixels(0, 0, width, height, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV, data); 136 CGImageRef image = CGImageCreate(width, height, 8, 32, rowBytes, imageColorSpace.get(),
|
/external/webkit/WebCore/rendering/ |
RenderScrollbarPart.cpp | 49 setLocation(IntPoint()); // We don't worry about positioning ourselves. We're just determining our minimum width/height. 61 setWidth(m_scrollbar->width()); 75 setWidth(m_scrollbar->width()); 89 int visibleSize = m_scrollbar->owningRenderer()->width() - m_scrollbar->owningRenderer()->borderLeft() - m_scrollbar->owningRenderer()->borderRight(); 90 int w = calcScrollbarThicknessUsing(style()->width(), visibleSize); 160 setWidth(rect.width());
|
RenderThemeSafari.cpp | 297 // Only do the inflation if the available width/height are too small. Otherwise try to 298 // fit the glow/check space into the available box's width/height. 299 int widthDelta = r.width() - (size.width() + margins[leftMargin] + margins[rightMargin]); 304 result.setWidth(result.width() - widthDelta); 352 if (minSize.width() >= sizes[NSRegularControlSize].width() && 355 else if (minSize.width() >= sizes[NSSmallControlSize].width() && 376 // FIXME: Check is flawed, since it doesn't take min-width/max-width into account [all...] |
RenderThemeChromiumSkia.cpp | 70 if (style->width().isIntrinsicOrAuto()) 71 style->setWidth(Length(size.width(), Fixed)); 92 const int right = rect.x() + rect.width() - 1; 225 // size capped at |width| by |height|. 226 IntRect center(const IntRect& original, int width, int height) 228 width = std::min(original.width(), width); 230 int x = original.x() + (original.width() - width) / 2 [all...] |
/external/webkit/WebCore/svg/graphics/ |
SVGResourceFilter.cpp | 70 return (!filter->scaleX() || !filter->scaleY() || !filterRect.width() || !filterRect.height()); 82 if (size.width() > kMaxFilterSize) { 83 m_scaleX *= kMaxFilterSize / size.width(); 114 m_scaleX = m_filterResSize.width() / m_filterBBox.width(); 202 ts << "at (" << bbox.x() << "%," << bbox.y() << "%) size " << bbox.width() << "%x" << bbox.height() << "%";
|
/external/webkit/WebCore/svg/graphics/filters/ |
SVGFEDisplacementMap.cpp | 103 RefPtr<ImageData> imageData = ImageData::create(imageRect.width(), imageRect.height()); 107 float scaleX = m_scale / 255.f * filter->filterResolution().width(); 109 float scaleAdjustmentX = (0.5f - 0.5f * m_scale) * filter->filterResolution().width(); 111 int stride = imageRect.width() * 4; 114 for (int x = 0; x < imageRect.width(); ++x) { 119 if (srcX < 0 || srcX >= imageRect.width() || srcY < 0 || srcY >= imageRect.height())
|
/frameworks/base/awt/javax/imageio/event/ |
IIOReadUpdateListener.java | 53 * @param width 54 * the width of updated area. 67 void imageUpdate(ImageReader source, BufferedImage theImage, int minX, int minY, int width, 166 * @param width 167 * the width of updated area. 181 int width, int height, int periodX, int periodY, int[] bands);
|
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/ |
idct_vca.cpp | 40 void idctrow1(int16 *blk, uint8 *pred, uint8 *dst, int width) 49 width -= 4; 50 dst -= width; 71 *((uint32*)(dst += width)) = dst_word; /* save 4 bytes to dst */ 97 void idctrow2(int16 *blk, uint8 *pred, uint8 *dst, int width) 105 width -= 4; 106 dst -= width; 139 *((uint32*)(dst += width)) = dst_word; /* save 4 bytes to dst */ 185 void idctrow3(int16 *blk, uint8 *pred, uint8 *dst, int width) 193 width -= 4 [all...] |
/frameworks/base/opengl/tests/gl_jni/jni/ |
gl_code.cpp | 83 void init_scene(int width, int height) 93 float ratio = width / height; 94 glViewport(0, 0, width, height); 138 JNIEXPORT void JNICALL Java_com_android_gljni_GLJNILib_init(JNIEnv * env, jobject obj, jint width, jint height); 143 JNIEXPORT void JNICALL Java_com_android_gljni_GLJNILib_init(JNIEnv * env, jobject obj, jint width, jint height) 145 init_scene(width, height);
|
/frameworks/base/opengl/tools/glgen/specs/gles11/ |
GLES11Ext.spec | 4 void glDrawTexsOES ( GLshort x, GLshort y, GLshort z, GLshort width, GLshort height ) 5 void glDrawTexiOES ( GLint x, GLint y, GLint z, GLint width, GLint height ) 6 void glDrawTexxOES ( GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height ) 10 void glDrawTexfOES ( GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height ) 33 void glLineWidthxOES ( GLfixed width ) 57 void glRenderbufferStorageOES ( GLenum target, GLenum internalformat, GLsizei width, GLsizei height )
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
DragView.java | 66 int left, int top, int width, int height) { 74 float scaleFactor = width; 78 mBitmap = Bitmap.createBitmap(bitmap, left, top, width, height, scale, true); 101 float width = mBitmap.getWidth(); local 102 float offset = (width-(width*scale))/2;
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/ |
nj_ext.h | 66 #define GET_BITFIELD_16(data, pos, width) \ 67 ((NJ_UINT16)(((NJ_UINT16)(data) >> (16 - (pos) - (width))) & \ 68 ((NJ_UINT16)0xffff >> (16 - (width) )))) 70 #define GET_BITFIELD_32(data, pos, width) \ 71 ((NJ_UINT32)(((NJ_UINT32)(data) >> (32 - (pos) - (width))) & ((NJ_UINT32)0xffffffff >> (32 - (width)))))
|
/external/opencore/doc/oscl_html/ |
classOsclErrorTrapImp.html | 41 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 69 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 98 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 127 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 149 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 171 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 193 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 215 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 237 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 259 <table width="100%" cellpadding="2" cellspacing="0" border="0" [all...] |
classPVThreadContext.html | 37 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 65 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 94 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 122 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 150 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 178 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 206 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 235 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 257 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 279 <table width="100%" cellpadding="2" cellspacing="0" border="0" [all...] |
/external/webkit/WebCore/platform/graphics/cg/ |
ImageCG.cpp | 88 CGFloat width = CGImageGetWidth(cgImage); local 90 m_decodedSize = width * height * 4; 91 m_size = IntSize(width, height); 190 float xScale = srcRect.width() / destRect.width(); 200 subimageRect.setWidth(ceilf(subimageRect.width() + leftPadding)); 201 adjustedDestRect.setWidth(subimageRect.width() / xScale); 213 adjustedDestRect.setSize(FloatSize(selfSize.width() / xScale, selfSize.height() / yScale)); 291 // its buffer is the same size as the overall image. Because a partially decoded CGImageRef with a smaller width or height than the 295 float scaledTileWidth = tileRect.width() * narrowPrecisionToFloat(patternTransform.a()) [all...] |
/external/webkit/WebCore/platform/gtk/ |
gtkdrawing.h | 1 /* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 374 * focus_width: [OUT] the width of the focus line 405 * width: [OUT] the desired width 410 gint moz_gtk_get_combo_box_entry_button_size(gint* width, gint* height); 414 * width: [OUT] the desired width 419 gint moz_gtk_get_tab_scroll_arrow_size(gint* width, gint* height); 423 * width: [OUT] the desired width [all...] |
/frameworks/base/docs/html/sdk/api_diff/8/changes/ |
org.w3c.dom.Document.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/media/java/android/media/ |
ThumbnailUtils.java | 176 * @param width targeted width 180 Bitmap source, int width, int height) { 181 return extractThumbnail(source, width, height, OPTIONS_NONE); 188 * @param width targeted width 193 Bitmap source, int width, int height, int options) { 200 scale = width / (float) source.getWidth(); 206 Bitmap thumbnail = transform(matrix, source, width, height, 214 * minSideLength is used to specify that minimal width or height of 487 int width = exifOptions.outWidth; local [all...] |
/frameworks/base/opengl/java/android/opengl/ |
GLLogWrapper.java | [all...] |
/packages/apps/Gallery3D/src/com/cooliris/media/ |
GridQuad.java | 63 public static GridQuad createGridQuad(float width, float height, float xOffset, float yOffset, float uExtents, float vExtents, 67 grid.mWidth = width; 69 grid.mAnimWidth = width; 71 grid.mDefaultAspectRatio = width / height; 72 float widthBy2 = width * 0.5f; 184 float width = mDefaultAspectRatio; local 188 float maxHeight = width / viewAspect; 190 // we need to reduce the width and height proportionately 193 width /= ratio; 196 width = width * (imageAspect / mDefaultAspectRatio) [all...] |
/packages/apps/Settings/src/com/android/settings/ |
ActivityPicker.java | 328 public IconResizer(int width, int height, DisplayMetrics metrics) { 333 mIconWidth = width; 350 int width = mIconWidth; local 354 return new EmptyDrawable(width, height); 360 painter.setIntrinsicWidth(width); 374 if (width < iconWidth || height < iconHeight) { 378 height = (int) (width / ratio); 380 width = (int) (height * ratio); 394 final int x = (mIconWidth - width) / 2; 396 icon.setBounds(x, y, x + width, y + height) [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
KanaConverter.java | 35 /** Conversion rule for half-width numeric */ 96 /** Conversion rule for full-width numeric */ 157 /** Conversion rule for half-width Katakana */ 248 /** Conversion rule for full-width Katakana */ 339 /** Conversion rule for half-width alphabet */ 377 /** Conversion rule for full-width alphabet */ 415 /** Conversion rule for full-width alphabet (QWERTY mode) */ 526 /* Hiragana(reading) / Full width katakana / Half width katakana */ 541 /* Create pseudo candidates for half width numeric * [all...] |
/external/guava/javadoc/com/google/common/io/ |
package-summary.html | 34 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 86 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 92 <TD WIDTH="15%"><B><A HREF="../../../../com/google/common/io/ByteArrayDataInput.html" title="interface in com.google.common.io">ByteArrayDataInput</A></B></TD> 97 <TD WIDTH="15%"><B><A HREF="../../../../com/google/common/io/ByteArrayDataOutput.html" title="interface in com.google.common.io">ByteArrayDataOutput</A></B></TD> 102 <TD WIDTH="15%"><B><A HREF="../../../../com/google/common/io/ByteProcessor.html" title="interface in com.google.common.io">ByteProcessor<T></A></B></TD> 106 <TD WIDTH="15%"><B><A HREF="../../../../com/google/common/io/InputSupplier.html" title="interface in com.google.common.io">InputSupplier<T></A></B></TD> 110 <TD WIDTH="15%"><B><A HREF="../../../../com/google/common/io/LineProcessor.html" title="interface in com.google.common.io">LineProcessor<T></A></B></TD> 114 <TD WIDTH="15%"><B><A HREF="../../../../com/google/common/io/OutputSupplier.html" title="interface in com.google.common.io">OutputSupplier<T></A></B></TD> 122 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 128 <TD WIDTH="15%"><B><A HREF="../../../../com/google/common/io/ByteStreams.html" title="class in com.google.co (…) [all...] |
/external/webkit/WebCore/platform/graphics/android/ |
GraphicsLayerAndroid.cpp | 253 offsetFromRenderer().width(), 266 m_anchorPoint.x(), m_anchorPoint.y(), m_size.width(), m_size.height()); 281 if ((size.width() != m_size.width()) 283 MLOG("(%x) setSize (%.2f,%.2f)", this, size.width(), size.height()); 285 m_contentLayer->setSize(size.width(), size.height()); 417 FloatRect rect(0, 0, m_size.width(), m_size.height()); 441 this, m_contentLayer->getSize().width(), m_contentLayer->getSize().height(), 442 copyLayer->getSize().width(), copyLayer->getSize().height()); 451 this, rect.x(), rect.y(), rect.width(), rect.height() [all...] |