Lines Matching defs:dimension
83 SortDimension dimension = mModel.getDimensionAt(i);
84 if (dimension.getSortCapability() != SortDimension.SORT_CAPABILITY_NONE) {
85 menu.add(0, dimension.getId(), Menu.NONE, dimension.getLabelId());
112 SortDimension dimension = mModel.getDimensionById(item.getItemId());
113 item.setVisible(dimension.getVisibility() == View.VISIBLE);
121 SortDimension dimension = mModel.getDimensionById(sortedId);
122 mDimensionButton.setText(dimension.getLabelId());
130 final SortDimension dimension = mModel.getDimensionById(sortedId);
131 switch (dimension.getSortDirection()) {
143 "Unknown sort direction: " + dimension.getSortDirection() + ".");
159 final SortDimension dimension = mModel.getDimensionById(item.getItemId());
161 if ((dimension.getSortCapability() & preferredDirection) > 0) {
164 direction = dimension.getDefaultSortDirection();
167 mModel.sortByUser(dimension.getId(), direction);
176 final SortDimension dimension = mModel.getDimensionById(id);
177 mModel.sortByUser(dimension.getId(), dimension.getNextDirection());