/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/ |
H A D | PlaybackControlSupportGlueTest.java | 165 assertEquals(0, fastForward.getIndex()); 166 assertEquals(0, rewind.getIndex()); 171 assertEquals(1, fastForward.getIndex()); 172 assertEquals(0, rewind.getIndex()); 175 assertEquals(2, fastForward.getIndex()); 176 assertEquals(0, rewind.getIndex()); 179 assertEquals(3, fastForward.getIndex()); 180 assertEquals(0, rewind.getIndex()); 183 assertEquals(3, fastForward.getIndex()); 184 assertEquals(0, rewind.getIndex()); [all...] |
H A D | PlaybackControlGlueTest.java | 163 assertEquals(0, fastForward.getIndex()); 164 assertEquals(0, rewind.getIndex()); 169 assertEquals(1, fastForward.getIndex()); 170 assertEquals(0, rewind.getIndex()); 173 assertEquals(2, fastForward.getIndex()); 174 assertEquals(0, rewind.getIndex()); 177 assertEquals(3, fastForward.getIndex()); 178 assertEquals(0, rewind.getIndex()); 181 assertEquals(3, fastForward.getIndex()); 182 assertEquals(0, rewind.getIndex()); [all...] |
/frameworks/base/tools/aapt2/ |
H A D | StringPool_test.cpp | 60 EXPECT_EQ(0u, ref.getIndex()); 61 EXPECT_EQ(1u, ref2.getIndex()); 62 EXPECT_EQ(2u, ref3.getIndex()); 95 EXPECT_EQ(0u, ref.getIndex()); 98 EXPECT_EQ(1u, ref2.getIndex()); 101 EXPECT_EQ(2u, ref3.getIndex()); 109 EXPECT_EQ(2u, ref.getIndex()); 112 EXPECT_EQ(0u, ref2.getIndex()); 115 EXPECT_EQ(1u, ref3.getIndex()); 133 EXPECT_EQ(ref4.getIndex(), re [all...] |
H A D | StringPool.cpp | 70 size_t StringPool::Ref::getIndex() const { function in class:aapt::StringPool::Ref 119 size_t StringPool::StyleRef::getIndex() const { function in class:aapt::StringPool::StyleRef 120 return mEntry->str.getIndex(); 269 return lhs->str.getIndex() < rhs->str.getIndex(); 311 header->styleCount = pool.mStyles.back()->str.getIndex() + 1; 364 while (entry->str.getIndex() > currentIndex) { 375 span->name.index = s.name.getIndex();
|
H A D | StringPool.h | 62 size_t getIndex() const; 85 size_t getIndex() const;
|
H A D | ResourceValues.cpp | 59 outValue->data = util::hostToDevice32(static_cast<uint32_t>(value.getIndex())); 148 if (value.getIndex() > std::numeric_limits<uint32_t>::max()) { 153 outValue->data = util::hostToDevice32(static_cast<uint32_t>(value.getIndex())); 189 if (value.getIndex() > std::numeric_limits<uint32_t>::max()) { 194 outValue->data = util::hostToDevice32(static_cast<uint32_t>(value.getIndex())); 224 if (path.getIndex() > std::numeric_limits<uint32_t>::max()) { 229 outValue->data = util::hostToDevice32(static_cast<uint32_t>(path.getIndex()));
|
/frameworks/base/core/java/android/os/health/ |
H A D | HealthStats.java | 200 return getIndex(mTimerKeys, key) >= 0; 213 final int index = getIndex(mTimerKeys, key); 228 final int index = getIndex(mTimerKeys, key); 243 final int index = getIndex(mTimerKeys, key); 275 return getIndex(mMeasurementKeys, key) >= 0; 285 final int index = getIndex(mMeasurementKeys, key); 317 return getIndex(mStatsKeys, key) >= 0; 327 final int index = getIndex(mStatsKeys, key); 359 return getIndex(mTimersKeys, key) >= 0; 369 final int index = getIndex(mTimersKey 443 private static int getIndex(int[] keys, int key) { method in class:HealthStats [all...] |
H A D | HealthStatsWriter.java | 93 final int index = mConstants.getIndex(HealthKeys.TYPE_TIMER, timerId); 104 final int index = mConstants.getIndex(HealthKeys.TYPE_MEASUREMENT, measurementId); 118 final int index = mConstants.getIndex(HealthKeys.TYPE_STATS, key); 133 final int index = mConstants.getIndex(HealthKeys.TYPE_TIMERS, key); 146 final int index = mConstants.getIndex(HealthKeys.TYPE_MEASUREMENTS, key);
|
H A D | HealthKeys.java | 162 public int getIndex(int type, int key) { method in class:HealthKeys.Constants
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | MultiActionsProvider.java | 33 * MultiAction represents an action that can have multiple states. {@link #getIndex()} returns 90 public int getIndex() { method in class:MultiActionsProvider.MultiAction
|
/frameworks/base/libs/hwui/tests/unit/ |
H A D | FrameBuilderTests.cpp | 80 int getIndex() { return mIndex; } function in class:android::uirenderer::TestRendererBase 142 EXPECT_EQ(4, renderer.getIndex()); // 2 ops + start + end 170 EXPECT_EQ(1, renderer.getIndex()); 222 EXPECT_EQ(2 * LOOPS, renderer.getIndex()) 249 EXPECT_EQ(1, renderer.getIndex()); 318 EXPECT_EQ(4, renderer.getIndex()); 361 EXPECT_EQ(2, renderer.getIndex()) << "No drawing content produced," 392 EXPECT_EQ(1, renderer.getIndex()) << "Expect exactly one op"; 435 EXPECT_EQ(2, renderer.getIndex()) << "Expect exactly two ops"; 477 EXPECT_EQ(4, renderer.getIndex()); [all...] |
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/media/ |
H A D | MediaPlayerGlue.java | 179 if (mThumbsUpAction.getIndex() == PlaybackControlsRow.ThumbsAction.SOLID) { 186 if (mThumbsDownAction.getIndex() == PlaybackControlsRow.ThumbsAction.SOLID) { 363 return mShuffleAction.getIndex() == PlaybackControlsRow.ShuffleAction.ON; 370 return mRepeatAction.getIndex() == PlaybackControlsRow.RepeatAction.ONE; 377 return mRepeatAction.getIndex() == PlaybackControlsRow.RepeatAction.ALL;
|
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/media/ |
H A D | MediaPlayerGlue.java | 179 if (mThumbsUpAction.getIndex() == PlaybackControlsRow.ThumbsAction.SOLID) { 186 if (mThumbsDownAction.getIndex() == PlaybackControlsRow.ThumbsAction.SOLID) { 363 return mShuffleAction.getIndex() == PlaybackControlsRow.ShuffleAction.ON; 370 return mRepeatAction.getIndex() == PlaybackControlsRow.RepeatAction.ONE; 377 return mRepeatAction.getIndex() == PlaybackControlsRow.RepeatAction.ALL;
|
/frameworks/av/include/media/stagefright/ |
H A D | FrameRenderTracker.h | 58 ssize_t getIndex() const { return mIndex; } function in struct:android::FrameRenderTracker::Info
|
/frameworks/base/tools/aapt2/proto/ |
H A D | TableProtoSerializer.cpp | 54 getPbItem()->mutable_str()->set_idx(str->value.getIndex()); 58 getPbItem()->mutable_str()->set_idx(str->value.getIndex()); 62 getPbItem()->mutable_file()->set_path_idx(file->path.getIndex()); 70 getPbItem()->mutable_raw_str()->set_idx(rawStr->value.getIndex()); 185 pbRef->set_symbol_idx(static_cast<uint32_t>(symbolRef.getIndex()));
|
H A D | ProtoHelpers.cpp | 37 outPbSource->set_path_idx(static_cast<uint32_t>(ref.getIndex()));
|
/frameworks/base/core/java/android/webkit/ |
H A D | DateSorter.java | 90 public int getIndex(long time) { method in class:DateSorter 99 * @param index date bin index as returned by getIndex() 109 * @param index date bin index as returned by getIndex()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | TintTypedArray.java | 95 public int getIndex(int at) { method in class:TintTypedArray 96 return mWrapped.getIndex(at);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
H A D | PlaybackControlGlue.java | 662 if (mFastForwardAction.getIndex() != index) { 672 if (mRewindAction.getIndex() != index) { 693 if (mPlayPauseAction.getIndex() != index) {
|
H A D | PlaybackControlSupportGlue.java | 660 if (mFastForwardAction.getIndex() != index) { 670 if (mRewindAction.getIndex() != index) { 691 if (mPlayPauseAction.getIndex() != index) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | UserDetailItemView.java | 69 int attr = a.getIndex(i);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | UserAvatarView.java | 47 int attr = a.getIndex(i);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | UsimPhoneBookManager.java | 107 public int getIndex() { return mIndex; } method in class:UsimPhoneBookManager.File 223 log("EF_EMAIL order in PBR record: " + email.getIndex()); 381 record[mPbrRecords.get(recId).mFileIds.get(USIM_EFEMAIL_TAG).getIndex()];
|
/frameworks/base/services/core/java/com/android/server/audio/ |
H A D | AudioService.java | 1236 int aliasIndex = streamState.getIndex(device); 1311 int oldIndex = mStreamStates[streamType].getIndex(device); 1376 int newIndex = mStreamStates[streamType].getIndex(device); 1401 int index = mStreamStates[streamType].getIndex(device); 1411 final int index = mStreamStates[stream].getIndex(device); 1564 oldIndex = streamState.getIndex(device); 1604 index = mStreamStates[streamType].getIndex(device); 1957 int index = mStreamStates[streamType].getIndex(device); 1987 return (mStreamStates[streamType].getIndex(device) + 5) / 10; 2393 int index = mStreamStates[mStreamVolumeAlias[streamType]].getIndex(devic 4078 public int getIndex(int device) { method in class:AudioService.VolumeStreamState [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | MessagingLinearLayout.java | 65 int attr = a.getIndex(i);
|