1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
| package com.beloo.widget.chipslayoutmanager.gravity;
|
| import android.graphics.Rect;
|
| import java.util.Arrays;
| import java.util.Collection;
|
| import static com.beloo.widget.chipslayoutmanager.ParamsType.INVALID;
|
| class GravityDataProvider {
| static Collection<Object[]> getInvalidGravityModifierParams() {
| return Arrays.asList(new Object[][]{
| //start lower than minStart
| {INVALID, 0, 100, new Rect(0, -50, 0, 0), new Rect(0, 0, 0, 0)},
| //start lower than minStart
| {INVALID, 20, 100, new Rect(0, 10, 0, 0), new Rect(0, 0, 0, 0)},
| //end bigger than maxEnd
| {INVALID, 20, 100, new Rect(0, 20, 0, 120), new Rect(0, 0, 0, 0)}
| });
| }
| }
|
|