/packages/wallpapers/HoloSpiral/src/com/android/wallpaper/holospiral/ |
H A D | HoloSpiralRS.java | 227 Float4 primary = convertColor(primaryColor); 238 color.x = primary.x + ((secondary.x - primary.x) * r); 239 color.y = primary.y + ((secondary.y - primary.y) * r); 240 color.z = primary.z + ((secondary.z - primary.z) * r); 241 color.w = primary.w + ((secondary.w - primary.w) * r);
|
/packages/apps/InCallUI/src/com/android/incallui/ |
H A D | VideoCallPresenter.java | 306 // Determine the primary active call). 307 Call primary = null; 309 primary = callList.getIncomingCall(); 311 primary = callList.getOutgoingCall(); 313 primary = callList.getActiveCall(); 316 final boolean primaryChanged = !Objects.equals(mPrimaryCall, primary); 318 mPrimaryCall = primary; 320 if (primary != null) { 328 } else if (primary == null) { 329 // If no primary cal [all...] |
H A D | CallCardPresenter.java | 171 Call primary = null; 175 primary = callList.getIncomingCall(); 177 primary = callList.getOutgoingCall(); 178 if (primary == null) { 179 primary = callList.getPendingOutgoingCall(); 186 primary = getCallToDisplay(callList, null, false); 187 secondary = getCallToDisplay(callList, primary, true); 190 Log.d(this, "Primary call: " + primary); 193 final boolean primaryChanged = !Call.areSame(mPrimary, primary); 197 mPrimary = primary; [all...] |
/packages/apps/Settings/src/com/android/settings/widget/ |
H A D | ChartGridView.java | 126 final Drawable primary = mPrimary; 127 if (primary != null) { 128 final int primaryWidth = primary.getIntrinsicWidth(); 129 final int primaryHeight = primary.getIntrinsicHeight(); 134 primary.setBounds((int) x, 0, right, height); 135 primary.draw(canvas);
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
H A D | EntitySet.java | 276 ValuesDelta primary = null; 285 } else if (primary == null && entry.isPrimary()) { 286 primary = entry; 292 // When no direct super primary, return something 293 if (primary != null) { 294 return primary;
|
H A D | EntityDelta.java | 160 // When no direct primary, return something 173 * Returns the super-primary entry for the given mime type 174 * @param forceSelection if true, will try to return some value even if a super-primary 175 * doesn't exist (may be a primary, or just a random item 182 ValuesDelta primary = null; 187 primary = entry; 195 // When no direct super primary, return something 196 if (primary != null) { 197 return primary;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
H A D | CursorAnchorInfoUtils.java | 155 final float primary = layout.getPrimaryHorizontal(offset); 166 left = primary; 167 right = primary + charWidth; 174 left = primary - charWidth; 175 right = primary;
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
H A D | MtpService.java | 53 // In PTP mode we support only primary storage 54 final StorageVolume primary = StorageManager.getPrimaryVolume(mVolumes); 55 final String path = primary.getPath(); 160 final StorageVolume primary = StorageManager.getPrimaryVolume(mVolumes); 165 primary.getPath(), subdirs); 245 // In PTP mode we support only primary storage
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
H A D | RawContactReadOnlyEditorView.java | 166 ValuesDelta primary; 174 primary = state.getPrimaryEntry(Photo.CONTENT_ITEM_TYPE); 175 getPhotoEditor().setValues(kind, primary, state, !type.areContactsWritable(), vig); 179 primary = state.getPrimaryEntry(StructuredName.CONTENT_ITEM_TYPE); 180 mName.setText(primary != null ? primary.getAsString(StructuredName.DISPLAY_NAME) :
|
H A D | RawContactEditorView.java | 282 final ValuesDelta primary = state.getPrimaryEntry(mimeType); 285 primary, state, false, vig); 288 primary, state, false, vig); 291 final ValuesDelta primary = state.getPrimaryEntry(mimeType); 292 getPhotoEditor().setValues(kind, primary, state, false, vig);
|
H A D | ContactEditorFragment.java | 1895 final ValuesDelta primary = entity.getPrimaryEntry(Photo.CONTENT_ITEM_TYPE); 1896 if (primary != null && primary.getPhoto() != null) { 2043 * User has chosen to set the selected photo as the (super) primary photo
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/dataitem/ |
H A D | DataItem.java | 128 Integer primary = mContentValues.getAsInteger(Data.IS_PRIMARY); 129 return primary != null && primary != 0; 206 // If any of the collapsed entries are super primary make the whole thing super primary. 212 // If any of the collapsed entries are primary make the whole thing primary.
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
H A D | RawContactDeltaList.java | 353 ValuesDelta primary = null; 362 } else if (primary == null && entry.isPrimary()) { 363 primary = entry; 369 // When no direct super primary, return something 370 if (primary != null) { 371 return primary;
|
H A D | RawContactDelta.java | 165 // When no direct primary, return something 178 * Returns the super-primary entry for the given mime type 179 * @param forceSelection if true, will try to return some value even if a super-primary 180 * doesn't exist (may be a primary, or just a random item 188 ValuesDelta primary = null; 193 primary = entry; 201 // When no direct super primary, return something 202 if (primary != null) { 203 return primary;
|
/packages/apps/UnifiedEmail/src/com/android/mail/lib/base/ |
H A D | CharEscapers.java | 861 * characters using a primary {@code CharEscaper} first and falls back to a 865 * primary escaper, and if the primary escaper has no escaping for that 868 * If the primary escaper has an escape for a character, the secondary escaper 870 * primary is not run through the secondary. For a case where you would like 874 * @param primary The primary {@code CharEscaper} to use 879 public static CharEscaper fallThrough(CharEscaper primary, argument 881 checkNotNull(primary); 883 return new FallThroughCharEscaper(primary, secondar 1083 private final CharEscaper primary; field in class:CharEscapers.FallThroughCharEscaper 1086 FallThroughCharEscaper(CharEscaper primary, CharEscaper secondary) argument [all...] |
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
H A D | CharEscapers.java | 861 * characters using a primary {@code CharEscaper} first and falls back to a 865 * primary escaper, and if the primary escaper has no escaping for that 868 * If the primary escaper has an escape for a character, the secondary escaper 870 * primary is not run through the secondary. For a case where you would like 874 * @param primary The primary {@code CharEscaper} to use 879 public static CharEscaper fallThrough(CharEscaper primary, argument 881 checkNotNull(primary); 883 return new FallThroughCharEscaper(primary, secondar 1083 private final CharEscaper primary; field in class:CharEscapers.FallThroughCharEscaper 1086 FallThroughCharEscaper(CharEscaper primary, CharEscaper secondary) argument [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | DataRowHandler.java | 94 throw new AssertionError("Some of ContactsContract.CommonDataKinds class primary" 113 final Integer primary = values.getAsInteger(Data.IS_PRIMARY); 115 if ((primary != null && primary != 0) || (superPrimary != null && superPrimary != 0)) { 120 // configured super primary 128 // if there is already another data item configured as super-primary, 182 * Ensures that all super-primary and primary flags of this raw_contact are 229 // Set both super primary and primary [all...] |
/packages/apps/Tag/src/com/android/apps/tag/record/ |
H A D | RecordUtils.java | 123 text = (TextView) item.findViewById(R.id.primary);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | BaseContactsProvider2Test.java | 238 protected Uri insertOrganization(long rawContactId, ContentValues values, boolean primary) { argument 242 if (primary) { 254 protected Uri insertPhoneNumber(long rawContactId, String phoneNumber, boolean primary) { argument 255 return insertPhoneNumber(rawContactId, phoneNumber, primary, Phone.TYPE_HOME); 258 protected Uri insertPhoneNumber(long rawContactId, String phoneNumber, boolean primary, argument 265 if (primary) { 277 protected Uri insertEmail(long rawContactId, String email, boolean primary) { argument 278 return insertEmail(rawContactId, email, primary, Email.TYPE_HOME, null); 281 protected Uri insertEmail(long rawContactId, String email, boolean primary, argument 283 return insertEmail(rawContactId, email, primary, superPrimar 286 insertEmail(long rawContactId, String email, boolean primary, int type, String label) argument 291 insertEmail(long rawContactId, String email, boolean primary, boolean superPrimary, int type, String label) argument 314 insertSipAddress(long rawContactId, String sipAddress, boolean primary) argument [all...] |
H A D | LegacyContactsProviderTest.java | 152 // Non-primary 164 // Remove the original primary organization 196 // Non-primary 213 // Remove the primary phone number 267 // Non-primary 285 // Remove the primary email 525 String auxData, boolean primary) { 538 values.put(ContactMethods.ISPRIMARY, primary ? 1 : 0); 524 assertContactMethodInsert(int kind, int type, String label, String data, String auxData, boolean primary) argument
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
H A D | Memory.java | 119 // Mass storage is enabled if primary volume supports it 121 final StorageVolume primary = StorageManager.getPrimaryVolume(volumes); 122 return primary != null && primary.allowMassStorage();
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | TrustedCredentialsSettings.java | 531 // if we have a O, use O as primary subject, secondary prefer CN over OU 532 // if we don't have an O, use CN as primary, empty secondary 533 // if we don't have O or CN, use DName as primary, empty secondary 560 int primary = this.mSubjectPrimary.compareToIgnoreCase(o.mSubjectPrimary); 561 if (primary != 0) { 562 return primary;
|
/packages/services/Telecomm/libs/ |
H A D | guava.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/util/ ... |