Searched refs:height (Results 26 - 50 of 512) sorted by relevance

1234567891011>>

/packages/apps/Gallery2/jni/filters/
H A Dredeye.c20 void JNIFUNCF(ImageFilterRedEye, nativeApplyFilter, jobject bitmap, jint width, jint height, jshortArray vrect) argument
27 filterRedEye(rgb,rgb,width,height,rect);
H A Dexposure.c19 void JNIFUNCF(ImageFilterExposure, nativeApplyFilter, jobject bitmap, jint width, jint height, jfloat bright) argument
25 int len = width * height * 4;
H A Dhighlight.c21 jint width, jint height, jfloatArray luminanceMap){
26 int len = width * height * 4;
20 JNIFUNCF(ImageFilterHighlights, nativeApplyFilter, jobject bitmap, jint width, jint height, jfloatArray luminanceMap) argument
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DLeaveBehindData.java27 final int height; field in class:LeaveBehindData
29 public LeaveBehindData(Conversation conv, ToastBarOperation undoOp, int height) { argument
32 this.height = height;
44 arg.writeInt(height);
50 height = arg.readInt();
/packages/apps/Camera2/src/com/android/camera/
H A DCaptureLayoutHelper.java224 public void onNonDecorWindowSizeChanged(int width, int height, int rotation) { argument
226 mWindowHeight = height;
233 * activity layout width, height and aspect ratio.
237 * @param height height of the main activity layout, excluding system decor
244 private PositionConfiguration getPositionConfiguration(int width, int height, argument
246 boolean landscape = width > height;
252 config.mPreviewRect.set(0, 0, width, height);
255 config.mBottomBarRect.set(width - mBottomBarOptimalHeight, 0, width, height);
257 config.mBottomBarRect.set(0, height
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DTiledScreenNail.java62 public TiledScreenNail(int width, int height) { argument
63 setSize(width, height);
75 private void setSize(int width, int height) { argument
76 if (width == 0 || height == 0) {
78 height = sMaxSide * 3 / 4;
80 float scale = Math.min(1, (float) sMaxSide / Math.max(width, height));
82 mHeight = Math.round(scale * height);
98 // height, and Bitmap, then recycle the other.
114 public void updatePlaceholderSize(int width, int height) { argument
116 if (width == 0 || height
155 draw(GLCanvas canvas, int x, int y, int width, int height) argument
[all...]
H A DAlbumSetSlotRenderer.java131 public int renderSlot(GLCanvas canvas, int index, int pass, int width, int height) { argument
134 renderRequestFlags |= renderContent(canvas, entry, width, height);
135 renderRequestFlags |= renderLabel(canvas, entry, width, height);
136 renderRequestFlags |= renderOverlay(canvas, index, entry, width, height);
141 GLCanvas canvas, int index, AlbumSetEntry entry, int width, int height) {
144 int uncoveredHeight = height - mLabelSpec.labelBackgroundHeight;
151 drawPressedUpFrame(canvas, width, height);
158 drawPressedFrame(canvas, width, height);
161 drawSelectedFrame(canvas, width, height);
163 drawSelectedFrame(canvas, width, height);
140 renderOverlay( GLCanvas canvas, int index, AlbumSetEntry entry, int width, int height) argument
168 renderContent( GLCanvas canvas, AlbumSetEntry entry, int width, int height) argument
190 renderLabel( GLCanvas canvas, AlbumSetEntry entry, int width, int height) argument
237 onSlotSizeChanged(int width, int height) argument
[all...]
H A DMeasureHelper.java39 public MeasureHelper setPreferredContentSize(int width, int height) { argument
41 mPreferredHeight = height;
61 protected void setMeasuredSize(int width, int height) { argument
62 mComponent.setMeasuredSize(width, height);
/packages/apps/Camera/jni/feature_mos/src/mosaic/
H A DMosaic.cpp60 int Mosaic::initialize(int blendingType, int stripType, int width, int height, int nframes, bool quarter_res, float thresh_still) argument
73 this->height = height;
86 frames[i] = new MosaicFrame(this->width,this->height,false); // Do no allocate memory for YUV data
100 LOGV("Initialize %d %d", width, height);
101 LOGV("Frame width %d,%d", width, height);
105 aligner->initialize(width, height,quarter_res,thresh_still);
112 blender->initialize(blendingType, stripType, width, height);
128 imageYVU = ImageUtils::allocateImage(this->width, this->height, ImageUtils::IMAGE_TYPE_NUM_CHANNELS);
129 ImageUtils::rgb2yvu(imageYVU, imageRGB, width, height);
234 getMosaic(int &width, int &height) argument
[all...]
H A DMosaic.h45 int height = 480;
53 mosaic.initialize(blendingType, stripType, width, height, -1, false, 5.0f);
92 * \param height Height of input images (note: all images must be same size)
98 int initialize(int blendingType, int stripType, int width, int height, int nframes = -1, bool quarter_res = false, float thresh_still = 0.0);
124 * \param height Height of the resulting mosaic (returned)
127 ImageType getMosaic(int &width, int &height);
157 int width, height; member in class:Mosaic
H A DAlignFeatures.h61 int initialize(int width, int height, bool quarter_res, float thresh_still);
85 int width,height; member in class:Align
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);
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
H A DMosaic.cpp56 int Mosaic::initialize(int blendingType, int stripType, int width, int height, int nframes, bool quarter_res, float thresh_still) argument
69 this->height = height;
82 frames[i] = new MosaicFrame(this->width,this->height,false); // Do no allocate memory for YUV data
95 LOGV("Initialize %d %d", width, height);
96 LOGV("Frame width %d,%d", width, height);
100 aligner->initialize(width, height,quarter_res,thresh_still);
107 blender->initialize(blendingType, stripType, width, height);
123 imageYVU = ImageUtils::allocateImage(this->width, this->height, ImageUtils::IMAGE_TYPE_NUM_CHANNELS);
124 ImageUtils::rgb2yvu(imageYVU, imageRGB, width, height);
221 getMosaic(int &width, int &height) argument
[all...]
H A DMosaic.h45 int height = 480;
53 mosaic.initialize(blendingType, stripType, width, height, -1, false, 5.0f);
92 * \param height Height of input images (note: all images must be same size)
98 int initialize(int blendingType, int stripType, int width, int height, int nframes = -1, bool quarter_res = false, float thresh_still = 0.0);
124 * \param height Height of the resulting mosaic (returned)
127 ImageType getMosaic(int &width, int &height);
157 int width, height; member in class:Mosaic
H A DAlignFeatures.h61 int initialize(int width, int height, bool quarter_res, float thresh_still);
85 int width,height; member in class:Align
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/setup/
H A DSetupStepIndicatorView.java54 final int height = getHeight();
57 mIndicatorPath.lineTo(xPos + height, height);
58 mIndicatorPath.lineTo(xPos - height, height);
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/jpegstream/
H A DJPEGOutputStream.java37 public JPEGOutputStream(OutputStream out, int width, int height, int quality, argument
40 setConfig(width, height, quality, format);
43 public boolean setConfig(int width, int height, int quality, int format) { argument
59 if (width > 0 && height > 0) {
61 mHeight = height;
135 native private int setup(OutputStream out, int width, int height, int format, int quality); argument
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
H A DStringTexture.java38 FontMetricsInt metrics, int width, int height) {
39 super(width, height);
76 int height = metrics.bottom - metrics.top;
79 if (height <= 0) height = 1;
80 return new StringTexture(text, paint, metrics, width, height);
37 StringTexture(String text, TextPaint paint, FontMetricsInt metrics, int width, int height) argument
/packages/screensavers/Basic/src/com/android/dreams/basic/
H A DColors.java77 final int width, final int height) {
78 LOG("onSurfaceTextureAvailable(%s, %d, %d)", surface, width, height);
86 mRenderer = new ColorsGLRenderer(surface, width, height);
94 final int width, final int height) {
95 LOG("onSurfaceTextureSizeChanged(%s, %d, %d)", surface, width, height);
101 mRenderer.setSize(width, height);
76 onSurfaceTextureAvailable(final SurfaceTexture surface, final int width, final int height) argument
93 onSurfaceTextureSizeChanged(SurfaceTexture surface, final int width, final int height) argument
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/
H A DRenderScriptWallpaper.java35 protected abstract T createScene(int width, int height); argument
78 public void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument
79 super.onSurfaceChanged(holder, format, width, height);
81 mRs.setSurface(holder, width, height);
84 mRenderer = createScene(width, height);
88 mRenderer.resize(width, height);
/packages/apps/Camera/src/com/android/camera/
H A DSwitchAnimManager.java40 // The drawing width and height of the review image. This is saved when the
52 public void setReviewDrawingSize(int width, int height) { argument
54 mReviewDrawingHeight = height;
58 // height: the height of PreviewFrameLayout view. Not used. Kept for
60 public void setPreviewFrameLayoutSize(int width, int height) { argument
73 int height, CameraScreenNail preview, RawTexture review) {
80 float centerY = y + height / 2f;
83 float previewHeight = height * previewAnimScale;
92 // scaling information but only the width and the height passe
72 drawAnimation(GLCanvas canvas, int x, int y, int width, int height, CameraScreenNail preview, RawTexture review) argument
121 drawDarkPreview(GLCanvas canvas, int x, int y, int width, int height, RawTexture review) argument
[all...]
/packages/apps/Camera2/src/com/android/camera/data/
H A DCameraPreviewData.java36 * @param height The height of the camera preview.
38 public CameraPreviewData(View v, int width, int height) { argument
39 super(v, LocalDataViewType.CAMERA_PREVIEW, width, height, -1, -1);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DAbstractDrawingPreview.java61 * @param height the height of {@link MainKeyboardView}.
64 final int height) {
65 mHasValidGeometry = (width > 0 && height > 0);
63 setKeyboardViewGeometry(final int[] originCoords, final int width, final int height) argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DViewLayoutUtils.java34 final int height) {
36 return new FrameLayout.LayoutParams(width, height);
38 return new RelativeLayout.LayoutParams(width, height);
53 marginLayoutParams.height = h;
60 if (params.height != layoutHeight) {
61 params.height = layoutHeight;
68 if (params.height != layoutHeight) {
69 params.height = layoutHeight;
33 newLayoutParam(final ViewGroup placer, final int width, final int height) argument
/packages/apps/Camera2/src/com/android/camera/settings/
H A DResolutionUtil.java91 return Integer.compare(size2.width() * size2.height(),
92 size.width() * size.height());
95 maxPixels = sizes.get(0).width() * sizes.get(0).height();
152 return size.width() * size.height();
226 Float aspectRatio = size.width() / (float) size.height();
260 return aspectRatio.width() + "x" + aspectRatio.height();
272 BigInteger height = BigInteger.valueOf(aspectRatio.height());
273 BigInteger gcd = width.gcd(height);
274 int numerator = Math.max(width.intValue(), height
[all...]

Completed in 975 milliseconds

1234567891011>>