Home
last modified time | relevance | path

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

12345678910>>...56

/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/core/java/android/util/
DTypedXmlPullParser.java53 final int index = getAttributeIndex(namespace, name); in getAttributeIndexOrThrow() local
65 @NonNull byte[] getAttributeBytesHex(int index) throws XmlPullParserException; in getAttributeBytesHex()
71 @NonNull byte[] getAttributeBytesBase64(int index) throws XmlPullParserException; in getAttributeBytesBase64()
77 int getAttributeInt(int index) throws XmlPullParserException; in getAttributeInt()
83 int getAttributeIntHex(int index) throws XmlPullParserException; in getAttributeIntHex()
89 long getAttributeLong(int index) throws XmlPullParserException; in getAttributeLong()
95 long getAttributeLongHex(int index) throws XmlPullParserException; in getAttributeLongHex()
101 float getAttributeFloat(int index) throws XmlPullParserException; in getAttributeFloat()
107 double getAttributeDouble(int index) throws XmlPullParserException; in getAttributeDouble()
113 boolean getAttributeBoolean(int index) throws XmlPullParserException; in getAttributeBoolean()
[all …]
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/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.java287 private int getVisibilityOverride(int index) { in getVisibilityOverride()
295 private boolean isIntercepted(int index) { in isIntercepted()
299 private int getSuppressedVisualEffects(int index) { in getSuppressedVisualEffects()
303 private int getImportance(int index) { in getImportance()
311 private NotificationChannel getChannel(String key, int index) { in getChannel()
315 private boolean getShowBadge(int index) { in getShowBadge()
319 private int getUserSentiment(int index) { in getUserSentiment()
331 private boolean getHidden(int index) { in getHidden()
335 private long lastAudiblyAlerted(int index) { in lastAudiblyAlerted()
339 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/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 …]
DScriptIntrinsicLUT.java69 private void validate(int index, int value) { in validate()
84 public void setRed(int index, int value) { in setRed()
96 public void setGreen(int index, int value) { in setGreen()
108 public void setBlue(int index, int value) { in setBlue()
120 public void setAlpha(int index, int value) { in setAlpha()
/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/com/android/internal/util/
DBinaryXmlPullParser.java441 final int index = getAttributeIndex(namespace, name); in getAttributeValue() local
450 public String getAttributeValue(int index) { in getAttributeValue()
455 public byte[] getAttributeBytesHex(int index) throws XmlPullParserException { in getAttributeBytesHex()
460 public byte[] getAttributeBytesBase64(int index) throws XmlPullParserException { in getAttributeBytesBase64()
465 public int getAttributeInt(int index) throws XmlPullParserException { in getAttributeInt()
470 public int getAttributeIntHex(int index) throws XmlPullParserException { in getAttributeIntHex()
475 public long getAttributeLong(int index) throws XmlPullParserException { in getAttributeLong()
480 public long getAttributeLongHex(int index) throws XmlPullParserException { in getAttributeLongHex()
485 public float getAttributeFloat(int index) throws XmlPullParserException { in getAttributeFloat()
490 public double getAttributeDouble(int index) throws XmlPullParserException { in getAttributeDouble()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarIconControllerTest.java203 public StatusIconDisplayable getViewAt(int index) { in getViewAt()
208 protected StatusBarIconView addIcon(int index, String slot, boolean blocked, in addIcon()
217 protected StatusBarWifiView addWifiIcon(int index, String slot, WifiIconState state) { in addWifiIcon()
224 protected StatusBarMobileView addMobileIcon(int index, String slot, MobileIconState state) { in addMobileIcon()
243 public StatusIconDisplayable getViewAt(int index) { in getViewAt()
248 protected StatusBarIconView addIcon(int index, String slot, boolean blocked, in addIcon()
257 protected StatusBarWifiView addWifiIcon(int index, String slot, WifiIconState state) { in addWifiIcon()
264 protected StatusBarMobileView addMobileIcon(int index, String slot, MobileIconState state) { in addMobileIcon()
273 StatusIconDisplayable getViewAt(int index); in getViewAt()
/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()
/frameworks/av/media/codecs/amrwb/dec/src/
Ddec_alg_codebook.cpp118 void dec_1p_N1(int32 index, int16 N, int16 offset, int16 pos[]) in dec_1p_N1()
145 void dec_2p_2N1(int32 index, int16 N, int16 offset, int16 pos[]) in dec_2p_2N1()
192 void dec_3p_3N1(int32 index, int16 N, int16 offset, int16 pos[]) in dec_3p_3N1()
229 void dec_4p_4N1(int32 index, int16 N, int16 offset, int16 pos[]) in dec_4p_4N1()
265 void dec_4p_4N(int32 index, int16 N, int16 offset, int16 pos[]) in dec_4p_4N()
316 void dec_5p_5N(int32 index, int16 N, int16 offset, int16 pos[]) in dec_5p_5N()
350 void dec_6p_6N_2(int32 index, int16 N, int16 offset, int16 pos[]) in dec_6p_6N_2()
/frameworks/av/media/libstagefright/mpeg2ts/
DCasManager.cpp83 ssize_t index = mStreamPidToCasMap.indexOfKey(elementaryPID); in addStream() local
100 for (size_t index = 0; index < mStreamPidToCasMap.size(); index++) { in setMediaCas() local
118 ssize_t index = mStreamPidToCasMap.indexOfKey(elementaryPID); in getCasSession() local
220 for (size_t index = 0; index < mStreamPidToCasMap.size(); index++) { in closeAllSessions() local
234 for (size_t index = 0; index < mProgramCasMap.size(); index++) { in ~CasManager() local
266 for (size_t index = 0; index < mProgramCasMap.size(); index++) { in setMediaCas() local
283 ssize_t index = mProgramCasMap.indexOfKey(programNumber); in addProgram() local
301 ssize_t index = mProgramCasMap.indexOfKey(programNumber); in addStream() local
320 ssize_t index = mProgramCasMap.indexOfKey(programNumber); in getCasInfo() local
334 ssize_t index = mCAPidToSessionIdMap.indexOfKey(pid); in parsePID() local
/frameworks/av/drm/mediadrm/plugins/mock/
DMockDrmCryptoPlugin.cpp102 ssize_t index = findSession(sessionId); in closeSession() local
125 ssize_t index = findSession(sessionId); in getKeyRequest() local
192 ssize_t index = findSession(sessionId); in provideKeyResponse() local
222 ssize_t index = findKeySet(keySetId); in removeKeys() local
239 ssize_t index = findSession(sessionId); in restoreKeys() local
260 ssize_t index = findSession(sessionId); in queryKeyStatus() local
283 ssize_t index = mByteArrayProperties.indexOfKey(String8("mock-request")); in getProvisionRequest() local
325 ssize_t index = mByteArrayProperties.indexOfKey(String8("mock-secure-stop")); in getSecureStop() local
345 ssize_t index = mByteArrayProperties.indexOfKey(String8("mock-secure-stop1")); in getSecureStops() local
389 ssize_t index = mStringProperties.indexOfKey(name); in getPropertyString() local
[all …]
/frameworks/libs/net/common/device/com/android/net/module/util/
DBpfBitmap.java61 public boolean get(int index) throws ErrnoException { in get()
73 public void set(int index) throws ErrnoException { in set()
82 public void unset(int index) throws ErrnoException { in unset()
92 public void set(int index, boolean set) throws ErrnoException { in set()
/frameworks/native/services/inputflinger/dispatcher/
DInputState.cpp57 ssize_t index = findKeyMemento(entry); in trackKey() local
82 ssize_t index = findKeyMemento(entry); in trackKey() local
100 ssize_t index = findMotionMemento(entry, false /*hovering*/); in trackMotion() local
114 ssize_t index = findMotionMemento(entry, false /*hovering*/); in trackMotion() local
132 ssize_t index = findMotionMemento(entry, false /*hovering*/); in trackMotion() local
171 ssize_t index = findMotionMemento(entry, true /*hovering*/); in trackMotion() local
186 ssize_t index = findMotionMemento(entry, true /*hovering*/); in trackMotion() local
394 ssize_t index = mFallbackKeys.indexOfKey(originalKeyCode); in getFallbackKey() local
399 ssize_t index = mFallbackKeys.indexOfKey(originalKeyCode); in setFallbackKey() local

12345678910>>...56