Searched refs:translationX (Results 1 – 10 of 10) sorted by relevance
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowViewRenderNode.java | 24 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()
|
D | ShadowRenderNode.java | 25 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/ |
D | ShadowRenderNodeQ.java | 28 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()
|
D | ShadowRenderNode.java | 33 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()
|
D | ShadowNativeRenderNodeOP.java | 270 protected static boolean nSetTranslationX(long renderNode, float translationX) { in nSetTranslationX() argument 271 return RenderNodeNatives.nSetTranslationX(renderNode, translationX); in nSetTranslationX()
|
D | ShadowNativeRenderNode.java | 303 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/ |
D | ShadowRenderNodeTest.java | 34 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()
|
D | ShadowViewTest.java | 710 public void translationX() { in translationX() method in ShadowViewTest
|
/external/robolectric/nativeruntime/src/main/java/org/robolectric/nativeruntime/ |
D | RenderNodeNatives.java | 146 public static native boolean nSetTranslationX(long renderNode, float translationX); in nSetTranslationX() argument
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowViewTest.java | 682 public void translationX() { in translationX() method in ShadowViewTest
|