Searched defs:scale (Results 1 - 25 of 113) 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.cpp145 Word16 scale;
170 scale = sub(15, normShift);
184 L_temp = L_shr_r(L_temp, scale);
245 Word16 scale; local
274 scale = sub(15, normShift, pOverflow);
288 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/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/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/base/core/java/android/view/
H A DMagnificationSpec.java34 public float scale = 1.0f; field in class:MagnificationSpec
52 public void initialize(float scale, float offsetX, float offsetY) { argument
53 if (scale < 1) {
56 this.scale = scale;
62 return scale == 1.0f && offsetX == 0 && offsetY == 0;
67 info.scale = other.scale;
84 scale = 1.0f;
90 scale
[all...]
/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/base/libs/hwui/tests/unit/
H A DBakedOpStateTests.cpp93 float scale; member in struct:android::uirenderer::StrokeTestCase
116 // 3x3 scale:
136 // 0.5f x 0.5f scale
170 snapshotMatrix.loadScale(testCase.scale, testCase.scale, 1);
/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/SettingsLib/src/com/android/settingslib/drawable/
H A DCircleFramedDrawable.java106 public void setScale(float scale) { argument
107 mScale = scale;
/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/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);
201 * @param xScale x scale
202 * @param yScale y scale
206 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/
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/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
/frameworks/base/libs/hwui/utils/
H A DMathUtils.h55 * Clamps positive tessellation scale values
57 inline static float clampTessellationScale(float scale) { argument
60 if (scale < MIN_SCALE) {
62 } else if (scale > MAX_SCALE) {
65 return scale;
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskViewTransform.java55 public float scale = 1f; field in class:TaskViewTransform
70 scale = tv.getScaleX();
83 scale = other.scale;
96 && scale == other.scale
108 scale = 1f;
122 return (Float.compare(scale, v) != 0);
149 v.setScaleX(scale);
150 v.setScaleY(scale);
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
H A DBitmapUtils.java96 // Find the min x that 1 / x >= scale
97 public static int computeSampleSizeLarger(float scale) { argument
98 int initialSize = (int) Math.floor(1 / scale);
106 // Find the max x that 1 / x <= scale.
107 public static int computeSampleSize(float scale) { argument
108 Utils.assertTrue(scale > 0);
109 int initialSize = Math.max(1, (int) Math.ceil(1 / scale));
116 Bitmap bitmap, float scale, boolean recycle) {
117 int width = Math.round(bitmap.getWidth() * scale);
118 int height = Math.round(bitmap.getHeight() * scale);
115 resizeBitmapByScale( Bitmap bitmap, float scale, boolean recycle) argument
[all...]
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DVolumeControlAction.java52 * Scale a custom volume value to cec volume scale.
54 * @param volume volume value in custom scale
55 * @param scale scale of volume (max volume)
58 public static int scaleToCecVolume(int volume, int scale) { argument
59 return (volume * MAX_VOLUME) / scale;
65 * @param cecVolume volume value in cec volume scale. It should be in a range of [0-100]
66 * @param scale scale of custom volume (max volume)
69 public static int scaleToCustomVolume(int cecVolume, int scale) { argument
[all...]

Completed in 1090 milliseconds

12345