Searched defs:scale (Results 1 - 25 of 93) sorted by relevance

1234

/frameworks/av/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
/frameworks/av/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/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dfastcodemb.h31 const Int *scale; member in struct:struct_approxDCT
/frameworks/base/include/androidfw/
H A DVelocityControl.h30 // A scale factor that is multiplied with the raw velocity deltas
31 // prior to applying any other velocity control factors. The scale
37 float scale; member in struct:android::VelocityControlParameters
65 scale(1.0f), lowThreshold(0.0f), highThreshold(0.0f), acceleration(1.0f) {
68 VelocityControlParameters(float scale, float lowThreshold, argument
70 scale(scale), lowThreshold(lowThreshold),
/frameworks/base/libs/androidfw/
H A DVelocityControl.cpp72 float scale = mParameters.scale; local
74 float speed = hypotf(vx, vy) * scale;
77 scale *= mParameters.acceleration;
81 scale *= 1 + (speed - mParameters.lowThreshold)
89 mParameters.scale, mParameters.lowThreshold, mParameters.highThreshold,
91 vx, vy, speed, scale / mParameters.scale);
96 mParameters.scale, mParameters.lowThreshold, mParameters.highThreshold,
102 *deltaX *= scale;
[all...]
/frameworks/base/services/java/com/android/server/wm/
H A DMagnificationSpec.java24 public void initialize(float scale, float offsetX, float offsetY) { argument
25 mScale = scale;
37 builder.append("<scale:");
/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;
50 + (isReady ? "ready" : "NOTready") + " at scale " + scale;
36 TileData(int left, int top, int right, int bottom, boolean isReady, int level, float scale) argument
/frameworks/rs/
H A DrsMatrix4x4.h70 void scale(float x, float y, float z) { function in struct:android::renderscript::Matrix4x4
/frameworks/support/renderscript/v8/rs_support/
H A DrsMatrix4x4.h70 void scale(float x, float y, float z) { function in struct:android::renderscript::Matrix4x4
/frameworks/base/core/java/android/widget/
H A DSeekBar.java87 void onProgressRefresh(float scale, boolean fromUser) { argument
88 super.onProgressRefresh(scale, fromUser);
/frameworks/base/graphics/java/android/renderscript/
H A DMatrix2f.java118 * Sets current values to be a scale matrix of given dimensions
120 * @param x scale component x
121 * @param y scale component y
173 * scale matrix of given dimensions
175 * @param x scale component x
176 * @param y scale component y
178 public void scale(float x, float y) { method in class:Matrix2f
H A DMatrix3f.java165 * Makes the upper 2x2 a scale matrix of given dimensions
167 * @param x scale component x
168 * @param y scale component y
177 * Sets current values to be a scale matrix of given dimensions
179 * @param x scale component x
180 * @param y scale component y
181 * @param z scale component z
267 * post-multiplying it with a scale matrix of given dimensions
269 * @param x scale component x
270 * @param y scale componen
272 public void scale(float x, float y) { method in class:Matrix3f
286 public void scale(float x, float y, float z) { method in class:Matrix3f
[all...]
/frameworks/base/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/
H A DFisheye.java35 private float scale = 0.5f; field in class:Fisheye
62 scale = progress / 50.0f;
80 center_y, scale);
85 center_y, scale);
90 scale);
95 scale);
/frameworks/base/tests/RenderScriptTests/ImageProcessing2/src/com/android/rs/image/
H A DFisheye.java32 private float scale = 0.5f; field in class:Fisheye
59 scale = progress / 50.0f;
77 center_y, scale);
82 center_y, scale);
87 scale);
92 scale);
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
H A DTouchHandler.java72 public void onActionScale(float scale) { argument
76 mDistValue.z *= 1.0f / 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);
95 Rect padding, Options opts, boolean applyScale, float scale) {
154 boolean applyScale, float scale) {
167 /*package*/ static byte[] nativeScaleNinePatch(byte[] chunk, float scale, Rect pad) { argument
168 // don't scale for now. This should not be called anyway since we re-implement
94 nativeDecodeStream(InputStream is, byte[] storage, Rect padding, Options opts, boolean applyScale, float scale) argument
153 nativeDecodeAsset(int asset, Rect padding, Options opts, boolean applyScale, float scale) argument
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
H A DMatrix2f.java118 * Sets current values to be a scale matrix of given dimensions
120 * @param x scale component x
121 * @param y scale component y
173 * scale matrix of given dimensions
175 * @param x scale component x
176 * @param y scale component y
178 public void scale(float x, float y) { method in class:Matrix2f
/frameworks/base/media/mca/filterpacks/native/base/
H A Dvec_types.h99 Vec<T, dim> operator * (const Vec<T,dim> &x, T scale) { argument
102 out.data[i] = x.data[i] * scale;
107 Vec<T, dim> operator / (const Vec<T,dim> &x, T scale) { argument
110 out.data[i] = x.data[i] / scale;
/frameworks/av/media/libstagefright/
H A DVBRISeeker.cpp76 size_t scale = U16_AT(&vbriHeader[20]); local
78 ALOGV("%d entries, scale=%d, size_per_entry=%d",
80 scale,
118 numBytes *= scale;
/frameworks/av/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/jni/android/graphics/
H A DNinePatch.cpp92 SkScalar scale = SkFloatToScalar(destDensity / (float)srcDensity); local
94 canvas->scale(scale, scale);
96 bounds.fRight = SkScalarDiv(bounds.fRight-bounds.fLeft, scale);
97 bounds.fBottom = SkScalarDiv(bounds.fBottom-bounds.fTop, scale);
/frameworks/base/libs/hwui/
H A DMatrix.h97 void scale(float sx, float sy, float sz) { function in class:android::uirenderer::Matrix4
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardCircleFramedDrawable.java136 public void setScale(float scale) { argument
137 Log.i("KFD", "scale: " + scale);
138 mScale = scale;
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
H A DDpiTestActivity.java164 private void addBitmapDrawable(LinearLayout layout, int resource, boolean scale) { argument
166 bitmap = loadAndPrintDpi(resource, scale);
171 if (!scale) d.setTargetDensity(getResources().getDisplayMetrics());
190 private void addCanvasBitmap(LinearLayout layout, int resource, boolean scale) { argument
192 bitmap = loadAndPrintDpi(resource, scale);
214 private Bitmap loadAndPrintDpi(int id, boolean scale) { argument
216 if (scale) {
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/
H A DFBOTestRS.java70 public void onActionScale(float scale) { argument
71 mScript.invoke_onActionScale(scale);

Completed in 4764 milliseconds

1234