Home
last modified time | relevance | path

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

1234

/frameworks/base/core/java/android/os/health/
DHealthStats.java200 return getIndex(mTimerKeys, key) >= 0; in hasTimer()
213 final int index = getIndex(mTimerKeys, key); in getTimer()
228 final int index = getIndex(mTimerKeys, key); in getTimerCount()
243 final int index = getIndex(mTimerKeys, key); in getTimerTime()
275 return getIndex(mMeasurementKeys, key) >= 0; in hasMeasurement()
285 final int index = getIndex(mMeasurementKeys, key); in getMeasurement()
317 return getIndex(mStatsKeys, key) >= 0; in hasStats()
327 final int index = getIndex(mStatsKeys, key); in getStats()
359 return getIndex(mTimersKeys, key) >= 0; in hasTimers()
369 final int index = getIndex(mTimersKeys, key); in getTimers()
[all …]
DHealthStatsWriter.java93 final int index = mConstants.getIndex(HealthKeys.TYPE_TIMER, timerId); in addTimer()
104 final int index = mConstants.getIndex(HealthKeys.TYPE_MEASUREMENT, measurementId); in addMeasurement()
118 final int index = mConstants.getIndex(HealthKeys.TYPE_STATS, key); in addStats()
133 final int index = mConstants.getIndex(HealthKeys.TYPE_TIMERS, key); in addTimers()
146 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/base/core/java/android/util/
DByteStringUtils.java69 (byte)(((getIndex(chars[i * 2]) << 4) & 0xF0) | (getIndex(chars[i * 2 + 1]) & 0x0F)); in fromHexToByteArray()
74 private static int getIndex(char c) { in getIndex() method in ByteStringUtils
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DRecyclerViewParallax.java152 source.setIntPropertyValue(getIndex(), IntProperty.UNKNOWN_AFTER); in updateValue()
159 source.setIntPropertyValue(getIndex(), IntProperty.UNKNOWN_AFTER); in updateValue()
161 source.setIntPropertyValue(getIndex(), IntProperty.UNKNOWN_BEFORE); in updateValue()
188 source.setIntPropertyValue(getIndex(), rect.top + mOffset in updateValue()
191 source.setIntPropertyValue(getIndex(), rect.left + mOffset in updateValue()
DMultiActionsProvider.java90 public int getIndex() {
DParallax.java143 public final int getIndex() { in getIndex() method in Parallax.IntProperty
296 public final int getIndex() { in getIndex() method in Parallax.FloatProperty
DParallaxEffect.java317 int index = k.getProperty().getIndex(); in calculateFraction()
411 int index = k.getProperty().getIndex(); in calculateFraction()
/frameworks/base/libs/hwui/tests/unit/
DFrameBuilderTests.cpp81 int getIndex() { return mIndex; } in MAP_MERGEABLE_OPS()
143 EXPECT_EQ(4, renderer.getIndex()); // 2 ops + start + end in RENDERTHREAD_OPENGL_PIPELINE_TEST()
171 EXPECT_EQ(1, renderer.getIndex()); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
200 EXPECT_EQ(1, renderer.getIndex()); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
253 EXPECT_EQ(2 * LOOPS, renderer.getIndex()) in RENDERTHREAD_OPENGL_PIPELINE_TEST()
280 EXPECT_EQ(1, renderer.getIndex()); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
350 EXPECT_EQ(4, renderer.getIndex()); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
415 EXPECT_EQ(2, renderer.getIndex()) << "No drawing content produced," in RENDERTHREAD_OPENGL_PIPELINE_TEST()
446 EXPECT_EQ(1, renderer.getIndex()) << "Expect exactly one op"; in RENDERTHREAD_OPENGL_PIPELINE_TEST()
489 EXPECT_EQ(2, renderer.getIndex()) << "Expect exactly two ops"; in RENDERTHREAD_OPENGL_PIPELINE_TEST()
[all …]
DRenderNodeDrawableTests.cpp95 int getIndex() { return mDrawCounter; } in getIndex() function in __anonb0bb61fa0211::ZReorderCanvas
134 EXPECT_EQ(13, canvas.getIndex()); in TEST()
266 int getIndex() { return mDrawCounter; } in RENDERTHREAD_TEST() function in RENDERTHREAD_TEST::ProjectionTestCanvas
335 EXPECT_EQ(3, canvas.getIndex()); in RENDERTHREAD_TEST()
551 return canvas.getIndex(); in drawNode()
959 int getIndex() { return mDrawCounter; } in TEST() function in TEST::ShadowTestCanvas
1006 EXPECT_EQ(6, canvas.getIndex()); in TEST()
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/media/
DMediaPlayerGlue.java179 if (mThumbsUpAction.getIndex() == PlaybackControlsRow.ThumbsAction.SOLID) { in onActionClicked()
186 if (mThumbsDownAction.getIndex() == PlaybackControlsRow.ThumbsAction.SOLID) { in onActionClicked()
363 return mShuffleAction.getIndex() == PlaybackControlsRow.ShuffleAction.ON; in useShuffle()
370 return mRepeatAction.getIndex() == PlaybackControlsRow.RepeatAction.ONE; in repeatOne()
377 return mRepeatAction.getIndex() == PlaybackControlsRow.RepeatAction.ALL; in repeatAll()
/frameworks/base/core/java/android/text/
DCharSequenceCharacterIterator.java97 public int getIndex() { in getIndex() method in CharSequenceCharacterIterator
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DTintTypedArray.java130 public int getIndex(int at) { in getIndex() method in TintTypedArray
131 return mWrapped.getIndex(at); in getIndex()
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DMusicPlayerFragment.java147 int index = (repeatAction).getIndex(); in onActionClicked()
161 int index = (shuffleAction).getIndex(); in onActionClicked()
/frameworks/av/media/libstagefright/include/media/stagefright/
DFrameRenderTracker.h57 ssize_t getIndex() const { return mIndex; } in getIndex() function
/frameworks/support/v17/leanback/src/android/support/v17/leanback/media/
DPlaybackBannerControlGlue.java552 if (mPlayPauseAction.getIndex() != index) { in updatePlaybackState()
563 if (mFastForwardAction.getIndex() != index) { in updatePlaybackState()
573 if (mRewindAction.getIndex() != index) { in updatePlaybackState()
DPlaybackControlGlue.java681 if (mFastForwardAction.getIndex() != index) { in updatePlaybackState()
691 if (mRewindAction.getIndex() != index) { in updatePlaybackState()
712 if (mPlayPauseAction.getIndex() != index) { in updatePlaybackState()
DMediaPlayerGlue.java225 if (mThumbsUpAction.getIndex() == PlaybackControlsRow.ThumbsAction.INDEX_SOLID) { in onActionClicked()
232 if (mThumbsDownAction.getIndex() == PlaybackControlsRow.ThumbsAction.INDEX_SOLID) { in onActionClicked()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DUsimPhoneBookManager.java107 public int getIndex() { return mIndex; } in getIndex() method in UsimPhoneBookManager.File
223 log("EF_EMAIL order in PBR record: " + email.getIndex()); in readEmailFileAndWait()
381 record[mPbrRecords.get(recId).mFileIds.get(USIM_EFEMAIL_TAG).getIndex()]; in buildType2EmailList()
/frameworks/base/libs/androidfw/
DAssetManager.cpp1509 int idx = getIndex(path); in getZip()
1520 int idx = getIndex(path); in getZipResourceTableAsset()
1532 int idx = getIndex(path); in setZipResourceTableAsset()
1540 int idx = getIndex(path); in getZipResourceTable()
1552 int idx = getIndex(path); in setZipResourceTable()
1582 int idx = getIndex(path); in addOverlay()
1602 int AssetManager::ZipSet::getIndex(const String8& zip) const in getIndex() function in AssetManager::ZipSet
/frameworks/base/core/java/android/webkit/
DDateSorter.java90 public int getIndex(long time) { in getIndex() method in DateSorter
/frameworks/base/services/net/java/android/net/ip/
DConnectivityPacketTracker.java76 ifindex = netif.getIndex(); in ConnectivityPacketTracker()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DUserAvatarView.java47 int attr = a.getIndex(i); in UserAvatarView()
/frameworks/base/lowpan/java/android/net/lowpan/
DLowpanChannelInfo.java84 public int getIndex() { in getIndex() method in LowpanChannelInfo
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DUserDetailItemView.java71 int attr = a.getIndex(i); in UserDetailItemView()

1234