/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));
|
/development/ndk/platforms/android-18/samples/gles3jni/jni/ |
gles3jni.h | 99 float mScale[2];
|
/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...] |
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
ColorTemperatureFilter.java | 35 private float mScale = 0.5f; 119 mProgram.setHostValue("scale", 2.0f * mScale - 1.0f);
|
FisheyeFilter.java | 47 private float mScale = 0f; 159 float alpha = mScale * 2.0f + 0.75f;
|
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);
|
SharpenFilter.java | 36 private float mScale = 0f; 144 mProgram.setHostValue("scale", mScale);
|
VignetteFilter.java | 34 private float mScale = 0f; 118 mProgram.setHostValue("range", 1.30f - (float) Math.sqrt(mScale) * 0.7f);
|
AutoFixFilter.java | 37 private float mScale; 197 mShaderProgram.setHostValue("scale", mScale); 235 mShaderProgram.setHostValue("scale", mScale);
|
GrainFilter.java | 41 private float mScale = 0f; 135 mGrainProgram.setHostValue("scale", mScale);
|
/frameworks/opt/net/voip/src/jni/rtp/ |
EchoSuppressor.h | 32 int mScale;
|
/frameworks/av/media/libstagefright/include/ |
AVIExtractor.h | 56 uint32_t mScale;
|
/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/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;
|
/packages/apps/Settings/src/com/android/settings/ |
BatteryInfo.java | 40 private TextView mScale; 87 mScale.setText("" + intent.getIntExtra("scale", 0)); 158 mScale = (TextView)findViewById(R.id.scale);
|
/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);
|
/development/apps/NinePatchLab/src/com/android/ninepatch/ |
NinePatchLab.java | 36 float mScale; 107 mScale = res.getDisplayMetrics().density; 132 final int gapSize = Math.round(mScale * 8);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/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;
|
/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...] |
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
AgendaAdapter.java | 51 private float mScale; 97 if (mScale == 0) { 98 mScale = mResources.getDisplayMetrics().density; 99 if (mScale != 1) { 100 COLOR_CHIP_ALL_DAY_HEIGHT *= mScale; 101 COLOR_CHIP_HEIGHT *= mScale;
|
/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...] |
/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...] |
/development/apps/OBJViewer/com/android/objviewer/ |
OBJViewer.java | 75 private float mScale = 1.0f; 102 mScale = 1.0f; 189 mScale = 2.0f/maxSpan; 218 gl.glScalef(mScale, mScale, mScale);
|
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
Sensors.java | 65 private float mScale[] = new float[2]; 92 mScale[0] = - (h * 0.5f * (1.0f / (SensorManager.STANDARD_GRAVITY * 2))); 93 mScale[1] = - (h * 0.5f * (1.0f / (SensorManager.MAGNETIC_FIELD_EARTH_MAX))); 119 final float oneG = SensorManager.STANDARD_GRAVITY * mScale[0]; 190 final float v = mYOffset + event.values[i] * mScale[j];
|