HomeSort by relevance Sort by last modified time
    Searched refs:targetWidth (Results 1 - 11 of 11) sorted by null

  /frameworks/base/media/java/android/media/
ThumbnailUtils.java 353 int targetWidth,
359 int deltaX = source.getWidth() - targetWidth;
368 Bitmap b2 = Bitmap.createBitmap(targetWidth, targetHeight,
377 deltaXHalf + Math.min(targetWidth, source.getWidth()),
379 int dstX = (targetWidth - src.width()) / 2;
384 targetWidth - dstX,
397 float viewAspect = (float) targetWidth / targetHeight;
407 float scale = targetWidth / bitmapWidthF;
428 int dx1 = Math.max(0, b1.getWidth() - targetWidth);
435 targetWidth,
    [all...]
  /packages/apps/Gallery/src/com/android/camera/
Util.java 152 int targetWidth,
156 int deltaX = source.getWidth() - targetWidth;
165 Bitmap b2 = Bitmap.createBitmap(targetWidth, targetHeight,
174 deltaXHalf + Math.min(targetWidth, source.getWidth()),
176 int dstX = (targetWidth - src.width()) / 2;
181 targetWidth - dstX,
193 float viewAspect = (float) targetWidth / targetHeight;
203 float scale = targetWidth / bitmapWidthF;
224 int dx1 = Math.max(0, b1.getWidth() - targetWidth);
231 targetWidth,
    [all...]
  /packages/apps/Camera/src/com/android/camera/
Thumbnail.java 256 public static Bitmap createVideoThumbnail(FileDescriptor fd, int targetWidth) {
257 return createVideoThumbnail(null, fd, targetWidth);
260 public static Bitmap createVideoThumbnail(String filePath, int targetWidth) {
261 return createVideoThumbnail(filePath, null, targetWidth);
264 private static Bitmap createVideoThumbnail(String filePath, FileDescriptor fd, int targetWidth) {
290 if (width > targetWidth) {
291 float scale = (float) targetWidth / width;
  /frameworks/base/core/java/com/android/internal/view/menu/
ActionMenuItemView.java 244 final int targetWidth = widthMode == MeasureSpec.AT_MOST ? Math.min(specSize, mMinWidth)
247 if (widthMode != MeasureSpec.EXACTLY && mMinWidth > 0 && oldMeasuredWidth < targetWidth) {
249 super.onMeasure(MeasureSpec.makeMeasureSpec(targetWidth, MeasureSpec.EXACTLY),
ActionMenuView.java 353 final int targetWidth = cellsUsed * cellSize;
354 child.measure(MeasureSpec.makeMeasureSpec(targetWidth, MeasureSpec.EXACTLY),
  /packages/apps/Settings/src/com/android/settings/widget/
ChartView.java 90 final int targetWidth = (int) (mOptimalWidth + (slack * mOptimalWidthWeight));
91 widthMeasureSpec = MeasureSpec.makeMeasureSpec(targetWidth, MeasureSpec.EXACTLY);
ChartSweepView.java 185 final float targetWidth = mSweep.getIntrinsicWidth() - mSweepPadding.left
187 return mSweepPadding.left + (targetWidth / 2) + mSweepOffset.x;
654 final int targetWidth = mSweep.getIntrinsicWidth() - mSweepPadding.left
656 mMargins.left = -(mSweepPadding.left + (targetWidth / 2));
  /frameworks/base/core/java/com/android/internal/widget/
SlidingTab.java 339 final int targetWidth = targetDrawable.getIntrinsicWidth();
344 final int leftTarget = (int) (THRESHOLD * parentWidth) - targetWidth + handleWidth / 2;
359 target.layout(leftTarget, targetTop, leftTarget + targetWidth, targetBottom);
364 target.layout(rightTarget, targetTop, rightTarget + targetWidth, targetBottom);
370 final int targetLeft = (parentWidth - targetWidth) / 2;
371 final int targetRight = (parentWidth + targetWidth) / 2;
    [all...]
  /development/sdk/prebuilt/v7/gridlayout/libs/
android-support-v7-gridlayout.jar 
  /frameworks/base/core/java/android/widget/
GridLayout.java     [all...]
  /external/webkit/Source/WebKit/android/jni/
WebViewCore.cpp     [all...]

Completed in 1559 milliseconds