Searched refs:scale (Results 1 - 25 of 136) sorted by relevance

123456

/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dscaling_tab.cpp50 const int32 scale[63] = {0, 262145, 131073, 87382, 65537, 52430, 43692, 37450, 32769, 29128, variable
H A Dscaling.h24 extern const int32 scale[63];
/frameworks/base/media/libstagefright/codecs/aacdec/
H A Desc_iquant_scaling.h90 UInt16 scale,
H A Dpns_corr.cpp40 scale = Multiplier used to scale the noise extracted from the left
146 q_format = q_formatLeft - (scale >> 2);
150 multiplier = hcb2_scale_mod_4[scale & 0x3];
255 const Int scale,
284 * scale is interpreted as 2^(scale/4)
285 * Therefore, we can adjust the q-format by floor(scale/4)
288 q_format = q_formatLeft - (scale >> 2);
299 multiplier = hcb2_scale_mod_4[scale
254 pns_corr( const Int scale, const Int coef_per_win, const Int sfb_per_win, const Int wins_in_group, const Int band_length, const Int q_formatLeft, Int q_formatRight[], const Int32 coefLeft[], Int32 coefRight[]) argument
[all...]
H A Dpns_corr.h80 const Int scale,
H A Desc_iquant_scaling.cpp51 scale = scaling factor after separating power of 2 factor out from
176 mult_low = ( (UInt32) b_low * scale );
177 mult_high = ( (Int32) b_high * scale );
212 mult_low = ( (UInt32) b_low * scale );
213 mult_high = ( (Int32) b_high * scale );
440 UInt16 scale,
494 if (scale != 0)
507 coef[i] = fxp_mul32_by_16(mult_high, scale) << 1;
514 coef[i-1] = fxp_mul32_by_16(mult_high, scale) << 1;
523 coef[i-2] = fxp_mul32_by_16(mult_high, scale) <<
435 esc_iquant_scaling( const Int16 quantSpec[], Int32 coef[], const Int sfbWidth, Int const QFormat, UInt16 scale, Int maxInput) argument
[all...]
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/
H A DRunData.java34 public float scale; field in class:RunData.TileData
37 boolean isReady, int level, float scale) {
44 this.scale = scale;
36 TileData(int left, int top, int right, int bottom, boolean isReady, int level, float scale) argument
/frameworks/base/core/java/android/webkit/
H A DZoomManager.java39 * length animation where the final zoom scale is known at startup. This type of
40 * animation notifies webkit of the final scale BEFORE it animates. The animation
43 * (2) The second method is triggered by a multi-touch pinch and the new scale
45 * only notifies webkit of new scale AFTER the gesture is complete. The animation
47 * to the new scale in response to events related to the user's gesture.
61 * The scale factors that determine the upper and lower bounds for the
62 * default zoom scale.
67 // The default scale limits, which are dependent on the display density.
71 // The actual scale limits, which can be set through a webpage's viewport
82 * the overview scale i
355 computeScaleWithLimits(float scale) argument
364 isScaleOverLimits(float scale) argument
376 willScaleTriggerZoom(float scale) argument
415 startZoomAnimation(float scale, boolean reflowText) argument
537 setZoomScale(float scale, boolean reflowText) argument
541 setZoomScale(float scale, boolean reflowText, boolean force) argument
[all...]
/frameworks/base/services/java/com/android/server/am/
H A DProcessList.java171 float scale = scaleMem > scaleDisp ? scaleMem : scaleDisp;
172 if (scale < 0) scale = 0;
173 else if (scale > 1) scale = 1;
177 mOomMinFree[i] = (long)(low + ((high-low)*scale));
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/
H A DTransformTestActivity.java78 float scale = detector.getScaleFactor();
80 Log.d("ttest", "Scale: " + scale);
82 // Limit the scale so our object doesn't get too big or disappear
83 if (mScale * scale > 0.1f) {
84 if (mScale * scale < 10.f) {
85 mScale *= scale;
101 diffX = diffX*scale - diffX;
102 diffY = diffY*scale - diffY;
/frameworks/base/core/java/android/content/res/
H A DCompatibilityInfo.java86 * Application's scale.
91 * Application's inverted scale.
245 int dens, float scale, float invertedScale) {
248 applicationScale = scale;
311 rect.scale(applicationInvertedScale);
318 transparentRegion.scale(applicationScale);
326 /* When we scale for compatibility, we can put our stretched
344 canvas.scale(applicationScale, applicationScale);
351 event.scale(applicationInvertedScale);
359 params.scale(applicationScal
244 CompatibilityInfo(int compFlags, int dens, float scale, float invertedScale) argument
[all...]
/frameworks/base/media/java/android/media/
H A DThumbnailUtils.java173 float scale = 512f / max;
174 int w = Math.round(scale * width);
175 int h = Math.round(scale * height);
213 float scale;
215 scale = width / (float) source.getWidth();
217 scale = height / (float) source.getHeight();
220 matrix.setScale(scale, scale);
400 float scale = targetHeight / bitmapHeightF;
401 if (scale <
[all...]
/frameworks/base/core/java/android/widget/
H A DAbsSeekBar.java211 void onProgressRefresh(float scale, boolean fromUser) { argument
212 super.onProgressRefresh(scale, fromUser);
215 setThumbPos(getWidth(), thumb, scale, Integer.MIN_VALUE);
240 float scale = max > 0 ? (float) getProgress() / (float) max : 0;
244 setThumbPos(w, thumb, scale, 0);
261 setThumbPos(w, thumb, scale, gap);
269 private void setThumbPos(int w, Drawable thumb, float scale, int gap) { argument
278 int thumbPos = (int) (scale * available);
397 float scale;
400 scale
[all...]
H A DSeekBar.java85 void onProgressRefresh(float scale, boolean fromUser) { argument
86 super.onProgressRefresh(scale, fromUser);
H A DAnalogClock.java148 float scale = Math.min(hScale, vScale);
150 setMeasuredDimension(resolveSizeAndState((int) (mDialWidth * scale), widthMeasureSpec, 0),
151 resolveSizeAndState((int) (mDialHeight * scale), heightMeasureSpec, 0));
183 float scale = Math.min((float) availableWidth / (float) w,
186 canvas.scale(scale, scale, x, y);
H A DImageView.java207 int scale = alpha + (alpha >> 7);
208 if (mViewAlphaScale != scale) {
209 mViewAlphaScale = scale;
493 * Return the current scale type in use by this ImageView.
828 float scale;
832 scale = (float) vheight / (float) dheight;
833 dx = (vwidth - dwidth * scale) * 0.5f;
835 scale = (float) vwidth / (float) dwidth;
836 dy = (vheight - dheight * scale) * 0.5f;
839 mDrawMatrix.setScale(scale, scal
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DPlatLogoActivity.java42 final float scale = 1f + 0.25f * mCount * mCount;
43 mContent.setScaleX(scale);
44 mContent.setScaleY(scale);
/frameworks/base/media/libstagefright/codecs/amrnb/dec/src/
H A Da_refl.cpp143 Word16 scale;
168 scale = sub(15, normShift);
182 L_temp = L_shr_r(L_temp, scale);
243 Word16 scale; local
272 scale = sub(15, normShift, pOverflow);
286 L_temp = L_shr_r(L_temp, scale, pOverflow);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DNyandroid.java101 final float scale = lerp(0.1f,2f,z);
102 setScaleX(scale); setScaleY(scale);
104 setX(-scale*getWidth()+1);
105 setY(randfrange(0, Board.this.getHeight()-scale*getHeight()));
143 final float scale = randfrange(0.1f, 1f);
144 fixedStar.setScaleX(scale); fixedStar.setScaleY(scale);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmapFactory_Delegate.java65 // DELEGATE CHANGE: never scale 9-patch
67 float scale = targetDensity / (float)density;
70 bm = Bitmap.createScaledBitmap(oldBitmap, (int) (bm.getWidth() * scale + 0.5f),
71 (int) (bm.getHeight() * scale + 0.5f), true);
75 np = nativeScaleNinePatch(np, scale, outPadding);
157 /*package*/ static byte[] nativeScaleNinePatch(byte[] chunk, float scale, Rect pad) { argument
158 // don't scale for now. This should not be called anyway since we re-implement
/frameworks/base/core/jni/android/graphics/
H A DRegion.cpp127 // Scale the rectangle by given scale and set the reuslt to the dst.
128 static void scale_rect(SkIRect* dst, const SkIRect& src, float scale) { argument
129 dst->fLeft = (int)::roundf(src.fLeft * scale);
130 dst->fTop = (int)::roundf(src.fTop * scale);
131 dst->fRight = (int)::roundf(src.fRight * scale);
132 dst->fBottom = (int)::roundf(src.fBottom * scale);
135 // Scale the region by given scale and set the reuslt to the dst.
137 static void scale_rgn(SkRegion* dst, const SkRegion& src, float scale) { argument
143 scale_rect(&r, iter.rect(), scale);
149 static void Region_scale(JNIEnv* env, jobject region, jfloat scale, jobjec argument
152 scale_rgn(GetSkRegion(env, dst), *rgn, scale); local
[all...]
/frameworks/base/media/libstagefright/codecs/aacenc/basic_op/
H A Doper_32b.c247 Word32 scale; local
252 scale = norm_l(value);
253 if(scale & 1) scale--;
255 value <<= scale; local
262 scale >>= 1;
266 root >>= scale; local
/frameworks/base/core/java/android/view/
H A DVelocityTracker.java302 float scale = 1;
304 a += c[i] * scale;
305 scale *= time;
/frameworks/base/core/java/android/view/animation/
H A DRotateAnimation.java151 float scale = getScaleFactor();
156 t.getMatrix().setRotate(degrees, mPivotX * scale, mPivotY * scale);
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
H A DPathShape.java57 canvas.scale(mScaleX, mScaleY);

Completed in 1840 milliseconds

123456