Searched refs:mLeadingMargin (Results 1 – 1 of 1) sorted by relevance
67 final int mLeadingMargin; field in StaticLayoutGetLineLeftRightTest96 mLeadingMargin = leadingMargin; in StaticLayoutGetLineLeftRightTest()100 if (mLeadingMargin > 0) { in StaticLayoutGetLineLeftRightTest()102 ss.setSpan(new LeadingMarginSpan.Standard(mLeadingMargin), in StaticLayoutGetLineLeftRightTest()113 mWidth = mLeadingMargin + (int) mPaint.measureText(mText, 0, mText.length()) / 10; in StaticLayoutGetLineLeftRightTest()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()160 + (mWidth - mLeadingMargin - textWidth) / 2); in testGetLineLeft()176 expectedRight = mLeadingMargin + textWidth; in testGetLineRight()[all …]