/packages/wallpapers/HoloSpiral/src/com/android/wallpaper/holospiral/ |
D | HoloSpiralRS.java | 225 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/ |
D | EntitySet.java | 276 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()
|
D | EntityDelta.java | 182 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/ |
D | RawContactReadOnlyEditorView.java | 167 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()
|
D | RawContactEditorView.java | 239 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()
|
D | ContactEditorFragment.java | 1668 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/ |
D | ChartGridView.java | 106 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/ |
D | DataRowHandler.java | 113 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/ |
D | EntityDeltaList.java | 353 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()
|
D | EntityDelta.java | 193 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/ |
D | BaseContactsProvider2Test.java | 295 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 …]
|
D | LegacyContactsProviderTest.java | 527 String auxData, boolean primary) { in assertContactMethodInsert() argument 540 values.put(ContactMethods.ISPRIMARY, primary ? 1 : 0); in assertContactMethodInsert()
|
/packages/apps/Settings/src/com/android/settings/ |
D | TrustedCredentialsSettings.java | 312 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/ |
D | QuickContactActivity.java | 364 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/ |
D | RecordUtils.java | 123 text = (TextView) item.findViewById(R.id.primary); in buildActivityView()
|