/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/ |
D | TransformTestActivity.java | 68 private float mScale = 1.f; field in TransformTestActivity.TransformView 83 if (mScale * scale > 0.1f) { in onScale() 84 if (mScale * scale < 10.f) { in onScale() 85 mScale *= scale; in onScale() 87 mScale = 10.f; in onScale() 90 mScale = 0.1f; in onScale() 93 Log.d("ttest", "mScale: " + mScale + " mPos: (" + mPosX + ", " + mPosY + ")"); in onScale() 107 mMatrix.postScale(mScale, mScale); in onScale() 141 mMatrix.postScale(mScale, mScale); in setDrawable() 170 mMatrix.postScale(mScale, mScale); in onTouchEvent()
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/ |
D | CubeRenderer.java | 32 private float mScale = 1.0f; field in CubeRenderer 66 gl.glScalef(mScale, mScale, mScale); in onDrawFrame() 77 mScale *= 1.02f; in onDrawFrame() 78 if (mScale > 4.0f) { in onDrawFrame() 79 mScale = 1.0f; in onDrawFrame()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
D | SaturateFilter.java | 31 private float mScale = 0f; field in SaturateFilter 128 if (mScale > 0.0f) { in process() 154 if (mScale > 0.0f) { in updateParameters() 157 exponents[0] = (0.9f * mScale) + 1.0f; in updateParameters() 158 exponents[1] = (2.1f * mScale) + 1.0f; in updateParameters() 159 exponents[2] = (2.7f * mScale) + 1.0f; in updateParameters() 163 mBenProgram.setHostValue("scale", 1.0f + mScale); in updateParameters()
|
D | ColorTemperatureFilter.java | 31 private float mScale = 0.5f; field in ColorTemperatureFilter 115 mProgram.setHostValue("scale", 2.0f * mScale - 1.0f); in updateParameters()
|
D | AutoFixFilter.java | 34 private float mScale; field in AutoFixFilter 194 mShaderProgram.setHostValue("scale", mScale); in initParameters() 232 mShaderProgram.setHostValue("scale", mScale); in fieldPortValueUpdated()
|
D | SharpenFilter.java | 31 private float mScale = 0f; field in SharpenFilter 139 mProgram.setHostValue("scale", mScale); in updateParameters()
|
D | VignetteFilter.java | 31 private float mScale = 0f; field in VignetteFilter 115 mProgram.setHostValue("range", 1.30f - (float) Math.sqrt(mScale) * 0.7f); in updateParameters()
|
D | FisheyeFilter.java | 41 private float mScale = 0f; field in FisheyeFilter 153 float alpha = mScale * 2.0f + 0.75f; in updateProgramParams()
|
D | GrainFilter.java | 36 private float mScale = 0f; field in GrainFilter 130 mGrainProgram.setHostValue("scale", mScale); in updateParameters()
|
/frameworks/av/cmds/screenrecord/ |
D | TextRenderer.h | 39 mScale(1.0f), in TextRenderer() 57 float getScale() const { return mScale; } in getScale() 58 void setScale(float scale) { mScale = scale; } in setScale() 110 float getScaledGlyphHeight() const { return getGlyphHeight() * mScale; } in getScaledGlyphHeight() 117 float mScale; variable
|
D | TextRenderer.cpp | 173 width += (glyphWidth - 1 - FontBitmap::outlineWidth) * mScale; in computeScaledStringWidth() 181 ALOGV("drawString %.3f,%.3f '%s' (scale=%.3f)", x, y, str8.string(),mScale); in drawString() 203 float vertRight = x + glyphWidth * mScale; in drawString() 205 float vertBottom = y + glyphHeight * mScale; in drawString() 244 x += (glyphWidth - 1 - FontBitmap::outlineWidth) * mScale; in drawString()
|
/frameworks/base/core/java/android/content/res/ |
D | ResourcesKey.java | 24 final float mScale; field in ResourcesKey 38 mScale = scale; in ResourcesKey() 46 hash = 31 * hash + Float.floatToIntBits(mScale); in ResourcesKey() 88 if (mScale != peer.mScale) { in equals()
|
/frameworks/base/media/tests/SoundPoolTest/src/com/android/ |
D | SoundPoolTest.java | 74 private float mScale[]; field in SoundPoolTest.TestThread 154 int count = mScale.length; in TestScales() 157 NORMAL_PRIORITY, DEFAULT_LOOP, mScale[step]); in TestScales() 176 int count = mScale.length; in TestRates() 178 NORMAL_PRIORITY, DEFAULT_LOOP, mScale[0]); in TestRates() 188 mSoundPool.setRate(id, mScale[step]); in TestRates() 189 if (DEBUG) Log.d(LOG_TAG, "Change rate " + mScale[step]); in TestRates() 278 NORMAL_PRIORITY, DEFAULT_LOOP, mScale[i]); in TestPauseResume() 310 … int id = mSoundPool.play(mSounds[0], 0.0f, 1.0f, NORMAL_PRIORITY, DEFAULT_LOOP, mScale[0]); in TestVolume() 341 mScale = new float[13]; in run() [all …]
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
D | KeyguardCircleFramedDrawable.java | 43 private float mScale; field in KeyguardCircleFramedDrawable 93 mScale = 1f; in KeyguardCircleFramedDrawable() 102 mScale = 1f; in reset() 110 final float inside = mScale * outside; in draw() 140 mScale = scale; in setScale() 144 return mScale; in getScale()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | ScaledTextActivity.java | 53 private float mScale = 1.0f; field in ScaledTextActivity.ScaledTextView 72 return mScale; in getTextScale() 76 mScale = scale; in setTextScale() 120 canvas.scale(mScale, mScale); in onDraw()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | ScaleFilter.java | 27 private float mScale = 1.0f; field in ScaleFilter 58 return (int)(inWidth * mScale); in getOutputWidth() 63 return (int)(inHeight * mScale); in getOutputHeight()
|
/frameworks/opt/net/voip/src/jni/rtp/ |
D | EchoSuppressor.cpp | 52 mScale = 1 << shift; in EchoSuppressor() 103 for (int i = mWindowSize - 1, j = 0; i >= 0; --i, j += mScale) { in run() 105 for (int k = 0; k < mScale; ++k) { in run() 129 for (int i = mWindowSize - 1, j = 0; i >= 0; --i, j += mScale) { in run() 131 for (int k = 0; k < mScale; ++k) { in run()
|
D | EchoSuppressor.h | 32 int mScale; variable
|
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
D | PointCloud.java | 38 private float mScale = 1.0f; field in PointCloud 163 mScale = scale; in setScale() 167 return mScale; in getScale() 205 canvas.scale(mScale, mScale, mCenterX, mCenterY); in draw()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
D | TiledImageRenderer.java | 110 protected float mScale; field in TiledImageRenderer 242 && mScale == scale) { in setPosition() 247 mScale = scale; in setPosition() 270 mLevel = Utils.clamp(Utils.floorLog2(1f / mScale), 0, mLevelCount); in layoutTiles() 277 getRange(range, mCenterX, mCenterY, mLevel, mScale, mRotation); in layoutTiles() 278 mOffsetX = Math.round(mViewWidth / 2f + (range.left - mCenterX) * mScale); in layoutTiles() 279 mOffsetY = Math.round(mViewHeight / 2f + (range.top - mCenterY) * mScale); in layoutTiles() 280 fromLevel = mScale * (1 << mLevel) > 0.75f ? mLevel - 1 : mLevel; in layoutTiles() 284 mOffsetX = Math.round(mViewWidth / 2f - mCenterX * mScale); in layoutTiles() 285 mOffsetY = Math.round(mViewHeight / 2f - mCenterY * mScale); in layoutTiles() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | UserAvatarView.java | 49 private float mScale = 1; field in UserAvatarView 164 mScale = scale; in configureBounds() 173 if (mBitmap != null && mScale > 0) { in onDraw() 181 canvas.drawCircle(halfBW, halfBH, halfBSW - mFrameWidth / mScale + 1, mBitmapPaint); in onDraw() 183 } else if (mDrawable != null && mScale > 0) { in onDraw()
|
/frameworks/support/v4/java/android/support/v4/widget/ |
D | SwipeRefreshLayout.java | 108 private boolean mScale; field in SwipeRefreshLayout 175 if (mScale) { 206 mScale = scale; in setProgressViewOffset() 228 mScale = scale; in setProgressViewEndTarget() 430 if (mScale && isAlphaUsedForScale()) { in startAlphaAnimation() 754 if (!mScale) { in onTouchEvent() 759 if (mScale) { in onTouchEvent() 813 if (!mScale) { in onTouchEvent() 822 if (!mScale) { in onTouchEvent() 857 if (mScale) { in animateOffsetToStartPosition()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ImageWallpaper.java | 114 float mScale = 1f; field in ImageWallpaper.DrawableEngine 367 mScale = Math.max(1f, Math.max(dw / (float) mBackground.getWidth(), in drawFrame() 369 final int availw = dw - (int) (mBackground.getWidth() * mScale); in drawFrame() 370 final int availh = dh - (int) (mBackground.getHeight() * mScale); in drawFrame() 464 final float right = left + mBackground.getWidth() * mScale; in drawWallpaperWithCanvas() 465 final float bottom = top + mBackground.getHeight() * mScale; in drawWallpaperWithCanvas() 487 final float right = left + mBackground.getWidth() * mScale; in drawWallpaperWithOpenGL() 488 final float bottom = top + mBackground.getHeight() * mScale; in drawWallpaperWithOpenGL()
|
/frameworks/base/core/jni/android/graphics/ |
D | BitmapFactory.cpp | 142 : mScale(scale), mSize(size) { in ScaleCheckingAllocator() 150 int(bitmap->width() * mScale + 0.5f) * in allocPixelRef() 151 int(bitmap->height() * mScale + 0.5f); in allocPixelRef() 160 const float mScale; member in ScaleCheckingAllocator
|
/frameworks/av/media/libstagefright/include/ |
D | AVIExtractor.h | 56 uint32_t mScale; member
|