OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:sourceHeight
(Results
1 - 4
of
4
) sorted by null
/frameworks/base/policy/src/com/android/internal/policy/impl/
IconUtilities.java
131
int
sourceHeight
= icon.getIntrinsicHeight();
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) {
146
height =
sourceHeight
;
/frameworks/base/opengl/tests/hwc/
hwcStress.cpp
465
int
sourceHeight
= layer->sourceCrop.bottom
468
&& ((layer->displayFrame.top +
sourceHeight
) <= height)) {
472
+
sourceHeight
;
/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) {
115
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
...]
/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);
Completed in 1652 milliseconds