Home
last modified time | relevance | path

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

12

/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.java67 SortDimension dimension = mModel.getDimensionAt(i); in setupSortingList() local
97 …public static @StringRes int getSheetLabelId(SortDimension dimension, @SortDirection int direction… in getSheetLabelId()
177 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.java42 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/modules/StatsD/statsd/tests/metrics/
Dmetrics_test_helper.cpp22 HashableDimensionKey dimension; in getMockedDimensionKey() local
30 HashableDimensionKey dimension; in getMockedDimensionKeyLongValue() 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/modules/NeuralNetworks/common/
DExecutionBurstServer.cpp148 for (uint32_t dimension : operand.dimensions) { in serialize() local
222 const uint32_t dimension = data[index].inputOperandDimensionValue(); in deserialize() local
263 const uint32_t dimension = data[index].outputOperandDimensionValue(); in deserialize() local
DExecutionBurstController.cpp107 for (uint32_t dimension : input.dimensions) { in serialize() local
125 for (uint32_t dimension : output.dimensions) { in serialize() local
202 const uint32_t dimension = data[index].operandDimensionValue(); in deserialize() local
/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/modules/NeuralNetworks/common/operations/
DTile.cpp44 const M* multipliers, T* out_data, int dimension) { in TileOneDimension()
/packages/apps/Contacts/src/com/android/contacts/widget/
DFloatingActionButtonController.java153 public void resize(int dimension, boolean animate) { in resize()
/packages/apps/Launcher3/src/com/android/launcher3/widget/util/
DWidgetSizes.java95 int dimension = profile.allAppsIconSizePx + 2 * context.getResources() in getWidgetItemSizePx() local
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/bip/
DBipPixel.java210 protected static boolean isDimensionInvalid(int dimension) { in isDimensionInvalid()
/packages/apps/Camera2/jni/
Dtinyplanet.cc88 inline float wrap(float value, float dimension) { in wrap()
/packages/modules/StatsD/statsd/src/
Dstats_log_util.cpp274 void writeDimensionToProto(const HashableDimensionKey& dimension, std::set<string> *str_set, in writeDimensionToProto()
287 void writeDimensionLeafNodesToProto(const HashableDimensionKey& dimension, in writeDimensionLeafNodesToProto()
/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/
DGenerateCorpus.cpp65 for (uint32_t dimension : dimensions) { in convertDimensions() local
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DFullScreenAnimation.java142 int dimension = attributes.getDimensionPixelSize(0, 0); in getAttributeDimension() local

12