Searched defs:height (Results 126 - 150 of 280) sorted by relevance

1234567891011>>

/packages/apps/Calendar/src/com/android/calendar/
H A DStickyHeaderListView.java110 * Interface that is used to update the sticky header's height
118 * @param height - new height of sticky header
120 void OnHeaderHeightChanged(int height); argument
298 // If position of bottom of last item in a section is smaller than the height of the
307 // Update new header height
/packages/apps/Camera/jni/feature_mos/src/mosaic/
H A DImageUtils.cpp28 void ImageUtils::rgba2yvu(ImageType out, ImageType in, int width, int height) argument
32 ImageType vimg = yimg + width*height;
33 ImageType uimg = vimg + width*height;
36 for (int ii = 0; ii < height; ii++) {
73 void ImageUtils::rgb2yvu(ImageType out, ImageType in, int width, int height) argument
77 ImageType vimg = yimg + width*height;
78 ImageType uimg = vimg + width*height;
81 for (int ii = 0; ii < height; ii++) {
116 ImageType ImageUtils::rgb2gray(ImageType in, int width, int height) argument
121 ImageType out = ImageUtils::allocateImage(width, height,
146 rgb2gray(ImageType out, ImageType in, int width, int height) argument
176 imageTypeToRowPointers(ImageType in, int width, int height) argument
190 yvu2rgb(ImageType out, ImageType in, int width, int height) argument
235 yvu2bgr(ImageType out, ImageType in, int width, int height) argument
281 readBinaryPPM(const char *filename, int &width, int &height) argument
311 writeBinaryPPM(ImageType image, const char *filename, int width, int height, int numChannels) argument
333 allocateImage(int width, int height, int numChannels, short int border) argument
355 allocateImage(unsigned short width, unsigned short height) argument
[all...]
H A DMosaicTypes.h72 int width, height; member in class:MosaicFrame
81 height = _height;
84 image = ImageUtils::allocateImage(width, height, ImageUtils::IMAGE_TYPE_NUM_CHANNELS);
100 return (image + (width*height));
108 return (image + (width*height*2));
116 ImageType U = image + (width*height);
125 ImageType U = image + (width*height*2);
H A DPyramid.cpp28 real width, real height, real border)
31 int lines, size = calcStorage(width, height, border2, levels, &lines);
43 curr->height = height;
49 for (int j = height + border2; j--; y++, position += curr->pitch) {
54 height >>= 1;
62 PyramidShort *PyramidShort::allocateImage(real width, real height, real border) argument
66 calloc(sizeof(PyramidShort) + sizeof(short *) * (height + border2) +
67 sizeof(short) * (width + border2) * (height + border2), 1);
71 short *position = (short *) &y[height
27 allocatePyramidPacked(real levels, real width, real height, real border) argument
96 calcStorage(real width, real height, real border2, int levels, int *lines) argument
115 int off, off2, height, h, w; local
[all...]
/packages/apps/Camera2/jni/
H A Djpegutil.h90 int height; member in struct:jpegutil::Plane
155 int width, int height,
188 if (plane_.width == 0 || plane_.height == 0) {
214 startY = min(startY, plane_.height - 1);
216 endY = min(endY, plane_.height - 1);
H A Dtinyplanet.cc30 ImageRGBA(unsigned char* image, int width, int height) argument
31 : image_(image), width_(width), height_(height) {
133 JNIEXPORT void JNICALL Java_com_android_camera_tinyplanet_TinyPlanetNative_process(JNIEnv* env, jobject obj, jobject bitmap_in, jint width, jint height, jobject bitmap_out, jint output_size, jfloat scale, jfloat angle) argument
142 StereographicProjection(scale, angle, rgb_in, width, height, rgb_out, output_size, output_size);
/packages/apps/Camera2/src/com/android/camera/captureintent/
H A DCaptureIntentSession.java151 int height, int orientation, ExifInterface exif) {
150 saveAndFinish(byte[] data, int width, int height, int orientation, ExifInterface exif) argument
/packages/apps/Camera2/src/com/android/camera/data/
H A DPlaceholderItem.java50 View v, FilmstripItemType viewType, int width, int height) {
53 Size dimensions = new Size(width, height);
49 PlaceholderItem( View v, FilmstripItemType viewType, int width, int height) argument
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
H A DTaskConvertImageToRGBPreview.java42 * maintain even values of width and height for the image</li>
116 * @param height height of the input image
118 * @return height/width of the resultant square image TODO: Refactor
122 protected int inscribedCircleRadius(int width, int height) { argument
123 return (Math.min(height, width) / 2) + 1;
127 * Calculates the best integer subsample from a given height and width to a
128 * target width and height It is assumed that the exact scaling will be done
145 // Make sure the resultant image width/height is divisible by 2 to
219 * @param subsample width/height subsampl
[all...]
H A DTaskImageContainer.java73 public final int height; field in class:TaskImageContainer.TaskImage
81 height = aHeight;
236 * @param height image height
244 public Rect guaranteedSafeCrop(int width, int height, @Nullable Rect crop) { argument
246 return new Rect(0, 0, width, height);
250 || crop.height() <= 0) {
257 safeCrop.bottom = Math.max(Math.min(safeCrop.bottom, height), safeCrop.top);
259 if (safeCrop.width() <= 0 || safeCrop.height() <= 0) {
/packages/apps/Camera2/src/com/android/camera/session/
H A DCaptureSession.java225 * @param height the height of the media item, in pixels.
233 public ListenableFuture<Optional<Uri>> saveAndFinish(byte[] data, int width, int height, argument
/packages/apps/Camera2/src/com/android/camera/ui/
H A DDetailsDialog.java246 public void onResolutionAvailable(int width, int height) { argument
247 if (width == 0 || height == 0)
249 // Update the resolution with the new width and height
255 mContext, MediaDetails.INDEX_HEIGHT), height);
306 return context.getString(R.string.height);
/packages/apps/Contacts/src/com/android/contacts/widget/
H A DInterpolatingLayout.java147 public LayoutParams(int width, int height) { argument
148 super(width, height);
209 int height = 0;
241 switch (params.height) {
252 params.height, MeasureSpec.EXACTLY);
258 height = Math.max(child.getMeasuredHeight(), height);
271 height = Math.max(fillChild.getMeasuredHeight(), height);
275 resolveSize(width, widthMeasureSpec), resolveSize(height, heightMeasureSpe
[all...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/lettertiles/
H A DLetterTileDrawable.java111 private void drawBitmap(final Bitmap bitmap, final int width, final int height, argument
114 // height ratio.
118 final int halfLength = (int) (mScale * Math.min(destRect.width(), destRect.height()) / 2);
121 (int) (destRect.centerY() - halfLength + mOffset * destRect.height()),
123 (int) (destRect.centerY() + halfLength + mOffset * destRect.height()));
126 sRect.set(0, 0, width, height);
137 final int minDimension = Math.min(bounds.width(), bounds.height());
159 bounds.centerY() + mOffset * bounds.height() + sRect.height() / 2,
233 * If set to -0.5f, the letter will be shifted upwards by 0.5 times the height o
[all...]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
H A DAttachmentUtilities.java153 public static Uri getAttachmentThumbnailUri(long accountId, long id, long width, long height) { argument
162 .appendPath(Long.toString(height))
/packages/apps/Gallery2/jni/filters/
H A Dfx.c32 void JNIFUNCF(ImageFilterFx, nativeApplyFilter, jobject bitmap, jint width, jint height, argument
H A Dtinyplanet.cc29 ImageRGBA(unsigned char* image, int width, int height) argument
30 : image_(image), width_(width), height_(height) {
132 void JNIFUNCF(ImageFilterTinyPlanet, nativeApplyFilter, jobject bitmap_in, jint width, jint height, jobject bitmap_out, jint output_size, jfloat scale,jfloat angle) argument
141 StereographicProjection(scale,angle, rgb_in, width, height, rgb_out, output_size, output_size);
H A Dwbalance.c131 void JNIFUNCF(ImageFilterWBalance, nativeApplyFilter, jobject bitmap, jint width, jint height, int locX,int locY) argument
136 int len = width * height * 4;
145 estmateWhiteBox(rgb, width, height,locX,locY,&wr,&wg,&wb);
/packages/apps/Gallery2/jni_jpegstream/src/
H A Djpegstream.cpp32 jint width, jint height, jint format, jint quality) {
45 if (width <= 0 || height <= 0) {
61 uint32_t h = static_cast<uint32_t>(height);
31 OutputStream_setup(JNIEnv* env, jobject thiz, jobject out, jint width, jint height, jint format, jint quality) argument
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DSinglePhotoDataAdapter.java94 int height = decoder.getHeight();
97 (float) SIZE_BACKUP / Math.max(width, height));
98 Bitmap bitmap = decoder.decodeRegion(new Rect(0, 0, width, height), options);
118 private void setScreenNail(Bitmap bitmap, int width, int height) { argument
120 setScreenNail(mBitmapScreenNail, width, height);
187 size.height = mItem.getHeight();
190 size.height = 0;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
H A DCategoryAdapter.java61 public void setItemHeight(int height) { argument
62 mItemHeight = height;
100 int height = mItemHeight;
105 height = height / 2;
110 height = height / 2;
113 new ListView.LayoutParams(width, height));
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
H A DBasicTexture.java78 public void setSize(int width, int height) { argument
80 mHeight = height;
82 mTextureHeight = height > 0 ? Utils.nextPowerOf2(height) : 0;
112 // Returns the height rounded to the next power of 2.
H A DNinePatchTexture.java182 // (width, height). We pre-compute the coordinates for efficiency.
206 public NinePatchInstance(NinePatchTexture tex, int width, int height) { argument
209 if (width <= 0 || height <= 0) {
226 int ny = stretch(divY, divV, chunk.mDivY, tex.getHeight(), height);
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DAlbumSlotRenderer.java104 public int renderSlot(GLCanvas canvas, int index, int pass, int width, int height) { argument
120 drawContent(canvas, content, width, height, entry.rotation);
127 drawVideoOverlay(canvas, width, height);
131 drawPanoramaIcon(canvas, width, height);
134 renderRequestFlags |= renderOverlay(canvas, index, entry, width, height);
140 AlbumSlidingWindow.AlbumEntry entry, int width, int height) {
144 drawPressedUpFrame(canvas, width, height);
151 drawPressedFrame(canvas, width, height);
154 drawSelectedFrame(canvas, width, height);
156 drawSelectedFrame(canvas, width, height);
139 renderOverlay(GLCanvas canvas, int index, AlbumSlidingWindow.AlbumEntry entry, int width, int height) argument
194 onSlotSizeChanged(int width, int height) argument
[all...]
H A DDialogDetailsView.java294 public void onResolutionAvailable(int width, int height) { argument
295 if (width == 0 || height == 0) return;
296 // Update the resolution with the new width and height
303 context, MediaDetails.INDEX_HEIGHT), height);

Completed in 243 milliseconds

1234567891011>>