Searched refs:attrId (Results 1 - 8 of 8) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/util/
H A DThemeUtils.java29 public static int getAttribute(Theme theme, int attrId) { argument
31 theme.resolveAttribute(attrId, outValue, true);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DKeyboardIconsSet.java101 final Integer attrId = (Integer)NAMES_AND_ATTR_IDS[i + 1];
102 if (attrId != ATTR_UNDEFINED) {
103 ATTR_ID_TO_ICON_ID.put(attrId, iconId);
114 final int attrId = ATTR_ID_TO_ICON_ID.keyAt(index);
116 final Drawable icon = keyboardAttrs.getDrawable(attrId);
118 final Integer iconId = ATTR_ID_TO_ICON_ID.get(attrId);
120 mIconResourceIds[iconId] = keyboardAttrs.getResourceId(attrId, 0);
123 + keyboardAttrs.getResources().getResourceEntryName(attrId)
H A DKeyVisualAttributes.java83 for (final int attrId : VISUAL_ATTRIBUTE_IDS) {
84 sVisualAttributeIds.put(attrId, ATTR_DEFINED);
92 final int attrId = keyAttr.getIndex(i);
93 if (sVisualAttributeIds.get(attrId, ATTR_NOT_FOUND) == ATTR_NOT_FOUND) {
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DXmlParseUtils.java74 public static void checkAttributeExists(final TypedArray attr, final int attrId, argument
77 if (attr.hasValue(attrId)) {
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
H A DPlayerApplicationSettings.java76 byte attrId = btAvrcpAttributeList[i++];
83 mapAttribIdValtoAvrcpPlayerSetting(attrId, btAvrcpAttributeList[i++]));
85 newObj.mSupportedValues.put(mapBTAttribIdToAvrcpPlayerSettings(attrId),
110 byte attrId = btAvrcpAttributeList[i++];
112 newObj.mSettings.put(mapBTAttribIdToAvrcpPlayerSettings(attrId),
113 mapAttribIdValtoAvrcpPlayerSetting(attrId, btAvrcpAttributeList[i++]));
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
H A DAddressedMediaPlayer.java319 ArrayList<Integer> attrId = new ArrayList<Integer>();
361 attrId.add(attribId);
372 folderDataNative.mAttrIds = new int[attrId.size()];
373 for (int attrIndex = 0; attrIndex < attrId.size(); attrIndex++) {
374 folderDataNative.mAttrIds[attrIndex] = attrId.get(attrIndex);
498 ArrayList<Integer> attrId = new ArrayList<Integer>();
528 attrId.add(attrTempId.get(idx));
534 attrIds = new int[attrId.size()];
536 for (int attrIndex = 0; attrIndex < attrId.size(); attrIndex++) {
537 attrIds[attrIndex] = attrId
[all...]
H A DBrowsedMediaPlayer.java249 for (int attrId : attrReqIds) {
251 String value = getAttrValue(attrId, mediaItem);
253 attrIdArray.add(attrId);
616 ArrayList<Integer> attrId = new ArrayList<Integer>();
669 attrId.add(attribId);
679 if (attrId.size() > 0) {
680 folderDataNative.mAttrIds = new int[attrId.size()];
681 for (int attrIndex = 0; attrIndex < attrId.size(); attrIndex++) {
682 folderDataNative.mAttrIds[attrIndex] = attrId.get(attrIndex);
H A DAvrcp.java960 public String getString(int attrId) { argument
965 switch (attrId) {

Completed in 93 milliseconds