/external/aac/libFDK/src/ |
autocorr2nd.cpp | 118 int j, autoCorrScaling, mScale; 164 mScale = CntLeadingZeros( (accu1 | accu2 | fAbs(accu3) | fAbs(accu4) | fAbs(accu5)) ) - 1; 165 autoCorrScaling = mScale - 1 - SHIFT_FACTOR; /* -1 because of fMultDiv2*/ 168 ac->r11r = accu1 << mScale; 169 ac->r22r = accu2 << mScale; 170 ac->r01r = accu3 << mScale; 171 ac->r12r = accu4 << mScale; 172 ac->r02r = accu5 << mScale; 175 mScale = CountLeadingBits(fAbs(ac->det)); 177 ac->det <<= mScale; [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
CanvasTransform.java | 56 private double mScale; 64 mScale = 1.0; 83 if (mScale != scale) { 84 mScale = scale; 100 return mScale; 118 return (int) (mImgSize * mScale); 139 int sx = (int) (mScale * mFullSize); 201 return mMargin - mTranslate + (int) (mScale * canvasX); 205 return (int) (mScale * canwasW); 209 return (int) ((screenX - mMargin + mTranslate) / mScale); [all...] |
ImageControl.java | 52 private float mScale = 1.0f; 98 mScale = 1.0f; 102 mScale = width / (float) imageWidth; 107 mScale = scale; 111 return mScale; 153 if (mScale != 1.0f) { 154 e.x += mScale * r.width; 155 e.y += mScale * r.height; 190 if (mScale != 1.0f) { 191 destWidth = (int) (mScale * destWidth) [all...] |
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/ |
CubeRenderer.java | 32 private float mScale = 1.0f; 66 gl.glScalef(mScale, mScale, mScale); 77 mScale *= 1.02f; 78 if (mScale > 4.0f) { 79 mScale = 1.0f;
|
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/ |
TransformTestActivity.java | 68 private float mScale = 1.f; 83 if (mScale * scale > 0.1f) { 84 if (mScale * scale < 10.f) { 85 mScale *= scale; 87 mScale = 10.f; 90 mScale = 0.1f; 93 Log.d("ttest", "mScale: " + mScale + " mPos: (" + mPosX + ", " + mPosY + ")"); 107 mMatrix.postScale(mScale, mScale); [all...] |
/frameworks/base/core/java/android/content/res/ |
ResourcesKey.java | 24 final float mScale; 38 mScale = scale; 46 hash = 31 * hash + Float.floatToIntBits(mScale); 79 if (mScale != peer.mScale) {
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
SaturateFilter.java | 34 private float mScale = 0f; 131 if (mScale > 0.0f) { 157 if (mScale > 0.0f) { 160 exponents[0] = (0.9f * mScale) + 1.0f; 161 exponents[1] = (2.1f * mScale) + 1.0f; 162 exponents[2] = (2.7f * mScale) + 1.0f; 166 mBenProgram.setHostValue("scale", 1.0f + mScale);
|
ColorTemperatureFilter.java | 35 private float mScale = 0.5f; 119 mProgram.setHostValue("scale", 2.0f * mScale - 1.0f);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
PointTestCases.java | 82 float mScale; 88 this.mScale = scale; 94 return (int) ((value - mTranslate) / mScale); 99 return (int) (value * mScale + mTranslate);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
ScaleFilter.java | 27 private float mScale = 1.0f; 48 port.bindToFieldNamed("mScale"); 58 return (int)(inWidth * mScale); 63 return (int)(inHeight * mScale);
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
MonthListView.java | 35 private static float mScale = 0; 84 if (mScale == 0) { 85 mScale = c.getResources().getDisplayMetrics().density; 86 if (mScale != 1) { 87 MIN_VELOCITY_FOR_FLING *= mScale; 88 MULTIPLE_MONTH_VELOCITY_THRESHOLD *= mScale; 89 FLING_VELOCITY_DIVIDER *= mScale;
|
SimpleWeekView.java | 108 protected static float mScale = 0; 183 if (mScale == 0) { 184 mScale = context.getResources().getDisplayMetrics().density; 185 if (mScale != 1) { 186 DEFAULT_HEIGHT *= mScale; 187 MIN_HEIGHT *= mScale; 188 MINI_DAY_NUMBER_TEXT_SIZE *= mScale; 189 MINI_TODAY_NUMBER_TEXT_SIZE *= mScale; 190 MINI_TODAY_OUTLINE_WIDTH *= mScale; 191 WEEK_NUM_MARGIN_BOTTOM *= mScale; [all...] |
MonthWeekEventsView.java | 356 if (mScale != 1) { 357 TOP_PADDING_MONTH_NUMBER *= mScale; 358 TOP_PADDING_WEEK_NUMBER *= mScale; 359 SIDE_PADDING_MONTH_NUMBER *= mScale; 360 SIDE_PADDING_WEEK_NUMBER *= mScale; 361 SPACING_WEEK_NUMBER *= mScale; 362 TEXT_SIZE_MONTH_NUMBER *= mScale; 363 TEXT_SIZE_EVENT *= mScale; 364 TEXT_SIZE_EVENT_TITLE *= mScale; 365 TEXT_SIZE_MORE_EVENTS *= mScale; [all...] |
/packages/apps/Camera/src/com/android/camera/ |
PreviewGestures.java | 54 private ScaleGestureDetector mScale; 81 mScale = new ScaleGestureDetector(ctx, this); 140 mScale.onTouchEvent(m); 151 onScaleBegin(mScale); 158 mScale.onTouchEvent(m); 159 if (!mScale.isInProgress() && MotionEvent.ACTION_POINTER_UP == m.getActionMasked()) { 161 onScaleEnd(mScale); 178 mScale.onTouchEvent(m); 179 onScaleBegin(mScale); 181 } else if ((mMode == MODE_ZOOM) && !mScale.isInProgress( [all...] |
/packages/apps/Camera2/src/com/android/camera/ |
PreviewGestures.java | 51 private ScaleGestureDetector mScale; 107 mScale = new ScaleGestureDetector(ctx, this); 151 mScale.onTouchEvent(m); 156 mZoom.onScaleBegin(mScale); 159 mZoom.onScaleEnd(mScale); 173 mScale.onTouchEvent(makeCancelEvent(mDown));
|
/cts/tests/tests/media/src/android/media/cts/ |
IvfWriter.java | 33 private int mScale; 56 mScale = scale; 82 mOutputFile.write(makeIvfHeader(mFrameCount, mWidth, mHeight, mScale, mRate));
|
/frameworks/opt/net/voip/src/jni/rtp/ |
EchoSuppressor.h | 32 int mScale;
|
/development/ndk/platforms/android-18/samples/gles3jni/jni/ |
gles3jni.cpp | 129 memset(mScale, 0, sizeof(mScale)); 189 mScale[major] = 0.5f * CELL_SIZE * scene2clip[0]; 190 mScale[minor] = 0.5f * CELL_SIZE * scene2clip[1]; 214 transforms[4*i + 0] = c * mScale[0]; 215 transforms[4*i + 1] = s * mScale[1]; 216 transforms[4*i + 2] = -s * mScale[0]; 217 transforms[4*i + 3] = c * mScale[1];
|
gles3jni.h | 99 float mScale[2];
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
ScaledTextActivity.java | 53 private float mScale = 1.0f; 72 return mScale; 76 mScale = scale; 120 canvas.scale(mScale, mScale);
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
FilmStripView.java | 75 private float mScale; 678 mScale = 1.0f; [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
ImageTinyPlanet.java | 49 private float mScale = 100; 58 mScale = mTinyPlanetRep.getValue(); 65 mScale *= detector.getScaleFactor(); 66 value = (int) (mScale);
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
PopupZoomer.java | 107 private float mScale = 1.0f; 324 mScale = (float) mZoomedBitmap.getWidth() / mTargetBounds.width(); 326 float l = mTouch.x - mScale * (mTouch.x - mTargetBounds.left); 327 float t = mTouch.y - mScale * (mTouch.y - mTargetBounds.top); 455 // i.e. scale grows from 1/mScale to 1. Note that extrusion values are already zoomed 456 // with mScale. 457 float scale = fractionAnimation * (mScale - 1.0f) / mScale + 1.0f / mScale; 462 float unshiftX = -mShiftX * (1.0f - fractionAnimation) / mScale; [all...] |
/frameworks/base/media/tests/SoundPoolTest/src/com/android/ |
SoundPoolTest.java | 74 private float mScale[]; 154 int count = mScale.length; 157 NORMAL_PRIORITY, DEFAULT_LOOP, mScale[step]); 176 int count = mScale.length; 178 NORMAL_PRIORITY, DEFAULT_LOOP, mScale[0]); 188 mSoundPool.setRate(id, mScale[step]); 189 if (DEBUG) Log.d(LOG_TAG, "Change rate " + mScale[step]); 278 NORMAL_PRIORITY, DEFAULT_LOOP, mScale[i]); 310 int id = mSoundPool.play(mSounds[0], 0.0f, 1.0f, NORMAL_PRIORITY, DEFAULT_LOOP, mScale[0]); 341 mScale = new float[13] [all...] |
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
KeyguardCircleFramedDrawable.java | 45 private float mScale; 95 mScale = 1f; 104 mScale = 1f; 112 final float inside = mScale * outside; 142 mScale = scale; 146 return mScale;
|