Searched refs:scale (Results 226 - 250 of 261) sorted by relevance

1234567891011

/frameworks/av/media/libstagefright/
H A DAVIExtractor.cpp614 uint32_t scale = U32LE_AT(&data[24]); local
656 track->mScale = scale;
/frameworks/base/core/java/android/text/
H A DTextLine.java245 float scale = -bmAscent / bitmapHeight;
246 float width = bm.getWidth() * scale;
/frameworks/base/libs/hwui/
H A DGlopBuilder.cpp483 mOutGlop->transform.modelView.scale(destination.getWidth(), destination.getHeight(), 1.0f);
507 mOutGlop->transform.modelView.scale(destination.getWidth(), destination.getHeight(), 1.0f);
H A DOpenGLRenderer.h103 * Used when the model view should translate and scale geometry. The resulting matrix will be a
104 * translation + scale. This is frequently used together with VBO 0, the (0,0,1,1) rect.
376 void scale(float sx, float sy);
H A DPathTessellator.cpp65 * Extracts the x and y scale from the transform as positive values, and clamps them
97 * Structure used for storing useful information about the SkPaint and scale used for tessellating
133 // hairline - compensate for scale
470 // scale to compensate for pinching at sharp angles, see totalOffsetFromNormals()
1042 // multiplying by sqrInvScaleY/X equivalent to multiplying in dimensional scale factors
1043 float scale = (dx * dx * info.sqrInvScaleY + dy * dy * info.sqrInvScaleX); local
1044 return info.thresholdSquared * scale;
H A DRenderNode.cpp421 // simply scale rendering content's alpha
500 true3dMat.scale(properties().getScaleX(), properties().getScaleY(), 1);
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DGLES20Canvas.java411 public void scale(float sx, float sy, float sz) { method in class:GLES20Canvas
675 scale(1, -1, 1);
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/
H A DMLand.java1109 final int scale = PARAMS.PLAYER_HIT_SIZE;
1112 corners[i*2] = scale * sHull[i*2] + inset;
1113 corners[i*2+1] = scale * sHull[i*2+1] + inset;
/frameworks/base/graphics/java/android/graphics/drawable/
H A DNinePatchDrawable.java140 * Set the density scale at which this drawable will be rendered. This
144 * @param canvas The Canvas from which the density scale must be obtained.
154 * Set the density scale at which this drawable will be rendered.
156 * @param metrics The DisplayMetrics indicating the density scale for this drawable.
168 * @param density The density scale for this drawable.
245 canvas.scale(-1.0f, 1.0f);
H A DGradientDrawable.java467 int scale = mAlpha + (mAlpha >> 7);
468 return alpha * scale >> 8;
H A DBitmapDrawable.java232 * Set the density scale at which this drawable will be rendered. This
236 * @param canvas The Canvas from which the density scale must be obtained.
246 * Set the density scale at which this drawable will be rendered.
248 * @param metrics The DisplayMetrics indicating the density scale for this drawable.
260 * @param density The density scale for this drawable.
541 canvas.scale(-1.0f, 1.0f);
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DPasswordTextView.java669 canvas.scale(currentTextSizeFactor, currentTextSizeFactor);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DKeyguardAffordanceView.java160 canvas.scale(mImageScale, mImageScale, getWidth() / 2, getHeight() / 2);
414 * Sets the scale of the containing image
/frameworks/native/libs/input/tests/
H A DInputEvent_test.cpp488 event.scale(2.0f);
/frameworks/support/design/src/android/support/design/widget/
H A DCollapsingTextHelper.java398 canvas.scale(mScale, mScale, x, y);
436 // If we're close to the expanded text size, snap to it and use a scale of 1
439 // Else, we'll scale down from the expanded text size
462 // Use our texture if the scale isn't 1.0
/frameworks/support/v4/java/android/support/v4/app/
H A DFragmentManager.java815 ScaleAnimation scale = new ScaleAnimation(startScale, endScale, startScale, endScale,
817 scale.setInterpolator(DECELERATE_QUINT);
818 scale.setDuration(ANIM_DUR);
819 set.addAnimation(scale);
/frameworks/base/core/java/android/view/
H A DViewRootImpl.java4531 float scale = (normTime-delta) * ACCEL_MOVE_SCALING_FACTOR;
4532 if (scale > 1) acc *= scale;
4535 + " scale=" + scale + " acc=" + acc);
4539 float scale = (delta-normTime) * ACCEL_MOVE_SCALING_FACTOR;
4540 if (scale > 1) acc /= scale;
4543 + " scale=" + scale
[all...]
H A DView.java608 * {@link #startAnimation(Animation)}. The animation can alter the scale,
3136 * based on the translation, rotation, and scale properties.
3145 * internally based on the translation, rotation, and scale properties.
10984 * rotation, scale, and pivot properties.
11072 * float scale = context.getResources().getDisplayMetrics().density;
11073 * view.setCameraDistance(distance * scale);
11076 * <p>The density scale factor of a high density display is 1.5,
15460 final float scale = attachInfo.mApplicationScale;
15461 canvas.scale(scale, scal
[all...]
/frameworks/base/core/java/android/widget/
H A DEditor.java433 final float scale = mTextView.getResources().getDisplayMetrics().density;
434 mErrorPopup = new ErrorPopup(err, (int)(200 * scale + 0.5f), (int)(50 * scale + 0.5f));
502 final float scale = mTextView.getResources().getDisplayMetrics().density;
512 offset = - (dr != null ? dr.mDrawableSizeRight : 0) / 2 + (int) (25 * scale + 0.5f);
517 offset = (dr != null ? dr.mDrawableSizeLeft : 0) / 2 - (int) (25 * scale + 0.5f);
557 final float scale = mTextView.getResources().getDisplayMetrics().density;
558 return icontop + height - mTextView.getHeight() - (int) (2 * scale + 0.5f);
H A DFastScroller.java1178 final float scale = (float) targetWidth / showingWidth;
1179 final Animator scaleAnim = animateScaleX(showing, scale).setDuration(DURATION_RESIZE);
H A DNumberPicker.java2677 boundsInParent.scale(applicationScale);
2686 boundsInScreen.scale(applicationScale);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNotificationPanelView.java456 private void updateClock(float alpha, float scale) { argument
460 mKeyguardStatusView.setScaleX(scale);
461 mKeyguardStatusView.setScaleY(scale);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DCanvas_Delegate.java281 canvasDelegate.getSnapshot().scale(sx, sy);
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp2325 // pick a density bucket and potentially scale it.
2327 // because the system will scale it. Scaling down
2532 // density always matches - we can scale it. See isBetterThan
4649 float scale; member in struct:android::unit_entry
4687 *outScale = cur->scale;
4826 float scale; local
4827 if (parse_unit(end, outValue, &scale, &end)) {
4828 f *= scale;
/frameworks/ex/common/java/com/android/ex/editstyledtext/
H A DEditStyledText.java402 public String toHtml(Spanned text, boolean escapeNonAsciiChar, int width, float scale); argument
1853 public String toHtml(Spanned text, boolean escapeNonAsciiChar, int width, float scale) { argument

Completed in 636 milliseconds

1234567891011