OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:imageBounds
(Results
1 - 25
of
27
) sorted by null
1
2
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/
CImageLabel.java
108
Rectangle
imageBounds
= m_image == null ? new Rectangle(0, 0, 0, 0) : m_image.getBounds();
112
int y = clientArea.y + (clientArea.height -
imageBounds
.height) / 2;
116
int x = clientArea.x +
imageBounds
.width + SPACE;
134
Rectangle
imageBounds
= m_image == null ? new Rectangle(0, 0, 0, 0) : m_image.getBounds();
136
int width =
imageBounds
.width + SPACE + textExtent.x;
137
int height = Math.max(
imageBounds
.height, textExtent.y);
CFlatButton.java
99
Rectangle
imageBounds
= image.getBounds();
101
int x = ca.x + (ca.width -
imageBounds
.width) / 2;
102
int y = ca.y + (ca.height -
imageBounds
.height) / 2;
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/widgets/
ImageCanvas.java
171
Rectangle
imageBounds
= mImage.getBounds();
172
scroll(destX, 0, 0, 0,
imageBounds
.width,
imageBounds
.height, false);
183
Rectangle
imageBounds
= mImage.getBounds();
184
scroll(0, destY, 0, 0,
imageBounds
.width,
imageBounds
.height, false);
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/
DrawUtils.java
78
Rectangle
imageBounds
= image.getBounds();
79
gc.drawImage(image, x, y + (height -
imageBounds
.height) / 2);
88
Rectangle
imageBounds
= image.getBounds();
89
int centerX = (width -
imageBounds
.width) / 2;
90
int centerY = y + (height -
imageBounds
.height) / 2;
230
Rectangle
imageBounds
= image.getBounds();
231
int imageWidth =
imageBounds
.width;
232
int imageHeight =
imageBounds
.height;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
ImageLoader.java
269
Rect
imageBounds
= new Rect(bounds);
271
if (!r.contains(
imageBounds
)) {
272
imageBounds
.intersect(r);
273
bounds.left =
imageBounds
.left;
274
bounds.top =
imageBounds
.top;
276
Bitmap reuse = cache.getBitmap(
imageBounds
.width(),
277
imageBounds
.height(), BitmapCache.REGION);
279
Bitmap bitmap = decoder.decodeRegion(
imageBounds
, options);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
StatusBarIconView.java
66
final int
imageBounds
= res.getDimensionPixelSize(R.dimen.status_bar_icon_drawing_size);
67
final float scale = (float)
imageBounds
/ (float)outerBounds;
84
final int
imageBounds
= res.getDimensionPixelSize(R.dimen.status_bar_icon_drawing_size);
85
final float scale = (float)
imageBounds
/ (float)outerBounds;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
CropDrawingUtils.java
161
public static Matrix getBitmapToDisplayMatrix(RectF
imageBounds
, RectF displayBounds) {
163
CropDrawingUtils.setBitmapToDisplayMatrix(m,
imageBounds
, displayBounds);
167
public static boolean setBitmapToDisplayMatrix(Matrix m, RectF
imageBounds
,
170
return m.setRectToRect(
imageBounds
, displayBounds, Matrix.ScaleToFit.CENTER);
CropActivity.java
618
RectF
imageBounds
= new RectF(0, 0, image.getWidth(), image.getHeight());
619
RectF crop = CropMath.getScaledCropBounds(cropBounds, photoBounds,
imageBounds
);
688
private RectF getBitmapCrop(RectF
imageBounds
) {
695
RectF scaledCrop = CropMath.getScaledCropBounds(crop, photo,
imageBounds
);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
Ticker.java
157
final int
imageBounds
= res.getDimensionPixelSize(R.dimen.status_bar_icon_drawing_size);
158
mIconScale = (float)
imageBounds
/ (float)outerBounds;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
GradControl.java
119
public void setScrImageInfo(Matrix scrToImg, Rect
imageBounds
) {
121
mImageBounds = new Rect(
imageBounds
);
EclipseControl.java
102
public void setScrImageInfo(Matrix scrToImg, Rect
imageBounds
) {
104
mImageBounds = new Rect(
imageBounds
);
/external/chromium_org/ui/file_manager/gallery/js/image_editor/
viewport.js
546
var
imageBounds
= this.getImageElementBoundsOnScreen();
547
var scaleX = screenRect.width /
imageBounds
.width;
548
var scaleY = screenRect.height /
imageBounds
.height;
image_view.js
212
var
imageBounds
= this.viewport_.getImageElementBoundsOnScreen();
213
canvas.style.left =
imageBounds
.left + 'px';
214
canvas.style.top =
imageBounds
.top + 'px';
215
canvas.style.width =
imageBounds
.width + 'px';
216
canvas.style.height =
imageBounds
.height + 'px';
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
ImageReaderTest.java
443
Rect
imageBounds
= new Rect(/*left*/0, /*top*/0, /*right*/width, /*bottom*/height);
446
assertTrue("Output rectangle" + crop + " must lie within image bounds " +
imageBounds
,
447
imageBounds
.contains(crop));
[
all
...]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
PaletteControl.java
[
all
...]
/prebuilts/tools/common/m2/repository/com/android/tools/external/propertysheet/1.0/
propertysheet-1.0.jar
/prebuilts/tools/common/m2/repository/com/android/external/eclipse/swt/3.5.0/
swt-3.5.0.jar
/prebuilts/tools/darwin-x86/swt/
swt.jar
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.jface_3.6.1.M20100825-0800.jar
org.eclipse.jface.text_3.6.1.r361_v20100825-0800.jar
/prebuilts/devtools/tools/lib/
org-eclipse-jface-3.6.2.jar
/prebuilts/tools/common/eclipse/
org.eclipse.jface_3.4.2.M20090107-0800.jar
org.eclipse.jface_3.6.2.M20110210-1200.jar
/prebuilts/tools/common/m2/repository/com/android/external/eclipse/org-eclipse-jface/3.6.2/
org-eclipse-jface-3.6.2.jar
/prebuilts/tools/darwin-x86_64/swt/
swt.jar
Completed in 1298 milliseconds
1
2