HomeSort by relevance Sort by last modified time
    Searched full:scale (Results 51 - 75 of 1224) sorted by null

1 23 4 5 6 7 8 91011>>

  /packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
Environment.java 125 int scale; local
129 scale = mScreenWidth;
133 scale = mScreenHeight;
135 mNormalKeyTextSize = (int) (scale * NORMAL_KEY_TEXT_SIZE_RATIO);
136 mFunctionKeyTextSize = (int) (scale * FUNCTION_KEY_TEXT_SIZE_RATIO);
137 mNormalBalloonTextSize = (int) (scale * NORMAL_BALLOON_TEXT_SIZE_RATIO);
138 mFunctionBalloonTextSize = (int) (scale * FUNCTION_BALLOON_TEXT_SIZE_RATIO);
139 mKeyBalloonWidthPlus = (int) (scale * KEY_BALLOON_WIDTH_PLUS_RATIO);
140 mKeyBalloonHeightPlus = (int) (scale * KEY_BALLOON_HEIGHT_PLUS_RATIO);
  /packages/apps/Gallery3D/src/com/cooliris/media/
ImageViewTouchBase.java 234 // Get the scale factor out of the matrix.
256 float scale = Math.min(widthScale, heightScale); local
259 matrix.postScale(scale, scale);
261 matrix.postTranslate((viewWidth - w * scale) / 2F, (viewHeight - h * scale) / 2F);
275 // Sets the maximum zoom, which is a scale relative to the base matrix. It
290 protected void zoomTo(float scale, float centerX, float centerY) {
291 if (scale > mMaxZoom) {
292 scale = mMaxZoom
    [all...]
Util.java 96 float scale = targetHeight / bitmapHeightF; local
97 if (scale < .9F || scale > 1F) {
98 scaler.setScale(scale, scale);
103 float scale = targetWidth / bitmapWidthF; local
104 if (scale < .9F || scale > 1F) {
105 scaler.setScale(scale, scale);
145 float scale; local
    [all...]
  /packages/wallpapers/MagicSmoke/res/raw/
clouds.rs 33 float scale[5];
52 scale[idx] + xshift[idx], 0.f, // texture
54 scale[idx] + xshift[idx], scale[idx], // texture
56 0.f + xshift[idx], scale[idx]); // texture
166 float scale = 255.f / (255.f - lowcol);
175 alpha = (alpha - lowcol) * scale;
190 float scale = 255.f / (255.f - lowcol);
259 scale[0] = 4.0f; // changed below based on preset
260 scale[1] = 3.0f
    [all...]
  /external/freetype/src/pshinter/
pshglob.c 39 /* scale the widths/heights table */
49 FT_Fixed scale = dim->scale_mult; local
54 width->cur = FT_MulFix( width->org, scale );
65 w = FT_MulFix( width->org, scale );
367 FT_Fixed scale,
376 /* not. We simply need to compare the vertical scale */
388 /* scale*EM_Size < 1000*bluescale + 49/24 */
393 /* scale < bluescale + 49/24000 */
397 /* "scale < bluescale" */
400 /* value, and that `scale' converts from font units to *
    [all...]
  /external/skia/src/core/
SkEdge.cpp 41 float scale = float(1 << (shift + 6)); local
42 x0 = int(p0.fX * scale);
43 y0 = int(p0.fY * scale);
44 x1 = int(p1.fX * scale);
45 y1 = int(p1.fY * scale);
182 float scale = float(1 << (shift + 6)); local
183 x0 = int(pts[0].fX * scale);
184 y0 = int(pts[0].fY * scale);
185 x1 = int(pts[1].fX * scale);
186 y1 = int(pts[1].fY * scale);
323 float scale = float(1 << (shift + 6)); local
    [all...]
SkBlitRow_D16.cpp 28 int scale = SkAlpha255To256(alpha); local
35 SkAlphaBlend(SkPacked32ToR16(c), SkGetPackedR16(d), scale),
36 SkAlphaBlend(SkPacked32ToG16(c), SkGetPackedG16(d), scale),
37 SkAlphaBlend(SkPacked32ToB16(c), SkGetPackedB16(d), scale));
109 int scale = SkAlpha255To256(alpha); local
125 *dst++ = SkPackRGB16(SkAlphaBlend(sr, SkGetPackedR16(d), scale),
126 SkAlphaBlend(sg, SkGetPackedG16(d), scale),
127 SkAlphaBlend(sb, SkGetPackedB16(d), scale));
SkComposeShader.cpp 121 unsigned scale = SkAlpha255To256(this->getPaintAlpha()); local
137 if (256 == scale)
145 result[i] = SkAlphaMulQ(SkPMSrcOver(tmp[i], result[i]), scale);
164 if (256 == scale)
167 result[i] = SkAlphaMulQ(result[i], scale);
SkBlitter_A8.cpp 54 unsigned scale = 256 - SkAlpha255To256(fSrcA); local
59 device[i] = SkToU8(srcA + SkAlphaMul(device[i], scale));
85 unsigned scale = 256 - sa; local
89 device[i] = SkToU8(sa + SkAlphaMul(device[i], scale));
165 // scale our src by the alpha value
184 int scale = 256 - SkAlpha255To256(sa); local
185 device[i] = SkToU8(sa + SkAlphaMul(device[i], scale));
213 unsigned scale = 256 - SkAlpha255To256(sa); local
217 *device = SkToU8(sa + SkAlphaMul(*device, scale));
243 unsigned scale = 256 - SkAlpha255To256(srcA) local
300 unsigned scale = 256 - SkAlpha255To256(srcA); local
    [all...]
  /external/webkit/SunSpider/tests/sunspider-0.9/
3d-raytrace.js 52 function scaleVector(self, scale) {
53 self[0] *= scale;
54 self[1] *= scale;
55 self[2] *= scale;
83 function scale(v, scale) { function
84 return [v[0] * scale, v[1] * scale, v[2] * scale];
204 var hit = add(origin, scale(dir, far));
    [all...]
  /external/webkit/SunSpider/tests/sunspider-0.9.1/
3d-raytrace.js 52 function scaleVector(self, scale) {
53 self[0] *= scale;
54 self[1] *= scale;
55 self[2] *= scale;
83 function scale(v, scale) { function
84 return [v[0] * scale, v[1] * scale, v[2] * scale];
204 var hit = add(origin, scale(dir, far));
    [all...]
  /development/samples/ApiDemos/res/anim/
wave_scale.xml 22 <scale
27 <scale
  /external/iproute2/lib/
ipx_ntop.c 7 static __inline__ int do_digit(char *str, u_int32_t addr, u_int32_t scale, size_t *pos, size_t len)
9 u_int32_t tmp = addr >> (scale * 4);
  /external/srec/srec/clib/
imeld_rd.c 97 double scale, onerow[MAX_DIMEN]; local
113 pfread(&scale, sizeof(double), 1, dfpt);
115 if (reqscale != 0) scale = reqscale;
117 PLogMessage("L: LDA Suggested scale is %.1f\n", scale);
136 xfp = scale * (onerow[ii] - UTB_MEAN) + UTB_MEAN;
151 prep->imelda[ii][jj] = (covdata)(scale * onerow[jj]);
177 prep->inverse[ii][jj] = (covdata)(onerow[jj] / scale);
  /external/webkit/WebCore/manual-tests/animation/
animateTransform-parser.svg 47 <animateTransform attributeName="transform" type="scale" from="1,1" by="0,1" dur="5s" />
50 <animateTransform attributeName="transform" type="scale" from="1 1" by="0 1" dur="5s" />
53 <animateTransform attributeName="transform" type="scale" from="1, 1" by="0, 1" dur="5s" />
56 <animateTransform attributeName="transform" type="scale" from="+1,+1" by=" +0, +1" dur="5s" />
60 <animateTransform attributeName="transform" type="scale" from="1,1" by="1,0" dur="5s" />
63 <animateTransform attributeName="transform" type="scale" from="1 1" by="1 0" dur="5s" />
66 <animateTransform attributeName="transform" type="scale" from="1, 1" by="1, 0" dur="5s" />
69 <animateTransform attributeName="transform" type="scale" from="+1,+1" by=" +1, +0" dur="5s" />
  /external/webkit/WebCore/platform/graphics/
SimpleFontData.cpp 69 double scale = f.size();
71 scale /= m_unitsPerEm;
73 m_ascent = static_cast<int>(svgFontFaceElement->ascent() * scale);
74 m_descent = static_cast<int>(svgFontFaceElement->descent() * scale);
75 m_xHeight = static_cast<int>(svgFontFaceElement->xHeight() * scale);
83 m_spaceWidth = spaceGlyphs.isEmpty() ? m_xHeight : static_cast<float>(spaceGlyphs.first().horizontalAdvanceX * scale);
87 m_avgCharWidth = numeralZeroGlyphs.isEmpty() ? m_spaceWidth : static_cast<float>(numeralZeroGlyphs.first().horizontalAdvanceX * scale);
91 m_maxCharWidth = letterWGlyphs.isEmpty() ? m_ascent : static_cast<float>(letterWGlyphs.first().horizontalAdvanceX * scale);
  /external/webkit/WebCore/svg/
SVGFEDisplacementMapElement.h 45 DECLARE_ANIMATED_PROPERTY(SVGFEDisplacementMapElement, SVGNames::scaleAttr, float, Scale, scale)
  /external/webkit/WebCore/svg/graphics/filters/
SVGFEDisplacementMap.cpp 37 ChannelSelectorType yChannelSelector, const float& scale)
43 , m_scale(scale)
48 ChannelSelectorType xChannelSelector, ChannelSelectorType yChannelSelector, const float& scale)
50 return adoptRef(new FEDisplacementMap(in, in2, xChannelSelector, yChannelSelector, scale));
73 float FEDisplacementMap::scale() const function in class:WebCore::FEDisplacementMap
78 void FEDisplacementMap::setScale(float scale)
80 m_scale = scale;
159 << " [scale=" << m_scale << "]"
  /frameworks/base/core/java/android/content/res/
CompatibilityInfo.java 110 * Application's scale.
115 * Application's inverted scale.
148 int dens, float scale, float invertedScale) {
152 applicationScale = scale;
226 return "CompatibilityInfo{scale=" + applicationScale +
263 rect.scale(applicationInvertedScale);
270 transparentRegion.scale(applicationScale);
278 /* When we scale for compatibility, we can put our stretched
296 canvas.scale(applicationScale, applicationScale);
303 event.scale(applicationInvertedScale)
    [all...]
  /development/apps/Development/src/com/android/development/
DevelopmentSettings.java 168 name + " Animation Scale 1x",
169 name + " Animation Scale 2x",
170 name + " Animation Scale 5x",
171 name + " Animation Scale 10x",
490 float scale; field in class:DevelopmentSettings.AnimationScaleSelectedListener
499 scale = mWindowManager.getAnimationScale(which);
501 if (scale > 0.1f && scale < 2.0f) {
503 } else if (scale >= 2.0f && scale < 3.0f)
    [all...]
  /external/webkit/WebCore/platform/mac/
PlatformScreenMac.mm 51 // These functions scale between screen and page coordinates because JavaScript/DOM operations
84 userRect.scale(1 / [destination userSpaceScaleFactor]); // scale down
92 deviceRect.scale([source userSpaceScaleFactor]); // scale up
  /dalvik/libcore/math/src/test/java/org/apache/harmony/math/tests/java/math/
BigDecimalConstructorsTest.java 99 assertEquals("incorrect scale", 0, aNumber.scale());
110 * new BigDecimal(BigInteger value, int scale)
124 assertEquals("incorrect scale", aScale, aNumber.scale());
146 assertEquals("incorrect scale", resScale, result.scale());
214 * new BigDecimal(BigInteger value, int scale, MathContext)
232 assertEquals("incorrect scale", resScale, result.scale());
    [all...]
  /dalvik/libcore/icu/src/main/java/com/ibm/icu4jni/text/
NativeDecimalFormat.java 226 int scale = value.scale(); local
227 scale = makeScalePositive(scale, val);
229 String result = format(this.addr, val.toString(), field, fieldType, null, scale);
291 int scale = valBigDecimal.scale(); local
292 scale = makeScalePositive(scale, val);
293 text = format(this.addr, val.toString(), null, null, attributes, scale);
    [all...]
  /external/quake/quake/src/QW/client/
r_part.c 233 int scale; local
236 scale = 3;
238 scale = 2;
240 scale = 1;
256 p->org[j] = org[j] + scale*((rand()&15)-8);
460 float scale; local
528 // hack a scale up to keep particles from disapearing
529 scale = (p->org[0] - r_origin[0])*vpn[0] + (p->org[1] - r_origin[1])*vpn[1]
531 if (scale < 20)
532 scale = 1
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
DensityActivity.java 134 private void addBitmapDrawable(LinearLayout layout, int resource, boolean scale) {
136 bitmap = loadAndPrintDpi(resource, scale);
141 if (!scale) d.setTargetDensity(getResources().getDisplayMetrics());
160 private void addCanvasBitmap(LinearLayout layout, int resource, boolean scale) {
162 bitmap = loadAndPrintDpi(resource, scale);
184 private Bitmap loadAndPrintDpi(int id, boolean scale) {
186 if (scale) {

Completed in 338 milliseconds

1 23 4 5 6 7 8 91011>>