OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:GridModel
(Results
1 - 9
of
9
) sorted by null
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/grid/
GridModelTest.java
29
import com.android.ide.common.layout.grid.
GridModel
.ViewData;
38
assertEquals("left",
GridModel
.removeFlag("top", "top|left"));
39
assertEquals("left",
GridModel
.removeFlag("top", "top | left"));
40
assertEquals("top",
GridModel
.removeFlag("left", "top|left"));
41
assertEquals("top",
GridModel
.removeFlag("left", "top | left"));
42
assertEquals("left | center",
GridModel
.removeFlag("top", "top | left | center"));
43
assertEquals(null,
GridModel
.removeFlag("top", "top"));
50
GridModel
model =
GridModel
.get(null, targetNode, null);
60
model =
GridModel
.get(null, targetNode, null)
[
all
...]
/packages/apps/DocumentsUI/src/com/android/documentsui/selection/
BandController.java
67
private final
GridModel
.OnSelectionChangedListener mGridListener;
72
@Nullable private BandController.
GridModel
mModel;
156
mGridListener = new
GridModel
.OnSelectionChangedListener() {
172
mModel = new
GridModel
(mEnvironment, gridItemTester, mAdapter);
360
static final class
GridModel
extends RecyclerView.OnScrollListener {
378
private final List<
GridModel
.OnSelectionChangedListener> mOnSelectionChangedListeners =
389
private final List<
GridModel
.Limits> mColumnBounds = new ArrayList<>();
393
private final List<
GridModel
.Limits> mRowBounds = new ArrayList<>();
415
GridModel
(SelectionEnvironment helper, IntPredicate gridItemTester, DocumentsAdapter adapter) {
544
private void recordLimits(List<
GridModel
.Limits> limitsList, GridModel.Limits limits)
[
all
...]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
GridLayoutRule.java
56
import com.android.ide.common.layout.grid.
GridModel
;
57
import com.android.ide.common.layout.grid.
GridModel
.ViewData;
210
GridModel
grid =
GridModel
.get(mRulesEngine, parentNode, null);
349
if (
GridModel
.isSpace(node.getFqcn())) {
419
GridModel
grid =
GridModel
.get(mRulesEngine, parent, null);
427
GridModel
grid = getGrid(state);
434
GridModel
grid = getGrid(state);
450
private
GridModel
getGrid(ResizeState resizeState)
[
all
...]
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/selection/
BandController_GridModelTest.java
19
import static com.android.documentsui.selection.BandController.
GridModel
.NOT_SET;
28
import com.android.documentsui.selection.BandController.
GridModel
;
41
private
GridModel
model;
73
model = new
GridModel
(env, (int pos) -> true, adapter);
75
new
GridModel
.OnSelectionChangedListener() {
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
GridMatch.java
18
import static com.android.ide.common.layout.grid.
GridModel
.UNDEFINED;
GridLayoutPainter.java
20
import static com.android.ide.common.layout.grid.
GridModel
.UNDEFINED;
61
GridModel
grid) {
109
public static void paintResizeFeedback(IGraphics gc, INode layout,
GridModel
grid) {
155
GridModel
grid = data.getGrid();
266
GridModel
grid = data.getGrid();
350
Pair<int[],int[]> cellBounds =
GridModel
.getAxisBounds(view);
GridModel.java
78
public class
GridModel
{
159
* Constructs a {@link
GridModel
} for the given layout
165
private
GridModel
(IClientRulesEngine rulesEngine, INode node, Object viewObject) {
175
private static WeakReference<
GridModel
> sCachedViewModel;
186
public static
GridModel
get(
191
GridModel
model = sCachedViewModel.get();
197
GridModel
model = new
GridModel
(rulesEngine, node, viewObject);
198
sCachedViewModel = new WeakReference<
GridModel
>(model);
399
* Loads a {@link
GridModel
} from the XML model
[
all
...]
GridDropHandler.java
29
import static com.android.ide.common.layout.grid.
GridModel
.UNDEFINED;
56
private final
GridModel
mGrid;
69
mGrid =
GridModel
.get(mRule.getRulesEngine(), layout, view);
688
GridModel
.ViewData next = mGrid.getView(index);
[
all
...]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
GridLayoutConverter.java
145
GridModel
gridModel
= new
GridModel
(layoutView, mLayout, mFlatten);
146
mViews =
gridModel
.getViews();
147
mColumnCount =
gridModel
.computeColumnCount();
149
deleteRemovedElements(
gridModel
.getDeletedElements());
618
private static class
GridModel
{
625
GridModel
(CanvasViewInfo view, Element layout, boolean flatten) {
[
all
...]
Completed in 612 milliseconds