Searched defs:height (Results 101 - 125 of 249) sorted by relevance

12345678910

/packages/apps/WallpaperPicker/src/com/android/gallery3d/glrenderer/
H A DGLCanvas.java26 // [x, x+width) * [y, y+height)
35 // who only want to draw on the GLCanvas. Both width and height must be
37 public abstract void setSize(int width, int height); argument
59 public abstract void drawTexture(BasicTexture texture, int x, int y, int width, int height); argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DGestureTrailsDrawingPreview.java60 final int height) {
61 super.setKeyboardViewGeometry(originCoords, width, height);
62 mOffscreenOffsetY = (int)(height
65 mOffscreenHeight = mOffscreenOffsetY + height;
59 setKeyboardViewGeometry(final int[] originCoords, final int width, final int height) argument
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DCandidatesViewManager.java81 * @param height The height of the display
85 public abstract View initView(OpenWnn parent, int width, int height); argument
/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/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.java110 private void drawBitmap(final Bitmap bitmap, final int width, final int height, argument
113 // height ratio.
117 final int halfLength = (int) (mScale * Math.min(destRect.width(), destRect.height()) / 2);
120 (int) (destRect.centerY() - halfLength + mOffset * destRect.height()),
122 (int) (destRect.centerY() + halfLength + mOffset * destRect.height()));
125 sRect.set(0, 0, width, height);
136 final int minDimension = Math.min(bounds.width(), bounds.height());
159 bounds.centerY() + mOffset * bounds.height() - sRect.exactCenterY(),
234 * If set to -0.5f, the letter will be shifted upwards by 0.5 times the height of the canvas
237 * If set to 0.5f, the letter will be shifted downwards by 0.5 times the height o
[all...]
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
H A DInCallVideoCallCallbackNotifier.java177 * @param height New peer height.
179 public void peerDimensionsChanged(Call call, int width, int height) { argument
181 listener.onUpdatePeerDimensions(call, width, height);
190 * @param height The new camera video height.
192 public void cameraDimensionsChanged(Call call, int width, int height) { argument
194 listener.onCameraDimensionsChange(call, width, height);
270 * @param height
272 public void onUpdatePeerDimensions(Call call, int width, int height); argument
282 onCameraDimensionsChange(Call call, int width, int height) argument
[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...]

Completed in 1193 milliseconds

12345678910