Home
last modified time | relevance | path

Searched refs:translationX (Results 1 – 10 of 10) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowViewRenderNode.java24 private float translationX; field in ShadowViewRenderNode
139 public boolean setTranslationX(float translationX) { in setTranslationX() argument
140 this.translationX = translationX; in setTranslationX()
158 return translationX; in getTranslationX()
DShadowRenderNode.java25 private float translationX; field in ShadowRenderNode
140 public boolean setTranslationX(float translationX) { in setTranslationX() argument
141 this.translationX = translationX; in setTranslationX()
159 return translationX; in getTranslationX()
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowRenderNodeQ.java28 private float translationX; field in ShadowRenderNodeQ
147 protected boolean setTranslationX(float translationX) { in setTranslationX() argument
148 this.translationX = translationX; in setTranslationX()
166 return translationX; in getTranslationX()
321 matrix.setTranslate(translationX, translationY); in getMatrix()
333 transform.postTranslate(pivotX + translationX, pivotY + translationY); in getMatrix()
DShadowRenderNode.java33 private float translationX; field in ShadowRenderNode
152 protected boolean setTranslationX(float translationX) { in setTranslationX() argument
153 this.translationX = translationX; in setTranslationX()
171 return translationX; in getTranslationX()
326 matrix.setTranslate(translationX, translationY); in getMatrix()
338 transform.postTranslate(pivotX + translationX, pivotY + translationY); in getMatrix()
DShadowNativeRenderNodeOP.java270 protected static boolean nSetTranslationX(long renderNode, float translationX) { in nSetTranslationX() argument
271 return RenderNodeNatives.nSetTranslationX(renderNode, translationX); in nSetTranslationX()
DShadowNativeRenderNode.java303 protected static boolean nSetTranslationX(long renderNode, float translationX) { in nSetTranslationX() argument
304 return RenderNodeNatives.nSetTranslationX(renderNode, translationX); in nSetTranslationX()
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowRenderNodeTest.java34 float translationX = renderNode.getTranslationX(); in testGetTranslationX_unset_returnsZero() local
36 assertThat(translationX).isWithin(1e-3f).of(0.f); in testGetTranslationX_unset_returnsZero()
44 float translationX = renderNode.getTranslationX(); in testGetTranslationX_set_returnsSetTranslation() local
46 assertThat(translationX).isWithin(1e-3f).of(1.f); in testGetTranslationX_set_returnsSetTranslation()
657 boolean setTranslationX(float translationX); in setTranslationX() argument
845 public boolean setTranslationX(float translationX) { in setTranslationX() argument
850 ReflectionHelpers.ClassParameter.from(float.class, translationX)); in setTranslationX()
1053 public boolean setTranslationX(float translationX) { in setTranslationX() argument
1054 return renderNode.setTranslationX(translationX); in setTranslationX()
DShadowViewTest.java710 public void translationX() { in translationX() method in ShadowViewTest
/external/robolectric/nativeruntime/src/main/java/org/robolectric/nativeruntime/
DRenderNodeNatives.java146 public static native boolean nSetTranslationX(long renderNode, float translationX); in nSetTranslationX() argument
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowViewTest.java682 public void translationX() { in translationX() method in ShadowViewTest