/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 | 175 width += (glyphWidth - 1 - FontBitmap::outlineWidth) * mScale; in computeScaledStringWidth() 183 ALOGV("drawString %.3f,%.3f '%s' (scale=%.3f)", x, y, str8.string(),mScale); in drawString() 205 float vertRight = x + glyphWidth * mScale; in drawString() 207 float vertBottom = y + glyphHeight * mScale; in drawString() 246 x += (glyphWidth - 1 - FontBitmap::outlineWidth) * mScale; in drawString()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
D | Illustration.java | 52 private float mScale = 1.0f; field in Illustration 160 mScale = layoutWidth / (float) intrinsicWidth; in onLayout() 162 intrinsicHeight = (int) (intrinsicHeight * mScale); in onLayout() 171 mBackground.setBounds(0, 0, (int) Math.ceil(layoutWidth / mScale), in onLayout() 172 (int) Math.ceil((layoutHeight - mIllustrationBounds.height()) / mScale)); in onLayout() 184 canvas.scale(mScale, mScale, 0, 0); in onDraw()
|
/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/SettingsLib/src/com/android/settingslib/drawable/ |
D | CircleFramedDrawable.java | 46 private float mScale; field in CircleFramedDrawable 91 mScale = 1f; in CircleFramedDrawable() 99 final float inside = mScale * mSize; in draw() 107 mScale = scale; in setScale() 111 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/support/design/src/android/support/design/widget/ |
D | CollapsingTextHelper.java | 92 private float mScale; 491 ascent = mTextureAscent * mScale; in draw() 492 descent = mTextureDescent * mScale; in draw() 494 ascent = mTextPaint.ascent() * mScale; in draw() 495 descent = mTextPaint.descent() * mScale; in draw() 508 if (mScale != 1f) { in draw() 509 canvas.scale(mScale, mScale, x, y); in draw() 535 mUseTexture = USE_SCALING_TEXTURE && mScale != 1f; in setInterpolatedTextSize() 561 mScale = 1f; in calculateUsingTextSize() 575 mScale = 1f; in calculateUsingTextSize() [all …]
|
/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/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
D | PortableFloatMap.java | 18 private float mScale; field in PortableFloatMap 61 mScale = Float.parseFloat(scaleLine); in PortableFloatMap() 63 mData.order(mScale < 0 ? ByteOrder.LITTLE_ENDIAN : ByteOrder.BIG_ENDIAN); in PortableFloatMap()
|
/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/support/core-ui/java/android/support/v4/widget/ |
D | SwipeRefreshLayout.java | 128 boolean mScale; field in SwipeRefreshLayout 203 if (mScale) { in reset() 250 mScale = scale; in setProgressViewOffset() 289 mScale = scale; in setProgressViewEndTarget() 920 if (!mScale) { in moveSpinner() 925 if (mScale) { in moveSpinner() 957 if (!mScale) { in finishSpinner() 966 if (!mScale) { in finishSpinner() 1083 if (mScale) { in animateOffsetToStartPosition()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ImageWallpaper.java | 110 float mScale = 1f; field in ImageWallpaper.DrawableEngine 366 mScale = Math.max(1f, Math.max(dw / (float) mBackground.getWidth(), in drawFrame() 368 final int availw = dw - (int) (mBackground.getWidth() * mScale); in drawFrame() 369 final int availh = dh - (int) (mBackground.getHeight() * mScale); in drawFrame() 554 out.print(" mScale="); out.println(mScale); in dump() 574 final float right = left + mBackground.getWidth() * mScale; in drawWallpaperWithCanvas() 575 final float bottom = top + mBackground.getHeight() * mScale; in drawWallpaperWithCanvas() 597 final float right = left + mBackground.getWidth() * mScale; in drawWallpaperWithOpenGL() 598 final float bottom = top + mBackground.getHeight() * mScale; in drawWallpaperWithOpenGL()
|
/frameworks/av/include/media/ |
D | VolumeShaper.h | 514 , mScale(1) { in Translate() 526 return mScale; in getScale() 530 mScale = scale; in setScale() 534 return mScale * (in - mOffset); in operator() 540 ss << ", mScale=" << mScale; in toString() 547 R mScale; variable
|
/frameworks/base/core/jni/android/graphics/ |
D | BitmapFactory.cpp | 139 : mScale(scale), mSize(size) { in ScaleCheckingAllocator() 146 int(bitmap->width() * mScale + 0.5f) * in allocPixelRef() 147 int(bitmap->height() * mScale + 0.5f); in allocPixelRef() 156 const float mScale; member in ScaleCheckingAllocator
|