Lines Matching refs:dimension

75      * Indicates the visibility of at least one dimension has changed.
79 * Indicates the sorting order has changed, either because the sorted dimension has changed or
130 * Gets the sorted dimension id.
131 * @return the sorted dimension id or {@link #SORT_DIMENSION_ID_UNKNOWN} if there is no sorted
132 * dimension.
145 * Sort by the default direction of the given dimension if user has never specified any sort
147 * @param dimensionId the id of the dimension
164 * Sort by given dimension and direction. Should only be used when user explicitly asks to sort
166 * @param dimensionId the id of the dimension
170 SortDimension dimension = mDimensions.get(dimensionId);
171 if (dimension == null) {
175 sortByDimension(dimension, direction);
178 mMetricRecorder.accept(dimension);
256 "Unexpected sort dimension id: " + id);
259 final SortDimension dimension = getDimensionById(id);
260 switch (dimension.getSortDirection()) {
273 "Unexpected sort direction: " + dimension.getSortDirection());
302 "Unexpected sort dimension id: " + id);
305 final SortDimension dimension = getDimensionById(id);
307 switch (dimension.getSortDirection()) {
316 "Unexpected sort direction: " + dimension.getSortDirection());
337 * Sort by default dimension and direction if there is no history of user specifying a sort
342 SortDimension dimension = mDimensions.get(mDefaultDimensionId);
343 if (dimension == null) {
344 if (DEBUG) Log.d(TAG, "No default sort dimension.");
348 sortByDimension(dimension, dimension.getDefaultSortDirection());
367 final SortDimension dimension = mDimensions.valueAt(i);
368 final int id = dimension.getId();
369 if (!dimension.equals(other.getDimensionById(id))) {