Home
last modified time | relevance | path

Searched refs:COUNT (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/params/
DBlackLevelPattern.java32 public static final int COUNT = 4; field in BlackLevelPattern
51 if (offsets.length < COUNT) { in BlackLevelPattern()
54 mCfaOffsets = Arrays.copyOf(offsets, COUNT); in BlackLevelPattern()
91 if (destination.length - offset < COUNT) { in copyTo()
94 for (int i = 0; i < COUNT; ++i) { in copyTo()
DLensShadingMap.java97 return mRows * mColumns * COUNT; in getGainFactorCount()
128 if (colorChannel < 0 || colorChannel > COUNT) { in getGainFactor()
136 return mElements[colorChannel + (row * mColumns + column) * COUNT ]; in getGainFactor()
162 final int offset = (row * mColumns + column) * COUNT; in getGainFactorVector()
258 for (int ch = 0; ch < COUNT; ch++) { in toString()
277 if (ch < COUNT - 1) { in toString()
DColorSpaceTransform.java45 private static final int COUNT = ROWS * COLUMNS; field in ColorSpaceTransform
74 if (elements.length != COUNT) { in ColorSpaceTransform()
75 throw new IllegalArgumentException("elements must be " + COUNT + " length"); in ColorSpaceTransform()
165 if (destination.length - offset < COUNT) { in copyElements()
169 for (int i = 0, j = 0; i < COUNT; ++i, j += RATIONAL_SIZE) { in copyElements()
228 for (int i = 0, j = 0; i < COUNT; ++i, j += RATIONAL_SIZE) { in equals()
DRggbChannelVector.java28 public static final int COUNT = 4; field in RggbChannelVector
114 if (colorChannel < 0 || colorChannel >= COUNT) { in getComponent()
149 if (destination.length - offset < COUNT) { in copyTo()
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryableBlackLevelPattern.java32 private static final int SIZE = SIZEOF_INT32 * BlackLevelPattern.COUNT;
42 for (int i = 0; i < BlackLevelPattern.COUNT / 2; ++i) { in marshal()
43 for (int j = 0; j < BlackLevelPattern.COUNT / 2; ++j) { in marshal()
51 int[] channelOffsets = new int[BlackLevelPattern.COUNT]; in unmarshal()
52 for (int i = 0; i < BlackLevelPattern.COUNT; ++i) { in unmarshal()
DMarshalQueryableRggbChannelVector.java32 private static final int SIZE = SIZEOF_FLOAT * RggbChannelVector.COUNT;
42 for (int i = 0; i < RggbChannelVector.COUNT; ++i) { in marshal()
/frameworks/base/core/java/android/hardware/
DLegacySensorManager.java371 private static final int COUNT = 12; field in 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; in LmsFilter()
396 if (mIndex >= COUNT*2) in filter()
397 mIndex = COUNT; in filter()
400 mV[mIndex-COUNT] = v; in filter()
401 mT[mIndex-COUNT] = time; in filter()
408 for (i=0 ; i<COUNT-1 ; i++) { in filter()
/frameworks/ml/nn/common/
DUtils.cpp81 #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/support/paging/integration-tests/testapp/src/main/java/android/arch/paging/integration/testapp/
DItemDataSource.java30 private static final int COUNT = 500; field in ItemDataSource
44 return COUNT; in countItems()
55 int end = Math.min(COUNT, startPosition + loadCount); in loadRange()
/frameworks/base/obex/javax/obex/
DHeaderSet.java54 public static final int COUNT = 0xC0; field in HeaderSet
296 case COUNT: in setHeader()
514 case COUNT: in getHeader()
580 out.write(COUNT); in getHeaderList()
DObexHelper.java385 intHeader = (Long)headImpl.getHeader(HeaderSet.COUNT); in createHeader()
387 out.write((byte)HeaderSet.COUNT); in createHeader()
391 headImpl.setHeader(HeaderSet.COUNT, null); in createHeader()
/frameworks/base/services/core/java/com/android/server/lights/
DLightsManager.java30 public static final int LIGHT_ID_COUNT = Type.COUNT;
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsXmlV1.java49 private static final String COUNT = "count"; field in UsageStatsXmlV1
127 int count = XmlUtils.readIntAttribute(parser, COUNT); in loadChooserCounts()
228 XmlUtils.writeIntAttribute(xml, COUNT, count); in writeCountsForAction()
/frameworks/base/cmds/bootanimation/
DFORMAT.md33 TYPE COUNT PAUSE PATH [#RGBHEX CLOCK]
38 * **COUNT:** how many times to play the animation, or 0 to loop forever until boot is complete
/frameworks/base/services/core/jni/
Dcom_android_server_lights_LightsService.cpp77 if (light < 0 || light >= static_cast<jint>(Type::COUNT)) { in validate()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java357 int COUNT = GET_DEFAULT_LAUNCHER + 1; field
383 private final int[] mCountStats = new int[Stats.COUNT];
386 private final long[] mDurationStats = new long[Stats.COUNT];
3577 for (int i = 0; i < Stats.COUNT; i++) { in dumpInner()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt13077 field public static final int COUNT = 4; // 0x4
13137 field public static final int COUNT = 4; // 0x4
/frameworks/base/api/
Dcurrent.txt15684 field public static final int COUNT = 4; // 0x4
15766 field public static final int COUNT = 4; // 0x4
Dtest-current.txt15782 field public static final int COUNT = 4; // 0x4
15864 field public static final int COUNT = 4; // 0x4
Dsystem-current.txt16428 field public static final int COUNT = 4; // 0x4
16517 field public static final int COUNT = 4; // 0x4