OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:sourceHeight
(Results
1 - 5
of
5
) sorted by null
/packages/apps/Launcher2/src/com/android/launcher2/
Utilities.java
76
int
sourceHeight
= icon.getHeight();
77
if (sourceWidth > textureWidth &&
sourceHeight
> textureHeight) {
81
(
sourceHeight
- textureHeight) / 2,
83
} else if (sourceWidth == textureWidth &&
sourceHeight
== textureHeight) {
117
int
sourceHeight
= icon.getIntrinsicHeight();
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
125
int
sourceHeight
= icon.getIntrinsicHeight();
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) {
140
height =
sourceHeight
;
/frameworks/base/opengl/tests/hwc/
hwcStress.cpp
465
int
sourceHeight
= layer->sourceCrop.bottom
468
&& ((layer->displayFrame.top +
sourceHeight
) <= height)) {
472
+
sourceHeight
;
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
ImageUtils.java
493
int
sourceHeight
= source.getHeight();
495
int destHeight = Math.max(1, (int) (yScale *
sourceHeight
));
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
,
106
clip1D(y, height,
sourceHeight
, clippedY, clippedHeight);
[
all
...]
Completed in 53 milliseconds