Home
last modified time | relevance | path

Searched refs:attributes (Results 1 – 25 of 45) sorted by relevance

12

/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/
DHtmlDocument.java100 public static Tag createTag(HTML.Element element, List<TagAttribute> attributes) { in createTag() argument
101 return createTag(element, attributes, null, null); in createTag()
109 List<TagAttribute> attributes, String originalHtmlBeforeAttributes, in createTag() argument
111 return new Tag(element, attributes, false, originalHtmlBeforeAttributes, in createTag()
120 List<TagAttribute> attributes) { in createSelfTerminatingTag() argument
121 return createSelfTerminatingTag(element, attributes, null, null); in createSelfTerminatingTag()
129 List<TagAttribute> attributes, String originalHtmlBeforeAttributes, in createSelfTerminatingTag() argument
131 return new Tag(element, attributes, true, originalHtmlBeforeAttributes, in createSelfTerminatingTag()
508 private List<TagAttribute> attributes; field in HtmlDocument.Tag
535 private Tag(HTML.Element element, List<TagAttribute> attributes, in Tag() argument
[all …]
DHtmlParser.java696 ArrayList<HtmlDocument.TagAttribute> attributes = null; in scanTag() local
741 if (attributes == null) { in scanTag()
742 attributes = new ArrayList<HtmlDocument.TagAttribute>(); in scanTag()
744 addAttribute(attributes, attributeScanner, nextAttributeStartPos, pos); in scanTag()
789 pos, isSingleTag, attributes); in scanTag()
848 ArrayList<HtmlDocument.TagAttribute> attributes) {
857 ? HtmlDocument.createSelfTerminatingTag(element, attributes,
859 : HtmlDocument.createTag(element, attributes,
888 ? HtmlDocument.createSelfTerminatingTag(element, attributes,
890 : HtmlDocument.createTag(element, attributes,
[all …]
DHTML4.java41 private static final HashMap<String,HTML.Attribute> attributes = Maps.newHashMap(); field in HTML4
72 return attributes.get(name.toLowerCase()); in lookupAttribute()
88 return Collections.unmodifiableMap(attributes); in getAllAttributes()
149 attributes.put(attribute, attr); in addAttribute()
/packages/modules/NetworkStack/src/com/android/server/connectivity/ipmemorystore/
DIpMemoryStoreService.java162 @Nullable final NetworkAttributesParcelable attributes, in storeNetworkAttributes() argument
168 final NetworkAttributes na = null == attributes ? null : new NetworkAttributes(attributes); in storeNetworkAttributes()
216 @Nullable final NetworkAttributes attributes, in storeNetworkAttributesAndBlobSync() argument
220 if (null == attributes && null == data) return ERROR_ILLEGAL_ARGUMENT; in storeNetworkAttributesAndBlobSync()
228 IpMemoryStoreDatabase.storeNetworkAttributes(mDb, l2Key, newExpiry, attributes); in storeNetworkAttributesAndBlobSync()
236 + "} ; NetworkAttributes {" + (null == attributes ? "null" : attributes) in storeNetworkAttributesAndBlobSync()
260 public void findL2Key(@Nullable final NetworkAttributesParcelable attributes, in findL2Key() argument
265 if (null == attributes) { in findL2Key()
274 new NetworkAttributes(attributes)); in findL2Key()
354 final NetworkAttributes attributes = in retrieveNetworkAttributes() local
[all …]
DIpMemoryStoreDatabase.java240 private static ContentValues toContentValues(@Nullable final NetworkAttributes attributes) { in toContentValues() argument
242 if (null == attributes) return values; in toContentValues()
243 if (null != attributes.assignedV4Address) { in toContentValues()
245 inet4AddressToIntHTH(attributes.assignedV4Address)); in toContentValues()
247 if (null != attributes.assignedV4AddressExpiry) { in toContentValues()
249 attributes.assignedV4AddressExpiry); in toContentValues()
251 if (null != attributes.groupHint) { in toContentValues()
252 values.put(NetworkAttributesContract.COLNAME_GROUPHINT, attributes.groupHint); in toContentValues()
254 if (null != attributes.dnsAddresses) { in toContentValues()
256 encodeAddressList(attributes.dnsAddresses)); in toContentValues()
[all …]
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/
DOtherDetailsActivity.java141 StringBuilder attributes = new StringBuilder(); in updateViews() local
149 attributes.append(duration); in updateViews()
150 attributes.append('\n'); in updateViews()
155 attributes.append(date); in updateViews()
156 attributes.append('\n'); in updateViews()
163 attributes.append(latlong); in updateViews()
164 attributes.append('\n'); in updateViews()
166 attributesView.setText(attributes); in updateViews()
/packages/apps/Dialer/java/com/android/dialer/theme/
DREADME.md11 style attributes live.
16 * Legacy Android attributes (android:colorPrimary). These are defined by the
20 * Appcompat Android attributes (colorPrimary). There are also defined by the
24 with all of the same attributes plus some. *Note:* Unfortunately our app
29 * Custom application attributes (colorIcon). It goes without saying that the
30 names can't collide with the framework attributes. These attributes server
/packages/modules/ExtServices/src/android/ext/services/notification/
DNotificationEntry.java165 AudioAttributes attributes = getChannel().getAudioAttributes(); in calculateAudioAttributes() local
166 if (attributes == null) { in calculateAudioAttributes()
167 attributes = Notification.AUDIO_ATTRIBUTES_DEFAULT; in calculateAudioAttributes()
175 attributes = n.audioAttributes; in calculateAudioAttributes()
179 attributes = new AudioAttributes.Builder() in calculateAudioAttributes()
186 return attributes; in calculateAudioAttributes()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ipmemorystore/
DIpMemoryStoreServiceTest.java209 final String l2Key, final NetworkAttributesParcelable attributes)
212 null == attributes ? null : new NetworkAttributes(attributes));
369 NetworkAttributes attributes = na.build();
370 storeAttributes(l2Key, attributes);
378 assertEquals(attributes, attr);
394 assertEquals(attributes.assignedV4Address, attr.assignedV4Address);
395 assertEquals(attributes.assignedV4AddressExpiry,
397 assertEquals(attributes.groupHint, attr.groupHint);
398 assertEquals(attributes.mtu, attr.mtu);
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DImageWallpaperInfo.java119 List<String> attributes = new ArrayList<>(); in getAttributions() local
132 attributes.add(attribute); in getAttributions()
135 if (!attributes.isEmpty()) { in getAttributions()
136 return attributes; in getAttributions()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DVideoPreference.java73 TypedArray attributes = context.getTheme().obtainStyledAttributes( in initialize() local
81 ? attributes.getResourceId(R.styleable.VideoPreference_animation, 0) in initialize()
88 ? attributes.getResourceId(R.styleable.VideoPreference_preview, 0) in initialize()
105 attributes.recycle(); in initialize()
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DCombinedInputOutput.java84 final HashMap<String, String> attributes = new HashMap<>(); in readDictionaryCombined() local
90 attributes.put(keyValue[0], keyValue[1]); in readDictionaryCombined()
93 attributes.remove(OPTIONS_TAG); in readDictionaryCombined()
95 new FusionDictionary(new PtNodeArray(), new DictionaryOptions(attributes)); in readDictionaryCombined()
/packages/apps/Settings/src/com/android/settings/widget/
DVideoPreference.java76 TypedArray attributes = context.getTheme().obtainStyledAttributes( in initialize() local
84 ? attributes.getResourceId(R.styleable.VideoPreference_animation, 0) in initialize()
91 ? attributes.getResourceId(R.styleable.VideoPreference_preview, 0) in initialize()
108 attributes.recycle(); in initialize()
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DCarNotificationBodyView.java80 TypedArray attributes = in init() local
83 attributes.getBoolean(R.styleable.CarNotificationBodyView_showBigIcon, in init()
85 attributes.recycle(); in init()
DCarNotificationActionsView.java83 TypedArray attributes = in init() local
86 attributes.getBoolean(R.styleable.CarNotificationActionsView_categoryCall, false); in init()
87 attributes.recycle(); in init()
DCarNotificationHeaderView.java87 TypedArray attributes = in init() local
90 attributes.getBoolean(R.styleable.CarNotificationHeaderView_isHeadsUp, in init()
92 attributes.recycle(); in init()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DDownloadRecord.java30 public DownloadRecord(final String clientId, final ContentValues attributes) { in DownloadRecord() argument
32 mAttributes = attributes; in DownloadRecord()
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_avrcp_target.cpp354 info.attributes.insert( in getSongInfoFromJavaObj()
363 info.attributes.insert( in getSongInfoFromJavaObj()
372 info.attributes.insert( in getSongInfoFromJavaObj()
381 info.attributes.insert( in getSongInfoFromJavaObj()
390 info.attributes.insert( in getSongInfoFromJavaObj()
399 info.attributes.insert( in getSongInfoFromJavaObj()
408 info.attributes.insert( in getSongInfoFromJavaObj()
/packages/apps/Camera2/src/com/android/camera/data/
DFilmstripItemAttributes.java44 private FilmstripItemAttributes(EnumSet<Attributes> attributes) { in FilmstripItemAttributes() argument
45 mAttributes = attributes; in FilmstripItemAttributes()
DFilmstripItemBase.java55 FilmstripItemAttributes attributes) { in FilmstripItemBase() argument
59 mAttributes = attributes; in FilmstripItemBase()
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DMosaicRendererSurfaceView.java224 int[] attributes = { in printConfig() local
295 for (int i = 0; i < attributes.length; i++) { in printConfig()
296 int attribute = attributes[i]; in printConfig()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictDecoderUtils.java398 final HashMap<String, String> attributes = new HashMap<>(); in decodeHeaderAttributes() local
400 attributes.put(keyValues.get(i), keyValues.get(i + 1)); in decodeHeaderAttributes()
402 return attributes; in decodeHeaderAttributes()
/packages/services/Telecomm/src/com/android/server/telecom/
DInCallTonePlayer.java142 MediaPlayerAdapter get (int resourceId, AudioAttributes attributes); in get() argument
417 AudioAttributes attributes = new AudioAttributes.Builder() in playMediaTone() local
422 mToneMediaPlayer = mMediaPlayerFactory.get(toneResourceId, attributes); in playMediaTone()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
DFormatSpec.java273 public DictionaryOptions(final HashMap<String, String> attributes) { in DictionaryOptions() argument
274 mAttributes = attributes; in DictionaryOptions()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DBinaryDictionary.java253 final HashMap<String, String> attributes = new HashMap<>(); in getHeader() local
259 attributes.put(attributeKey, attributeValue); in getHeader()
262 attributes.get(DictionaryHeader.HAS_HISTORICAL_INFO_KEY)); in getHeader()
263 return new DictionaryHeader(outHeaderSize[0], new DictionaryOptions(attributes), in getHeader()

12