Home
last modified time | relevance | path

Searched refs:primary (Results 1 – 15 of 15) sorted by relevance

/packages/wallpapers/HoloSpiral/src/com/android/wallpaper/holospiral/
DHoloSpiralRS.java225 Float4 primary = convertColor(primaryColor); in generateSpiral() local
236 color.x = primary.x + ((secondary.x - primary.x) * r); in generateSpiral()
237 color.y = primary.y + ((secondary.y - primary.y) * r); in generateSpiral()
238 color.z = primary.z + ((secondary.z - primary.z) * r); in generateSpiral()
239 color.w = primary.w + ((secondary.w - primary.w) * r); in generateSpiral()
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
DEntitySet.java276 ValuesDelta primary = null; in getSuperPrimaryEntry() local
285 } else if (primary == null && entry.isPrimary()) { in getSuperPrimaryEntry()
286 primary = entry; in getSuperPrimaryEntry()
293 if (primary != null) { in getSuperPrimaryEntry()
294 return primary; in getSuperPrimaryEntry()
DEntityDelta.java182 ValuesDelta primary = null; in getSuperPrimaryEntry()
187 primary = entry; in getSuperPrimaryEntry()
196 if (primary != null) { in getSuperPrimaryEntry()
197 return primary; in getSuperPrimaryEntry()
/packages/apps/Contacts/src/com/android/contacts/editor/
DRawContactReadOnlyEditorView.java167 ValuesDelta primary; in setState() local
175 primary = state.getPrimaryEntry(Photo.CONTENT_ITEM_TYPE); in setState()
176 getPhotoEditor().setValues(kind, primary, state, !type.areContactsWritable(), vig); in setState()
180 primary = state.getPrimaryEntry(StructuredName.CONTENT_ITEM_TYPE); in setState()
181 mName.setText(primary != null ? primary.getAsString(StructuredName.DISPLAY_NAME) : in setState()
DRawContactEditorView.java239 final ValuesDelta primary = state.getPrimaryEntry(mimeType); in setState() local
242 primary, state, false, vig); in setState() local
245 primary, state, false, vig); in setState() local
248 final ValuesDelta primary = state.getPrimaryEntry(mimeType); in setState() local
249 getPhotoEditor().setValues(kind, primary, state, false, vig); in setState()
DContactEditorFragment.java1668 final ValuesDelta primary = entity.getPrimaryEntry(Photo.CONTENT_ITEM_TYPE);
1669 if (primary != null && primary.getAsByteArray(Photo.PHOTO) != null) {
/packages/apps/Settings/src/com/android/settings/widget/
DChartGridView.java106 final Drawable primary = mPrimary; in onDraw() local
113 primary.setBounds((int) x, 0, right, height); in onDraw()
114 primary.draw(canvas); in onDraw()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDataRowHandler.java113 final Integer primary = values.getAsInteger(Data.IS_PRIMARY); in insert() local
115 if ((primary != null && primary != 0) || (superPrimary != null && superPrimary != 0)) { in insert()
253 boolean primary = c.getInt(DataDeleteQuery.IS_PRIMARY) != 0; in delete()
258 if (count != 0 && primary) { in delete()
/packages/apps/Contacts/src/com/android/contacts/model/
DEntityDeltaList.java353 ValuesDelta primary = null; in getSuperPrimaryEntry() local
362 } else if (primary == null && entry.isPrimary()) { in getSuperPrimaryEntry()
363 primary = entry; in getSuperPrimaryEntry()
370 if (primary != null) { in getSuperPrimaryEntry()
371 return primary; in getSuperPrimaryEntry()
DEntityDelta.java193 ValuesDelta primary = null; in getSuperPrimaryEntry()
198 primary = entry; in getSuperPrimaryEntry()
207 if (primary != null) { in getSuperPrimaryEntry()
208 return primary; in getSuperPrimaryEntry()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseContactsProvider2Test.java295 protected Uri insertOrganization(long rawContactId, ContentValues values, boolean primary) { in insertOrganization() argument
299 if (primary) { in insertOrganization()
311 protected Uri insertPhoneNumber(long rawContactId, String phoneNumber, boolean primary) { in insertPhoneNumber() argument
312 return insertPhoneNumber(rawContactId, phoneNumber, primary, Phone.TYPE_HOME); in insertPhoneNumber()
315 protected Uri insertPhoneNumber(long rawContactId, String phoneNumber, boolean primary, in insertPhoneNumber() argument
322 if (primary) { in insertPhoneNumber()
334 protected Uri insertEmail(long rawContactId, String email, boolean primary) { in insertEmail() argument
335 return insertEmail(rawContactId, email, primary, Email.TYPE_HOME, null); in insertEmail()
338 protected Uri insertEmail(long rawContactId, String email, boolean primary, int type, in insertEmail() argument
346 if (primary) { in insertEmail()
[all …]
DLegacyContactsProviderTest.java527 String auxData, boolean primary) { in assertContactMethodInsert() argument
540 values.put(ContactMethods.ISPRIMARY, primary ? 1 : 0); in assertContactMethodInsert()
/packages/apps/Settings/src/com/android/settings/
DTrustedCredentialsSettings.java312 int primary = this.mSubjectPrimary.compareToIgnoreCase(o.mSubjectPrimary); in compareTo() local
313 if (primary != 0) { in compareTo()
314 return primary; in compareTo()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java364 final Integer primary = entryValues.getAsInteger(Data.IS_PRIMARY); in bindData() local
365 final boolean isPrimary = primary != null && primary != 0; in bindData()
/packages/apps/Tag/src/com/android/apps/tag/record/
DRecordUtils.java123 text = (TextView) item.findViewById(R.id.primary); in buildActivityView()