Searched refs:height (Results 376 - 400 of 632) sorted by relevance

<<11121314151617181920>>

/packages/apps/Dialer/java/com/android/incallui/
H A DDialpadFragment.java292 final int height = getHeight();
293 if (height == 0) {
296 return getTranslationY() / height;
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/selection/
H A DBandController_GridModelTest.java310 int height = CHILD_VIEW_EDGE_PX;
320 top + height - 1)));
327 y += height + VIEW_PADDING_PX;
/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/glrenderer/
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 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);
H A DEdgeEffect.java116 // How much dragging should effect the height of the edge image.
120 // How much dragging should effect the height of the glow image.
148 * @param height Effect height in pixels
150 public void setSize(int width, int height) { argument
152 mHeight = height;
302 * 1.f of height.
439 draw(canvas, b.left, b.top, b.width(), b.height());
/packages/apps/Launcher3/src/com/android/launcher3/views/
H A DRecyclerViewFastScroller.java349 int height = mPopupView.getHeight();
350 float top = lastTouchY - (FAST_SCROLL_OVERLAY_Y_OFFSET_FACTOR * height)
353 mMaxWidth, mRv.getScrollbarTrackHeight() - mMaxWidth - height);
/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DSharePopup.java148 params.height = previewFrame.getHeight();
169 // Calculate the width and the height of the thumbnail. Reserve the
173 // Swap the width and height if it is portrait mode.
192 params.height = Math.round(maxHeight);
195 params.height = Math.round(maxWidth / desiredAspect);
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
H A DAppChooserActivity.java143 int height = (int) (getResources().getDisplayMetrics().density * 16);
144 mListView.setDividerHeight(height);
259 lp.width = lp.height = mIconSize;
/packages/services/Car/evs/app/
H A DRenderTopView.cpp231 const float textureHeightInCarSpace = mTexAssets.carTopView->height() * carSpaceUnitsPerTexel;
233 mTexAssets.carTopView->height();
234 const float pixelsBehindCarInImage = mTexAssets.carTopView->height() -
/packages/services/Telecomm/src/com/android/server/telecom/
H A DVideoProviderProxy.java236 * @param height The height of the peer's video.
239 public void changePeerDimensions(int width, int height) { argument
241 logFromVideoProvider("changePeerDimensions: width=" + width + " height=" +
242 height);
243 VideoProviderProxy.this.changePeerDimensions(width, height);
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
H A DSelectCalendarsSimpleAdapter.java302 layoutParam.height = LayoutParams.WRAP_CONTENT;
305 layoutParam.height = LayoutParams.MATCH_PARENT;
316 newParams.height = BOTTOM_ITEM_HEIGHT;
318 newParams.height = NORMAL_ITEM_HEIGHT;
/packages/apps/Camera2/src/com/android/camera/
H A DOnScreenHint.java67 mParams.height = WindowManager.LayoutParams.WRAP_CONTENT;
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
H A DTaskChainedCompressImageToJpeg.java90 resultImage.height, resultImage.width, chainedStrides);
H A DTaskCompressImageToJpeg.java148 // truth on orientation, width and height.
187 // calculate crop from exif info with image proxy width/height
211 safeCrop.height(),
243 img.crop.height(),
262 // corrupted. The maximum size of an image is width * height *
266 int maxPossibleJpgSize = 3 * resultImage.width * resultImage.height;
345 resultImage.width, resultImage.height, resultImage.orientation.getDegrees(), exif);
429 * @param originalHeight the height of the original image captured from the
/packages/apps/Camera2/src/com/android/camera/tinyplanet/
H A DTinyPlanetFragment.java159 int height = mSourceBitmap.getHeight();
160 TinyPlanetNative.process(mSourceBitmap, width, height, mResultBitmap,
347 int height = sourceBitmap.getHeight();
353 TinyPlanetNative.process(sourceBitmap, width, height, resultBitmap,
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
H A DDrawableLoader.java198 int height = options.getHeight();
199 if (height > 0) {
200 heightScale = bitmapOptions.outHeight / height;
375 .height(options.getHeight())
/packages/apps/Gallery2/jni/filters/
H A Dfx.c33 jint height __unused, jobject lutbitmap, jint lutwidth, jint lutheight,
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DLocalImage.java147 height = cursor.getInt(INDEX_HEIGHT);
169 height = uh.update(height, cursor.getInt(INDEX_HEIGHT));
325 // For example, the width and height of an webp images is always '0'.
343 return height;
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/
H A DShortcutDragPreviewProvider.java74 canvas.scale(((float) size) / bounds.width(), ((float) size) / bounds.height(), 0, 0);
H A DShortcutsItemView.java185 final int oldHeight = mShortcutsLayout.getChildAt(0).getLayoutParams().height;
198 mHiddenShortcutsHeight += child.getLayoutParams().height;
230 final int oldHeight = mShortcutsLayout.getChildAt(0).getLayoutParams().height;
234 view.getLayoutParams().height = newHeight;
264 // Animate each shortcut to its new height.
/packages/apps/Launcher3/src/com/android/launcher3/util/
H A DGridOccupancy.java87 markCells(r.left, r.top, r.width(), r.height(), value);
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
H A DCompositeImageRequest.java78 Math.round(avatarDestOnGroup.height()));
/packages/apps/Messaging/src/com/android/messaging/ui/
H A DMultiAttachmentLayout.java267 attachmentWrapper.prevHeight = transitionRect.height();
301 final int height = maxHeight;
303 final int cellHeight = height / GRID_HEIGHT;
329 setMeasuredDimension(width, height);
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/
H A DMpegTsPlayer.java82 void onVideoSizeChanged(int width, int height, argument
549 format.height, format.pixelWidthHeightRatio);
562 public void onVideoSizeChanged(int width, int height, int unappliedRotationDegrees, argument
565 mListener.onVideoSizeChanged(width, height, pixelWidthHeightRatio);

Completed in 1287 milliseconds

<<11121314151617181920>>