Home
last modified time | relevance | path

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

12345678910>>...58

/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/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationListenerServiceTest.java258 private int getVisibilityOverride(int index) { in getVisibilityOverride()
266 private boolean isIntercepted(int index) { in isIntercepted()
270 private int getSuppressedVisualEffects(int index) { in getSuppressedVisualEffects()
274 private int getImportance(int index) { in getImportance()
282 private NotificationChannel getChannel(String key, int index) { in getChannel()
286 private boolean getShowBadge(int index) { in getShowBadge()
290 private int getUserSentiment(int index) { in getUserSentiment()
302 private boolean getHidden(int index) { in getHidden()
306 private long lastAudiblyAlerted(int index) { in lastAudiblyAlerted()
310 private boolean getNoisy(int index) { in getNoisy()
[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 …]
/frameworks/base/services/permission/java/com/android/server/permission/access/immutable/
DIndexedMapExtensions.kt20 forEachIndexed { index, key, value -> in <lambda>() method
29 forEachIndexed { index, key, value -> in anyIndexed() method
38 forEachIndexed { index, key, value -> in firstNotNullOfOrNullIndexed() method
47 for (index in 0 until size) { in forEachIndexed() method
53 for (index in lastIndex downTo 0) { in forEachReversedIndexed() method
60 val index = indexOfKey(key) in getWithDefault() constant
68 forEachIndexed { index, key, value -> in noneIndexed() method
80 forEachIndexed { index, key, value -> transform(index, key, value).let { destination += it } } in mapIndexedTo() method
88 forEachIndexed { index, key, value -> transform(index, key, value)?.let { destination += it } } in mapNotNullIndexedTo() method
105 val index = indexOfKey(key) in putWithDefault() constant
DIntMapExtensions.kt20 forEachIndexed { index, key, value -> in <lambda>() method
29 forEachIndexed { index, key, value -> in anyIndexed() method
38 forEachIndexed { index, key, value -> in firstNotNullOfOrNullIndexed() method
47 for (index in 0 until size) { in forEachIndexed() method
53 for (index in lastIndex downTo 0) { in forEachReversedIndexed() method
60 val index = indexOfKey(key) in getWithDefault() constant
68 forEachIndexed { index, key, value -> in noneIndexed() method
88 val index = indexOfKey(key) in putWithDefault() constant
DIndexedListSetExtensions.kt20 forEachIndexed { index, element -> in <lambda>() method
29 forEachIndexed { index, element -> in anyIndexed() method
38 for (index in 0 until size) { in forEachIndexed() method
44 for (index in lastIndex downTo 0) { in forEachReversedIndexed() method
56 forEachIndexed { index, element -> in noneIndexed() method
73 forEachIndexed { index, element -> value = accumulator(value, index, element) } in reduceIndexed() method
DIndexedListExtensions.kt20 forEachIndexed { index, element -> in <lambda>() method
29 forEachIndexed { index, element -> in anyIndexed() method
38 for (index in 0 until size) { in forEachIndexed() method
44 for (index in lastIndex downTo 0) { in forEachReversedIndexed() method
56 forEachIndexed { index, element -> in noneIndexed() method
73 forEachIndexed { index, element -> value = accumulator(value, index, element) } in reduceIndexed() method
/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()
334 public String getNonConfigurationString(@StyleableRes int index, in getNonConfigurationString()
382 public boolean getBoolean(@StyleableRes int index, boolean defValue) { in getBoolean()
421 public int getInt(@StyleableRes int index, int defValue) { in getInt()
458 public float getFloat(@StyleableRes int index, float defValue) { in getFloat()
507 public int getColor(@StyleableRes int index, @ColorInt int defValue) { in getColor()
560 public ComplexColor getComplexColor(@StyleableRes int index) { in getComplexColor()
596 public ColorStateList getColorStateList(@StyleableRes int index) { in getColorStateList()
[all …]
DElement.java437 private int getResStrMaxLen(@StyleableRes int index) { in getResStrMaxLen()
492 private static int getActionResStrMaxLen(@StyleableRes int index) { in getActionResStrMaxLen()
501 private static int getActivityResStrMaxLen(@StyleableRes int index) { in getActivityResStrMaxLen()
514 private static int getActivityAliasResStrMaxLen(@StyleableRes int index) { in getActivityAliasResStrMaxLen()
525 private static int getApplicationResStrMaxLen(@StyleableRes int index) { in getApplicationResStrMaxLen()
542 private static int getCategoryResStrMaxLen(@StyleableRes int index) { in getCategoryResStrMaxLen()
551 private static int getDataResStrMaxLen(@StyleableRes int index) { in getDataResStrMaxLen()
582 private static int getGrantUriPermissionResStrMaxLen(@StyleableRes int index) { in getGrantUriPermissionResStrMaxLen()
593 private static int getInstrumentationResStrMaxLen(@StyleableRes int index) { in getInstrumentationResStrMaxLen()
605 private static int getManifestResStrMaxLen(@StyleableRes int index) { in getManifestResStrMaxLen()
[all …]
/frameworks/base/services/permission/java/com/android/server/permission/access/collection/
DSparseIntArrayExtensions.kt22 forEachIndexed { index, key, value -> in <lambda>() method
31 forEachIndexed { index, key, value -> in anyIndexed() method
40 for (index in 0 until size) { in forEachIndexed() method
46 for (index in lastIndex downTo 0) { in forEachReversedIndexed() method
52 val index = indexOfKey(key) in getOrPut() constant
69 forEachIndexed { index, key, value -> in noneIndexed() method
82 val index = indexOfKey(key) in SparseIntArray() constant
94 forEachReversedIndexed { index, key, value -> in removeAllIndexed() method
105 forEachReversedIndexed { index, key, value -> in retainAllIndexed() method
DSparseBooleanArrayExtensions.kt22 forEachIndexed { index, key, value -> in <lambda>() method
31 forEachIndexed { index, key, value -> in anyIndexed() method
40 for (index in 0 until size) { in forEachIndexed() method
46 for (index in lastIndex downTo 0) { in forEachReversedIndexed() method
52 val index = indexOfKey(key) in getOrPut() constant
69 forEachIndexed { index, key, value -> in noneIndexed() method
82 val index = indexOfKey(key) in SparseBooleanArray() constant
94 forEachReversedIndexed { index, key, value -> in removeAllIndexed() method
105 forEachReversedIndexed { index, key, value -> in retainAllIndexed() method
DSparseLongArrayExtensions.kt22 forEachIndexed { index, key, value -> in <lambda>() method
31 forEachIndexed { index, key, value -> in anyIndexed() method
40 for (index in 0 until size) { in forEachIndexed() method
46 for (index in lastIndex downTo 0) { in forEachReversedIndexed() method
52 val index = indexOfKey(key) in getOrPut() constant
69 forEachIndexed { index, key, value -> in noneIndexed() method
82 val index = indexOfKey(key) in SparseLongArray() constant
94 forEachReversedIndexed { index, key, value -> in removeAllIndexed() method
105 forEachReversedIndexed { index, key, value -> in retainAllIndexed() method
DSparseArrayExtensions.kt22 forEachIndexed { index, key, value -> in <lambda>() method
31 forEachIndexed { index, key, value -> in anyIndexed() method
40 for (index in 0 until size) { in forEachIndexed() method
46 for (index in lastIndex downTo 0) { in forEachReversedIndexed() method
52 val index = indexOfKey(key) in getOrPut() constant
69 forEachIndexed { index, key, value -> in noneIndexed() method
79 forEachReversedIndexed { index, key, value -> in removeAllIndexed() method
90 forEachReversedIndexed { index, key, value -> in retainAllIndexed() method
DLongSparseArrayExtensions.kt22 forEachIndexed { index, key, value -> in <lambda>() method
31 forEachIndexed { index, key, value -> in anyIndexed() method
40 for (index in 0 until size) { in forEachIndexed() method
46 for (index in lastIndex downTo 0) { in forEachReversedIndexed() method
52 val index = indexOfKey(key) in getOrPut() constant
69 forEachIndexed { index, key, value -> in noneIndexed() method
79 forEachReversedIndexed { index, key, value -> in removeAllIndexed() method
90 forEachReversedIndexed { index, key, value -> in retainAllIndexed() method
DListExtensions.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
DArraySetExtensions.kt24 forEachIndexed { index, value -> in <lambda>() method
33 forEachIndexed { index, value -> in anyIndexed() method
42 for (index in 0 until size) { in forEachIndexed() method
48 for (index in lastIndex downTo 0) { in forEachReversedIndexed() method
62 forEachIndexed { index, value -> in noneIndexed() method
77 forEachReversedIndexed { index, value -> in removeAllIndexed() method
88 forEachReversedIndexed { index, value -> in retainAllIndexed() method
DArrayMapExtensions.kt22 forEachIndexed { index, key, value -> in <lambda>() method
31 forEachIndexed { index, key, value -> in anyIndexed() method
40 for (index in 0 until size) { in forEachIndexed() method
46 for (index in lastIndex downTo 0) { in forEachReversedIndexed() method
67 forEachIndexed { index, key, value -> in noneIndexed() method
77 forEachReversedIndexed { index, key, value -> in removeAllIndexed() method
88 forEachReversedIndexed { index, key, value -> in retainAllIndexed() method
/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/tests/coretests/src/android/service/notification/
DNotificationRankingUpdateTest.java137 public static int getVisibilityOverride(int index) { in getVisibilityOverride()
151 public static boolean isIntercepted(int index) { in isIntercepted()
158 public static int getSuppressedVisualEffects(int index) { in getSuppressedVisualEffects()
165 public static int getImportance(int index) { in getImportance()
179 public static NotificationChannel getChannel(String key, int index) { in getChannel()
186 public static boolean getShowBadge(int index) { in getShowBadge()
193 public static int getUserSentiment(int index) { in getUserSentiment()
208 public static boolean getHidden(int index) { in getHidden()
215 public static long lastAudiblyAlerted(int index) { in lastAudiblyAlerted()
222 public static boolean getNoisy(int index) { in getNoisy()
[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/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 …]

12345678910>>...58