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

  /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;
  /external/jmonkeyengine/engine/src/desktop/jme3tools/converters/
MipMapGenerator.java 49 int sourceWidth = sourceImage.getWidth();
56 g.drawImage(sourceImage, 0, 0, targetWidth, targetHeight, 0, 0, sourceWidth, sourceHeight, null);
  /frameworks/base/policy/src/com/android/internal/policy/impl/
IconUtilities.java 130 int sourceWidth = icon.getIntrinsicWidth();
133 if (sourceWidth > 0 && sourceHeight > 0) {
135 if (width < sourceWidth || height < sourceHeight) {
137 final float ratio = (float) sourceWidth / sourceHeight;
138 if (sourceWidth > sourceHeight) {
140 } else if (sourceHeight > sourceWidth) {
143 } else if (sourceWidth < width && sourceHeight < height) {
145 width = sourceWidth;
  /frameworks/av/cmds/screenrecord/
screenrecord.cpp 210 uint32_t sourceWidth, sourceHeight;
212 sourceWidth = mainDpyInfo.w;
217 sourceWidth = mainDpyInfo.h;
219 Rect layerStackRect(sourceWidth, sourceHeight);
222 float displayAspect = (float) sourceHeight / (float) sourceWidth;
  /frameworks/native/opengl/tests/hwc/
hwcStress.cpp 462 int sourceWidth = layer->sourceCrop.right
466 if (((layer->displayFrame.left + sourceWidth) <= width)
469 + sourceWidth;
  /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...]
  /packages/apps/Launcher3/src/com/android/launcher3/
Utilities.java 93 int sourceWidth = icon.getWidth();
95 if (sourceWidth > textureWidth && sourceHeight > textureHeight) {
98 (sourceWidth - textureWidth) / 2,
101 } else if (sourceWidth == textureWidth && sourceHeight == textureHeight) {
135 int sourceWidth = icon.getIntrinsicWidth();
137 if (sourceWidth > 0 && sourceHeight > 0) {
139 final float ratio = (float) sourceWidth / sourceHeight;
140 if (sourceWidth > sourceHeight) {
142 } else if (sourceHeight > sourceWidth) {
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
ImageUtils.java     [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderBoxModelObject.cpp     [all...]
  /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 363 milliseconds