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

12345

/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/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DViewState.java32 public float scale; field in class:ViewState
39 scale = viewState.scale;
47 scale = view.getScaleX();
/frameworks/native/include/input/
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/native/libs/input/
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/core/java/android/content/res/
H A DResourcesKey.java34 float scale) {
39 mScale = scale;
33 ResourcesKey(String resDir, int displayId, Configuration overrideConfiguration, float scale) argument
/frameworks/base/core/java/android/widget/
H A DSeekBar.java89 void onProgressRefresh(float scale, boolean fromUser, int progress) { argument
90 super.onProgressRefresh(scale, fromUser, progress);
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
H A DTriData.java63 public void scale(float[] s) { method in class:TriData
71 public void scale(double[] s) { method in class:TriData
/frameworks/rs/
H A DrsMatrix4x4.h69 void scale(float x, float y, float z) { function in struct:android::renderscript::Matrix4x4
/frameworks/av/cmds/screenrecord/
H A DTextRenderer.h58 void setScale(float scale) { mScale = scale; } argument
106 // current scale factor.
124 // Value will be adjusted by the current scale factor.
/frameworks/av/media/libstagefright/
H A DClockEstimator.cpp77 void WindowedLinearFitEstimator::LinearFit::scale(double w) { function in class:android::WindowedLinearFitEstimator::LinearFit
112 mHead.scale(mHeadFactorInv); // amplify head
132 mTail.scale(mTailFactor); // attenuate tail
H A DVBRISeeker.cpp79 size_t scale = U16_AT(&vbriHeader[20]); local
81 ALOGV("%zu entries, scale=%zu, size_per_entry=%zu",
83 scale,
121 numBytes *= scale;
/frameworks/base/core/java/android/view/
H A DMagnificationSpec.java33 public float scale = 1.0f; field in class:MagnificationSpec
41 public void initialize(float scale, float offsetX, float offsetY) { argument
42 if (scale < 1) {
45 this.scale = scale;
51 return scale == 1.0f && offsetX == 0 && offsetY == 0;
56 info.scale = other.scale;
73 scale = 1.0f;
85 parcel.writeFloat(scale);
[all...]
/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/base/packages/SystemUI/src/com/android/systemui/recents/misc/
H A DUtilities.java31 public static void scaleRectAboutCenter(Rect r, float scale) { argument
32 if (scale != 1.0f) {
36 r.left = (int) (r.left * scale + 0.5f);
37 r.top = (int) (r.top * scale + 0.5f);
38 r.right = (int) (r.right * scale + 0.5f);
39 r.bottom = (int) (r.bottom * scale + 0.5f);
58 float scale = 1.0f;
72 scale *= v0.getScaleX();
77 return scale;
94 float scale
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskViewTransform.java31 public float scale = 1f; field in class:TaskViewTransform
45 scale = o.scale;
57 scale = 1f;
69 return (Float.compare(scale, v) != 0);
94 anim.scaleX(scale)
95 .scaleY(scale);
124 v.setScaleX(scale);
125 v.setScaleY(scale);
148 " scale
[all...]
/frameworks/base/rs/java/android/renderscript/
H A DMatrix2f.java115 * Sets current values to be a scale matrix of given dimensions
117 * @param x scale component x
118 * @param y scale component y
170 * scale matrix of given dimensions
172 * @param x scale component x
173 * @param y scale component y
175 public void scale(float x, float y) { method in class:Matrix2f
H A DMatrix3f.java162 * Makes the upper 2x2 a scale matrix of given dimensions
164 * @param x scale component x
165 * @param y scale component y
174 * Sets current values to be a scale matrix of given dimensions
176 * @param x scale component x
177 * @param y scale component y
178 * @param z scale component z
264 * post-multiplying it with a scale matrix of given dimensions
266 * @param x scale component x
267 * @param y scale componen
269 public void scale(float x, float y) { method in class:Matrix3f
283 public void scale(float x, float y, float z) { method in class:Matrix3f
[all...]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DScaledTextActivity.java75 public void setTextScale(float scale) { argument
76 mScale = scale;
105 canvas.scale(3.0f, 3.0f);
120 canvas.scale(mScale, mScale);
126 canvas.scale(3.0f, 3.0f);
136 canvas.scale(3.0f, 3.0f);
/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/tests/src/com/android/layoutlib/bridge/intensive/
H A DImageUtils.java64 double scale = THUMBNAIL_SIZE / (double)maxDimension;
65 BufferedImage thumbnail = scale(image, scale, scale);
197 * @param xScale x scale
198 * @param yScale y scale
202 public static BufferedImage scale(@NonNull BufferedImage source, double xScale, double yScale) { method in class:ImageUtils
/frameworks/rs/java/tests/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/support/v8/renderscript/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/av/media/libstagefright/codecs/aacenc/basic_op/
H A Doper_32b.c249 Word32 scale; local
255 scale = norm_l(value);
256 if(scale & 1) scale--;
258 value <<= scale; local
265 scale >>= 1;
269 root >>= scale; local

Completed in 1013 milliseconds

12345