Searched refs:height (Results 201 - 225 of 632) sorted by relevance

1234567891011>>

/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/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
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/services/BuiltInPrintService/jni/include/
H A Difc_wprint.h39 void (*debug_start_page)(wJob_t job_handle, int page_number, int width, int height);
/packages/services/BuiltInPrintService/src/com/android/bips/jni/
H A DPdfRender.java117 * @return width and height of page in points (1/72")
136 * @param height height of area to render
141 public boolean renderPageStripe(int page, int y, int width, int height, argument
145 " h=" + height + " zoom=" + zoomFactor);
151 ParcelFileDescriptor input = mService.renderPageStripe(page - 1, y, width, height,
155 int expectedSize = width * height * 3;
/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/DeskClock/src/com/android/deskclock/widget/
H A DTextSizeHelper.java44 // The maximum height the text is allowed to be (in pixels).
103 final float height = mMeasurePaint.getFontMetricsInt(null);
104 if (width > mWidthConstraint || height > mHeightConstraint) {
/packages/apps/Dialer/java/com/android/contacts/common/lettertiles/
H A DLetterTileDrawable.java142 // height ratio.
145 final int halfLength = (int) (scale * Math.min(destRect.width(), destRect.height()) / 2);
149 (int) (destRect.centerY() - halfLength + offset * destRect.height()),
151 (int) (destRect.centerY() + halfLength + offset * destRect.height()));
190 public Bitmap getBitmap(int width, int height) { argument
191 Bitmap bitmap = Bitmap.createBitmap(width, height, Config.ARGB_8888);
192 this.setBounds(0, 0, width, height);
203 final int minDimension = Math.min(bounds.width(), bounds.height());
230 bounds.centerY() + mOffset * bounds.height() - mRect.exactCenterY(),
315 * the letter will be shifted upwards by 0.5 times the height o
[all...]
/packages/apps/ExactCalculator/src/com/android/calculator2/
H A DCalculatorScrollView.java63 getPaddingTop() + getPaddingBottom(), lp.height);
79 getPaddingTop() + getPaddingBottom() + lp.topMargin + lp.bottomMargin, lp.height);
/packages/apps/Gallery2/jni/filters/
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/src/com/android/gallery3d/data/
H A DLocalMediaItem.java48 public int height; field in class:LocalMediaItem
91 details.addDetail(MediaDetails.INDEX_HEIGHT, height);
/packages/apps/Gallery2/src/com/android/photos/adapters/
H A DPhotoThumbnailAdapter.java67 float height = cursor.getInt(PhotoSetLoader.INDEX_HEIGHT);
68 return width / height;
/packages/apps/Launcher2/src/com/android/launcher2/
H A DPagedViewGridLayout.java129 public LayoutParams(int width, int height) { argument
130 super(width, height);
/packages/apps/Launcher3/src/com/android/launcher3/widget/
H A DWidgetsRecyclerView.java127 * Returns the available scroll height:
128 * AvailableScrollHeight = Total height of the all items - last page height
133 int height = child.getMeasuredHeight() * mAdapter.getItemCount();
134 int totalHeight = getPaddingTop() + height + getPaddingBottom();
/packages/apps/Camera2/src/com/android/camera/ui/
H A DZoomView.java118 if (region.width() == 0 || region.height() == 0) {
129 options.inSampleSize = getSampleFactor(region.width(), region.height());
132 // on screen. In other words, the width and height will be swapped.
134 // and height.
135 options.inSampleSize = getSampleFactor(region.height(), region.width());
247 if (newRect.height() < viewportHeight) {
282 * Find closest sample factor that is power of 2, based on the given width and height
285 * @param height height of the partial region to decode
288 private int getSampleFactor(int width, int height) { argument
[all...]
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
H A DLetterTileDrawable.java120 // height ratio.
124 final int halfLength = (int) (mScale * Math.min(destRect.width(), destRect.height()) / 2);
127 (int) (destRect.centerY() - halfLength + mOffset * destRect.height()),
129 (int) (destRect.centerY() + halfLength + mOffset * destRect.height()));
143 final int minDimension = Math.min(bounds.width(), bounds.height());
165 bounds.centerY() + mOffset * bounds.height() + sRect.height() / 2,
238 * If set to -0.5f, the letter will be shifted upwards by 0.5 times the height of the canvas
241 * If set to 0.5f, the letter will be shifted downwards by 0.5 times the height of the canvas
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
H A DLogoUtilsTest.java118 private Bitmap createSampleBitmap(int width, int height) { argument
119 Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
123 canvas.drawRect(0, 0, width, height, paint);
139 int height = drawable.getIntrinsicHeight();
140 Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
142 drawable.setBounds(0, 0, width, height);
/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/Settings/src/com/android/settings/widget/
H A DChartView.java100 final int height = mContent.height();
104 mVert.setSize(height);
118 Gravity.apply(params.gravity, width, height, parentRect, childRect);
123 Gravity.apply(params.gravity, width, height, parentRect, childRect);
159 Gravity.apply(SWEEP_GRAVITY, sweep.getMeasuredWidth(), parentRect.height(),
/packages/services/BuiltInPrintService/jni/plugins/
H A Dwprint_image.c73 image_info->width, image_info->height);
180 image_output_width = image_info->height;
187 image_output_height = image_info->height;
263 // check if width matches and height meets criteria
269 LOGD("disabling fine scaling since width matches and height meets criteria");
276 // height matches and width meets criteria
277 LOGD("disabling fine scaling since height matches and width meets criteria");
302 image_info->sampled_height = (image_info->height / image_info->scaled_sample_size);
586 int height; local
588 height
602 int height = _get_height(image_info, image_info->padding_options); local
779 wprint_image_decode_stripe(wprint_image_info_t *image_info, int start_row, int *height, unsigned char *rgb_pixels) argument
1000 int width, height; local
[all...]
/packages/apps/Car/Radio/src/com/android/car/radio/
H A DRadioAnimationManager.java137 // Animate the height of the radio controls from its current height to the full height of
145 int height = (int) valueAnimator.getAnimatedValue();
146 mRadioCard.getLayoutParams().height = height;
159 layoutParams.height = fabSize;
164 layoutParams.height = fabSize;
294 // Shrink the radio card down to its final height.
299 int height
[all...]
/packages/apps/TV/src/com/android/tv/ui/
H A DTvViewUiManager.java91 + layoutParams.height);
101 layoutParams.width, layoutParams.height);
334 (targetLayoutParams.height != LayoutParams.MATCH_PARENT)
335 && targetLayoutParams.height != decorViewHeight);
357 Log.d(TAG, "setTvViewPosition: w=" + layoutParams.width + " h=" + layoutParams.height
523 layoutParams.height = Math.round(availableAreaWidth / videoDisplayAspectRatio);
527 layoutParams.height = availableAreaHeight;
534 layoutParams.height = availableAreaHeight;
538 layoutParams.height = Math.round(availableAreaWidth / videoDisplayAspectRatio);
544 layoutParams.height
[all...]
/packages/apps/Camera2/src/com/android/camera/
H A DMultiToggleImageButton.java338 * Set size info (either width or height, as necessary) of the view containing
376 int height = getHeight();
378 if (width <= 0 || height <= 0) {
395 int bitmapHeight = (height*2) + ((mParentSize - height)/2);
396 int oldBitmapOffset = height + ((mParentSize - height)/2);
406 bitmap = Bitmap.createBitmap(bitmapWidth, height, Bitmap.Config.ARGB_8888);
H A DPhotoUI.java104 int height = bottom - top;
105 if (mPreviewWidth != width || mPreviewHeight != height) {
107 mPreviewHeight = height;
228 params.height = (int) previewArea.height();
275 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
280 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
/packages/apps/Gallery2/src/com/android/photos/views/
H A DTiledImageView.java254 final int height = swap ? mRenderer.source.getImageWidth()
256 mTempRectF.set(0, 0, width, height);
260 int cy = height / 2;
263 int yoffset = Math.round((getHeight() - mTempRectF.height()) / 2 / scale);
293 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
294 mCanvas.setSize(width, height);
295 mRenderer.image.setViewSize(width, height);

Completed in 2600 milliseconds

1234567891011>>