Home
last modified time | relevance | path

Searched refs:valueAt (Results 1 – 25 of 152) sorted by relevance

1234567

/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DUsageGraphTest.java75 assertThat(localPaths.valueAt(0)).isEqualTo(0); in calculateLocalPaths_singlePath()
77 assertThat(localPaths.valueAt(1)).isEqualTo(100); in calculateLocalPaths_singlePath()
79 assertThat(localPaths.valueAt(2)).isEqualTo(-1); in calculateLocalPaths_singlePath()
99 assertThat(localPaths.valueAt(0)).isEqualTo(0); in calculateLocalPaths_multiplePaths()
101 assertThat(localPaths.valueAt(1)).isEqualTo(50); in calculateLocalPaths_multiplePaths()
103 assertThat(localPaths.valueAt(2)).isEqualTo(-1); in calculateLocalPaths_multiplePaths()
106 assertThat(localPaths.valueAt(3)).isEqualTo(100); in calculateLocalPaths_multiplePaths()
108 assertThat(localPaths.valueAt(4)).isEqualTo(150); in calculateLocalPaths_multiplePaths()
110 assertThat(localPaths.valueAt(5)).isEqualTo(-1); in calculateLocalPaths_multiplePaths()
126 assertThat(localPaths.valueAt(0)).isEqualTo(0); in calculateLocalPaths_similarPointMiddle()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DUsageGraph.java146 paths.put(points.keyAt(i), points.valueAt(i)); in addPathAndUpdate()
189 int y = paths.valueAt(i); in calculateLocalPaths()
207 int lastY = localPaths.valueAt(localPaths.size() - 1); in calculateLocalPaths()
276 mPath.moveTo(localPaths.keyAt(0), localPaths.valueAt(0)); in drawLinePath()
279 int y = localPaths.valueAt(i); in drawLinePath()
282 mPath.moveTo(localPaths.keyAt(i), localPaths.valueAt(i)); in drawLinePath()
294 mPath.moveTo(localPaths.keyAt(0), localPaths.valueAt(0)); in drawFilledPath()
297 int y = localPaths.valueAt(i); in drawFilledPath()
304 mPath.moveTo(localPaths.keyAt(i), localPaths.valueAt(i)); in drawFilledPath()
/packages/apps/Settings/src/com/android/settings/widget/
DUsageGraph.java146 paths.put(points.keyAt(i), points.valueAt(i)); in addPathAndUpdate()
189 int y = paths.valueAt(i); in calculateLocalPaths()
207 int lastY = localPaths.valueAt(localPaths.size() - 1); in calculateLocalPaths()
276 mPath.moveTo(localPaths.keyAt(0), localPaths.valueAt(0)); in drawLinePath()
279 int y = localPaths.valueAt(i); in drawLinePath()
282 mPath.moveTo(localPaths.keyAt(i), localPaths.valueAt(i)); in drawLinePath()
298 mPath.moveTo(localPaths.keyAt(0), localPaths.valueAt(0)); in drawFilledPath()
301 int y = localPaths.valueAt(i); in drawFilledPath()
308 mPath.moveTo(localPaths.keyAt(i), localPaths.valueAt(i)); in drawFilledPath()
/packages/services/Car/car-lib/src/android/car/diagnostic/
DCarDiagnosticEvent.java147 jsonWriter.name("value").value(intValues.valueAt(i)); in writeToJson()
156 jsonWriter.name("value").value(floatValues.valueAt(i)); in writeToJson()
392 int value = intValues.valueAt(i); in equals()
393 int otherValue = otherEvent.intValues.valueAt(i); in equals()
404 float value = floatValues.valueAt(i); in equals()
405 float otherValue = otherEvent.floatValues.valueAt(i); in equals()
421 intValues[i] = this.intValues.valueAt(i); in hashCode()
425 floatValues[i] = this.floatValues.valueAt(i); in hashCode()
497 return intValues.valueAt(index); in getSystemIntegerSensor()
508 return floatValues.valueAt(index); in getSystemFloatSensor()
[all …]
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/model/
DAppPermissionGroup.java305 Permission permission = allPermissions.valueAt(i); in create()
330 Permission permission = allPermissions.valueAt(i); in create()
442 Permission permission = mPermissions.valueAt(i); in isReviewRequired()
458 Permission permission = mPermissions.valueAt(i); in isUserSensitive()
469 Permission permission = mPermissions.valueAt(i); in unsetReviewRequired()
483 Permission permission = mPermissions.valueAt(i); in hasGrantedByDefaultPermission()
649 Permission permission = mPermissions.valueAt(i); in areRuntimePermissionsGranted()
1053 Permission permission = mPermissions.valueAt(i); in setUserFixed()
1103 return mPermissions.valueAt(0).isBackgroundPermission(); in isBackgroundGroup()
1110 Permission permission = mPermissions.valueAt(i); in getFlags()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DProcStatsData.java275 .getMap().valueAt(ipkg); in getProcs()
277 final LongSparseArray<ProcessStats.PackageState> vpkgs = pkgUids.valueAt(iu); in getProcs()
279 final ProcessStats.PackageState st = vpkgs.valueAt(iv); in getProcs()
281 final ProcessState pkgProc = st.mProcesses.valueAt(iproc); in getProcs()
316 .valueAt(ip); in getProcs()
318 LongSparseArray<ProcessStats.PackageState> vpkgs = uids.valueAt(iu); in getProcs()
320 ProcessStats.PackageState ps = vpkgs.valueAt(iv); in getProcs()
322 ServiceState ss = ps.mServices.valueAt(is); in getProcs()
DRunningState.java571 ProcessItem proc = mDependentProcesses.valueAt(i); in buildDependencyChain()
593 ProcessItem proc = mDependentProcesses.valueAt(i); in addDependentProcesses()
1064 ProcessItem proc = mRunningProcesses.valueAt(i); in update()
1106 ProcessItem proc = mServiceProcessesByPid.valueAt(i); in update()
1115 HashMap<String, ProcessItem> procs = mServiceProcessesByName.valueAt(i); in update()
1162 for (ProcessItem pi : mServiceProcessesByName.valueAt(i).values()) { in update()
1268 MergedItem user = mOtherUserMergedItems.valueAt(i); in update()
1289 ProcessItem proc = mRunningProcesses.valueAt(i); in update()
1403 MergedItem user = mOtherUserBackgroundItems.valueAt(i); in update()
/packages/apps/Settings/src/com/android/settings/applications/
DProcStatsData.java275 .getMap().valueAt(ipkg); in getProcs()
277 final LongSparseArray<ProcessStats.PackageState> vpkgs = pkgUids.valueAt(iu); in getProcs()
279 final ProcessStats.PackageState st = vpkgs.valueAt(iv); in getProcs()
281 final ProcessState pkgProc = st.mProcesses.valueAt(iproc); in getProcs()
316 .valueAt(ip); in getProcs()
318 LongSparseArray<ProcessStats.PackageState> vpkgs = uids.valueAt(iu); in getProcs()
320 ProcessStats.PackageState ps = vpkgs.valueAt(iv); in getProcs()
322 ServiceState ss = ps.mServices.valueAt(is); in getProcs()
DRunningState.java571 ProcessItem proc = mDependentProcesses.valueAt(i); in buildDependencyChain()
593 ProcessItem proc = mDependentProcesses.valueAt(i); in addDependentProcesses()
1064 ProcessItem proc = mRunningProcesses.valueAt(i); in update()
1106 ProcessItem proc = mServiceProcessesByPid.valueAt(i); in update()
1115 HashMap<String, ProcessItem> procs = mServiceProcessesByName.valueAt(i); in update()
1162 for (ProcessItem pi : mServiceProcessesByName.valueAt(i).values()) { in update()
1268 MergedItem user = mOtherUserMergedItems.valueAt(i); in update()
1289 ProcessItem proc = mRunningProcesses.valueAt(i); in update()
1403 MergedItem user = mOtherUserBackgroundItems.valueAt(i); in update()
/packages/services/Car/service/src/com/android/car/audio/
DCarVolumeGroup.java115 int value = mContextToBus.valueAt(i); in getContextsForBus()
210 CarAudioDeviceInfo info = mBusToCarAudioDeviceInfo.valueAt(i); in setCurrentGainIndex()
264 ContextNumber.toString(mContextToBus.keyAt(i)), mContextToBus.valueAt(i)); in dump()
267 mBusToCarAudioDeviceInfo.valueAt(i).dump(indent, writer); in dump()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DConversationParticipantsData.java68 final ParticipantData participant = mConversationParticipantsMap.valueAt(i); in getParticipantListExcludingSelf()
82 final ParticipantData participant = mConversationParticipantsMap.valueAt(i); in getOtherParticipant()
116 return mConversationParticipantsMap.valueAt(mCurrentIndex); in iterator()
/packages/apps/Camera2/src/com/android/camera/ui/focus/
DAutoFocusRing.java61 .lerp(0, 255, mEnterOpacityCurve.valueAt(rFade)); in draw()
65 .lerp(255, 0, mExitOpacityCurve.valueAt(rFade)); in draw()
70 .lerp(255, 0, mExitOpacityCurve.valueAt(rFade)); in draw()
DManualFocusRing.java56 ringAlpha = (int) InterpolateUtils.lerp(255, 0, mExitOpacityCurve.valueAt(rFade)); in draw()
60 ringAlpha = (int) InterpolateUtils.lerp(255, 0, mExitOpacityCurve.valueAt(rFade)); in draw()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapService.java171 mMasInstances.valueAt(i).shutdown(); in closeService()
215 mMasInstances.valueAt(i).startSocketListeners(); in startSocketListeners()
255 if (mMasInstances.valueAt(i).startObexServerSession(mBluetoothMnsObexClient)) { in startObexServerSessions()
261 mMasInstances.valueAt(i).restartObexServerSession(); in startObexServerSessions()
265 mMasInstances.valueAt(i).restartObexServerSession(); in startObexServerSessions()
299 BluetoothMapMasInstance masInst = mMasInstances.valueAt(i); in stopObexServerSessions()
317 mMasInstances.valueAt(i).restartObexServerSession(); in stopObexServerSessions()
805 BluetoothMapMasInstance masInst = mMasInstances.valueAt(i); in updateMasInstancesHandler()
1129 mMasInstances.valueAt(i) in onReceive()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/
DAccountPreferenceController.java232 ProfileData profileData = mProfiles.valueAt(i); in onPreferenceClick()
270 mProfiles.valueAt(i).pendingRemoval = true; in updateUi()
290 updateAccountTypes(mProfiles.valueAt(i)); in updateUi()
397 final ProfileData data = mProfiles.valueAt(i); in cleanUpPreferences()
408 AuthenticatorHelper authenticatorHelper = mProfiles.valueAt(i).authenticatorHelper; in listenToAccountUpdates()
418 AuthenticatorHelper authenticatorHelper = mProfiles.valueAt(i).authenticatorHelper; in stopListeningToAccountUpdates()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountPreferenceController.java232 ProfileData profileData = mProfiles.valueAt(i); in onPreferenceClick()
270 mProfiles.valueAt(i).pendingRemoval = true; in updateUi()
290 updateAccountTypes(mProfiles.valueAt(i)); in updateUi()
397 final ProfileData data = mProfiles.valueAt(i); in cleanUpPreferences()
408 AuthenticatorHelper authenticatorHelper = mProfiles.valueAt(i).authenticatorHelper; in listenToAccountUpdates()
418 AuthenticatorHelper authenticatorHelper = mProfiles.valueAt(i).authenticatorHelper; in stopListeningToAccountUpdates()
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DMultiSelectActionModeCallback.java124 mListener.onActionBarAddContact(mSelectedConversations.valueAt(0)); in onActionItemClicked()
128 mListener.onActionBarBlock(mSelectedConversations.valueAt(0)); in onActionItemClicked()
173 final SelectedConversation conversation = mSelectedConversations.valueAt(0); in updateActionIconsVisiblity()
/packages/modules/ExtServices/src/android/ext/services/resolver/
DLRResolverRankerService.java146 sum += weight * target.valueAt(i); in predict()
162 LEARNING_RATE * error * target.valueAt(i); in update()
176 editor.putFloat(mFeatureWeights.keyAt(i), mFeatureWeights.valueAt(i)); in commitUpdate()
/packages/services/Car/service/src/com/android/car/
DSparseArrayStream.java32 return IntStream.range(0, array.size()).mapToObj(array::valueAt); in valueStream()
37 i -> new Pair<>(array.keyAt(i), array.valueAt(i))); in pairStream()
DSystemActivityMonitoringService.java151 TopTaskInfoContainer info = mTopTasks.valueAt(i); in dump()
181 TopTaskInfoContainer topTask = mTopTasks.valueAt(i); in getTopTasks()
309 TopTaskInfoContainer topTask = topTasks.valueAt(i); in updateTasks()
317 TopTaskInfoContainer topTask = topTasks.valueAt(i); in updateTasks()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DSwipeDirectionPreferenceController.java68 int valueAt = Integer.parseInt(values[i]); in getSummary() local
69 if (value == valueAt) { in getSummary()
/packages/apps/Settings/src/com/android/settings/notification/
DSwipeDirectionPreferenceController.java68 int valueAt = Integer.parseInt(values[i]); in getSummary() local
69 if (value == valueAt) { in getSummary()
/packages/apps/Camera2/src/com/android/camera/burst/
DRingBuffer.java76 allImages.add(mImages.valueAt(i)); in getAndRemoveAllImages()
88 mImages.valueAt(i).close(); in close()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DBgDataModel.java162 writer.println(prefix + '\t' + folders.valueAt(i).toString()); in dump()
166 writer.println(prefix + '\t' + itemsIdMap.valueAt(i).toString()); in dump()
192 FolderInfo fInfo = folders.valueAt(i); in dumpProto()
236 targetList.addAll(workspaces.valueAt(i).getFlattenedList()); in dumpProto()
/packages/apps/Settings/src/com/android/settings/applications/managedomainurls/
DDomainAppPreference.java79 return getContext().getString(R.string.domain_urls_summary_one, result.valueAt(0)); in getDomainsSummary()
81 return getContext().getString(R.string.domain_urls_summary_some, result.valueAt(0)); in getDomainsSummary()

1234567