/packages/apps/Dialer/java/com/android/incallui/ |
H A D | DialpadFragment.java | 292 final int height = getHeight(); 293 if (height == 0) { 296 return getTranslationY() / height;
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/selection/ |
H A D | BandController_GridModelTest.java | 310 int height = CHILD_VIEW_EDGE_PX; 320 top + height - 1))); 327 y += height + VIEW_PADDING_PX;
|
/packages/apps/Gallery2/jni_jpegstream/src/ |
H A D | jpegstream.cpp | 32 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 D | NinePatchTexture.java | 182 // (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 D | DialogDetailsView.java | 294 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 D | EdgeEffect.java | 116 // 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 D | RecyclerViewFastScroller.java | 349 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 D | SharePopup.java | 148 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 D | AppChooserActivity.java | 143 int height = (int) (getResources().getDisplayMetrics().density * 16); 144 mListView.setDividerHeight(height); 259 lp.width = lp.height = mIconSize;
|
/packages/services/Car/evs/app/ |
H A D | RenderTopView.cpp | 231 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 D | VideoProviderProxy.java | 236 * @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 D | SelectCalendarsSimpleAdapter.java | 302 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 D | OnScreenHint.java | 67 mParams.height = WindowManager.LayoutParams.WRAP_CONTENT;
|
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/ |
H A D | TaskChainedCompressImageToJpeg.java | 90 resultImage.height, resultImage.width, chainedStrides);
|
H A D | TaskCompressImageToJpeg.java | 148 // 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 D | TinyPlanetFragment.java | 159 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 D | DrawableLoader.java | 198 int height = options.getHeight(); 199 if (height > 0) { 200 heightScale = bitmapOptions.outHeight / height; 375 .height(options.getHeight())
|
/packages/apps/Gallery2/jni/filters/ |
H A D | fx.c | 33 jint height __unused, jobject lutbitmap, jint lutwidth, jint lutheight,
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | LocalImage.java | 147 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 D | ShortcutDragPreviewProvider.java | 74 canvas.scale(((float) size) / bounds.width(), ((float) size) / bounds.height(), 0, 0);
|
H A D | ShortcutsItemView.java | 185 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 D | GridOccupancy.java | 87 markCells(r.left, r.top, r.width(), r.height(), value);
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
H A D | CompositeImageRequest.java | 78 Math.round(avatarDestOnGroup.height()));
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
H A D | MultiAttachmentLayout.java | 267 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 D | MpegTsPlayer.java | 82 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);
|