OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:nearestWidth
(Results
1 - 2
of
2
) sorted by null
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/
ImageUtils.java
259
int
nearestWidth
= destWidth; // Width closest to source width that = 2^x, x is integer
261
while (
nearestWidth
< sourceWidth / 2) {
262
nearestWidth
*= 2;
267
BufferedImage scaled = new BufferedImage(
nearestWidth
, nearestHeight, imageType);
271
g2.drawImage(source, 0, 0,
nearestWidth
, nearestHeight, 0, 0, sourceWidth, sourceHeight,
275
sourceWidth =
nearestWidth
;
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
ImageUtils.java
[
all
...]
Completed in 161 milliseconds