Searched defs:height (Results 51 - 75 of 280) sorted by relevance

1234567891011>>

/packages/apps/Gallery2/jni/filters/
H A Dsaturated.c19 void JNIFUNCF(ImageFilterSaturated, nativeApplyFilter, jobject bitmap, jint width, jint height, jfloat saturation) argument
24 int len = width * height * 4;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A DImageFilterKMeans.java52 native protected void nativeApplyFilter(Bitmap bitmap, int width, int height, argument
67 // find width/height for larger downsampled bitmap
78 // find width/height for smaller downsampled bitmap
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
H A DColorTexture.java49 public void setSize(int width, int height) { argument
51 mHeight = height;
H A DFadeTexture.java36 public FadeTexture(int width, int height, boolean opaque) { argument
38 mHeight = height;
H A DStringTexture.java37 FontMetricsInt metrics, int width, int height) {
38 super(width, height);
75 int height = metrics.bottom - metrics.top;
78 if (height <= 0) height = 1;
79 return new StringTexture(text, paint, metrics, width, height);
36 StringTexture(String text, TextPaint paint, FontMetricsInt metrics, int width, int height) argument
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
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/Gallery2/src/com/android/photos/data/
H A DGalleryBitmapPool.java71 private SparseArrayBitmapPool getPoolForDimensions(int width, int height) { argument
72 int index = getPoolIndexForDimensions(width, height);
80 private int getPoolIndexForDimensions(int width, int height) { argument
81 if (width <= 0 || height <= 0) {
84 if (width == height) {
88 if (width > height) {
89 min = height;
93 max = height;
125 * @return Bitmap from the pool with the desired height/width or null if none available.
127 public Bitmap get(int width, int height) { argument
[all...]
/packages/apps/InCallUI/src/com/android/incallui/
H A DInCallVideoCallCallback.java129 * @param height The updated peer video height.
132 public void onPeerDimensionsChanged(int width, int height) { argument
133 InCallVideoCallCallbackNotifier.getInstance().peerDimensionsChanged(mCall, width, height);
/packages/apps/Launcher3/src/com/android/launcher3/
H A DInsettableFrameLayout.java78 public LayoutParams(int width, int height) { argument
79 super(width, height);
/packages/apps/LegacyCamera/jni/feature_mos/src/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 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
/packages/apps/LegacyCamera/src/com/android/camera/
H A DStorage.java53 Location location, int orientation, byte[] jpeg, int width, int height) {
80 values.put(ImageColumns.HEIGHT, height);
52 addImage(ContentResolver resolver, String title, long date, Location location, int orientation, byte[] jpeg, int width, int height) argument
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
H A DMosaicRendererSurfaceViewRenderer.java48 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
49 MosaicRenderer.reset(width, height, mIsLandscapeOrientation);
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
H A DPendingAttachmentData.java58 @NonNull final Uri sourceUri, final int width, final int height,
60 super(caption, contentType, sourceUri, width, height, onlySingleAttachment);
75 final String contentType, final Uri sourceUri, final int width, final int height) {
77 return new PendingAttachmentData(caption, contentType, sourceUri, width, height,
82 final String contentType, final Uri sourceUri, final int width, final int height,
85 return new PendingAttachmentData(caption, contentType, sourceUri, width, height,
57 PendingAttachmentData(final String caption, final String contentType, @NonNull final Uri sourceUri, final int width, final int height, final boolean onlySingleAttachment) argument
74 createPendingAttachmentData(final String caption, final String contentType, final Uri sourceUri, final int width, final int height) argument
81 createPendingAttachmentData(final String caption, final String contentType, final Uri sourceUri, final int width, final int height, final boolean onlySingleAttachment) argument
/packages/apps/Messaging/src/com/android/messaging/ui/
H A DLineWrapLayout.java52 int height = 0;
76 // New line. Update the overall height and reset trackers.
77 height += currLineHeight;
89 // And account for the height of the last line.
90 height += currLineHeight;
94 height + getPaddingTop() + getPaddingBottom());
132 // Add the last line height.
208 public LayoutParams(int width, int height) { argument
209 super(width, height);
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
H A DImagePersistTask.java52 final int height,
62 mHeight = height;
50 ImagePersistTask( final int width, final int height, final float heightPercent, final byte[] bytes, final Context context, final CameraManager.MediaCallback callback) argument
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DImageCanvas.java27 * Dimensions holds the desired width, height, and scale for a bitmap being
32 public int height; field in class:ImageCanvas.Dimensions
47 public Dimensions(int width, int height, float scale, float fontSize) { argument
49 this.height = height;
56 return String.format("Dimens [%d x %d]", width, height);
H A DThumbnailLoadTask.java63 final int height = holder.getThumbnailHeight();
64 if (attachment == null || width == 0 || height == 0
80 holder, width, height);
89 public ThumbnailLoadTask(AttachmentBitmapHolder holder, int width, int height) { argument
92 mHeight = height;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DAbstractDrawingPreview.java64 * @param height the height of {@link MainKeyboardView}.
67 final int height) {
68 mHasValidGeometry = (width > 0 && height > 0);
66 setKeyboardViewGeometry(@onnull final int[] originCoords, final int width, final int height) argument
H A DDrawingPreviewPlacerView.java55 final int height) {
59 mPreviews.get(i).setKeyboardViewGeometry(originCoords, width, height);
54 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 != null && params.height != layoutHeight) {
61 params.height = layoutHeight;
68 if (params != null && params.height != layoutHeight) {
69 params.height = layoutHeight;
33 newLayoutParam(final ViewGroup placer, final int width, final int height) argument
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/
H A DDefaultSoftKeyboardEN.java126 @Override public View initView(OpenWnn parent, int width, int height) { argument
127 View view = super.initView(parent, width, height);
/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/Basic/src/com/android/wallpaper/walkaround/
H A DWalkAroundWallpaper.java137 public void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument
138 super.onSurfaceChanged(holder, format, width, height);
175 size.width == metrics.heightPixels && size.height == metrics.widthPixels) ||
177 size.width == metrics.widthPixels && size.height == metrics.heightPixels)) {
178 params.setPreviewSize(size.width, size.height);
186 if (size.width >= metrics.widthPixels && size.height >= metrics.heightPixels) {
187 params.setPreviewSize(size.width, size.height);
206 params.setPreviewSize(size.width, size.height);

Completed in 799 milliseconds

1234567891011>>