HomeSort by relevance Sort by last modified time
    Searched refs:imageWidth (Results 1 - 25 of 98) sorted by null

1 2 3 4

  /external/chromium_org/remoting/android/java/src/org/chromium/chromoting/
RenderData.java 20 public int imageWidth = 0;
TrackingInputHandler.java 118 if (newX > mRenderData.imageWidth) newX = mRenderData.imageWidth;
148 float[] rectScreen = {0, 0, mRenderData.imageWidth, mRenderData.imageHeight};
192 if (mRenderData.imageWidth == 0 || mRenderData.imageHeight == 0) {
203 float[] imageSize = {(float)mRenderData.imageWidth, (float)mRenderData.imageHeight};
209 float scale = Math.min((float)mRenderData.screenWidth / mRenderData.imageWidth,
  /external/opencv/cv/src/
cvoptflowhs.cpp 107 int imageWidth = imgSize.width;
167 VelBufX[k] = (float *) cvAlloc( imageWidth * sizeof( float ));
171 VelBufY[k] = (float *) cvAlloc( imageWidth * sizeof( float ));
177 BufferSize = imageHeight * imageWidth;
209 for( j = 1; j < imageWidth - 1; j++ )
222 MemY[0][imageWidth - 1] =
223 MemY[1][imageWidth - 1] = CONV( imgA[imageWidth - 2],
224 imgA[imageWidth - 1], imgA[imageWidth - 1] )
    [all...]
cvoptflowlk.cpp 110 int imageWidth = imgSize.width;
158 if( imageWidth < winWidth )
172 BufferWidth = imageWidth;
246 for( j = 1; j < imageWidth - 1; j++ )
259 MemY[0][imageWidth - 1] =
260 MemY[1][imageWidth - 1] = CONV( imgA[imageWidth - 2],
261 imgA[imageWidth - 1], imgA[imageWidth - 1] );
323 for( j = 1; j < imageWidth - 1; j++
    [all...]
  /developers/samples/android/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/notifications/
AnimatedNotificationDisplayActivity.java 125 int imageWidth = imageView.getDrawable().getIntrinsicWidth();
128 if (imageWidth > imageHeight) {
129 imageWidth = minSize * imageWidth / imageHeight;
132 imageHeight = minSize * imageHeight / imageWidth;
133 imageWidth = minSize;
135 imageView.layout(left, top, left + imageWidth, top + imageHeight);
  /development/samples/wearable/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/
AnimatedNotificationDisplayActivity.java 125 int imageWidth = imageView.getDrawable().getIntrinsicWidth();
128 if (imageWidth > imageHeight) {
129 imageWidth = minSize * imageWidth / imageHeight;
132 imageHeight = minSize * imageHeight / imageWidth;
133 imageWidth = minSize;
135 imageView.layout(left, top, left + imageWidth, top + imageHeight);
  /packages/apps/Camera2/src/com/android/camera/data/
LocalDataUtil.java 106 * @param imageWidth Image width.
115 public static Bitmap loadImageThumbnailFromStream(InputStream stream, int imageWidth,
124 imageHeight = imageWidth;
125 imageWidth = dummy;
130 int targetWidth = imageWidth;
137 targetWidth = imageWidth / sampleSize;
138 targetHeight = imageWidth / sampleSize;
  /external/deqp/modules/gles2/functional/
es2fPrerequisiteTests.cpp 182 int imageWidth = 0;
194 imageWidth = targetWidth;
201 imageWidth = targetWidth / 2;
208 imageWidth = targetWidth - x;
214 imageWidth = 1 + (deRandom_getUint32(&rnd) % (targetWidth - x - 1));
219 Surface resImage(imageWidth, imageHeight);
220 Surface refImage(imageWidth, imageHeight);
221 Surface diffImage(imageWidth, imageHeight);
241 for (int i = 0; i < imageWidth; i++)
  /external/deqp/modules/gles3/functional/
es3fPrerequisiteTests.cpp 182 int imageWidth = 0;
194 imageWidth = targetWidth;
201 imageWidth = targetWidth / 2;
208 imageWidth = targetWidth - x;
214 imageWidth = 1 + (deRandom_getUint32(&rnd) % (targetWidth - x - 1));
219 Surface resImage(imageWidth, imageHeight);
220 Surface refImage(imageWidth, imageHeight);
221 Surface diffImage(imageWidth, imageHeight);
241 for (int i = 0; i < imageWidth; i++)
  /frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
CropView.java 72 final float imageWidth = mRenderer.source.getImageWidth();
75 imageDims[0] = imageWidth;
87 final float imageWidth = imageDims[0];
97 rendererCenter[0] += imageWidth / 2;
101 float centerX = (width / 2f - rendererCenter[0] + (imageWidth - width) / 2f)
105 float leftEdge = centerX - imageWidth / 2f * scale;
106 float rightEdge = centerX + imageWidth / 2f * scale;
165 final float imageWidth = imageDims[0];
167 mMinScale = Math.max(w / imageWidth, h / imageHeight);
  /packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
CropView.java 72 final float imageWidth = mRenderer.source.getImageWidth();
75 imageDims[0] = imageWidth;
87 final float imageWidth = imageDims[0];
97 rendererCenter[0] += imageWidth / 2;
101 float centerX = (width / 2f - rendererCenter[0] + (imageWidth - width) / 2f)
105 float leftEdge = centerX - imageWidth / 2f * scale;
106 float rightEdge = centerX + imageWidth / 2f * scale;
165 final float imageWidth = imageDims[0];
167 mMinScale = Math.max(w / imageWidth, h / imageHeight);
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/
BooleanObjectPropertyEditor.java 68 int imageWidth = image.getBounds().width + 2;
69 x += imageWidth;
70 width -= imageWidth;
BooleanPropertyEditor.java 68 int imageWidth = image.getBounds().width + 2;
69 x += imageWidth;
70 width -= imageWidth;
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/
BooleanXmlPropertyEditor.java 72 int imageWidth = image.getBounds().width + 2;
73 width -= imageWidth;
77 x += imageWidth;
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/
DrawUtils.java 101 int imageWidth = image.getBounds().width;
106 if (imageWidth <= targetRectangle.width && imageHeight <= targetRectangle.height) {
107 newImageWidth = imageWidth;
113 double k_w = targetRectangle.width / (double) imageWidth;
118 newImageWidth = (int) (imageWidth * k);
124 gc.drawImage(image, 0, 0, imageWidth, imageHeight, destX, destY, newImageWidth, newImageHeight);
231 int imageWidth = imageBounds.width;
233 if (imageWidth < minWidth && imageHeight < minHeight) {
250 } else if (imageWidth <= maxWidth && imageHeight <= maxHeight) {
253 double kX = (double) maxWidth / imageWidth;
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
ImageStraighten.java 206 private void updateCurrentCrop(Matrix m, GeometryHolder h, RectF tmp, int imageWidth,
208 tmp.set(0, 0, imageHeight, imageWidth);
217 tmp.set(0, 0, imageHeight, imageWidth);
219 ih = imageWidth;
221 tmp.set(0, 0, imageWidth, imageHeight);
222 iw = imageWidth;
231 Matrix m1 = GeometryMathUtils.getFullGeometryToScreenMatrix(h, imageWidth,
237 FilterCropRepresentation.findNormalizedCrop(mCrop, imageWidth, imageHeight);
251 int imageWidth = image.getWidth();
257 Matrix m = GeometryMathUtils.getFullGeometryToScreenMatrix(mDrawHolder, imageWidth,
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
ImageControl.java 96 int imageWidth = imageRect.width;
97 if (imageWidth <= width) {
102 mScale = width / (float) imageWidth;
184 int imageWidth = imageRect.width;
185 int destWidth = imageWidth;
197 gc.drawImage(mImage, 0, 0, imageWidth, imageHeight, rect.x + mLeftMargin, rect.y
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/widgets/
ImageCanvas.java 118 int imageWidth, imageHeight;
120 imageWidth = mImage.getBounds().width;
123 imageWidth = client.width;
127 mHorizontalScrollBar.setMaximum(imageWidth);
129 mHorizontalScrollBar.setThumb(Math.min(imageWidth, client.width));
132 int hPage = imageWidth - client.width;
  /frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
h264bsd_deblocking.c 174 u32 imageWidth);
177 u32 imageWidth);
180 u32 imageWidth);
182 i32 imageWidth);
184 i32 imageWidth);
187 u32 imageWidth);
189 i32 imageWidth);
191 i32 imageWidth);
653 u32 imageWidth)
674 for (i = 4; i; i--, data += imageWidth)
    [all...]
  /developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
ImageResizer.java 45 * @param imageWidth
48 public ImageResizer(Context context, int imageWidth, int imageHeight) {
50 setImageSize(imageWidth, imageHeight);
  /developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
ImageResizer.java 45 * @param imageWidth
48 public ImageResizer(Context context, int imageWidth, int imageHeight) {
50 setImageSize(imageWidth, imageHeight);
  /development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
ImageResizer.java 45 * @param imageWidth
48 public ImageResizer(Context context, int imageWidth, int imageHeight) {
50 setImageSize(imageWidth, imageHeight);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/ui/
StretchesViewer.java 146 int imageWidth = mNinePatchedImage.getWidth();
149 mHorizontal.setSize(imageWidth * scale, imageHeight);
150 mVertical.setSize(imageWidth, imageHeight * scale);
151 mBoth.setSize(imageWidth * scale, imageHeight * scale);
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/gpu/
WebGLImageConversion.h 87 unsigned imageWidth() { return m_imageWidth; }
  /external/chromium_org/third_party/skia/src/core/
SkDistanceFieldGen.cpp 68 int imageWidth, int imageHeight,
75 for (int i = 0; i < imageWidth; ++i) {
85 if (i == imageWidth-1) {
94 if (found_edge(image, imageWidth, checkMask)) {

Completed in 1042 milliseconds

1 2 3 4