Searched defs:dimension (Results 1 - 9 of 9) sorted by relevance

/packages/apps/Gallery2/jni/filters/
H A Dkmeans.cc50 int dimension = 3; local
58 runKMeans<unsigned char, int>(k, finalCentroids, small_ds, len, dimension,
68 dimension, stride, iterations, finalCentroids);
73 applyCentroids<unsigned char, int>(k, nextCentroids, dst, len, dimension, stride);
H A Dkmeans.h26 inline void sum(T values[], int len, int dimension, int stride, N dst[]) { argument
29 for (x = 0; x < dimension; x++) {
33 for (y = 0; y < dimension; y++) {
40 inline void set(T val1[], N val2[], int dimension) { argument
42 for (x = 0; x < dimension; x++) {
48 inline void add(T val[], N dst[], int dimension) { argument
50 for (x = 0; x < dimension; x++) {
56 inline void divide(T dst[], N divisor, int dimension) { argument
61 for (x = 0; x < dimension; x++) {
71 inline N euclideanDist(T val1[], T val2[], int dimension) { argument
88 initialPickHeuristicRandom(int k, T values[], int len, int dimension, int stride, T dst[], unsigned int seed) argument
123 findClosest(T values[], T oldCenters[], int dimension, int stride, int pop_size) argument
141 calculateNewCentroids(int k, T values[], int len, int dimension, int stride, T oldCenters[], T dst[]) argument
179 runKMeansWithPicks(int k, T finalCentroids[], T values[], int len, int dimension, int stride, int iterations, T initialPicks[]) argument
209 runKMeans(int k, T finalCentroids[], T values[], int len, int dimension, int stride, int iterations, unsigned int seed) argument
223 applyCentroids(int k, T centroids[], T values[], int len, int dimension, int stride) argument
[all...]
H A Dtinyplanet.cc87 inline float wrap(float value, float dimension) { argument
88 return value - (dimension * floor(value/dimension));
/packages/apps/Camera2/src/com/android/camera/data/
H A DSessionItem.java58 Size dimension = getSessionSize(uri);
59 if (dimension == null) {
62 return Optional.of(new SessionItem(context, uri, dimension));
65 protected SessionItem(Context context, Uri uri, Size dimension) { argument
76 .withDimensions(dimension)
144 Size dimension = getSessionSize(mData.getUri());
145 if (dimension == null) {
151 .withDimensions(dimension)
/packages/apps/Camera2/jni/
H A Dtinyplanet.cc88 inline float wrap(float value, float dimension) { argument
89 return value - (dimension * floor(value/dimension));
/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/
H A DFloatingActionButtonController.java150 * @param dimension The new dimensions for the width and height.
153 public void resize(int dimension, boolean animate) { argument
155 AnimUtils.changeDimensions(mFloatingActionButtonContainer, dimension, dimension);
157 mFloatingActionButtonContainer.getLayoutParams().width = dimension;
158 mFloatingActionButtonContainer.getLayoutParams().height = dimension;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DResourceUtils.java229 public static boolean isValidDimensionPixelSize(final int dimension) { argument
230 return dimension > 0;
234 public static boolean isValidDimensionPixelOffset(final int dimension) { argument
235 return dimension >= 0;
/packages/apps/TV/usbtuner/src/com/android/usbtuner/data/
H A DPsipData.java491 public RegionalRating(int dimension, int rating) { argument
492 mDimension = dimension;
/packages/apps/TV/usbtuner/libs/
H A Dexoplayer_1.5.6.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/exoplayer/ ...

Completed in 355 milliseconds