/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | KeyDrawParams.java | 72 public void updateParams(final int keyHeight, final KeyVisualAttributes attr) { in updateParams() argument 73 if (attr == null) { in updateParams() 77 if (attr.mTypeface != null) { in updateParams() 78 mTypeface = attr.mTypeface; in updateParams() 82 attr.mLetterSize, attr.mLetterRatio, mLetterSize); in updateParams() 84 attr.mLabelSize, attr.mLabelRatio, mLabelSize); in updateParams() 85 mLargeLabelSize = selectTextSize(keyHeight, attr.mLargeLabelRatio, mLargeLabelSize); in updateParams() 86 mLargeLetterSize = selectTextSize(keyHeight, attr.mLargeLetterRatio, mLargeLetterSize); in updateParams() 87 mHintLetterSize = selectTextSize(keyHeight, attr.mHintLetterRatio, mHintLetterSize); in updateParams() 89 attr.mShiftedLetterHintRatio, mShiftedLetterHintSize); in updateParams() [all …]
|
D | KeyboardBuilder.java | 231 Xml.asAttributeSet(parser), R.styleable.Keyboard, R.attr.keyboardStyle, in parseKeyboardAttributes() 444 final AttributeSet attr = Xml.asAttributeSet(parser); in parseIncludeInternal() local 445 final TypedArray keyboardAttr = mResources.obtainAttributes(attr, in parseIncludeInternal() 447 final TypedArray keyAttr = mResources.obtainAttributes(attr, in parseIncludeInternal()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/ |
D | ExternalAccountType.java | 311 String attr = parser.getAttributeName(i); in inflate() local 314 Log.d(TAG, attr + "=" + value); in inflate() 316 if (ATTR_EDIT_CONTACT_ACTIVITY.equals(attr)) { in inflate() 318 } else if (ATTR_CREATE_CONTACT_ACTIVITY.equals(attr)) { in inflate() 320 } else if (ATTR_INVITE_CONTACT_ACTIVITY.equals(attr)) { in inflate() 322 } else if (ATTR_INVITE_CONTACT_ACTION_LABEL.equals(attr)) { in inflate() 324 } else if (ATTR_VIEW_CONTACT_NOTIFY_SERVICE.equals(attr)) { in inflate() 326 } else if (ATTR_VIEW_GROUP_ACTIVITY.equals(attr)) { in inflate() 328 } else if (ATTR_VIEW_GROUP_ACTION_LABEL.equals(attr)) { in inflate() 330 } else if (ATTR_VIEW_STREAM_ITEM_ACTIVITY.equals(attr)) { in inflate() [all …]
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryHistoryChart.java | 223 int attr = appearance.getIndex(i); in BatteryHistoryChart() local 225 switch (attr) { in BatteryHistoryChart() 227 textColor = appearance.getColorStateList(attr); in BatteryHistoryChart() 231 textSize = appearance.getDimensionPixelSize(attr, textSize); in BatteryHistoryChart() 235 typefaceIndex = appearance.getInt(attr, -1); in BatteryHistoryChart() 239 styleIndex = appearance.getInt(attr, -1); in BatteryHistoryChart() 252 int attr = a.getIndex(i); in BatteryHistoryChart() local 254 switch (attr) { in BatteryHistoryChart() 256 shadowcolor = a.getInt(attr, 0); in BatteryHistoryChart() 260 dx = a.getFloat(attr, 0); in BatteryHistoryChart() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | Key.java | 760 android.R.attr.state_checkable, 761 android.R.attr.state_checked 765 android.R.attr.state_pressed, 766 android.R.attr.state_checkable, 767 android.R.attr.state_checked 771 android.R.attr.state_checkable 775 android.R.attr.state_pressed, 776 android.R.attr.state_checkable 783 android.R.attr.state_pressed 788 android.R.attr.state_single [all …]
|
D | MainKeyboardView.java | 491 this(context, attrs, R.attr.mainKeyboardViewStyle); in MainKeyboardView() 783 { R.attr.state_has_morekeys } 786 { R.attr.state_left_edge }, 787 { R.attr.state_left_edge, R.attr.state_has_morekeys } 790 { R.attr.state_right_edge }, 791 { R.attr.state_right_edge, R.attr.state_has_morekeys }
|
D | KeyboardView.java | 118 this(context, attrs, R.attr.keyboardViewStyle); in KeyboardView() 309 final KeyVisualAttributes attr = key.mKeyVisualAttributes; in onDrawKey() local 310 final KeyDrawParams params = mKeyDrawParams.mayCloneAndUpdateParams(keyHeight, attr); in onDrawKey()
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/multiwaveview/ |
D | TargetDrawable.java | 31 { android.R.attr.state_enabled, android.R.attr.state_active }; 33 { android.R.attr.state_enabled, -android.R.attr.state_active }; 35 { android.R.attr.state_enabled, -android.R.attr.state_active, 36 android.R.attr.state_focused }; 130 if (states[i] == android.R.attr.state_focused) { in isActive()
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
D | XmlKeyboardLoader.java | 459 String attr = xrp.getName(); in loadKeyboard() local 461 if (XMLTAG_KEYBOARD.compareTo(attr) == 0) { in loadKeyboard() 508 } else if (XMLTAG_ROW.compareTo(attr) == 0) { in loadKeyboard() 518 } else if (XMLTAG_KEYS.compareTo(attr) == 0) { in loadKeyboard() 572 } else if (XMLTAG_KEY.compareTo(attr) == 0) { in loadKeyboard() 599 attr = xrp.getName(); in loadKeyboard() 600 if (XMLTAG_ROW.compareTo(attr) == 0) { in loadKeyboard() 610 String attr = xrp.getName(); in loadKeyboard() local 611 if (XMLTAG_ROW.compareTo(attr) == 0) { in loadKeyboard() 741 String attr = xrp.getName(); in getToggleStates() local [all …]
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
D | KeyboardView.java | 132 android.R.attr.state_long_pressable 296 int attr = a.getIndex(i); in KeyboardView() local 298 switch (attr) { in KeyboardView() 300 mKeyBackground = a.getDrawable(attr); in KeyboardView() 303 mVerticalCorrection = a.getDimensionPixelOffset(attr, 0); in KeyboardView() 306 previewLayout = a.getResourceId(attr, 0); in KeyboardView() 309 mPreviewOffset = a.getDimensionPixelOffset(attr, 0); in KeyboardView() 312 mPreviewHeight = a.getDimensionPixelSize(attr, 80); in KeyboardView() 315 mKeyTextSize = a.getDimensionPixelSize(attr, 18); in KeyboardView() 318 mKeyTextColor = a.getColor(attr, 0xFF000000); in KeyboardView() [all …]
|
D | Keyboard.java | 279 android.R.attr.state_checkable, 280 android.R.attr.state_checked 284 android.R.attr.state_pressed, 285 android.R.attr.state_checkable, 286 android.R.attr.state_checked 290 android.R.attr.state_checkable 294 android.R.attr.state_pressed, 295 android.R.attr.state_checkable 302 android.R.attr.state_pressed
|
/packages/wallpapers/MagicSmoke/res/raw/ |
D | pv4tex.glslv | 6 vec2 mul(vec4 uni, vec2 attr, float idx, vec2 offset) 10 … 0.5 + 0.5 * invz * (uni.z * ( uni.y * (attr.x + offset.x) + uni.x * (attr.y + offset.y))) + uni.w, 11 0.5 + 0.5 * invz * (uni.z * (-uni.x * (attr.x + offset.x) + uni.y * (attr.y + offset.y))));
|
D | pv5tex.glslv | 7 vec2 mul(vec4 uni, vec2 attr, float idx, vec2 offset) 11 … 0.5 + 0.5 * invz * (uni.z * ( uni.y * (attr.x + offset.x) + uni.x * (attr.y + offset.y))) + uni.w, 12 0.5 + 0.5 * invz * (uni.z * (-uni.x * (attr.x + offset.x) + uni.y * (attr.y + offset.y))));
|
/packages/apps/Bluetooth/jni/ |
D | com_android_bluetooth_avrcp.cpp | 194 jint *attr; in getElementAttrRspNative() local 214 attr = env->GetIntArrayElements(attrIds, NULL); in getElementAttrRspNative() 215 if (!attr) { in getElementAttrRspNative() 230 pAttrs[i].attr_id = attr[i]; in getElementAttrRspNative() 244 env->ReleaseIntArrayElements(attrIds, attr, 0); in getElementAttrRspNative() 254 env->ReleaseIntArrayElements(attrIds, attr, 0); in getElementAttrRspNative()
|
/packages/apps/Phone/src/com/android/phone/ |
D | SipCallOptionHandler.java | 227 .setIconAttribute(android.R.attr.alertDialogIcon) in onCreateDialog() 236 .setIconAttribute(android.R.attr.alertDialogIcon) in onCreateDialog() 247 .setIconAttribute(android.R.attr.alertDialogIcon) in onCreateDialog() 260 .setIconAttribute(android.R.attr.alertDialogIcon) in onCreateDialog() 268 .setIconAttribute(android.R.attr.alertDialogIcon) in onCreateDialog()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | InstalledAppDetails.java | 1057 .setIconAttribute(android.R.attr.alertDialogIcon) in onCreateDialog() 1071 .setIconAttribute(android.R.attr.alertDialogIcon) in onCreateDialog() 1086 .setIconAttribute(android.R.attr.alertDialogIcon) in onCreateDialog() 1099 .setIconAttribute(android.R.attr.alertDialogIcon) in onCreateDialog() 1113 .setIconAttribute(android.R.attr.alertDialogIcon) in onCreateDialog() 1129 .setIconAttribute(android.R.attr.alertDialogIcon) in onCreateDialog() 1136 .setIconAttribute(android.R.attr.alertDialogIcon) in onCreateDialog() 1152 .setIconAttribute(android.R.attr.alertDialogIcon) in onCreateDialog() 1172 .setIconAttribute(android.R.attr.alertDialogIcon) in onCreateDialog()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | PhotoPriorityResolver.java | 147 String attr = parser.getAttributeName(i); in loadPhotoPriorityFromXml() local 148 if (PRIORITY_ATTR.equals(attr)) { in loadPhotoPriorityFromXml() 152 throw new IllegalStateException("Unsupported attribute " + attr); in loadPhotoPriorityFromXml()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppTransferActivity.java | 225 mPara.mIconAttrId = android.R.attr.alertDialogIcon; in setUpDialog() 232 mPara.mIconAttrId = android.R.attr.alertDialogIcon; in setUpDialog() 460 mAlert.setIcon(mAlert.getIconAttributeResId(android.R.attr.alertDialogIcon)); in updateButton() 469 mAlert.setIcon(mAlert.getIconAttributeResId(android.R.attr.alertDialogIcon)); in updateButton()
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | TextHighlightingAnimation.java | 154 case R.attr.state_pressed: in updateDrawState() 155 case R.attr.state_selected: in updateDrawState() 156 case R.attr.state_focused: in updateDrawState()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | UserHistoryDictIOUtils.java | 209 for (final PendingAttribute attr : attrList) { in addWordsFromWordMap() 210 final String word2 = unigrams.get(attr.mAddress); in addWordsFromWordMap() 217 attr.mFrequency)); in addWordsFromWordMap()
|
D | XmlParseUtils.java | 74 public static void checkAttributeExists(final TypedArray attr, final int attrId, in checkAttributeExists() argument 77 if (attr.hasValue(attrId)) { in checkAttributeExists()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | ThemeUtils.java | 39 return getAttribute(theme, android.R.attr.selectableItemBackground); in getSelectableItemBackground() 46 return getAttribute(theme, android.R.attr.activatedBackgroundIndicator); in getActivatedBackground()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | HolographicViewHelper.java | 52 states.addState(new int[] {android.R.attr.state_pressed}, outlineD); in generatePressedFocusedStates() 53 states.addState(new int[] {android.R.attr.state_focused}, outlineD); in generatePressedFocusedStates()
|
/packages/inputmethods/LatinIME/tools/maketext/src/com/android/inputmethod/latin/maketext/ |
D | StringResourceMap.java | 105 public void startElement(String uri, String localName, String qName, Attributes attr) { in startElement() argument 109 mName = attr.getValue(ATTR_NAME); in startElement()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | BinaryDictIOTests.java | 365 for (PendingAttribute attr : entry.getValue()) { in checkWordMap() 366 final String word2 = resultWords.get(attr.mAddress); in checkWordMap() 373 unigramFreq, attr.mFrequency); in checkWordMap()
|