/packages/apps/UnifiedEmail/src/com/android/mail/lib/base/ |
H A D | Preconditions.java | 168 * Ensures that an object reference passed as a parameter to the calling 171 * @param reference an object reference 172 * @return the non-null reference that was validated 173 * @throws NullPointerException if {@code reference} is null 175 public static <T> T checkNotNull(T reference) { argument 176 if (reference == null) { 179 return reference; 183 * Ensures that an object reference passed as a parameter to the calling 186 * @param reference a 192 checkNotNull(T reference, Object errorMessage) argument 216 checkNotNull(T reference, String errorMessageTemplate, Object... errorMessageArgs) argument [all...] |
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
H A D | Preconditions.java | 168 * Ensures that an object reference passed as a parameter to the calling 171 * @param reference an object reference 172 * @return the non-null reference that was validated 173 * @throws NullPointerException if {@code reference} is null 175 public static <T> T checkNotNull(T reference) { argument 176 if (reference == null) { 179 return reference; 183 * Ensures that an object reference passed as a parameter to the calling 186 * @param reference a 192 checkNotNull(T reference, Object errorMessage) argument 216 checkNotNull(T reference, String errorMessageTemplate, Object... errorMessageArgs) argument [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | RichInputConnection.java | 103 final String reference = (beforeCursor.length() <= actualLength) ? beforeCursor.toString() 107 || !(reference.equals(internal.toString()))) { 111 + "\nActual text = " + reference.length() + " " + reference; 486 final String reference = prev.length() <= checkLength ? prev.toString() 492 if (!(reference.equals(internal.toString()))) { 494 "Expected text = " + internal + "\nActual text = " + reference;
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/account/ |
H A D | ExternalAccountTypeTest.java | 133 final AccountType reference = FallbackAccountType.createWithPackageNameForTest( 136 assertsDataKindEquals(reference.getSortedDataKinds(), type.getSortedDataKinds());
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
H A D | FileUtils.java | 1537 * Tests if the specified <code>File</code> is newer than the reference
1542 * @param reference the <code>File</code> of which the modification date
1545 * recently than the reference <code>File</code>
1547 * @throws IllegalArgumentException if the reference file is <code>null</code> or doesn't exist
1549 public static boolean isFileNewer(File file, File reference) {
argument 1550 if (reference == null) {
1551 throw new IllegalArgumentException("No specified reference file");
1553 if (!reference.exists()) {
1554 throw new IllegalArgumentException("The reference file '"
1557 return isFileNewer(file, reference 1616 isFileOlder(File file, File reference) argument [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | WidgetPreviewLoader.java | 51 SoftReference<T> reference = mThreadLocal.get(); 53 if (reference == null) { 58 obj = reference.get();
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | WidgetPreviewLoader.java | 49 SoftReference<T> reference = mThreadLocal.get(); 51 if (reference == null) { 56 obj = reference.get();
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | KeyguardAppWidgetPickActivity.java | 246 WeakReference<T> reference = mThreadLocal.get(); 248 if (reference == null) { 253 obj = reference.get();
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
H A D | FusionDictionary.java | 618 final PtNode reference = new PtNode(new int[] { character }, 621 int result = Collections.binarySearch(data, reference, PTNODE_COMPARATOR);
|
/packages/apps/Camera/src/com/android/camera/ |
H A D | Util.java | 586 public static int[] getRelativeLocation(View reference, View view) { argument 587 reference.getLocationInWindow(sLocation);
|
/packages/apps/Camera2/src/com/android/camera/util/ |
H A D | CameraUtil.java | 643 public static int[] getRelativeLocation(View reference, View view) { argument 644 reference.getLocationInWindow(sLocation);
|
/packages/apps/Camera2/src/com/android/camera/exif/ |
H A D | ExifInterface.java | 1904 * @param reference a GPS reference reperesented by a String containing "N", 1909 public static double convertLatOrLongToDouble(Rational[] coordinate, String reference) { argument 1915 if ((reference.equals("S") || reference.equals("W"))) {
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
H A D | ExifInterface.java | 1904 * @param reference a GPS reference reperesented by a String containing "N", 1909 public static double convertLatOrLongToDouble(Rational[] coordinate, String reference) { argument 1915 if ((reference.equals("S") || reference.equals("W"))) {
|
/packages/apps/Launcher3/src/com/android/gallery3d/exif/ |
H A D | ExifInterface.java | 1904 * @param reference a GPS reference reperesented by a String containing "N", 1909 public static double convertLatOrLongToDouble(Rational[] coordinate, String reference) { argument 1915 if ((reference.equals("S") || reference.equals("W"))) {
|
/packages/apps/Mms/src/com/android/mms/exif/ |
H A D | ExifInterface.java | 1904 * @param reference a GPS reference reperesented by a String containing "N", 1909 public static double convertLatOrLongToDouble(Rational[] coordinate, String reference) { argument 1915 if ((reference.equals("S") || reference.equals("W"))) {
|