Searched refs:verticalAlignment (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/core/java/android/text/style/
H A DImageSpan.java48 public ImageSpan(Bitmap b, int verticalAlignment) { argument
49 this(null, b, verticalAlignment);
57 * @param verticalAlignment one of {@link DynamicDrawableSpan#ALIGN_BOTTOM} or
60 public ImageSpan(Context context, Bitmap b, int verticalAlignment) { argument
61 super(verticalAlignment);
76 * @param verticalAlignment one of {@link DynamicDrawableSpan#ALIGN_BOTTOM} or
79 public ImageSpan(Drawable d, int verticalAlignment) { argument
80 super(verticalAlignment);
89 * @param verticalAlignment one of {@link DynamicDrawableSpan#ALIGN_BOTTOM} or
92 public ImageSpan(Drawable d, String source, int verticalAlignment) { argument
106 ImageSpan(Context context, Uri uri, int verticalAlignment) argument
121 ImageSpan(Context context, int resourceId, int verticalAlignment) argument
[all...]
H A DDynamicDrawableSpan.java55 * @param verticalAlignment one of {@link #ALIGN_BOTTOM} or {@link #ALIGN_BASELINE}.
57 protected DynamicDrawableSpan(int verticalAlignment) { argument
58 mVerticalAlignment = verticalAlignment;
/frameworks/base/core/java/android/app/
H A DWallpaperManager.java410 * @param verticalAlignment A float value between 0 and 1 specifying where to crop the image;
415 boolean scaleToFit, float horizontalAlignment, float verticalAlignment) {
422 verticalAlignment = Math.max(0, Math.min(1, verticalAlignment));
459 horizontalAlignment, verticalAlignment);
463 float top = (inHeight - outHeight) * verticalAlignment;
546 float horizontalAlignment, float verticalAlignment) {
559 cropRect.top = (inHeight - cropHeight) * verticalAlignment;
414 getBuiltInDrawable(int outWidth, int outHeight, boolean scaleToFit, float horizontalAlignment, float verticalAlignment) argument
545 getMaxCropRect(int inWidth, int inHeight, int outWidth, int outHeight, float horizontalAlignment, float verticalAlignment) argument

Completed in 102 milliseconds