Home
last modified time | relevance | path

Searched refs:getScaleX (Results 1 – 25 of 76) sorted by relevance

1234

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskViewTransform.java70 scale = tv.getScaleX(); in fillIn()
148 if (hasScaleChangedFrom(v.getScaleX())) { in applyToTaskView()
165 if (hasScaleChangedFrom(v.getScaleX())) { in applyToTaskView()
167 PropertyValuesHolder.ofFloat(View.SCALE_X, v.getScaleX(), scale), in applyToTaskView()
168 PropertyValuesHolder.ofFloat(View.SCALE_Y, v.getScaleX(), scale)); in applyToTaskView()
DTaskView.java269 mDownTouchPos.set((int) (ev.getX() * getScaleX()), (int) (ev.getY() * getScaleY())); in onInterceptTouchEvent()
696 clipBounds.scale(getScaleX()); in onLongClick()
706 mDownTouchPos.x += ((1f - getScaleX()) * getWidth()) / 2; in onLongClick()
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/
DHeadersSupportFragmentTest.java71 assertTrue(vh.itemView.getScaleX() - 1.0f > 0.05f); in defaultScale()
99 assertEquals(vh.itemView.getScaleX(), 1f, 0.001f); in disableScale()
126 assertEquals(vh.itemView.getScaleX(), 1f, 0.001f); in disableScaleInConstructor()
DHeadersFragmentTest.java68 assertTrue(vh.itemView.getScaleX() - 1.0f > 0.05f); in defaultScale()
96 assertEquals(vh.itemView.getScaleX(), 1f, 0.001f); in disableScale()
123 assertEquals(vh.itemView.getScaleX(), 1f, 0.001f); in disableScaleInConstructor()
/frameworks/base/core/java/android/text/style/
DScaleXSpan.java58 public float getScaleX() { in getScaleX() method in ScaleXSpan
/frameworks/support/design/tests/src/android/support/design/widget/
DAppBarWithCollapsingToolbarTest.java394 return fab.getScaleX() == 0.0f; in testPinnedToolbarAndAnchoredFab()
400 assertEquals(0.0f, fab.getScaleX(), 0.0f); in testPinnedToolbarAndAnchoredFab()
415 return fab.getScaleX() == 1.0f; in testPinnedToolbarAndAnchoredFab()
420 assertEquals(1.0f, fab.getScaleX(), 0.0f); in testPinnedToolbarAndAnchoredFab()
/frameworks/support/transition/tests/src/android/support/transition/
DVisibilityTest.java142 transitionValues.values.put(PROPNAME_SCALE_X, transitionValues.view.getScaleX()); in captureStartValues()
177 transitionValues.values.put(PROPNAME_SCALE_X, transitionValues.view.getScaleX()); in captureStartValues()
DChangeTransformTest.java104 assertEquals(2f, redSquare.getScaleX(), 0.0f); in testScale()
/frameworks/base/packages/Keyguard/
Dproguard.flags19 public float getScaleX();
/frameworks/base/libs/hwui/
DRenderProperties.cpp204 transform->preScale(getScaleX(), getScaleY(), getPivotX(), getPivotY()); in updateMatrix()
208 transform->preScale(getScaleX(), getScaleY(), getPivotX(), getPivotY()); in updateMatrix()
DVectorDrawable.cpp291 mProperties.getTranslateY(), mProperties.getScaleX(), mProperties.getScaleY()); in dump()
315 outMatrix->postScale(properties.getScaleX(), properties.getScaleY()); in getLocalMatrix()
353 return getScaleX(); in getPropertyValue()
417 canvasScaleX = fabs(canvasMatrix.getScaleX()); in draw()
DRenderNode.cpp126 pprops->set_scale_x(properties().getScaleX()); in copyTo()
476 true3dMat.scale(properties().getScaleX(), properties().getScaleY(), 1); in applyViewPropertyTransforms()
DRenderNode.h202 || properties().getScaleX() == 0 in nothingToDraw()
/frameworks/support/v17/leanback/kitkat/android/support/v17/leanback/transition/
DScale.java35 values.values.put(PROPNAME_SCALE, view.getScaleX()); in captureValues()
/frameworks/support/design/src/android/support/design/internal/
DTextScale.java51 transitionValues.values.put(PROPNAME_SCALE, textview.getScaleX()); in captureValues()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DStackScrollState.java84 viewState.scaleX = view.getScaleX(); in resetViewState()
DViewState.java142 scaleX = view.getScaleX(); in initFrom()
183 } else if (view.getScaleX() != scaleX) { in applyToView()
299 if (child.getScaleX() != scaleX) { in animateTo()
/frameworks/base/libs/hwui/tests/unit/
DVectorDrawableTests.cpp367 EXPECT_EQ(1.0f, properties->getScaleX()); in TEST()
369 EXPECT_EQ(0.0f, properties->getScaleX()); in TEST()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DTransformState.java136 setTransformationStartScaleX(otherState.getViewWidth() * otherView.getScaleX() in transformViewFrom()
287 setTransformationStartScaleX(transformedView.getScaleX()); in transformViewTo()
424 mOwnPosition[0] -= (1.0f - mTransformedView.getScaleX()) * mTransformedView.getPivotX(); in getLocationOnScreen()
/frameworks/base/core/jni/
Dandroid_graphics_drawable_VectorDrawable.cpp226 static jfloat getScaleX(JNIEnv*, jobject, jlong groupPtr) { in getScaleX() function
228 return group->stagingProperties()->getScaleX(); in getScaleX()
387 {"nGetScaleX", "(J)F", (void*)getScaleX},
/frameworks/base/services/core/java/com/android/server/display/
DOverlayDisplayWindow.java178 pw.println("mTextureView.getScaleX()=" + mTextureView.getScaleX()); in dump()
279 mWindowScale = mTextureView.getScaleX(); in saveWindowParams()
/frameworks/base/core/java/com/android/internal/widget/
DDrawableHolder.java186 public float getScaleX() { in getScaleX() method in DrawableHolder
/frameworks/base/libs/hwui/pipeline/skia/
DReorderBarrierDrawables.cpp122 || casterProperties.getScaleX() == 0 in drawShadow()
/frameworks/layoutlib/bridge/src/android/graphics/
DMatrix_Delegate.java123 values[0] = (float) matrix.getScaleX(); in makeValues()
619 inv_mtx.mValues[0] = (float)inverseTransform.getScaleX(); in nInvert()
622 inv_mtx.mValues[3] = (float)inverseTransform.getScaleX(); in nInvert()
/frameworks/layoutlib/bridge/src/android/view/
DRenderNode_Delegate.java180 float scaleX = renderNode.getScaleX(); in getMatrix()

1234