Searched refs:height (Results 176 - 200 of 512) sorted by relevance

1234567891011>>

/packages/apps/Camera2/src/com/android/camera/data/
H A DSimpleViewData.java47 View v, LocalDataViewType viewType, int width, int height,
52 mHeight = height;
138 public View getView(Context context, View recycled, int width, int height, int placeHolderResourceId, argument
46 SimpleViewData( View v, LocalDataViewType viewType, int width, int height, int dateTaken, int dateModified) argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/
H A DEmojiLayoutParams.java65 lp.height = mEmojiKeyboardHeight;
72 lp.height = mEmojiCategoryPageIdViewHeight;
82 lp.height = getActionBarHeight();
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DKeyboardParams.java34 /** Total height and width of the keyboard, including the paddings and keys */
38 /** Base height and width of the keyboard used to calculate rows' or keys' heights and
141 final int height = key.getHeight() + mVerticalGap;
142 final int heightCount = updateHistogramCounter(mHeightHistogram, height);
145 mMostCommonKeyHeight = height;
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/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DPinnedHeaderListView.java86 int height; field in class:PinnedHeaderListView.PinnedHeader
209 int height = getHeight();
212 int windowBottom = height;
218 windowTop = header.y + header.height;
290 header.sourceY = y + header.height;
324 int headerHeight = header.height;
345 header.targetY = getBottom() + header.height;
370 if (layoutParams != null && layoutParams.height > 0) {
372 .makeMeasureSpec(layoutParams.height, View.MeasureSpec.EXACTLY);
377 int height
[all...]
/packages/apps/Browser/src/com/android/browser/view/
H A DScrollerView.java315 * Indicates this ScrollView whether it should stretch its content height to fill
318 * @param fillViewport True to stretch the content's height to the viewport's
368 lp.height);
377 int height = getMeasuredHeight();
378 if (child.getMeasuredHeight() < height) {
385 height -= mPaddingTop;
386 height -= mPaddingBottom;
388 height, MeasureSpec.EXACTLY);
1060 int height = getHeight();
1063 mTempRect.top = getScrollY() + height;
1229 isWithinDeltaOfScreen(View descendant, int delta, int height) argument
[all...]
/packages/apps/Camera/jni/feature_mos/src/mosaic_renderer/
H A DRenderer.cpp114 // set the viewport size to be the given width and height (pixels).
115 bool Renderer::SetupGraphics(int width, int height) argument
133 mSurfaceHeight = height;
145 // set the viewport size to be the width and height of this FBO.
222 void Renderer::SetInputTextureDimensions(int width, int height) argument
225 mInputTextureHeight = height;
/packages/apps/Camera2/jni/
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/Gallery2/jni/filters/
H A Dedge.c20 void JNIFUNCF(ImageFilterEdge, nativeApplyFilter, jobject bitmap, jint width, jint height, jfloat p) argument
53 for (j = 1; j < height - 1; j++) {
116 int second_last_row = row_stride * (height - 2);
120 int last_row = row_stride * (height - 1);
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 Dvibrance.c20 void JNIFUNCF(ImageFilterVibrance, nativeApplyFilter, jobject bitmap, jint width, jint height, jfloat vibrance) argument
25 int len = width * height * 4;
/packages/apps/Gallery2/jni_jpegstream/src/
H A Djpeg_reader.h37 * If this method is successful, the contents of width and height will
45 int32_t setup(JNIEnv *env, jobject in, int32_t* width, int32_t* height,
H A Djpeg_writer.h36 * Call setup with a valid OutputStream reference, bitmap height and
41 int32_t setup(JNIEnv *env, jobject out, int32_t width, int32_t height,
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DWallpaper.java118 int height = getWallpaperDesiredMinimumHeight();
121 float spotlightY = (float) size.y / height;
127 .putExtra(CropExtras.KEY_OUTPUT_Y, height)
129 .putExtra(CropExtras.KEY_ASPECT_Y, height)
/packages/apps/Launcher2/src/com/android/launcher2/
H A DButtonDropTarget.java132 final int height = drawableHeight;
145 final int top = to.top + (getMeasuredHeight() - height) / 2;
146 final int bottom = top + height;
152 final int yOffset = (int) -(viewHeight - height) / 2;
H A DPagedViewCellLayoutChildren.java61 public void setCellDimensions(int width, int height) { argument
63 mCellHeight = height;
100 int childheightMeasureSpec = MeasureSpec.makeMeasureSpec(lp.height,
139 child.layout(childLeft, childTop, childLeft + lp.width, childTop + lp.height);
/packages/apps/Launcher3/src/com/android/launcher3/
H A DAppsCustomizeCellLayout.java32 mFocusHandlerView.getLayoutParams().height = FocusIndicatorView.DEFAULT_LAYOUT_SIZE;
H A DButtonDropTarget.java134 final int height = drawableHeight;
147 final int top = to.top + (getMeasuredHeight() - height) / 2;
148 final int bottom = top + height;
154 final int yOffset = (int) -(viewHeight - height) / 2;
H A DPagedViewCellLayoutChildren.java61 public void setCellDimensions(int width, int height) { argument
63 mCellHeight = height;
101 int childheightMeasureSpec = MeasureSpec.makeMeasureSpec(lp.height,
140 child.layout(childLeft, childTop, childLeft + lp.width, childTop + lp.height);
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic_renderer/
H A DRenderer.cpp114 // set the viewport size to be the given width and height (pixels).
115 bool Renderer::SetupGraphics(int width, int height) argument
133 mSurfaceHeight = height;
145 // set the viewport size to be the width and height of this FBO.
222 void Renderer::SetInputTextureDimensions(int width, int height) argument
225 mInputTextureHeight = height;
/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/
H A DCameraPreviewView.java38 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument
/packages/apps/Camera2/src/com/android/camera/settings/
H A DSettingsUtil.java165 selectedSize.height());
228 int leftArea = lhs.width() * lhs.height();
229 int rightArea = rhs.width() * rhs.height();
236 Log.d(TAG, " --> " + size.width() + "x" + size.height() + " "
237 + ((size.width() * size.height()) / 1000000f) + " - "
238 + (size.width() / (float) size.height()));
248 / (float) selectedSizes.large.height();
254 float aspectRatio = size.width() / (float) size.height();
289 final int largePixelCount = selectedSizes.large.width() * selectedSizes.large.height();
383 int pixelCountDiff = Math.abs((size.width() * size.height())
[all...]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
H A DBitmapWorkerTask.java185 int height = (int) (bitmap.getHeight() * scale);
191 + "x" + height + " scale " + scale);
193 Bitmap newBitmap = Bitmap.createScaledBitmap(bitmap, width, height, true);
219 int height = options.getHeight();
220 if (height > 0) {
221 heightScale = (float) bitmapOptions.outHeight / height;
324 // Some drawables have an intrinsic width and height of -1. In that case
330 int height = drawable.getIntrinsicHeight();
331 if (height == -1) {
332 height
[all...]
/packages/apps/Camera2/src/com/android/camera/tinyplanet/
H A DTinyPlanetPreview.java107 int height = bottom - top;
111 int mSize = Math.min(width, height);
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DLocalMediaItem.java48 public int height; field in class:LocalMediaItem
91 details.addDetail(MediaDetails.INDEX_HEIGHT, height);

Completed in 3304 milliseconds

1234567891011>>