/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
H A D | UpdateHelper.java | 24 public int update(int original, int update) { argument 25 if (original != update) { 27 original = update; 29 return original; 32 public long update(long original, long update) { argument 33 if (original != update) { 35 original = update; 37 return original; 40 public double update(double original, double update) { argument 41 if (original ! 48 update(T original, T update) argument [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | PhotoLoadingTestCase.java | 45 public PhotoEntry(byte[] original) { argument 47 PhotoProcessor processor = newPhotoProcessor(original, false); 48 photoMap.put(PhotoSize.ORIGINAL, original);
|
/packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/ |
H A D | BitmapUtils.java | 51 * @return The scaled bitmap, or the original bitmap if scaling was not necessary. 182 public static Bitmap scaleBitmapColors(Bitmap original, int minColor, int maxColor) { argument 183 int[] pixels = new int[original.getWidth() * original.getHeight()]; 184 original.getPixels(pixels, 0, original.getWidth(), 0, 0, 185 original.getWidth(), original.getHeight()); 201 Bitmap bmp = Bitmap.createBitmap(original.getWidth(), original [all...] |
/packages/apps/Camera2/src/com/android/camera/data/ |
H A D | GlideFilmstripManager.java | 130 public final DrawableRequestBuilder<Uri> loadFull(Uri uri, Key key, Size original) { argument 131 Size size = clampSize(original, MAXIMUM_FULL_RES_PIXELS, getMaxImageDisplaySize()); 145 public DrawableRequestBuilder<Uri> loadScreen(Uri uri, Key key, Size original) { argument 146 Size size = clampSize(original, MAXIMUM_SMOOTH_PIXELS, getMaxImageDisplaySize()); 186 * Given a size, compute a value such that it will downscale the original size 191 private static Size clampSize(Size original, double maxArea, Size maxSize) { argument 192 if (original.getWidth() * original.getHeight() < maxArea && 193 original.getWidth() < maxSize.getWidth() && 194 original 215 computeFitWithinSize(Size original, Size maxSize) argument [all...] |
/packages/apps/Dialer/java/com/android/incallui/answer/impl/hint/ |
H A D | DotAnswerHint.java | 258 float original, 264 float scaleBegin = begin / original; 265 float scaleEnd = end / original; 256 createUniformScaleAnimator( View target, float original, float begin, float end, long duration, long delay, Interpolator interpolator) argument
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/ |
H A D | ProvisioningParamsTest.java | 184 private void testSaveAndRestore(ProvisioningParams original) { argument 188 original.save(file); 191 assertEquals(original, copy);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | PhotoProcessor.java | 115 * @param original The bitmap to process. 120 public PhotoProcessor(Bitmap original, int maxDisplayPhotoDim, int maxThumbnailPhotoDim) argument 122 this(original, maxDisplayPhotoDim, maxThumbnailPhotoDim, false); 140 * @param original The bitmap to process. 146 * dimensions, retaining its original aspect ratio. 149 public PhotoProcessor(Bitmap original, int maxDisplayPhotoDim, int maxThumbnailPhotoDim, argument 151 mOriginal = original; 166 * dimensions, retaining its original aspect ratio. 176 * Processes the original image, producing a scaled-down display photo and thumbnail photo. 188 * Scales down the original bitma 202 getNormalizedBitmap(Bitmap original, int maxDim, boolean forceCropToSquare) argument [all...] |
H A D | ContactsProvider2.java | 4583 // We can't change the original ContentValues, as it'll be re-used over all 5599 // If called by another CP2, then the URI should contain the original package name. 7111 // As it is not an enterprise directory id, fall back to original API 7511 static Cursor rewriteCorpDirectories(@Nullable Cursor original) { argument 7512 if (original == null) { 7515 final String[] projection = original.getColumnNames(); 7517 original.moveToPosition(-1); 7518 while (original.moveToNext()) { 7522 final int originalColumnIndex = original.getColumnIndex(outputColumnName); 7524 builder.add(original [all...] |
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
H A D | PhoneAccountRegistrarTest.java | 487 // Make sure that the default account is still the original PhoneAccount and that the 799 private static void roundTripPhoneAccount(PhoneAccount original) throws Exception { argument 804 parcel.writeParcelable(original, 0); 810 assertPhoneAccountEquals(original, copy);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | InstallShortcutReceiver.java | 583 * @return the newly created info or the original one. 586 PendingInstallShortcutInfo original) { 587 if (original.isLauncherActivity()) { 589 return original; 591 if (!Utilities.isLauncherAppTarget(original.launchIntent)) { 592 return original; 595 LauncherActivityInfo info = LauncherAppsCompat.getInstance(original.mContext) 596 .resolveActivity(original.launchIntent, original.user); 598 return original; 585 convertToLauncherActivityIfPossible( PendingInstallShortcutInfo original) argument [all...] |
H A D | Utilities.java | 141 // If the device was scaled, used the original dimensions to determine if rotation 533 * @param msg original message 589 * Returns true if {@param original} contains all entries defined in {@param updates} and 593 public static boolean containsAll(Bundle original, Bundle updates) { argument 596 Object value2 = original.get(key);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
H A D | ImagePreset.java | 439 public Bitmap apply(Bitmap original, FilterEnvironment environment) { argument 440 Bitmap bitmap = original;
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
H A D | Utility.java | 544 * @return if {@code original} is to the EmailProvider, add "?limit=1". Otherwise just returns 545 * {@code original}. 550 /* package */ static Uri buildLimitOneUri(Uri original) { argument 551 if ("content".equals(original.getScheme()) && 552 EmailContent.AUTHORITY.equals(original.getAuthority())) { 553 return EmailContent.uriWithLimit(original, 1); 555 return original;
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
H A D | ConversationContainer.java | 363 private void forwardFakeMotionEvent(MotionEvent original, int newAction) { argument 364 MotionEvent newEvent = MotionEvent.obtain(original); 1016 // restore the offset to its original value after the view has been moved off-screen.
|
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/ |
H A D | HtmlDocument.java | 76 * Returns, as much as possible, original content of preparsed nodes. This 77 * is only different from toHTML() if the nodes were created with original 176 public static Text createText(String text, String original) { argument 177 return new UnescapedText(text, original); 184 public static Text createEscapedText(String htmlText, String original) { argument 185 return new EscapedText(htmlText, original); 266 * @param sb Destination of HTML to be appended. Appends original if it's 292 * Emit original unchanged. 301 * Emit original unchanged. 310 * Emit original unchange [all...] |
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
H A D | reader.h | 214 explicit StreamLocalCopy(Stream& original) : s(original), original_(original) {}
argument 229 explicit StreamLocalCopy(Stream& original) : s(original) {}
argument
|
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
H A D | StringUtil.java | 435 * string in their original context. 486 * Splits the argument original into a list of substrings. All the 491 * @param original the original string 494 * original string 495 * @deprecated use {@code Splitter.fixedLength(lineLen).split(original))} 499 public static List<String> fixedSplit(String original, int lineLen) { argument 501 for (String elem : Splitter.fixedLength(lineLen).split(original)) { 1305 // Nothing to escape. Return the original string. 1778 // Return the original referenc [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | PhotoView.java | 931 private static int getRotated(int degree, int original, int theother) { argument 932 return (degree % 180 == 0) ? original : theother;
|
/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/ ... |
/packages/apps/Messaging/build/gcheckstyle/ |
H A D | google-style-checker_deploy.jar | META-INF/ META-INF/MANIFEST.MF build-data.properties com/ com/google/ com/google/ ... |