Searched refs:height (Results 51 - 75 of 512) sorted by relevance

1234567891011>>

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DScreenNail.java25 public void draw(GLCanvas canvas, int x, int y, int width, int height); argument
H A DSurfaceTextureScreenNail.java57 private static void setDefaultBufferSize(SurfaceTexture st, int width, int height) { argument
59 st.setDefaultBufferSize(width, height);
85 public void setSize(int width, int height) { argument
87 mHeight = height;
108 public void draw(GLCanvas canvas, int x, int y, int width, int height) { argument
117 int cy = y + height / 2;
122 canvas.drawTexture(mExtTexture, mTransform, x, y, width, height);
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
H A DPyramid.h35 real width, height; // Width and height of input images member in class:PyramidShort
40 static PyramidShort *allocatePyramidPacked(real width, real height, real levels, real border = 0);
41 static PyramidShort *allocateImage(real width, real height, real border);
45 static unsigned int calcStorage(real width, real height, real border2, int levels, int *lines);
H A DAlignFeatures.cpp35 width = height = 0;
55 int Align::initialize(int width, int height, bool _quarter_res, float _thresh_still) argument
64 int nrvert = height/60; // and vertical buckets for harris corner detection.
82 reg.Init(width, height, motion_model_type, 20, linear_polish, quarter_res,
88 this->height = height;
90 imageGray = ImageUtils::allocateImage(width, height, 1);
100 ImageUtils::rgb2gray(imageGray, imageRGB, width, height);
109 ImageType *m_rows = ImageUtils::imageTypeToRowPointers(imageGray_, width, height);
/packages/apps/Mms/src/org/w3c/dom/smil/
H A DElementLayout.java43 public void setHeight(int height) argument
/packages/apps/Settings/src/com/android/settings/deviceinfo/
H A DStorageItemPreference.java46 final int height = res.getDimensionPixelSize(R.dimen.device_memory_usage_button_height);
47 setIcon(createRectShape(width, height, this.color));
58 private static ShapeDrawable createRectShape(int width, int height, int color) { argument
60 shape.setIntrinsicHeight(height);
/packages/wallpapers/Basic/src/com/android/wallpaper/
H A DRenderScriptScene.java33 public RenderScriptScene(int width, int height) { argument
35 mHeight = height;
79 public void resize(int width, int height) { argument
81 mHeight = height;
H A DRenderScriptWallpaper.java31 protected abstract T createScene(int width, int height); argument
75 public void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument
76 super.onSurfaceChanged(holder, format, width, height);
78 mRs.setSurface(holder, width, height);
81 mRenderer = createScene(width, height);
85 mRenderer.resize(width, height);
/packages/wallpapers/MagicSmoke/src/com/android/magicsmoke/
H A DRenderScriptScene.java35 public RenderScriptScene(int width, int height) { argument
37 mHeight = height;
83 public void resize(int width, int height) { argument
85 mHeight = height;
H A DRenderScriptWallpaper.java35 protected abstract T createScene(int width, int height); argument
79 public void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument
80 super.onSurfaceChanged(holder, format, width, height);
82 mRs.setSurface(holder, width, height);
85 mRenderer = createScene(width, height);
89 mRenderer.resize(width, height);
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/
H A DRenderScriptScene.java34 public RenderScriptScene(int width, int height) { argument
36 mHeight = height;
80 public void resize(int width, int height) { argument
82 mHeight = height;
/packages/apps/Camera/src/com/android/camera/
H A DMediaSaver.java66 int width, int height, int orientation, OnMediaSavedListener l) {
73 r.height = height;
113 Uri uri = storeImage(r.data, r.title, r.date, r.loc, r.width, r.height,
133 Location loc, int width, int height, int orientation) {
135 orientation, data, width, height);
145 int width, height; field in class:MediaSaver.SaveRequest
65 addImage(final byte[] data, String title, long date, Location loc, int width, int height, int orientation, OnMediaSavedListener l) argument
132 storeImage(final byte[] data, String title, long date, Location loc, int width, int height, int orientation) argument
H A DCameraScreenNail.java83 public void onDraw(GLCanvas canvas, int x, int y, int width, int height) {
84 CameraScreenNail.super.draw(canvas, x, y, width, height);
107 void onDraw(GLCanvas canvas, int x, int y, int width, int height); argument
313 public void directDraw(GLCanvas canvas, int x, int y, int width, int height) { argument
318 draw.onDraw(canvas, x, y, width, height);
333 public void draw(GLCanvas canvas, int x, int y, int width, int height) { argument
344 directDraw(canvas, x, y, width, height);
348 mSwitchAnimManager.setReviewDrawingSize(width, height);
360 height, mAnimTexture);
369 mCaptureAnimManager.startAnimation(x, y, width, height);
458 setPreviewFrameLayoutSize(int width, int height) argument
[all...]
/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DZoomControlBar.java128 int height = bottom - top;
129 mBar.layout(mTotalIconWidth, 0, mWidth - mTotalIconWidth, height);
140 mZoomIn.layout(0, 0, mIconWidth, height);
141 mZoomOut.layout(mWidth - mIconWidth, 0, mWidth, height);
144 mZoomOut.layout(0, 0, mIconWidth, height);
145 mZoomIn.layout(mWidth - mIconWidth, 0, mWidth, height);
150 (pos + sliderWidth / 2), height);
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DDividedImageCanvas.java217 outDim.height = h;
248 final int height = mHeight;
257 draw(mDivisionImages.get(0), 0, 0, width, height);
264 draw(mDivisionImages.get(0), 0, 0, width / 2, height);
267 draw(mDivisionImages.get(1), width / 2, 0, width, height);
274 drawVerticalDivider(width, height);
283 draw(mDivisionImages.get(0), 0, 0, width / 2, height);
286 draw(mDivisionImages.get(1), width / 2, 0, width, height / 2);
289 draw(mDivisionImages.get(2), width / 2, height / 2, width, height);
354 drawVerticalDivider(int width, int height) argument
411 setDimensions(int width, int height) argument
[all...]
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
H A DDrawableTileSource.java73 float height = getImageHeight();
74 while (width > MAX_PREVIEW_SIZE || height > MAX_PREVIEW_SIZE) {
76 height /= 2;
78 Bitmap b = Bitmap.createBitmap((int) width, (int) height, Bitmap.Config.ARGB_8888);
80 mDrawable.setBounds(new Rect(0, 0, (int) width, (int) height));
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/
H A DExportDialog.java111 mOriginalBounds.height());
112 mRatio = mOriginalBounds.width() / (float) mOriginalBounds.height();
114 mHeightText.setText("" + mOriginalBounds.height());
116 mExportHeight = mOriginalBounds.height();
189 float originalArea = mCompressedBounds.width() * mCompressedBounds.height();
206 int height = 1;
220 height = (int) (width / mRatio);
222 mHeightText.setText("" + height);
228 height = Integer.parseInt(value);
229 if (height > mOriginalBound
[all...]
/packages/apps/Camera/jni/feature_mos/src/mosaic/
H A DAlignFeatures.cpp35 width = height = 0;
55 int Align::initialize(int width, int height, bool _quarter_res, float _thresh_still) argument
64 int nrvert = height/60; // and vertical buckets for harris corner detection.
82 reg.Init(width, height, motion_model_type, 20, linear_polish, quarter_res,
88 this->height = height;
90 imageGray = ImageUtils::allocateImage(width, height, 1);
100 ImageUtils::rgb2gray(imageGray, imageRGB, width, height);
109 ImageType *m_rows = ImageUtils::imageTypeToRowPointers(imageGray_, width, height);
/packages/apps/InCallUI/src/com/android/incallui/
H A DInCallVideoCallListenerNotifier.java185 * @param height New peer height.
187 public void peerDimensionsChanged(Call call, int width, int height) { argument
189 listener.onUpdatePeerDimensions(call, width, height);
198 * @param height The new camera video height.
200 public void cameraDimensionsChanged(Call call, int width, int height) { argument
202 listener.onCameraDimensionsChange(call, width, height);
268 * @param height
270 public void onUpdatePeerDimensions(Call call, int width, int height); argument
280 onCameraDimensionsChange(Call call, int width, int height) argument
[all...]
/packages/apps/Camera/jni/feature_mos/src/mosaic_renderer/
H A DRenderer.h21 bool SetupGraphics(int width, int height);
27 void SetInputTextureDimensions(int width, int height);
/packages/apps/Camera/src/com/android/camera/ui/
H A DPreviewSurfaceView.java44 if (p.width != size || p.height != size) {
46 p.height = size;
/packages/apps/Gallery2/jni/filters/
H A Dcontrast.c39 void JNIFUNCF(ImageFilterContrast, nativeApplyFilter, jobject bitmap, jint width, jint height, jfloat bright) argument
45 int len = width * height * 4;
H A Dshadows.c20 void JNIFUNCF(ImageFilterShadows, nativeApplyFilter, jobject bitmap, jint width, jint height, float scale){ argument
34 int len = width * height * 4;
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
H A DCanvasTexture.java30 public CanvasTexture(int width, int height) { argument
32 setSize(width, height);
H A DColorTexture.java49 public void setSize(int width, int height) { argument
51 mHeight = height;

Completed in 3145 milliseconds

1234567891011>>