Searched refs:valueAt (Results 26 - 50 of 255) sorted by relevance

1234567891011

/frameworks/base/core/java/android/util/
H A DSparseLongArray.java40 * {@link #keyAt(int)} and {@link #valueAt(int)}. Iterating over the keys using
43 * order in the case of <code>valueAt(int)</code>.</p>
178 * <code>valueAt(0)</code> will return the value associated with the
179 * smallest key and <code>valueAt(size()-1)</code> will return the value
182 public long valueAt(int index) { method in class:SparseLongArray
196 * Returns an index for which {@link #valueAt} would return the
253 long value = valueAt(i);
H A DSparseBooleanArray.java41 * {@link #keyAt(int)} and {@link #valueAt(int)}. Iterating over the keys using
44 * order in the case of <code>valueAt(int)</code>.</p>
175 * <code>valueAt(0)</code> will return the value associated with the
176 * smallest key and <code>valueAt(size()-1)</code> will return the value
179 public boolean valueAt(int index) { method in class:SparseBooleanArray
198 * Returns an index for which {@link #valueAt} would return the
255 boolean value = valueAt(i);
/frameworks/av/media/libstagefright/timedtext/
H A DTimedTextSRTSource.cpp224 mTextVector.valueAt(mTextVector.size() - 1).endTimeUs;
254 const TextInfo &info = mTextVector.valueAt(mIndex);
285 int64_t endTimeUs = mTextVector.valueAt(index).endTimeUs;
287 mTextVector.valueAt(index - 1).endTimeUs : 0;
/frameworks/av/media/libstagefright/wifi-display/
H A DParameters.cpp88 *value = mDict.valueAt(index);
/frameworks/base/services/core/java/com/android/server/am/
H A DAppBindRecord.java46 ConnectionRecord c = connections.valueAt(i);
H A DProcessRecord.java220 pw.print(pkgDeps.valueAt(i));
350 pw.print(prefix); pw.print(" - "); pw.println(services.valueAt(i));
357 pw.print(prefix); pw.print(" - "); pw.println(executingServices.valueAt(i));
363 pw.print(prefix); pw.print(" - "); pw.println(connections.valueAt(i));
370 pw.print(prefix); pw.print(" -> "); pw.println(pubProviders.valueAt(i));
385 pw.print(prefix); pw.print(" - "); pw.println(receivers.valueAt(i));
425 ProcessStats.ProcessStateHolder holder = pkgList.valueAt(i);
450 ProcessStats.ProcessStateHolder holder = pkgList.valueAt(i);
492 ConnectionRecord cr = connections.valueAt(i);
659 ProcessStats.ProcessStateHolder holder = pkgList.valueAt(
[all...]
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityCache.java196 AccessibilityWindowInfo window = mWindowCache.valueAt(i);
202 AccessibilityWindowInfo window = sortedWindows.valueAt(i);
285 AccessibilityWindowInfo window = mWindowCache.valueAt(i);
311 AccessibilityNodeInfo info = nodes.valueAt(i);
375 AccessibilityWindowInfo window = mWindowCache.valueAt(i);
402 LongSparseArray<AccessibilityNodeInfo> nodes = mNodeCache.valueAt(i);
412 AccessibilityNodeInfo node = nodes.valueAt(j);
/frameworks/base/services/usage/java/com/android/server/usage/
H A DUsageStatsDatabase.java88 files.valueAt(i).delete();
91 // Remove in a separate loop because any accesses (valueAt)
123 if (files.valueAt(i).getBaseFile().getPath().endsWith(CHECKED_IN_SUFFIX)) {
136 UsageStatsXml.read(files.valueAt(i), stats);
149 final AtomicFile file = files.valueAt(i);
239 final AtomicFile file = files.valueAt(i);
286 final AtomicFile f = mSortedStatFiles[intervalType].valueAt(fileCount - 1);
385 final AtomicFile f = intervalStats.valueAt(i);
H A DUserUsageStatsService.java119 UsageStats pkgStats = stat.packageStats.valueAt(i);
189 accResult.add(new UsageStats(stats.packageStats.valueAt(i)));
206 accResult.add(new ConfigurationStats(stats.configurations.valueAt(i)));
312 final UsageEvents.Event event = stats.events.valueAt(i);
357 UsageStats pkgStats = stat.packageStats.valueAt(i);
376 String name = continuePreviousDay.valueAt(i);
500 final UsageStats usageStats = pkgStats.valueAt(i);
514 final ConfigurationStats config = configStats.valueAt(i);
528 final UsageEvents.Event event = events.valueAt(i);
H A DUsageStatsService.java161 deleteRecursively(new File(mUsageStatsDir, toDelete.valueAt(i)));
201 final UserUsageStatsService service = mUserState.valueAt(i);
318 UserUsageStatsService service = mUserState.valueAt(i);
340 mUserState.valueAt(i).checkin(idpw);
342 mUserState.valueAt(i).dump(idpw);
/frameworks/av/services/soundtrigger/
H A DSoundTriggerHwService.cpp101 sound_trigger_hw_device_close(mModules.valueAt(i)->hwDevice());
120 modules[i] = mModules.valueAt(i)->descriptor();
143 sp<Module> module = mModules.valueAt(index);
160 mModules.valueAt(i)->setCaptureState_l(active);
279 if (mModules.valueAt(i).get() == module) {
280 strongModule = mModules.valueAt(i);
333 if (mModules.valueAt(i).get() == module) {
334 strongModule = mModules.valueAt(i);
370 if (mModules.valueAt(i).get() == module) {
371 strongModule = mModules.valueAt(
[all...]
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
H A DArrayMapTests.java139 Object gotValue = array.valueAt(i);
225 Object entry = array.valueAt(i);
234 Object realEntry = array.valueAt(index);
260 realValue = array.valueAt(index);
288 Object realValue = array.valueAt(index);
308 Log.e("test", " " + array.keyAt(i) + " -> " + array.valueAt(i));
319 Log.e("test", " " + array.valueAt(i));
327 Log.e("test", " " + map1.keyAt(i) + " -> " + map1.valueAt(i));
331 Log.e("test", " " + map2.keyAt(i) + " -> " + map2.valueAt(i));
/frameworks/native/libs/input/
H A DKeyLayoutMap.cpp111 return &mKeysByUsageCode.valueAt(index);
117 return &mKeysByScanCode.valueAt(index);
126 if (mKeysByScanCode.valueAt(i).keyCode == keyCode) {
142 *outAxisInfo = mAxes.valueAt(index);
157 if (mLedsByScanCode.valueAt(i).ledCode == ledCode) {
174 if (mLedsByUsageCode.valueAt(i).ledCode == ledCode) {
H A DKeyCharacterMap.cpp98 mKeys.add(other.mKeys.keyAt(i), new Key(*other.mKeys.valueAt(i)));
177 Key* key = overlay->mKeys.valueAt(i);
180 delete map->mKeys.valueAt(oldIndex);
189 overlay->mKeysByScanCode.valueAt(i));
194 overlay->mKeysByUsageCode.valueAt(i));
339 *outKeyCode = mKeysByUsageCode.valueAt(index);
350 *outKeyCode = mKeysByScanCode.valueAt(index);
365 *outKey = mKeys.valueAt(index);
425 const Key* key = mKeys.valueAt(i);
617 const Key* key = mKeys.valueAt(
[all...]
/frameworks/av/media/libmedia/
H A DAudioParameter.cpp81 str += mParameters.valueAt(i);
176 value = mParameters.valueAt(index);
H A DMediaCodecInfo.cpp128 return mCaps.valueAt(ix);
170 mCaps.valueAt(i)->writeToParcel(parcel);
201 mCurrentCaps = mCaps.valueAt(ix);
/frameworks/base/libs/hwui/
H A DProgram.cpp115 return mAttributes.valueAt(index);
129 return mUniforms.valueAt(index);
/frameworks/native/services/surfaceflinger/
H A DClient.cpp46 sp<Layer> layer(mLayers.valueAt(i).promote());
69 if (mLayers.valueAt(i) == layer) {
/frameworks/av/camera/
H A DCameraParameters2.cpp45 v = mMap.valueAt(i);
130 return mMap.valueAt(idx).string();
358 v = mMap.valueAt(i);
374 v = mMap.valueAt(i);
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DSession.cpp55 const KeyMap::value_type& key = keys.valueAt(i);
/frameworks/base/core/java/android/webkit/
H A DWebViewDelegate.java133 final String name = packageIdentifiers.valueAt(i);
/frameworks/native/opengl/libagl/
H A DTextureObjectManager.cpp274 sp<EGLTextureObject> result(mTextures.valueAt(index));
287 const sp<EGLTextureObject>& old = mTextures.valueAt(index);
320 return mTextures.valueAt(index);
/frameworks/base/tools/aapt/
H A DResource.cpp111 file = group->getFiles().valueAt(mGroupPos++);
115 mGroup = group = mSet->valueAt(mSetPos++);
119 file = group->getFiles().valueAt(0);
220 grp->getFiles().valueAt(0)->getPrintableSource().string());
223 sp<AaptFile> file = grp->getFiles().valueAt(0);
389 const sp<AaptGroup>& group = groups.valueAt(i);
398 String8 resType = files.valueAt(0)->getResourceType();
409 sp<ResourceTypeSet> set = resources->valueAt(index);
416 sp<AaptGroup> existingGroup = set->valueAt(index);
421 files.valueAt(
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DProcessStats.java264 final SparseArray<SparseArray<PackageState>> uids = pkgMap.valueAt(ip);
267 final SparseArray<PackageState> versions = uids.valueAt(iu);
270 final PackageState otherState = versions.valueAt(iv);
274 ProcessState otherProc = otherState.mProcesses.valueAt(iproc);
293 ServiceState otherSvc = otherState.mServices.valueAt(isvc);
306 SparseArray<ProcessState> uids = procMap.valueAt(ip);
309 ProcessState otherProc = uids.valueAt(iu);
732 SparseArray<ProcessState> uids = procMap.valueAt(iproc);
734 final ProcessState proc = uids.valueAt(iu);
1315 final SparseArray<ProcessState> uids = procMap.valueAt(i
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DBluetoothControllerImpl.java125 final DeviceInfo info = mDeviceInfo.valueAt(i);
201 final DeviceInfo info = mDeviceInfo.valueAt(i);
332 int state = mProfiles.valueAt(j).getConnectionState(device);
357 if (info.profileStates.valueAt(i) > info.connectionStateIndex) {
358 info.connectionStateIndex = info.profileStates.valueAt(i);
380 DeviceInfo info = mDeviceInfo.valueAt(i);

Completed in 1407 milliseconds

1234567891011