Home
last modified time | relevance | path

Searched defs:index (Results 1 – 25 of 1346) sorted by relevance

12345678910>>...54

/frameworks/base/services/permission/java/com/android/server/permission/access/collection/
DIntMap.kt24 forEachIndexed { index, key, value -> in <lambda>() method
33 forEachIndexed { index, key, value -> in anyIndexed() method
43 forEachValueIndexed { index, value -> in copy() method
49 forEachIndexed { index, key, value -> in firstNotNullOfOrNullIndexed() method
56 for (index in 0 until size) { in forEachIndexed() method
62 for (index in 0 until size) { in forEachKeyIndexed() method
68 for (index in lastIndex downTo 0) { in forEachReversedIndexed() method
74 for (index in 0 until size) { in forEachValueIndexed() method
87 val index = indexOfKey(key) in getWithDefault() constant
100 forEachIndexed { index, key, value -> in noneIndexed() method
[all …]
DIntBooleanMap.kt24 forEachIndexed { index, key, value -> in <lambda>() method
33 forEachIndexed { index, key, value -> in anyIndexed() method
45 forEachIndexed { index, key, value -> in copy() method
52 for (index in 0 until size) { in forEachIndexed() method
58 for (index in 0 until size) { in forEachKeyIndexed() method
64 for (index in lastIndex downTo 0) { in forEachReversedIndexed() method
70 for (index in 0 until size) { in forEachValueIndexed() method
76 val index = indexOfKey(key) in getOrPut() constant
99 forEachIndexed { index, key, value -> in noneIndexed() method
109 val index = indexOfKey(key) in putWithDefault() constant
[all …]
DIntLongMap.kt24 forEachIndexed { index, key, value -> in <lambda>() method
33 forEachIndexed { index, key, value -> in anyIndexed() method
45 forEachIndexed { index, key, value -> in copy() method
52 for (index in 0 until size) { in forEachIndexed() method
58 for (index in 0 until size) { in forEachKeyIndexed() method
64 for (index in lastIndex downTo 0) { in forEachReversedIndexed() method
70 for (index in 0 until size) { in forEachValueIndexed() method
76 val index = indexOfKey(key) in getOrPut() constant
99 forEachIndexed { index, key, value -> in noneIndexed() method
109 val index = indexOfKey(key) in putWithDefault() constant
[all …]
DIndexedMap.kt24 forEachIndexed { index, key, value -> in <lambda>() method
33 forEachIndexed { index, key, value -> in anyIndexed() method
43 forEachValueIndexed { index, value -> in copy() method
49 forEachIndexed { index, key, value -> in firstNotNullOfOrNullIndexed() method
56 for (index in 0 until size) { in forEachIndexed() method
62 for (index in 0 until size) { in forEachKeyIndexed() method
68 for (index in lastIndex downTo 0) { in forEachReversedIndexed() method
74 for (index in 0 until size) { in forEachValueIndexed() method
87 val index = indexOfKey(key) in getWithDefault() constant
100 forEachIndexed { index, key, value -> in noneIndexed() method
[all …]
DList.kt20 forEachIndexed { index, element -> in <lambda>() method
29 forEachIndexed { index, element -> in anyIndexed() method
38 for (index in indices) { in forEachIndexed() method
44 for (index in lastIndex downTo 0) { in forEachReversedIndexed() method
50 forEachIndexed { index, element -> in noneIndexed() method
60 forEachReversedIndexed { index, element -> in removeAllIndexed() method
71 forEachReversedIndexed { index, element -> in retainAllIndexed() method
DIndexedSet.kt24 forEachIndexed { index, element -> in <lambda>() method
33 forEachIndexed { index, element -> in anyIndexed() method
48 for (index in indices) { in copy() method
54 for (index in lastIndex downTo 0) { in forEachReversedIndexed() method
72 forEachIndexed { index, element -> in noneIndexed() method
91 forEachReversedIndexed { index, element -> in removeAllIndexed() method
102 forEachReversedIndexed { index, element -> in retainAllIndexed() method
DIndexedList.kt22 forEachIndexed { index, element -> in <lambda>() method
31 forEachIndexed { index, element -> in anyIndexed() method
43 for (index in indices) { in copy() method
49 for (index in lastIndex downTo 0) { in forEachReversedIndexed() method
64 forEachIndexed { index, element -> in noneIndexed() method
83 forEachReversedIndexed { index, element -> in removeAllIndexed() method
94 forEachReversedIndexed { index, element -> in retainAllIndexed() method
/frameworks/layoutlib/bridge/src/android/content/res/
DBridgeTypedArray.java109 public void bridgeSetValue(int index, String name, ResourceNamespace namespace, int resourceId, in bridgeSetValue()
158 int index = 1; in sealArray() local
198 public CharSequence getText(int index) { in getText()
231 public String getString(int index) { in getString()
251 public boolean getBoolean(int index, boolean defValue) { in getBoolean()
266 public int getInt(int index, int defValue) { in getInt()
292 public float getFloat(int index, float defValue) { in getFloat()
320 public int getColor(int index, int defValue) { in getColor()
339 public ColorStateList getColorStateList(int index) { in getColorStateList()
348 public ComplexColor getComplexColor(int index) { in getComplexColor()
[all …]
/frameworks/libs/modules-utils/java/com/android/modules/utils/
DTypedXmlPullParser.java51 final int index = getAttributeIndex(namespace, name); in getAttributeIndexOrThrow() local
63 @NonNull byte[] getAttributeBytesHex(int index) throws XmlPullParserException; in getAttributeBytesHex()
69 @NonNull byte[] getAttributeBytesBase64(int index) throws XmlPullParserException; in getAttributeBytesBase64()
75 int getAttributeInt(int index) throws XmlPullParserException; in getAttributeInt()
81 int getAttributeIntHex(int index) throws XmlPullParserException; in getAttributeIntHex()
87 long getAttributeLong(int index) throws XmlPullParserException; in getAttributeLong()
93 long getAttributeLongHex(int index) throws XmlPullParserException; in getAttributeLongHex()
99 float getAttributeFloat(int index) throws XmlPullParserException; in getAttributeFloat()
105 double getAttributeDouble(int index) throws XmlPullParserException; in getAttributeDouble()
111 boolean getAttributeBoolean(int index) throws XmlPullParserException; in getAttributeBoolean()
[all …]
DBinaryXmlPullParser.java443 final int index = getAttributeIndex(namespace, name); in getAttributeValue() local
452 public String getAttributeValue(int index) { in getAttributeValue()
457 public byte[] getAttributeBytesHex(int index) throws XmlPullParserException { in getAttributeBytesHex()
462 public byte[] getAttributeBytesBase64(int index) throws XmlPullParserException { in getAttributeBytesBase64()
467 public int getAttributeInt(int index) throws XmlPullParserException { in getAttributeInt()
472 public int getAttributeIntHex(int index) throws XmlPullParserException { in getAttributeIntHex()
477 public long getAttributeLong(int index) throws XmlPullParserException { in getAttributeLong()
482 public long getAttributeLongHex(int index) throws XmlPullParserException { in getAttributeLongHex()
487 public float getAttributeFloat(int index) throws XmlPullParserException { in getAttributeFloat()
492 public double getAttributeDouble(int index) throws XmlPullParserException { in getAttributeDouble()
[all …]
/frameworks/base/core/java/android/content/res/
DTypedArray.java223 public CharSequence getText(@StyleableRes int index) { in getText()
260 public String getString(@StyleableRes int index) { in getString()
299 public String getNonResourceString(@StyleableRes int index) { in getNonResourceString()
330 public String getNonConfigurationString(@StyleableRes int index, in getNonConfigurationString()
378 public boolean getBoolean(@StyleableRes int index, boolean defValue) { in getBoolean()
417 public int getInt(@StyleableRes int index, int defValue) { in getInt()
454 public float getFloat(@StyleableRes int index, float defValue) { in getFloat()
503 public int getColor(@StyleableRes int index, @ColorInt int defValue) { in getColor()
556 public ComplexColor getComplexColor(@StyleableRes int index) { in getComplexColor()
592 public ColorStateList getColorStateList(@StyleableRes int index) { in getColorStateList()
[all …]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationListenerServiceTest.java322 private int getVisibilityOverride(int index) { in getVisibilityOverride()
330 private boolean isIntercepted(int index) { in isIntercepted()
334 private int getSuppressedVisualEffects(int index) { in getSuppressedVisualEffects()
338 private int getImportance(int index) { in getImportance()
346 private NotificationChannel getChannel(String key, int index) { in getChannel()
350 private boolean getShowBadge(int index) { in getShowBadge()
354 private int getUserSentiment(int index) { in getUserSentiment()
366 private boolean getHidden(int index) { in getHidden()
370 private long lastAudiblyAlerted(int index) { in lastAudiblyAlerted()
374 private boolean getNoisy(int index) { in getNoisy()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DChildHelper.java96 void addView(View child, int index, boolean hidden) { in addView()
113 private int getOffset(int index) { in getOffset()
140 int index = mCallback.indexOfChild(view); in removeView() local
159 void removeViewAt(int index) { in removeViewAt()
179 View getChildAt(int index) { in getChildAt()
227 void attachViewToParent(View child, int index, ViewGroup.LayoutParams layoutParams, in attachViewToParent()
272 View getUnfilteredChildAt(int index) { in getUnfilteredChildAt()
281 void detachViewFromParent(int index) { in detachViewFromParent()
297 final int index = mCallback.indexOfChild(child); in indexOfChild() local
373 final int index = mCallback.indexOfChild(view); in removeViewIfHidden() local
[all …]
/frameworks/base/core/java/android/os/health/
DHealthStats.java215 final int index = getIndex(mTimerKeys, key); in getTimer() local
230 final int index = getIndex(mTimerKeys, key); in getTimerCount() local
245 final int index = getIndex(mTimerKeys, key); in getTimerTime() local
269 public int getTimerKeyAt(int index) { in getTimerKeyAt()
287 final int index = getIndex(mMeasurementKeys, key); in getMeasurement() local
311 public int getMeasurementKeyAt(int index) { in getMeasurementKeyAt()
329 final int index = getIndex(mStatsKeys, key); in getStats() local
353 public int getStatsKeyAt(int index) { in getStatsKeyAt()
371 final int index = getIndex(mTimersKeys, key); in getTimers() local
395 public int getTimersKeyAt(int index) { in getTimersKeyAt()
[all …]
/frameworks/base/core/java/android/util/
DAttributeSet.java84 default String getAttributeNamespace (int index) { in getAttributeNamespace()
100 public String getAttributeName(int index); in getAttributeName()
110 public String getAttributeValue(int index); in getAttributeValue()
148 public int getAttributeNameResource(int index); in getAttributeNameResource()
243 public int getAttributeListValue(int index, String[] options, int defaultValue); in getAttributeListValue()
253 public boolean getAttributeBooleanValue(int index, boolean defaultValue); in getAttributeBooleanValue()
269 public int getAttributeResourceValue(int index, int defaultValue); in getAttributeResourceValue()
279 public int getAttributeIntValue(int index, int defaultValue); in getAttributeIntValue()
291 public int getAttributeUnsignedIntValue(int index, int defaultValue); in getAttributeUnsignedIntValue()
301 public float getAttributeFloatValue(int index, float defaultValue); in getAttributeFloatValue()
DXmlPullAttributes.java38 public String getAttributeNamespace (int index) { in getAttributeNamespace()
42 public String getAttributeName(int index) { in getAttributeName()
46 public String getAttributeValue(int index) { in getAttributeValue()
58 public int getAttributeNameResource(int index) { in getAttributeNameResource()
101 public int getAttributeListValue(int index, in getAttributeListValue()
107 public boolean getAttributeBooleanValue(int index, boolean defaultValue) { in getAttributeBooleanValue()
112 public int getAttributeResourceValue(int index, int defaultValue) { in getAttributeResourceValue()
117 public int getAttributeIntValue(int index, int defaultValue) { in getAttributeIntValue()
122 public int getAttributeUnsignedIntValue(int index, int defaultValue) { in getAttributeUnsignedIntValue()
127 public float getAttributeFloatValue(int index, float defaultValue) { in getAttributeFloatValue()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DNopAttributeSet.java35 public String getAttributeNamespace(int index) { in getAttributeNamespace()
40 public String getAttributeName(int index) { in getAttributeName()
45 public String getAttributeValue(int index) { in getAttributeValue()
60 public int getAttributeNameResource(int index) { in getAttributeNameResource()
99 public int getAttributeListValue(int index, String[] options, int defaultValue) { in getAttributeListValue()
104 public boolean getAttributeBooleanValue(int index, boolean defaultValue) { in getAttributeBooleanValue()
109 public int getAttributeResourceValue(int index, int defaultValue) { in getAttributeResourceValue()
114 public int getAttributeIntValue(int index, int defaultValue) { in getAttributeIntValue()
119 public int getAttributeUnsignedIntValue(int index, int defaultValue) { in getAttributeUnsignedIntValue()
124 public float getAttributeFloatValue(int index, float defaultValue) { in getAttributeFloatValue()
DBridgeLayoutParamsMapAttributes.java59 public String getAttributeNamespace(int index) { in getAttributeNamespace()
64 public String getAttributeName(int index) { in getAttributeName()
69 public String getAttributeValue(int index) { in getAttributeValue()
79 public int getAttributeNameResource(int index) { in getAttributeNameResource()
120 public int getAttributeListValue(int index, in getAttributeListValue()
126 public boolean getAttributeBooleanValue(int index, boolean defaultValue) { in getAttributeBooleanValue()
131 public int getAttributeResourceValue(int index, int defaultValue) { in getAttributeResourceValue()
136 public int getAttributeIntValue(int index, int defaultValue) { in getAttributeIntValue()
141 public int getAttributeUnsignedIntValue(int index, int defaultValue) { in getAttributeUnsignedIntValue()
146 public float getAttributeFloatValue(int index, float defaultValue) { in getAttributeFloatValue()
/frameworks/base/services/core/java/com/android/server/am/
DBaseAppStateEvents.java84 void addEvent(E event, long now, int index) { in addEvent()
90 trimEvents(getEarliest(now), index); in addEvent() local
105 abstract void trimEvents(long earliest, int index); in trimEvents()
122 boolean isEmpty(int index) { in isEmpty()
142 LinkedList<E> getRawEvents(int index) { in getRawEvents()
154 abstract int getTotalEventsSince(long since, long now, int index); in getTotalEventsSince()
159 int getTotalEvents(long now, int index) { in getTotalEvents()
181 String formatEventSummary(long now, int index) { in formatEventSummary()
185 String formatEventTypeLabel(int index) { in formatEventTypeLabel()
/frameworks/base/rs/java/android/renderscript/
DScript.java383 public void setVar(int index, float v) { in setVar()
384 mRS.nScriptSetVarF(getID(mRS), index, v); in setVar() local
386 public float getVarF(int index) { in getVarF()
394 public void setVar(int index, double v) { in setVar()
395 mRS.nScriptSetVarD(getID(mRS), index, v); in setVar() local
397 public double getVarD(int index) { in getVarD()
405 public void setVar(int index, int v) { in setVar()
406 mRS.nScriptSetVarI(getID(mRS), index, v); in setVar() local
408 public int getVarI(int index) { in getVarI()
417 public void setVar(int index, long v) { in setVar()
[all …]
/frameworks/base/core/java/android/hardware/hdmi/
DHdmiRecordSources.java70 /* package */ abstract int extraParamToByteArray(byte[] data, int index); in extraParamToByteArray()
76 /* package */ final int toByteArray(boolean includeType, byte[] data, int index) { in toByteArray()
115 int extraParamToByteArray(byte[] data, int index) { in extraParamToByteArray()
166 int toByteArray(byte[] data, int index); in toByteArray()
198 public int toByteArray(byte[] data, int index) { in toByteArray()
227 public int toByteArray(byte[] data, int index) { in toByteArray()
261 public int toByteArray(byte[] data, int index) { in toByteArray()
290 private int toByteArray(byte[] data, int index) { in toByteArray()
295 shortToByteArray((short) mMinorChannelNumber, data, index + 2); in toByteArray() local
331 public int toByteArray(byte[] data, int index) { in toByteArray()
[all …]
/frameworks/base/libs/usb/tests/accessorytest/
Daudio.c56 int index, other; in get_empty() local
75 static void put_empty(int index) in put_empty()
90 int index, other; in get_full() local
109 static void put_full(int index) in put_full()
149 int index = get_empty(); in capture_thread() local
167 int index, err; in play_thread() local
/frameworks/base/core/java/android/database/sqlite/
DSQLiteProgram.java133 public void bindNull(int index) { in bindNull()
144 public void bindLong(int index, long value) { in bindLong()
155 public void bindDouble(int index, double value) { in bindDouble()
166 public void bindString(int index, String value) { in bindString()
180 public void bindBlob(int index, byte[] value) { in bindBlob()
214 private void bind(int index, Object value) { in bind()
/frameworks/base/media/java/android/media/
DMediaCodecList.java56 public static final MediaCodecInfo getCodecInfoAt(int index) { in getCodecInfoAt()
104 private static MediaCodecInfo getNewCodecInfoAt(int index) { in getNewCodecInfoAt()
116 /* package private */ static native final String getCodecName(int index); in getCodecName()
118 /* package private */ static native final String getCanonicalName(int index); in getCanonicalName()
120 /* package private */ static native final int getAttributes(int index); in getAttributes()
122 /* package private */ static native final String[] getSupportedTypes(int index); in getSupportedTypes()
125 getCodecCapabilities(int index, String type); in getCodecCapabilities()
/frameworks/base/services/core/java/com/android/server/display/utils/
DRollingBuffer.java85 public long getTime(int index) { in getTime()
97 public float getValue(int index) { in getValue()
111 final int index = getLatestIndexBefore(minTime); in truncate() local
142 final int index = offsetOf(i); in toString() local
152 private int offsetOf(int index) { in offsetOf()

12345678910>>...54