/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | scaling_tab.cpp | 50 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 D | a_refl.cpp | 143 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 D | fastcodemb.h | 31 const Int *scale; member in struct:struct_approxDCT
|
/frameworks/base/include/androidfw/ |
H A D | VelocityControl.h | 30 // 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 D | VelocityControl.cpp | 72 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/tests/TileBenchmark/src/com/test/tilebenchmark/ |
H A D | RunData.java | 34 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/av/media/libstagefright/codecs/aacdec/ |
H A D | pns_corr.cpp | 40 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 D | esc_iquant_scaling.cpp | 51 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...] |
H A D | huffspec_fxp.cpp | 51 Description: Correct definition of stack variable "scale". 334 UInt16 scale; local 641 scale = exptable[fac & 0x3]; 653 scale,
|
/frameworks/rs/ |
H A D | rsMatrix4x4.h | 70 void scale(float x, float y, float z) { function in struct:android::renderscript::Matrix4x4
|
/frameworks/base/core/java/android/widget/ |
H A D | SeekBar.java | 87 void onProgressRefresh(float scale, boolean fromUser) { argument 88 super.onProgressRefresh(scale, fromUser);
|
/frameworks/base/graphics/java/android/renderscript/ |
H A D | Matrix2f.java | 118 * 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 D | Matrix3f.java | 165 * 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/media/mca/filterpacks/native/base/ |
H A D | vec_types.h | 99 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/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
H A D | TouchHandler.java | 72 public void onActionScale(float scale) { argument 76 mDistValue.z *= 1.0f / scale;
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | BitmapFactory_Delegate.java | 65 // 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/av/media/libstagefright/ |
H A D | VBRISeeker.cpp | 76 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 D | oper_32b.c | 247 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 D | NinePatch.cpp | 92 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 D | Matrix.h | 97 void scale(float sx, float sy, float sz) { function in class:android::uirenderer::Matrix4
|
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/ |
H A D | DpiTestActivity.java | 164 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 D | FBOTestRS.java | 70 public void onActionScale(float scale) { argument 71 mScript.invoke_onActionScale(scale);
|
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
H A D | SimpleModelRS.java | 65 public void onActionScale(float scale) { argument 66 mScript.invoke_onActionScale(scale);
|
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/ |
H A D | ShadersTestRS.java | 77 public void onActionScale(float scale) { argument 78 mScript.invoke_onActionScale(scale);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | ResourceHelper.java | 316 float scale; field in class:ResourceHelper.UnitEntry 318 UnitEntry(String name, int type, int unit, float scale) { argument 322 this.scale = scale; 433 private static void computeTypedValue(TypedValue outValue, float value, float scale) { argument 434 value *= scale; 490 outScale[0] = unit.scale;
|