OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:sourceHeight
(Results
1 - 10
of
10
) 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;
/external/jmonkeyengine/engine/src/desktop/jme3tools/converters/
MipMapGenerator.java
50
int
sourceHeight
= sourceImage.getHeight();
56
g.drawImage(sourceImage, 0, 0, targetWidth, targetHeight, 0, 0, sourceWidth,
sourceHeight
, null);
/frameworks/base/policy/src/com/android/internal/policy/impl/
IconUtilities.java
131
int
sourceHeight
= icon.getIntrinsicHeight();
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) {
146
height =
sourceHeight
;
/frameworks/av/cmds/screenrecord/
screenrecord.cpp
210
uint32_t sourceWidth,
sourceHeight
;
213
sourceHeight
= mainDpyInfo.h;
216
sourceHeight
= mainDpyInfo.w;
219
Rect layerStackRect(sourceWidth,
sourceHeight
);
222
float displayAspect = (float)
sourceHeight
/ (float) sourceWidth;
/frameworks/native/opengl/tests/hwc/
hwcStress.cpp
464
int
sourceHeight
= layer->sourceCrop.bottom
467
&& ((layer->displayFrame.top +
sourceHeight
) <= height)) {
471
+
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) {
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
...]
/packages/apps/Launcher3/src/com/android/launcher3/
Utilities.java
94
int
sourceHeight
= icon.getHeight();
95
if (sourceWidth > textureWidth &&
sourceHeight
> textureHeight) {
99
(
sourceHeight
- textureHeight) / 2,
101
} else if (sourceWidth == textureWidth &&
sourceHeight
== textureHeight) {
136
int
sourceHeight
= icon.getIntrinsicHeight();
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 546 milliseconds