Searched defs:COUNT (Results 1 - 9 of 9) sorted by relevance
/frameworks/support/paging/integration-tests/testapp/src/main/java/android/arch/paging/integration/testapp/ |
H A D | ItemDataSource.java | 30 private static final int COUNT = 500; field in class:ItemDataSource 44 return COUNT; 55 int end = Math.min(COUNT, startPosition + loadCount);
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | BlackLevelPattern.java | 32 public static final int COUNT = 4; field in class:BlackLevelPattern 51 if (offsets.length < COUNT) { 54 mCfaOffsets = Arrays.copyOf(offsets, COUNT); 78 * @param destination an array big enough to hold at least {@value #COUNT} elements after the 91 if (destination.length - offset < COUNT) { 94 for (int i = 0; i < COUNT; ++i) {
|
H A D | ColorSpaceTransform.java | 45 private static final int COUNT = ROWS * COLUMNS; field in class:ColorSpaceTransform 74 if (elements.length != COUNT) { 75 throw new IllegalArgumentException("elements must be " + COUNT + " length"); 165 if (destination.length - offset < COUNT) { 169 for (int i = 0, j = 0; i < COUNT; ++i, j += RATIONAL_SIZE) { 228 for (int i = 0, j = 0; i < COUNT; ++i, j += RATIONAL_SIZE) {
|
H A D | RggbChannelVector.java | 28 public static final int COUNT = 4; field in class:RggbChannelVector 108 * @param colorChannel greater or equal to {@code 0} and less than {@link #COUNT} 114 if (colorChannel < 0 || colorChannel >= COUNT) { 136 * an array big enough to hold at least {@value #COUNT} elements after the 149 if (destination.length - offset < COUNT) {
|
/frameworks/base/core/java/android/hardware/ |
H A D | LegacySensorManager.java | 371 private static final int COUNT = 12; field in class:LegacySensorManager.LmsFilter 373 private static final float PREDICTION_TIME = (SENSORS_RATE_MS*COUNT/1000.0f)*PREDICTION_RATIO; 374 private float mV[] = new float[COUNT*2]; 375 private long mT[] = new long[COUNT*2]; 379 mIndex = COUNT; 392 * by COUNT values, so that we don't have to copy the array 396 if (mIndex >= COUNT*2) 397 mIndex = COUNT; 400 mV[mIndex-COUNT] = v; 401 mT[mIndex-COUNT] [all...] |
/frameworks/base/obex/javax/obex/ |
H A D | HeaderSet.java | 52 * The value of <code>COUNT</code> is 0xC0 (192). 54 public static final int COUNT = 0xC0; field in class:HeaderSet 296 case COUNT: 514 case COUNT: 580 out.write(COUNT);
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
H A D | UsageStatsXmlV1.java | 49 private static final String COUNT = "count"; field in class:UsageStatsXmlV1 127 int count = XmlUtils.readIntAttribute(parser, COUNT); 228 XmlUtils.writeIntAttribute(xml, COUNT, count);
|
/frameworks/ml/nn/common/ |
H A D | Utils.cpp | 81 #define COUNT(X) (sizeof(X) / sizeof(X[0])) macro 88 static_assert(COUNT(kTypeNames) == kNumberOfDataTypes, "kTypeNames is incorrect"); 94 static_assert(COUNT(kTypeNamesOEM) == kNumberOfDataTypesOEM, "kTypeNamesOEM is incorrect"); 151 static_assert(COUNT(kOperationNames) == kNumberOfOperationTypes, "kOperationNames is incorrect"); 157 static_assert(COUNT(kOperationNamesOEM) == kNumberOfOperationTypesOEM, 174 static_assert(COUNT(kSizeOfDataType) == kNumberOfDataTypes, "kSizeOfDataType is incorrect"); 185 static_assert(COUNT(kScalarDataType) == kNumberOfDataTypes, "kScalarDataType is incorrect"); 192 static_assert(COUNT(kSizeOfDataTypeOEM) == kNumberOfDataTypesOEM, 200 static_assert(COUNT(kScalarDataTypeOEM) == kNumberOfDataTypesOEM,
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | ShortcutService.java | 356 int COUNT = GET_DEFAULT_LAUNCHER + 1; field in interface:ShortcutService.Stats 382 private final int[] mCountStats = new int[Stats.COUNT]; 385 private final long[] mDurationStats = new long[Stats.COUNT]; 3553 for (int i = 0; i < Stats.COUNT; i++) {
|
Completed in 199 milliseconds