/packages/apps/Gallery2/jni/filters/ |
D | kmeans.h | 26 inline void sum(T values[], int len, int dimension, int stride, N dst[]) { in sum() argument 29 for (x = 0; x < dimension; x++) { in sum() 33 for (y = 0; y < dimension; y++) { in sum() 40 inline void set(T val1[], N val2[], int dimension) { in set() argument 42 for (x = 0; x < dimension; x++) { in set() 48 inline void add(T val[], N dst[], int dimension) { in add() argument 50 for (x = 0; x < dimension; x++) { in add() 56 inline void divide(T dst[], N divisor, int dimension) { in divide() argument 61 for (x = 0; x < dimension; x++) { in divide() 71 inline N euclideanDist(T val1[], T val2[], int dimension) { in euclideanDist() argument [all …]
|
D | kmeans.cc | 50 int dimension = 3; in JNIFUNCF() local 58 runKMeans<unsigned char, int>(k, finalCentroids, small_ds, len, dimension, in JNIFUNCF() 68 dimension, stride, iterations, finalCentroids); in JNIFUNCF() 73 applyCentroids<unsigned char, int>(k, nextCentroids, dst, len, dimension, stride); in JNIFUNCF()
|
D | tinyplanet.cc | 87 inline float wrap(float value, float dimension) { in wrap() argument 88 return value - (dimension * floor(value/dimension)); in wrap()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/ |
D | DropdownSortWidgetController.java | 83 SortDimension dimension = mModel.getDimensionAt(i); in populateMenuItems() local 84 if (dimension.getSortCapability() != SortDimension.SORT_CAPABILITY_NONE) { in populateMenuItems() 85 menu.add(0, dimension.getId(), Menu.NONE, dimension.getLabelId()); in populateMenuItems() 112 SortDimension dimension = mModel.getDimensionById(item.getItemId()); in updateVisibility() local 113 item.setVisible(dimension.getVisibility() == View.VISIBLE); in updateVisibility() 121 SortDimension dimension = mModel.getDimensionById(sortedId); in bindSortedDimension() local 122 mDimensionButton.setText(dimension.getLabelId()); in bindSortedDimension() 130 final SortDimension dimension = mModel.getDimensionById(sortedId); in bindSortDirection() local 131 switch (dimension.getSortDirection()) { in bindSortDirection() 143 "Unknown sort direction: " + dimension.getSortDirection() + "."); in bindSortDirection() [all …]
|
D | SortModel.java | 175 SortDimension dimension = mDimensions.get(dimensionId); in sortByUser() local 176 if (dimension == null) { in sortByUser() 180 sortByDimension(dimension, direction); in sortByUser() 183 mMetricRecorder.accept(dimension); in sortByUser() 269 final SortDimension dimension = getDimensionById(id); in addQuerySortArgs() local 270 switch (dimension.getSortDirection()) { in addQuerySortArgs() 283 "Unexpected sort direction: " + dimension.getSortDirection()); in addQuerySortArgs() 320 final SortDimension dimension = getDimensionById(id); in getDocumentSortQuery() local 322 switch (dimension.getSortDirection()) { in getDocumentSortQuery() 331 "Unexpected sort direction: " + dimension.getSortDirection()); in getDocumentSortQuery() [all …]
|
D | HeaderCell.java | 61 void onBind(SortDimension dimension) { in onBind() argument 62 setVisibility(dimension.getVisibility()); in onBind() 64 if (dimension.getVisibility() == View.VISIBLE) { in onBind() 66 label.setText(dimension.getLabelId()); in onBind() 67 switch (dimension.getDataType()) { in onBind() 76 "Unknown column data type: " + dimension.getDataType() + "."); in onBind() 79 if (mCurDirection != dimension.getSortDirection()) { in onBind() 81 switch (dimension.getSortDirection()) { in onBind() 95 "Unknown sort direction: " + dimension.getSortDirection() + "."); in onBind() 98 mCurDirection = dimension.getSortDirection(); in onBind()
|
D | TableHeaderController.java | 83 SortDimension dimension = mModel.getDimensionById(id); in bindCell() local 85 cell.setTag(dimension); in bindCell() 87 cell.onBind(dimension); in bindCell() 88 if (dimension.getVisibility() == View.VISIBLE in bindCell() 89 && dimension.getSortCapability() != SortDimension.SORT_CAPABILITY_NONE) { in bindCell() 97 SortDimension dimension = (SortDimension) v.getTag(); in onCellClicked() local 99 mModel.sortByUser(dimension.getId(), dimension.getNextDirection()); in onCellClicked()
|
D | SortingCursorWrapper.java | 41 Cursor cursor, SortDimension dimension, Lookup<String, String> fileTypeLookup) { in SortingCursorWrapper() argument 51 final @SortDimensionId int id = dimension.getId(); in SortingCursorWrapper() 94 binarySort(stringValues, isDirs, mPosition, ids, dimension.getSortDirection()); in SortingCursorWrapper() 98 binarySort(longValues, isDirs, mPosition, ids, dimension.getSortDirection()); in SortingCursorWrapper()
|
D | SortDimension.java | 251 SortDimension dimension = new SortDimension( in build() local 253 dimension.mVisibility = mVisibility; in build() 254 return dimension; in build()
|
D | SortController.java | 80 sortModel.setMetricRecorder((SortDimension dimension) -> { in create() argument 81 switch (dimension.getId()) { in create()
|
/packages/apps/Camera2/src/com/android/camera/data/ |
D | SessionItem.java | 58 Size dimension = getSessionSize(uri); in create() local 59 if (dimension == null) { in create() 62 return Optional.of(new SessionItem(context, uri, dimension)); in create() 65 protected SessionItem(Context context, Uri uri, Size dimension) { in SessionItem() argument 76 .withDimensions(dimension) in SessionItem() 144 Size dimension = getSessionSize(mData.getUri()); in refresh() local 145 if (dimension == null) { in refresh() 151 .withDimensions(dimension) in refresh()
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | FloatingActionButtonController.java | 153 public void resize(int dimension, boolean animate) { in resize() argument 155 AnimUtils.changeDimensions(mFloatingActionButtonContainer, dimension, dimension); in resize() 157 mFloatingActionButtonContainer.getLayoutParams().width = dimension; in resize() 158 mFloatingActionButtonContainer.getLayoutParams().height = dimension; in resize()
|
/packages/apps/Dialer/java/com/android/incallui/autoresizetext/ |
D | AutoResizeTextView.java | 276 float dimension = TypedValue.applyDimension(resizeStepUnit, sizeToTry, displayMetrics); in binarySearchSizes() local 277 if (suggestedSizeFitsInSpace(dimension, availableSpace)) { in binarySearchSizes() 288 private float convertToResizeStepUnits(float dimension) { in convertToResizeStepUnits() argument 292 return dimension * multiplier; in convertToResizeStepUnits()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | ResourceUtils.java | 229 public static boolean isValidDimensionPixelSize(final int dimension) { in isValidDimensionPixelSize() argument 230 return dimension > 0; in isValidDimensionPixelSize() 234 public static boolean isValidDimensionPixelOffset(final int dimension) { in isValidDimensionPixelOffset() argument 235 return dimension >= 0; in isValidDimensionPixelOffset()
|
/packages/apps/Camera2/jni/ |
D | tinyplanet.cc | 88 inline float wrap(float value, float dimension) { in wrap() argument 89 return value - (dimension * floor(value/dimension)); in wrap()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/ |
D | SortModelTest.java | 96 for (SortDimension dimension : DIMENSIONS) { in testDimensionSame_getDimensionById() 97 assertSame(dimension, mModel.getDimensionById(dimension.getId())); in testDimensionSame_getDimensionById()
|
/packages/apps/Messaging/tools/messagegen/ |
D | listimages | 18 dimension=`identify -format "%w %h" $file` 20 echo "$file $dimension $size"
|
/packages/apps/Dialer/java/com/android/contacts/common/ |
D | ContactPhotoManagerImpl.java | 260 final int dimension = Math.min(height, width); in inflateBitmap() local 261 bitmap = ThumbnailUtils.extractThumbnail(bitmap, dimension, dimension); in inflateBitmap()
|
/packages/apps/TV/src/com/android/tv/tuner/data/ |
D | PsipData.java | 624 public RegionalRating(int dimension, int rating) { in RegionalRating() argument 625 mDimension = dimension; in RegionalRating()
|
/packages/apps/TV/src/com/android/tv/tuner/ts/ |
D | SectionParser.java | 1047 int dimension = index.getDimension(); in getUsRating() local 1049 switch (dimension) { in getUsRating() 1064 subratings.add(RATING_REGION_TABLE_US_TV_SUBRATING[dimension - 1]); in getUsRating() 1075 subratings.add(RATING_REGION_TABLE_US_TV_SUBRATING[dimension - 1]); in getUsRating()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | ContactPhotoManager.java | 1047 final int dimension = Math.min(height, width); in inflateBitmap() local 1048 bitmap = ThumbnailUtils.extractThumbnail(bitmap, dimension, dimension); in inflateBitmap()
|
/packages/inputmethods/LatinIME/dictionaries/ |
D | lv_wordlist.combined.gz | 1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ... |
D | en_GB_wordlist.combined.gz |
|
D | en_US_wordlist.combined.gz | 1dictionary=main:en_us,locale=en_US,description=English (US),date ... |
D | en_wordlist.combined.gz |
|