Home
last modified time | relevance | path

Searched defs:dimension (Results 1 – 20 of 20) sorted by relevance

/packages/apps/Gallery2/jni/filters/
Dkmeans.h26 inline void sum(T values[], int len, int dimension, int stride, N dst[]) { in sum()
40 inline void set(T val1[], N val2[], int dimension) { in set()
48 inline void add(T val[], N dst[], int dimension) { in add()
56 inline void divide(T dst[], N divisor, int dimension) { in divide()
71 inline N euclideanDist(T val1[], T val2[], int dimension) { in euclideanDist()
88 void initialPickHeuristicRandom(int k, T values[], int len, int dimension, int stride, T dst[], in initialPickHeuristicRandom()
123 inline int findClosest(T values[], T oldCenters[], int dimension, int stride, int pop_size) { in findClosest()
141 int calculateNewCentroids(int k, T values[], int len, int dimension, int stride, T oldCenters[], in calculateNewCentroids()
179 void runKMeansWithPicks(int k, T finalCentroids[], T values[], int len, int dimension, int stride, in runKMeansWithPicks()
209 void runKMeans(int k, T finalCentroids[], T values[], int len, int dimension, int stride, in runKMeans()
[all …]
Dkmeans.cc50 int dimension = 3; in JNIFUNCF() local
Dtinyplanet.cc87 inline float wrap(float value, float dimension) { in wrap()
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/
DSortModel.java176 SortDimension dimension = mDimensions.get(dimensionId); in sortByUser() local
270 final SortDimension dimension = getDimensionById(id); in addQuerySortArgs() local
321 final SortDimension dimension = getDimensionById(id); in getDocumentSortQuery() local
358 SortDimension dimension = mDimensions.get(mDefaultDimensionId); in sortOnDefault() local
385 final SortDimension dimension = mDimensions.valueAt(i); in equals() local
DTableHeaderController.java83 SortDimension dimension = mModel.getDimensionById(id); in bindCell() local
97 SortDimension dimension = (SortDimension) v.getTag(); in onCellClicked() local
DSortListFragment.java57 SortDimension dimension = mModel.getDimensionAt(i); in setupSortingList() local
87 …public static @StringRes int getSheetLabelId(SortDimension dimension, @SortDirection int direction… in getSheetLabelId()
167 SortItem(SortDimension dimension) { in SortItem()
DSortController.java68 sortModel.setMetricRecorder((SortDimension dimension) -> { in create()
DHeaderCell.java61 void onBind(SortDimension dimension) { in onBind()
DSortDimension.java252 SortDimension dimension = new SortDimension( in build() local
DSortingCursorWrapper.java41 Cursor cursor, SortDimension dimension, Lookup<String, String> fileTypeLookup) { in SortingCursorWrapper()
/packages/apps/Camera2/src/com/android/camera/data/
DSessionItem.java58 Size dimension = getSessionSize(uri); in create() local
65 protected SessionItem(Context context, Uri uri, Size dimension) { in SessionItem()
144 Size dimension = getSessionSize(mData.getUri()); in refresh() local
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DSortBot.java111 SortDimension dimension = mSortModel.getDimensionById(id); in sortByMenu() local
/packages/apps/Dialer/java/com/android/incallui/autoresizetext/
DAutoResizeTextView.java225 float dimension = TypedValue.applyDimension(resizeStepUnit, sizeToTry, displayMetrics); in binarySearchSizes() local
237 private float convertToResizeStepUnits(float dimension) { in convertToResizeStepUnits()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DResourceUtils.java229 public static boolean isValidDimensionPixelSize(final int dimension) { in isValidDimensionPixelSize()
234 public static boolean isValidDimensionPixelOffset(final int dimension) { in isValidDimensionPixelOffset()
/packages/apps/Contacts/src/com/android/contacts/widget/
DFloatingActionButtonController.java153 public void resize(int dimension, boolean animate) { in resize()
/packages/apps/Camera2/jni/
Dtinyplanet.cc88 inline float wrap(float value, float dimension) { in wrap()
/packages/apps/Dialer/java/com/android/dialer/contactphoto/
DContactPhotoManagerImpl.java260 final int dimension = Math.min(height, width); in inflateBitmap() local
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/
DPsipData.java658 public RegionalRating(int dimension, int rating) { in RegionalRating()
DSectionParser.java1354 int dimension = index.getDimension(); in getUsRating() local
/packages/apps/Contacts/src/com/android/contacts/
DContactPhotoManager.java1047 final int dimension = Math.min(height, width); in inflateBitmap() local