/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | KeyDrawParams.java | 80 public void updateParams(final int keyHeight, final KeyVisualAttributes attr) { in updateParams() argument 81 if (attr == null) { in updateParams() 85 if (attr.mTypeface != null) { in updateParams() 86 mTypeface = attr.mTypeface; in updateParams() 90 attr.mLetterSize, attr.mLetterRatio, mLetterSize); in updateParams() 92 attr.mLabelSize, attr.mLabelRatio, mLabelSize); in updateParams() 93 mLargeLetterSize = selectTextSize(keyHeight, attr.mLargeLetterRatio, mLargeLetterSize); in updateParams() 94 mHintLetterSize = selectTextSize(keyHeight, attr.mHintLetterRatio, mHintLetterSize); in updateParams() 96 attr.mShiftedLetterHintRatio, mShiftedLetterHintSize); in updateParams() 97 mHintLabelSize = selectTextSize(keyHeight, attr.mHintLabelRatio, mHintLabelSize); in updateParams() [all …]
|
D | KeyboardBuilder.java | 234 final AttributeSet attr = Xml.asAttributeSet(parser); in parseKeyboardAttributes() local 236 attr, R.styleable.Keyboard, R.attr.keyboardStyle, R.style.Keyboard); in parseKeyboardAttributes() 237 final TypedArray keyAttr = mResources.obtainAttributes(attr, R.styleable.Keyboard_Key); in parseKeyboardAttributes() 336 final AttributeSet attr = Xml.asAttributeSet(parser); in parseRowAttributes() local 337 final TypedArray keyboardAttr = mResources.obtainAttributes(attr, R.styleable.Keyboard); in parseRowAttributes() 524 final AttributeSet attr = Xml.asAttributeSet(parser); in parseIncludeInternal() local 526 attr, R.styleable.Keyboard_Include); in parseIncludeInternal() 527 final TypedArray keyAttr = mResources.obtainAttributes(attr, R.styleable.Keyboard_Key); in parseIncludeInternal() 638 final AttributeSet attr = Xml.asAttributeSet(parser); in parseCaseCondition() local 639 final TypedArray caseAttr = mResources.obtainAttributes(attr, R.styleable.Keyboard_Case); in parseCaseCondition() [all …]
|
D | KeyPreviewView.java | 117 { R.attr.state_has_morekeys } 120 { R.attr.state_left_edge }, 121 { R.attr.state_left_edge, R.attr.state_has_morekeys } 124 { R.attr.state_right_edge }, 125 { R.attr.state_right_edge, R.attr.state_has_morekeys }
|
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/ |
D | HtmlDocument.java | 152 public static TagAttribute createTagAttribute(HTML.Attribute attr, String value) { in createTagAttribute() argument 153 return createTagAttribute(attr, value, null); in createTagAttribute() 159 public static TagAttribute createTagAttribute(HTML.Attribute attr, in createTagAttribute() argument 161 X.assertTrue(attr != null); in createTagAttribute() 162 return new TagAttribute(attr, value, originalHtml); in createTagAttribute() 557 public void addAttribute(HTML.Attribute attr, String value) { in addAttribute() argument 558 X.assertTrue(attr != null); in addAttribute() 559 addAttribute(new TagAttribute(attr, value, null)); in addAttribute() 563 public void addAttribute(TagAttribute attr) { in addAttribute() argument 564 X.assertTrue(attr != null); in addAttribute() [all …]
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/ |
D | ExternalAccountType.java | 318 String attr = parser.getAttributeName(i); in inflate() local 321 Log.d(TAG, attr + "=" + value); in inflate() 323 if (ATTR_EDIT_CONTACT_ACTIVITY.equals(attr)) { in inflate() 325 } else if (ATTR_CREATE_CONTACT_ACTIVITY.equals(attr)) { in inflate() 327 } else if (ATTR_INVITE_CONTACT_ACTIVITY.equals(attr)) { in inflate() 329 } else if (ATTR_INVITE_CONTACT_ACTION_LABEL.equals(attr)) { in inflate() 331 } else if (ATTR_VIEW_CONTACT_NOTIFY_SERVICE.equals(attr)) { in inflate() 333 } else if (ATTR_VIEW_GROUP_ACTIVITY.equals(attr)) { in inflate() 335 } else if (ATTR_VIEW_GROUP_ACTION_LABEL.equals(attr)) { in inflate() 337 } else if (ATTR_DATA_SET.equals(attr)) { in inflate() [all …]
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryHistoryChart.java | 244 int attr = appearance.getIndex(i); in retrieve() local 246 switch (attr) { in retrieve() 248 textColor = appearance.getColorStateList(attr); in retrieve() 252 textSize = appearance.getDimensionPixelSize(attr, textSize); in retrieve() 256 typefaceIndex = appearance.getInt(attr, -1); in retrieve() 260 styleIndex = appearance.getInt(attr, -1); in retrieve() 396 int attr = a.getIndex(i); in BatteryHistoryChart() local 398 switch (attr) { in BatteryHistoryChart() 400 shadowcolor = a.getInt(attr, 0); in BatteryHistoryChart() 404 dx = a.getFloat(attr, 0); in BatteryHistoryChart() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | HtmlUtils.java | 145 HtmlDocument.TagAttribute attr = lastSeen.tag.getAttribute(HTML4.HREF_ATTRIBUTE); in handleEnd() local 147 if (attr == null) { in handleEnd() 150 marker = new URLSpan(attr.getValue()); in handleEnd() 175 HtmlDocument.TagAttribute attr = wrapper.tag.getAttribute(HTML4.COLOR_ATTRIBUTE); in handleFont() local 176 if (attr != null) { in handleFont() 177 int c = Color.parseColor(attr.getValue()); in handleFont() 185 attr = wrapper.tag.getAttribute(HTML4.SIZE_ATTRIBUTE); in handleFont() 186 if (attr != null) { in handleFont() 187 int i = Integer.parseInt(attr.getValue()); in handleFont() 195 attr = wrapper.tag.getAttribute(HTML4.FACE_ATTRIBUTE); in handleFont() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapVcardManager.java | 644 String attr [] = vCard.split(System.getProperty("line.separator")); in StripTelephoneNumber() local 646 for (int i=0; i < attr.length; i++) { in StripTelephoneNumber() 647 if(attr[i].startsWith("TEL")) { in StripTelephoneNumber() 648 attr[i] = attr[i].replace("(", ""); in StripTelephoneNumber() 649 attr[i] = attr[i].replace(")", ""); in StripTelephoneNumber() 650 attr[i] = attr[i].replace("-", ""); in StripTelephoneNumber() 651 attr[i] = attr[i].replace(" ", ""); in StripTelephoneNumber() 655 for (int i=0; i < attr.length; i++) { in StripTelephoneNumber() 656 if(!attr[i].equals("")){ in StripTelephoneNumber() 657 Vcard = Vcard.concat(attr[i] + "\n"); in StripTelephoneNumber()
|
/packages/apps/InCallUI/src/com/android/incallui/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 }; 100 if (states[i] == android.R.attr.state_focused) { in isActive()
|
/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/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | ConversationTipView.java | 111 private void bindIcon(ImageView image, ImageAttrSet attr) { in bindIcon() argument 112 if (attr != null) { in bindIcon() 114 image.setContentDescription(attr.contentDescription); in bindIcon() 116 image.setImageResource(attr.resId); in bindIcon() 117 if (attr.background != -1) { in bindIcon() 118 image.setBackgroundResource(attr.background); in bindIcon()
|
D | MailSwipeRefreshLayout.java | 35 public MailSwipeRefreshLayout(Context context, AttributeSet attr) { in MailSwipeRefreshLayout() argument 36 super(context, attr); in MailSwipeRefreshLayout()
|
/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 | 255 jint *attr; in getElementAttrRspNative() local 275 attr = env->GetIntArrayElements(attrIds, NULL); in getElementAttrRspNative() 276 if (!attr) { in getElementAttrRspNative() 291 pAttrs[i].attr_id = attr[i]; in getElementAttrRspNative() 305 env->ReleaseIntArrayElements(attrIds, attr, 0); in getElementAttrRspNative() 315 env->ReleaseIntArrayElements(attrIds, attr, 0); in getElementAttrRspNative()
|
/packages/apps/Nfc/nci/jni/ |
D | CondVar.cpp | 39 pthread_condattr_t attr; in CondVar() local 40 pthread_condattr_init(&attr); in CondVar() 41 pthread_condattr_setclock(&attr, CLOCK_MONOTONIC); in CondVar() 43 int const res = pthread_cond_init (&mCondition, &attr); in CondVar()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
D | ViewPagerTabs.java | 71 android.R.attr.textSize, 72 android.R.attr.textStyle, 73 android.R.attr.textColor, 74 android.R.attr.textAllCaps
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | Key.java | 869 mPressedState[attrs.length] = android.R.attr.state_pressed; in KeyBackgroundState() 878 new KeyBackgroundState(android.R.attr.state_empty), 884 new KeyBackgroundState(android.R.attr.state_checkable), 886 new KeyBackgroundState(android.R.attr.state_checkable, android.R.attr.state_checked), 888 new KeyBackgroundState(android.R.attr.state_active),
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | PhotoPriorityResolver.java | 165 String attr = parser.getAttributeName(i); in loadPhotoPriorityFromXml() local 166 if (PRIORITY_ATTR.equals(attr)) { in loadPhotoPriorityFromXml() 170 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() 466 mAlert.setIcon(mAlert.getIconAttributeResId(android.R.attr.alertDialogIcon)); in updateButton() 475 mAlert.setIcon(mAlert.getIconAttributeResId(android.R.attr.alertDialogIcon)); in updateButton()
|
/packages/apps/InCallUI/src/com/android/incallui/ |
D | CallButtonFragment.java | 284 int[] selectedAndFocused = {android.R.attr.state_selected, android.R.attr.state_focused}; in addSelectedAndFocused() 291 int[] focused = {android.R.attr.state_focused}; in addFocused() 298 int[] selected = {android.R.attr.state_selected}; in addSelected()
|
/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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/ |
D | SuggestionStripView.java | 145 this(context, attrs, R.attr.suggestionStripViewStyle); in SuggestionStripView() 163 final TextView word = new TextView(context, null, R.attr.suggestionWordStyle); in SuggestionStripView() 169 final TextView info = new TextView(context, null, R.attr.suggestionWordStyle); in SuggestionStripView()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | XmlParseUtils.java | 74 public static void checkAttributeExists(final TypedArray attr, final int attrId, in checkAttributeExists() argument 77 if (attr.hasValue(attrId)) { in checkAttributeExists()
|