Home
last modified time | relevance | path

Searched refs:keyAt (Results 1 – 25 of 52) sorted by relevance

123

/packages/apps/Nfc/src/com/android/nfc/
DForegroundUtils.java108 uids.add(mForegroundUidPids.keyAt(i)); in getForegroundUids()
165 int foregroundUid = mForegroundUidPids.keyAt(i); in onForegroundActivitiesChanged()
172 Integer.toString(foregroundPids.keyAt(j))); in onForegroundActivitiesChanged()
/packages/inputmethods/LatinIME/tools/dicttool/compat/android/util/
DSparseIntArray.java54 public int keyAt(final int index) { in keyAt() method in SparseIntArray
55 return mArray.keyAt(index); in keyAt()
DSparseArray.java75 public int keyAt(final int index) { in keyAt() method in SparseArray
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryActiveView.java57 drawColor(canvas, array.keyAt(i), array.keyAt(i + 1), array.valueAt(i), period); in onDraw()
DBatteryFlagParser.java89 ret.put(mData.keyAt(i), getColor(mData.valueAt(i))); in getColorArray()
DBatteryCellParser.java93 ret.put(mData.keyAt(i), getColor(mData.valueAt(i))); in getColorArray()
/packages/apps/Dialer/src/com/android/dialer/calllog/
DGroupingListAdapter.java125 if (lastIndex < 0 || cursorPosition <= mGroupMetadata.keyAt(lastIndex)) { in addGroup()
159 int cursorPosition = mGroupMetadata.keyAt(listPosition); in getItem()
/packages/services/Car/car-lib/src/android/car/hardware/
DCarPropertyConfig.java69 areaIds[i] = mSupportedAreas.keyAt(i); in getAreaIds()
83 return mSupportedAreas.keyAt(0); in getFirstAndOnlyAreaId()
126 dest.writeInt(mSupportedAreas.keyAt(i)); in writeToParcel()
/packages/apps/TV/tests/unit/src/com/android/tv/data/
DChannelDataManagerTest.java422 channelIds.add((long) mChannelInfoList.keyAt(i)); in update()
507 return mChannelInfoList.get(mChannelInfoList.keyAt(position)); in get()
514 public long keyAt(int position) { in keyAt() method in ChannelDataManagerTest.FakeContentProvider
515 return mChannelInfoList.keyAt(position); in keyAt()
557 return mContentProvider.keyAt(mPosition); in getLong()
/packages/apps/Settings/src/com/android/settings/notification/
DZenModeScheduleDaysSelection.java86 final int day = mDays.keyAt(i); in getDays()
92 rta[i] = rt.keyAt(i); in getDays()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DAidRoutingManager.java171 int route = mAidRoutingTable.keyAt(i); in configureRouting()
224 … pw.println(" Routed to 0x" + Integer.toHexString(mAidRoutingTable.keyAt(i)) + ":"); in dump()
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DPduPersister.java641 ENCODED_STRING_COLUMN_INDEX_MAP.keyAt(i)); in loadHeadersFromCursor()
646 TEXT_STRING_COLUMN_INDEX_MAP.keyAt(i)); in loadHeadersFromCursor()
651 OCTET_COLUMN_INDEX_MAP.keyAt(i)); in loadHeadersFromCursor()
656 LONG_COLUMN_INDEX_MAP.keyAt(i)); in loadHeadersFromCursor()
1353 final int field = ENCODED_STRING_COLUMN_NAME_MAP.keyAt(i); in persist()
1364 final byte[] text = header.getTextString(TEXT_STRING_COLUMN_NAME_MAP.keyAt(i)); in persist()
1371 final int b = header.getOctet(OCTET_COLUMN_NAME_MAP.keyAt(i)); in persist()
1378 final long l = header.getLongInteger(LONG_COLUMN_NAME_MAP.keyAt(i)); in persist()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DFragmentStatePagerAdapter2.java166 final int pos = mFragments.keyAt(i); in saveState()
219 final int oldPos = mFragments.keyAt(i); in notifyDataSetChanged()
DSparseLongArray.java147 public int keyAt(int index) { in keyAt() method in SparseLongArray
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadNotifier.java177 final String tag = clustered.keyAt(i); in updateWithLocked()
366 final String tag = mActiveNotifs.keyAt(i); in updateWithLocked()
397 final long id = mDownloadSpeed.keyAt(i); in dumpSpeeds()
/packages/apps/Settings/src/com/android/settings/applications/
DProcStatsData.java324 uids.keyAt(iu)); in getProcs()
327 + "/" + ss.getName() + "/" + uids.keyAt(iu) in getProcs()
332 + uids.keyAt(iu) + " for service " + ss.getName()); in getProcs()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DParcelableSparseArray.java31 dest.writeInt(keyAt(i)); in writeToParcel()
/packages/services/Car/vehicle_network_service/
DVehicleNetworkService.cpp239 msg.appendFormat("prop 0x%x, pids:", mPropertyToClientsMap.keyAt(i)); in dump()
249 msg.appendFormat("prop 0x%x, sample rate %f Hz, zones 0x%x\n", mSubscriptionInfos.keyAt(i), in dump()
254 msg.appendFormat("prop 0x%x: %d\n", mEventsCount.keyAt(i), in dump()
317 int32_t property = mPropertyToClientsMap.keyAt(i); in binderDied()
/packages/apps/Camera2/src/com/android/camera/app/
DModuleManagerImpl.java84 modeIndexList.add(mRegisteredModuleAgents.keyAt(i)); in getSupportedModeIndexList()
/packages/services/Car/service/src/com/android/car/
DCarSensorService.java781 sensors[i] = mActiveSensors.keyAt(i); in getSensorArray()
948 int sensor = mSensorRecords.keyAt(i); in dump()
987 int sensor = mSensorListeners.keyAt(i); in dump()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DRecycleBitmapPool.java121 int k = mRecycled8888.keyAt(i); in getRecycledBitmap()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyboardIconsSet.java114 final int attrId = ATTR_ID_TO_ICON_ID.keyAt(index); in loadIcons()
/packages/apps/Terminal/src/com/android/terminal/
DTerminalActivity.java196 final int key = mService.getTerminals().keyAt(index); in onOptionsItemSelected()
/packages/apps/Settings/src/com/android/settings/
DTrustedCredentialsSettings.java352 return new UserHandle(mData.mCertHoldersByUserId.keyAt(groupPosition)); in getGroup()
364 return mData.mCertHoldersByUserId.keyAt(groupPosition); in getUserIdByGroup()
757 mCertHoldersByUserId.put(certHolders.keyAt(i), certHolders.valueAt(i)); in onPostExecute()
/packages/services/Car/service/src/com/android/car/hal/
DSensorHalService.java166 supportedSensors[i] = mSensorToHalProperty.keyAt(i); in getSupportedSensors()

123