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

  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
IconFactory.java 48 int sourceHeight = sourceImage.getHeight();
50 if (sourceWidth == 0 || sourceHeight == 0 || iconWidth == 0 || iconHeight == 0) {
75 int sourceHeight = sourceImage.getHeight();
79 if (sourceWidth == 0 || sourceHeight == 0 || iconWidth == 0 || iconHeight == 0) {
89 srcRect = new Rect(0, 0, sourceWidth, sourceHeight);
93 float hScale = sourceHeight / (float) iconHeight;
100 float borderH = (sourceHeight - ih) / 2.0f;
  /frameworks/base/policy/src/com/android/internal/policy/impl/
IconUtilities.java 122 int sourceHeight = icon.getIntrinsicHeight();
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) {
137 height = sourceHeight;
  /hardware/qcom/display/msm8226/libhwcomposer/
hwc.cpp 176 float sourceHeight = sourceCrop.bottom - sourceCrop.top;
179 isEqual(layerHeight / sourceHeight, yresRatio))
  /frameworks/native/opengl/tests/hwc/
hwcStress.cpp 463 int sourceHeight = layer->sourceCrop.bottom
466 && ((layer->displayFrame.top + sourceHeight) <= height)) {
470 + sourceHeight;
  /hardware/qcom/display/msm8084/libhwcomposer/
hwc.cpp 252 uint32_t sourceHeight = sourceCrop.bottom - sourceCrop.top;
255 isEqual(((float)layerHeight / (float)sourceHeight), yresRatio))
  /packages/apps/Launcher2/src/com/android/launcher2/
Utilities.java 74 int sourceHeight = icon.getHeight();
75 if (sourceWidth > textureWidth && sourceHeight > textureHeight) {
79 (sourceHeight - textureHeight) / 2,
81 } else if (sourceWidth == textureWidth && sourceHeight == textureHeight) {
116 int sourceHeight = icon.getIntrinsicHeight();
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 219 uint32_t sourceWidth, sourceHeight;
222 sourceHeight = mainDpyInfo.h;
225 sourceHeight = mainDpyInfo.w;
228 Rect layerStackRect(sourceWidth, sourceHeight);
231 float displayAspect = (float) sourceHeight / (float) sourceWidth;
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/
Utilities.java 121 int sourceHeight = icon.getHeight();
122 if (sourceWidth > textureWidth && sourceHeight > textureHeight) {
126 (sourceHeight - textureHeight) / 2,
128 } else if (sourceWidth == textureWidth && sourceHeight == textureHeight) {
163 int sourceHeight = icon.getIntrinsicHeight();
164 if (sourceWidth > 0 && sourceHeight > 0) {
166 final float ratio = (float) sourceWidth / sourceHeight;
167 if (sourceWidth > sourceHeight) {
169 } 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 590 milliseconds