OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:sourceHeight
(Results
1 - 15
of
15
) 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;
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/util/
BitmapUtilTests.java
105
private byte[] createJpegRawData(int sourceWidth, int
sourceHeight
) throws IOException {
106
return createRawData(Bitmap.CompressFormat.JPEG, sourceWidth,
sourceHeight
);
109
private byte[] createPngRawData(int sourceWidth, int
sourceHeight
) throws IOException {
110
return createRawData(Bitmap.CompressFormat.PNG, sourceWidth,
sourceHeight
);
114
int
sourceHeight
) throws IOException {
116
Bitmap b = Bitmap.createBitmap(sourceWidth,
sourceHeight
, Bitmap.Config.ARGB_8888);
/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/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
;
/packages/apps/Launcher3/src/com/android/launcher3/
Utilities.java
110
int
sourceHeight
= icon.getHeight();
111
if (sourceWidth > textureWidth &&
sourceHeight
> textureHeight) {
115
(
sourceHeight
- textureHeight) / 2,
117
} else if (sourceWidth == textureWidth &&
sourceHeight
== textureHeight) {
152
int
sourceHeight
= icon.getIntrinsicHeight();
153
if (sourceWidth > 0 &&
sourceHeight
> 0) {
155
final float ratio = (float) sourceWidth /
sourceHeight
;
156
if (sourceWidth >
sourceHeight
) {
158
} else if (
sourceHeight
> sourceWidth) {
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/
generatemip.h
149
static void GenerateMip(unsigned int sourceWidth, unsigned int
sourceHeight
,
154
unsigned int mipHeight = std::max(1U,
sourceHeight
>> 1);
156
if (
sourceHeight
== 1)
170
ASSERT(
sourceHeight
!= 1);
Renderer11.h
144
bool copyTexture(ID3D11ShaderResourceView *source, const gl::Rectangle &sourceArea, unsigned int sourceWidth, unsigned int
sourceHeight
,
Renderer11.cpp
[
all
...]
/external/chromium_org/chrome/browser/resources/image_loader/
image_loader.js
135
var
sourceHeight
= height;
140
sourceHeight
= width;
144
var targetHeight =
sourceHeight
;
148
targetHeight =
sourceHeight
* options.scale;
/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);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
ImageUtils.java
[
all
...]
/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
;
/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 240 milliseconds