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

  /packages/apps/Launcher2/src/com/android/launcher2/
Utilities.java 75 int sourceWidth = icon.getWidth();
77 if (sourceWidth > textureWidth && sourceHeight > textureHeight) {
80 (sourceWidth - textureWidth) / 2,
83 } else if (sourceWidth == textureWidth && sourceHeight == textureHeight) {
116 int sourceWidth = icon.getIntrinsicWidth();
119 if (sourceWidth > 0 && sourceHeight > 0) {
121 if (width < sourceWidth || height < sourceHeight) {
123 final float ratio = (float) sourceWidth / sourceHeight;
124 if (sourceWidth > sourceHeight) {
126 } else if (sourceHeight > sourceWidth) {
    [all...]
  /frameworks/base/policy/src/com/android/internal/policy/impl/
IconUtilities.java 124 int sourceWidth = icon.getIntrinsicWidth();
127 if (sourceWidth > 0 && sourceWidth > 0) {
129 if (width < sourceWidth || height < sourceHeight) {
131 final float ratio = (float) sourceWidth / sourceHeight;
132 if (sourceWidth > sourceHeight) {
134 } else if (sourceHeight > sourceWidth) {
137 } else if (sourceWidth < width && sourceHeight < height) {
139 width = sourceWidth;
  /frameworks/base/opengl/tests/hwc/
hwcStress.cpp 463 int sourceWidth = layer->sourceCrop.right
467 if (((layer->displayFrame.left + sourceWidth) <= width)
470 + sourceWidth;
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
ImageUtils.java 492 int sourceWidth = source.getWidth();
494 int destWidth = Math.max(1, (int) (xScale * sourceWidth));
505 g2.drawImage(source, 0, 0, destWidth, destHeight, 0, 0, sourceWidth, sourceHeight, null);
  /external/webkit/Source/WebCore/html/canvas/
WebGLRenderingContext.cpp 101 GC3Dsizei sourceWidth, GC3Dsizei sourceHeight,
105 clip1D(x, width, sourceWidth, clippedX, clippedWidth);
    [all...]

Completed in 1813 milliseconds