Lines Matching refs:margin
147 * are on the same x location, with respect to the specified margin.
151 * @param margin The margin between the first view and the second view
153 static public void assertRightAligned(View first, View second, int margin) {
161 assertEquals("views are not right aligned", Math.abs(firstRight - secondRight), margin);
184 * are on the same x location, with respect to the specified margin.
188 * @param margin The margin between the first view and the second view
190 static public void assertLeftAligned(View first, View second, int margin) {
198 assertEquals("views are not left aligned", Math.abs(firstLeft - secondLeft), margin);
221 * are on the same y location, with respect to the specified margin.
225 * @param margin The margin between the first view and the second view
227 static public void assertBottomAligned(View first, View second, int margin) {
235 assertEquals("views are not bottom aligned", Math.abs(firstBottom - secondBottom), margin);
258 * are on the same y location, with respect to the specified margin.
262 * @param margin The margin between the first view and the second view
264 static public void assertTopAligned(View first, View second, int margin) {
272 assertEquals("views are not top aligned", Math.abs(firstTop - secondTop), margin);