Home
last modified time | relevance | path

Searched refs:getIndex (Results 1 – 25 of 56) sorted by relevance

123

/frameworks/base/core/java/com/android/internal/graphics/palette/
DWuQuantizer.java111 private static int getIndex(int r, int g, int b) { in getIndex() method in WuQuantizer
132 int index = getIndex(iR, iG, iB); in constructHistogram()
157 int index = getIndex(r, g, b); in createMoments()
170 int previousIndex = getIndex(r - 1, g, b); in createMoments()
246 mMoments[getIndex(cube.r1, cube.g1, cube.b1)] in variance()
247 - mMoments[getIndex(cube.r1, cube.g1, cube.b0)] in variance()
248 - mMoments[getIndex(cube.r1, cube.g0, cube.b1)] in variance()
249 + mMoments[getIndex(cube.r1, cube.g0, cube.b0)] in variance()
250 - mMoments[getIndex(cube.r0, cube.g1, cube.b1)] in variance()
251 + mMoments[getIndex(cube.r0, cube.g1, cube.b0)] in variance()
[all …]
DWSMeansQuantizer.java191 mIndexMatrix[i][j] = distances.get(j).getIndex(); in calculateClusterDistances()
261 int getIndex() { in getIndex() method in WSMeansQuantizer.Distance
/frameworks/base/core/java/android/os/health/
DHealthStats.java202 return getIndex(mTimerKeys, key) >= 0; in hasTimer()
215 final int index = getIndex(mTimerKeys, key); in getTimer()
230 final int index = getIndex(mTimerKeys, key); in getTimerCount()
245 final int index = getIndex(mTimerKeys, key); in getTimerTime()
277 return getIndex(mMeasurementKeys, key) >= 0; in hasMeasurement()
287 final int index = getIndex(mMeasurementKeys, key); in getMeasurement()
319 return getIndex(mStatsKeys, key) >= 0; in hasStats()
329 final int index = getIndex(mStatsKeys, key); in getStats()
361 return getIndex(mTimersKeys, key) >= 0; in hasTimers()
371 final int index = getIndex(mTimersKeys, key); in getTimers()
[all …]
DHealthStatsWriter.java95 final int index = mConstants.getIndex(HealthKeys.TYPE_TIMER, timerId); in addTimer()
106 final int index = mConstants.getIndex(HealthKeys.TYPE_MEASUREMENT, measurementId); in addMeasurement()
120 final int index = mConstants.getIndex(HealthKeys.TYPE_STATS, key); in addStats()
135 final int index = mConstants.getIndex(HealthKeys.TYPE_TIMERS, key); in addTimers()
148 final int index = mConstants.getIndex(HealthKeys.TYPE_MEASUREMENTS, key); in addMeasurements()
DHealthKeys.java162 public int getIndex(int type, int key) { in getIndex() method in HealthKeys.Constants
/frameworks/av/media/libaaudio/tests/
Dtest_aaudio_monkey.cpp147 printf("#%d, Closing disconnected stream.\n", getIndex()); in invoke()
221 int getIndex() const { in getIndex() function in AAudioMonkey
253 printf("#%d, Error Callback, error: %d\n", monkey->getIndex(), (int)error); in AAudioMonkeyErrorCallbackProc()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DListEntry.java84 return mAttachState.getSection() != null ? mAttachState.getSection().getIndex() : -1; in getSectionIndex()
/frameworks/base/core/java/android/text/
DCharSequenceCharacterIterator.java97 public int getIndex() { in getIndex() method in CharSequenceCharacterIterator
/frameworks/av/media/libstagefright/include/media/stagefright/
DFrameRenderTracker.h57 ssize_t getIndex() const { return mIndex; } in getIndex() function
/frameworks/libs/net/common/framework/com/android/net/module/util/
DInterfaceParams.java60 return new InterfaceParams(name, netif.getIndex(), macAddr, netif.getMTU()); in getByName()
/frameworks/base/core/java/android/graphics/fonts/
DFontUpdateRequest.java132 out.attributeInt(null, ATTR_INDEX, font.getIndex()); in writeToXml()
170 public @IntRange(from = 0) int getIndex() { in getIndex() method in FontUpdateRequest.Font
374 font.getIndex(), in createFontFamily()
DFontFamilyUpdateRequest.java277 public @IntRange(from = 0) int getIndex() { in getIndex() method in FontFamilyUpdateRequest.Font
/frameworks/base/core/java/android/webkit/
DDateSorter.java96 public int getIndex(long time) { in getIndex() method in DateSorter
/frameworks/base/libs/androidfw/
DAssetManager.cpp1592 int idx = getIndex(path); in getSharedZip()
1603 int idx = getIndex(path); in getZipResourceTableAsset()
1615 int idx = getIndex(path); in setZipResourceTableAsset()
1623 int idx = getIndex(path); in getZipResourceTable()
1635 int idx = getIndex(path); in setZipResourceTable()
1665 int idx = getIndex(path); in addOverlay()
1685 int AssetManager::ZipSet::getIndex(const String8& zip) const in getIndex() function in AssetManager::ZipSet
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DUsimPhoneBookManager.java113 public int getIndex() { return mIndex; } in getIndex() method in UsimPhoneBookManager.File
231 log("EF_EMAIL order in PBR record: " + email.getIndex()); in readEmailFileAndWait()
389 record[mPbrRecords.get(recId).mFileIds.get(USIM_EFEMAIL_TAG).getIndex()]; in buildType2EmailList()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DUserAvatarView.java46 int attr = a.getIndex(i); in UserAvatarView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DUserDetailItemView.java71 int attr = a.getIndex(i); in UserDetailItemView()
/frameworks/base/lowpan/java/android/net/lowpan/
DLowpanChannelInfo.java84 public int getIndex() { in getIndex() method in LowpanChannelInfo
/frameworks/base/libs/hwui/tests/unit/
DRenderNodeDrawableTests.cpp100 int getIndex() { return mDrawCounter; } in getIndex() function in __anonc8ef75270211::ZReorderCanvas
139 EXPECT_EQ(13, canvas.getIndex()); in TEST()
271 int getIndex() { return mDrawCounter; } in RENDERTHREAD_TEST() function in RENDERTHREAD_TEST::ProjectionTestCanvas
352 EXPECT_EQ(3, canvas.getIndex()); in RENDERTHREAD_TEST()
647 return canvas.getIndex(); in drawNode()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodSubtypeSwitchingController.java261 private int getIndex(InputMethodInfo imi, InputMethodSubtype subtype) { in getIndex() method in InputMethodSubtypeSwitchingController.StaticRotationList
282 final int currentIndex = getIndex(imi, subtype); in getNextInputMethodLocked()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java408 return mStreamStates[stream].getIndex(device); in getVssVolumeForDevice()
2085 .getIndex(AudioSystem.DEVICE_OUT_DEFAULT), in updateVolumeStates()
3271 int aliasIndex = streamState.getIndex(device); in adjustStreamVolume()
3349 int oldIndex = mStreamStates[streamType].getIndex(device); in adjustStreamVolume()
3405 int newIndex = mStreamStates[streamType].getIndex(device); in adjustStreamVolume()
3447 final int newIndex = mStreamStates[streamType].getIndex(device); in adjustStreamVolume()
3559 final int index = streamState.getIndex(device); in onUnmuteStream()
4279 final int index = mStreamStates[streamType].getIndex(device); in setLeAudioVolumeOnModeUpdate()
4343 oldIndex = streamState.getIndex(device); in setStreamVolume()
4404 index = mStreamStates[streamType].getIndex(device); in setStreamVolume()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DPseudoGridView.java50 int attr = a.getIndex(i); in PseudoGridView()
/frameworks/base/libs/androidfw/include/androidfw/
DAssetManager.h337 int getIndex(const String8& zip) const;
/frameworks/base/graphics/java/android/graphics/pdf/
DPdfRenderer.java328 public int getIndex() { in getIndex() method in PdfRenderer.Page
/frameworks/base/tools/powermodel/src/com/android/powermodel/
DRawBatteryStats.java524 int getIndex() { in getIndex() method in RawBatteryStats.FieldSetter
1157 return a.getIndex() - b.getIndex(); in Collections.sort() argument

123