HomeSort by relevance Sort by last modified time
    Searched defs:sourceWidth (Results 1 - 24 of 24) sorted by null

  /packages/apps/Messaging/src/com/android/messaging/datamodel/media/
ImageRequestDescriptor.java 35 public final int sourceWidth;
77 final int desiredHeight, final int sourceWidth, final int sourceHeight,
82 Assert.isTrue(sourceWidth == ImageRequest.UNSPECIFIED_SIZE || sourceWidth > 0);
86 this.sourceWidth = sourceWidth;
111 public void updateSourceDimensions(final int sourceWidth, final int sourceHeight) {
VideoThumbnailRequestDescriptor.java 26 int desiredHeight, int sourceWidth, int sourceHeight) {
27 super(UriUtil.getUriForResourceFile(path), desiredWidth, desiredHeight, sourceWidth,
FileImageRequestDescriptor.java 47 final int desiredHeight, final int sourceWidth, final int sourceHeight,
49 super(UriUtil.getUriForResourceFile(path), desiredWidth, desiredHeight, sourceWidth,
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
IconFactory.java 47 int sourceWidth = sourceImage.getWidth();
50 if (sourceWidth == 0 || sourceHeight == 0 || iconWidth == 0 || iconHeight == 0) {
74 int sourceWidth = sourceImage.getWidth();
79 if (sourceWidth == 0 || sourceHeight == 0 || iconWidth == 0 || iconHeight == 0) {
89 srcRect = new Rect(0, 0, sourceWidth, sourceHeight);
92 float wScale = sourceWidth / (float) iconWidth;
99 float borderW = (sourceWidth - iw) / 2.0f;
  /packages/apps/Messaging/src/com/android/messaging/datamodel/data/
GalleryGridItemData.java 74 int sourceWidth = cursor.getInt(INDEX_WIDTH);
78 if (sourceWidth <= 0) {
79 sourceWidth = ImageRequest.UNSPECIFIED_SIZE;
92 sourceWidth,
115 mImageData.uri, mImageData.sourceWidth, mImageData.sourceHeight);
  /frameworks/base/services/core/java/com/android/server/policy/
IconUtilities.java 121 int sourceWidth = icon.getIntrinsicWidth();
124 if (sourceWidth > 0 && sourceHeight > 0) {
126 if (width < sourceWidth || height < sourceHeight) {
128 final float ratio = (float) sourceWidth / sourceHeight;
129 if (sourceWidth > sourceHeight) {
131 } else if (sourceHeight > sourceWidth) {
134 } else if (sourceWidth < width && sourceHeight < height) {
136 width = sourceWidth;
  /frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
ImageUtils.java 208 int sourceWidth = source.getWidth();
210 int destWidth = Math.max(1, (int) (xScale * sourceWidth));
227 g2.drawImage(source, 0, 0, destWidth, destHeight, 0, 0, sourceWidth, sourceHeight,
261 while (nearestWidth < sourceWidth / 2) {
271 g2.drawImage(source, 0, 0, nearestWidth, nearestHeight, 0, 0, sourceWidth, sourceHeight,
275 sourceWidth = nearestWidth;
280 int halfWidth = sourceWidth / 2;
285 g2.drawImage(source, 0, 0, halfWidth, halfHeight, 0, 0, sourceWidth, sourceHeight,
289 sourceWidth = halfWidth;
  /frameworks/native/opengl/tests/hwc/
hwcStress.cpp 462 int sourceWidth = layer->sourceCrop.right
466 if (((layer->displayFrame.left + sourceWidth) <= width)
469 + sourceWidth;
  /hardware/qcom/display/msm8084/libhwcomposer/
hwc.cpp 251 uint32_t sourceWidth = sourceCrop.right - sourceCrop.left;
254 if (isEqual(((float)layerWidth / (float)sourceWidth), xresRatio) &&
  /packages/apps/Launcher2/src/com/android/launcher2/
Utilities.java 73 int sourceWidth = icon.getWidth();
75 if (sourceWidth > textureWidth && sourceHeight > textureHeight) {
78 (sourceWidth - textureWidth) / 2,
81 } else if (sourceWidth == textureWidth && sourceHeight == textureHeight) {
115 int sourceWidth = icon.getIntrinsicWidth();
117 if (sourceWidth > 0 && sourceHeight > 0) {
119 if (width < sourceWidth || height < sourceHeight) {
121 final float ratio = (float) sourceWidth / sourceHeight;
122 if (sourceWidth > sourceHeight) {
124 } else if (sourceHeight > sourceWidth) {
    [all...]
  /frameworks/av/cmds/screenrecord/
screenrecord.cpp 222 uint32_t sourceWidth, sourceHeight;
224 sourceWidth = mainDpyInfo.w;
229 sourceWidth = mainDpyInfo.h;
231 Rect layerStackRect(sourceWidth, sourceHeight);
234 float displayAspect = (float) sourceHeight / (float) sourceWidth;
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
BitmapDrawableTest.java 353 int sourceWidth, targetWidth;
359 sourceWidth = 200;
361 bitmap = Bitmap.createBitmap(sourceWidth, sourceHeight, Config.RGB_565);
368 sourceWidth, sourceDensity, targetDensity);
374 sourceWidth = 200;
376 bitmap = Bitmap.createBitmap(sourceWidth, sourceHeight, Config.RGB_565);
382 sourceWidth, sourceDensity, targetDensity);
388 sourceWidth = 48;
397 sourceWidth, sourceDensity, targetDensity);
NinePatchDrawableTest.java 330 int sourceWidth = 80;
332 int[] colors = new int[sourceWidth * sourceHeight];
334 colors, sourceWidth, sourceHeight, Bitmap.Config.RGB_565);
341 sourceWidth, sourceDensity, targetDensity);
357 assertTrue(sourceWidth != ninePatchDrawable.getIntrinsicWidth());
  /external/icu/icu4c/source/i18n/
measfmt.cpp 329 UMeasureFormatWidth sourceWidth = widthFromKey(key);
330 if (sourceWidth == UMEASFMT_WIDTH_COUNT) {
345 cacheData.widthFallback[sourceWidth] = targetWidth;
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/util/
ImageUtils.java     [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
ImageUtils.java     [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/text/
MeasureFormat.java     [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
MeasureFormat.java     [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/
Utilities.java 256 int sourceWidth = icon.getIntrinsicWidth();
258 if (sourceWidth > 0 && sourceHeight > 0) {
260 final float ratio = (float) sourceWidth / sourceHeight;
261 if (sourceWidth > sourceHeight) {
263 } else if (sourceHeight > sourceWidth) {
    [all...]
  /frameworks/base/services/core/java/com/android/server/wm/
AppTransition.java     [all...]
  /external/robolectric/v3/runtime/
android-all-4.4_r1-robolectric-1.jar 
android-all-5.0.0_r2-robolectric-1.jar 
android-all-5.1.1_r9-robolectric-1.jar 
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jar 

Completed in 600 milliseconds