Lines Matching refs:margin
155 * are on the same x location, with respect to the specified margin.
159 * @param margin The margin between the first view and the second view
161 static public void assertRightAligned(View first, View second, int margin) {
169 assertEquals("views are not right aligned", Math.abs(firstRight - secondRight), margin);
192 * are on the same x location, with respect to the specified margin.
196 * @param margin The margin between the first view and the second view
198 static public void assertLeftAligned(View first, View second, int margin) {
206 assertEquals("views are not left aligned", Math.abs(firstLeft - secondLeft), margin);
229 * are on the same y location, with respect to the specified margin.
233 * @param margin The margin between the first view and the second view
235 static public void assertBottomAligned(View first, View second, int margin) {
243 assertEquals("views are not bottom aligned", Math.abs(firstBottom - secondBottom), margin);
266 * are on the same y location, with respect to the specified margin.
270 * @param margin The margin between the first view and the second view
272 static public void assertTopAligned(View first, View second, int margin) {
280 assertEquals("views are not top aligned", Math.abs(firstTop - secondTop), margin);