Searched refs:expectedLeft (Results 1 – 2 of 2) sorted by relevance
150 final float expectedLeft; in testGetLineLeft() local152 expectedLeft = 0.0f; in testGetLineLeft()154 expectedLeft = mWidth - textWidth - mLeadingMargin; in testGetLineLeft()157 expectedLeft = (float) Math.floor((mWidth - mLeadingMargin - textWidth) / 2); in testGetLineLeft()159 expectedLeft = (float) Math.floor(mLeadingMargin in testGetLineLeft()163 assertEquals(expectedLeft, mLayout.getLineLeft(line), 0.0f); in testGetLineLeft()
239 static void testGetFrameRect(JNIEnv* env, jobject, jlong jFrameInfo, jint expectedLeft, in testGetFrameRect() argument243 if (rect.left != expectedLeft || rect.top != expectedTop || rect.right != expectedRight in testGetFrameRect()245 fail(env, "Mismatched frame rect! Expected: %i %i %i %i Actual: %i %i %i %i", expectedLeft, in testGetFrameRect()