/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 | 51 outValue->data = util::hostToDevice32(static_cast<uint32_t>(value.getIndex())); 127 if (value.getIndex() > std::numeric_limits<uint32_t>::max()) { 132 outValue->data = util::hostToDevice32(static_cast<uint32_t>(value.getIndex())); 159 if (value.getIndex() > std::numeric_limits<uint32_t>::max()) { 164 outValue->data = util::hostToDevice32(static_cast<uint32_t>(value.getIndex())); 183 if (path.getIndex() > std::numeric_limits<uint32_t>::max()) { 188 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/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 | 91 public int getIndex(int at) { method in class:TintTypedArray 92 return mWrapped.getIndex(at);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
H A D | PlaybackControlGlue.java | 661 if (mFastForwardAction.getIndex() != index) { 674 if (mRewindAction.getIndex() != index) { 695 if (mPlayPauseAction.getIndex() != index) {
|
H A D | PlaybackControlSupportGlue.java | 663 if (mFastForwardAction.getIndex() != index) { 676 if (mRewindAction.getIndex() != index) { 697 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 | 1233 int aliasIndex = streamState.getIndex(device); 1308 int oldIndex = mStreamStates[streamType].getIndex(device); 1373 int newIndex = mStreamStates[streamType].getIndex(device); 1398 int index = mStreamStates[streamType].getIndex(device); 1408 final int index = mStreamStates[stream].getIndex(device); 1561 oldIndex = streamState.getIndex(device); 1601 index = mStreamStates[streamType].getIndex(device); 1954 int index = mStreamStates[streamType].getIndex(device); 1984 return (mStreamStates[streamType].getIndex(device) + 5) / 10; 2390 int index = mStreamStates[mStreamVolumeAlias[streamType]].getIndex(devic 4075 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);
|
/frameworks/base/graphics/java/android/graphics/pdf/ |
H A D | PdfRenderer.java | 292 public int getIndex() { method in class:PdfRenderer.Page
|
/frameworks/base/include/androidfw/ |
H A D | AssetManager.h | 366 int getIndex(const String8& zip) const;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | PseudoGridView.java | 49 int attr = a.getIndex(i);
|
/frameworks/base/libs/androidfw/ |
H A D | AssetManager.cpp | 2008 int idx = getIndex(path); 2019 int idx = getIndex(path); 2031 int idx = getIndex(path); 2039 int idx = getIndex(path); 2051 int idx = getIndex(path); 2081 int idx = getIndex(path); 2101 int AssetManager::ZipSet::getIndex(const String8& zip) const function in class:AssetManager::ZipSet
|