/packages/apps/Camera/src/com/android/camera/ |
D | RotateBitmap.java | 60 int cx = mBitmap.getWidth() / 2; in getRotateMatrix() 64 matrix.postTranslate(getWidth() / 2, getHeight() / 2); in getRotateMatrix() 75 return mBitmap.getWidth(); in getHeight() 81 public int getWidth() { in getWidth() method in RotateBitmap 85 return mBitmap.getWidth(); in getWidth()
|
D | ImageViewTouchBase.java | 158 final int viewWidth = getWidth(); in setImageRotateBitmapResetBase() 197 mBitmapDisplayed.getBitmap().getWidth(), in center() 219 int viewWidth = getWidth(); in center() 263 float viewWidth = getWidth(); in getProperBaseMatrix() 266 float w = bitmap.getWidth(); in getProperBaseMatrix() 304 float fw = (float) mBitmapDisplayed.getWidth() / (float) mThisWidth; in maxZoom() 344 float cx = getWidth() / 2F; in zoomTo() 351 float cx = getWidth() / 2F; in zoomToPoint() 374 float cx = getWidth() / 2F; in zoomIn() 386 float cx = getWidth() / 2F; in zoomOut()
|
D | Util.java | 66 (float) b.getWidth() / 2, (float) b.getHeight() / 2); in rotate() 69 b, 0, 0, b.getWidth(), b.getHeight(), m, true); in rotate() 154 int deltaX = source.getWidth() - targetWidth; in transform() 172 deltaXHalf + Math.min(targetWidth, source.getWidth()), in transform() 187 float bitmapWidthF = source.getWidth(); in transform() 213 source.getWidth(), source.getHeight(), scaler, true); in transform() 222 int dx1 = Math.max(0, b1.getWidth() - targetWidth); in transform() 483 anim = new TranslateAnimation(0, -view.getWidth(), 0, 0); in slideOut() 486 anim = new TranslateAnimation(0, view.getWidth(), 0, 0); in slideOut() 507 anim = new TranslateAnimation(-view.getWidth(), 0, 0, 0); in slideIn() [all …]
|
D | CropImage.java | 435 int width = mBitmap.getWidth(); 470 int width = mBitmap.getWidth(); 503 if (mBitmap.getWidth() > 256) { 504 mScale = 256.0F / mBitmap.getWidth(); 509 .getWidth(), mBitmap.getHeight(), matrix, true); 519 FaceDetector detector = new FaceDetector(faceBitmap.getWidth(), 760 float thisWidth = getWidth(); in centerBasedOnHighlightView()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | RotateBitmap.java | 60 int cx = mBitmap.getWidth() / 2; in getRotateMatrix() 64 matrix.postTranslate(getWidth() / 2, getHeight() / 2); in getRotateMatrix() 75 return mBitmap.getWidth(); in getHeight() 81 public int getWidth() { in getWidth() method in RotateBitmap 85 return mBitmap.getWidth(); in getWidth()
|
D | ImageViewTouchBase.java | 158 final int viewWidth = getWidth(); in setImageRotateBitmapResetBase() 197 mBitmapDisplayed.getBitmap().getWidth(), in center() 219 int viewWidth = getWidth(); in center() 263 float viewWidth = getWidth(); in getProperBaseMatrix() 266 float w = bitmap.getWidth(); in getProperBaseMatrix() 304 float fw = (float) mBitmapDisplayed.getWidth() / (float) mThisWidth; in maxZoom() 344 float cx = getWidth() / 2F; in zoomTo() 351 float cx = getWidth() / 2F; in zoomToPoint() 374 float cx = getWidth() / 2F; in zoomIn() 386 float cx = getWidth() / 2F; in zoomOut()
|
D | Util.java | 68 (float) b.getWidth() / 2, (float) b.getHeight() / 2); in rotate() 71 b, 0, 0, b.getWidth(), b.getHeight(), m, true); in rotate() 156 int deltaX = source.getWidth() - targetWidth; in transform() 174 deltaXHalf + Math.min(targetWidth, source.getWidth()), in transform() 189 float bitmapWidthF = source.getWidth(); in transform() 215 source.getWidth(), source.getHeight(), scaler, true); in transform() 224 int dx1 = Math.max(0, b1.getWidth() - targetWidth); in transform() 485 anim = new TranslateAnimation(0, -view.getWidth(), 0, 0); in slideOut() 488 anim = new TranslateAnimation(0, view.getWidth(), 0, 0); in slideOut() 509 anim = new TranslateAnimation(-view.getWidth(), 0, 0, 0); in slideIn() [all …]
|
D | CropImage.java | 437 int width = mBitmap.getWidth(); 472 int width = mBitmap.getWidth(); 505 if (mBitmap.getWidth() > 256) { 506 mScale = 256.0F / mBitmap.getWidth(); 511 .getWidth(), mBitmap.getHeight(), matrix, true); 521 FaceDetector detector = new FaceDetector(faceBitmap.getWidth(), 762 float thisWidth = getWidth(); in centerBasedOnHighlightView()
|
/packages/apps/Mms/src/com/android/mms/dom/smil/ |
D | SmilRegionElementImpl.java | 86 int bbw = ((SMILDocument) getOwnerDocument()).getLayout().getRootLayout().getWidth(); in getLeft() 191 public int getWidth() { in getWidth() method in SmilRegionElementImpl 195 ((SMILDocument) getOwnerDocument()).getLayout().getRootLayout().getWidth() : in getWidth() 202 int bbw = ((SMILDocument) getOwnerDocument()).getLayout().getRootLayout().getWidth(); in getWidth() 261 value *= ((SMILDocument) getOwnerDocument()).getLayout().getRootLayout().getWidth(); in parseRegionLength() 279 + ", width=" + getWidth() in toString()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | FastBitmapDrawable.java | 52 return mBitmap.getWidth(); in getIntrinsicWidth() 62 return mBitmap.getWidth(); in getMinimumWidth()
|
D | DragView.java | 87 setMeasuredDimension(mBitmap.getWidth(), mBitmap.getHeight()); in onMeasure() 97 canvas.drawRect(0, 0, getWidth(), getHeight(), p); in onDraw() 101 float width = mBitmap.getWidth(); in onDraw()
|
/packages/apps/Launcher/src/com/android/launcher/ |
D | FastBitmapDrawable.java | 52 return mBitmap.getWidth(); in getIntrinsicWidth() 62 return mBitmap.getWidth(); in getMinimumWidth()
|
D | DragLayer.java | 193 int width = viewBitmap.getWidth(); in startDrag() 197 float scaleFactor = v.getWidth(); in startDrag() 213 mBitmapOffsetX = (dragBitmap.getWidth() - width) / 2; in startDrag() 264 canvas.translate((dragBitmap.getWidth() * (1.0f - value)) / 2, in dispatchDraw() 342 if ((x < SCROLL_ZONE) || (x > getWidth() - SCROLL_ZONE)) { in onTouchEvent() 364 final int width = dragBitmap.getWidth(); in onTouchEvent() 424 } else if (!inDragRegion && x > getWidth() - SCROLL_ZONE) { in onTouchEvent()
|
D | AllAppsGridView.java | 55 mTextureWidth = mTexture.getWidth(); in AllAppsGridView() 80 final int width = getWidth(); in draw()
|
/packages/apps/Launcher2/res/raw/ |
D | rollo3.c | 257 float scale = 72.f * 3 / getWidth(); in positionStrip() 303 float w = getWidth(); in drawFrontGrid() 307 float colWidth = getWidth() / 4; in drawFrontGrid() 340 float px = ((x + 64) - (getWidth() / 2)) / (getWidth() / 2); in drawFrontGrid() 341 float py = ((y + 64) - (getHeight() / 2)) / (getWidth() / 2); in drawFrontGrid() 342 float d = 64.f / (getWidth() / 2); in drawFrontGrid()
|
/packages/apps/Mms/src/com/android/mms/model/ |
D | LayoutModel.java | 78 mRootLayout = new RegionModel(null, 0, 0, mLayoutParams.getWidth(), in createDefaultRootLayout() 88 mRootLayout.getWidth(), mLayoutParams.getImageHeight()); in createDefaultImageRegion() 98 mRootLayout.getWidth(), mLayoutParams.getTextHeight()); in createDefaultTextRegion() 173 return mRootLayout.getWidth(); in getLayoutWidth()
|
D | ImageModel.java | 85 mWidth = uriImage.getWidth(); in initModelFromUri() 98 mWidth = uriImage.getWidth(); in decodeImageBounds() 117 public int getWidth() { in getWidth() method in ImageModel
|
/packages/apps/Settings/src/com/android/settings/battery_history/ |
D | GraphableButton.java | 40 Log.i(TAG, "onDraw: w = " + getWidth() + ", h = " + getHeight()); in onDraw() 43 int xmax = getWidth() - getPaddingRight(); in onDraw()
|
/packages/apps/Mms/src/com/android/mms/layout/ |
D | LayoutManager.java | 53 + ": " + mLayoutParams.getWidth() + "x" + mLayoutParams.getHeight()); in initLayoutParameters() 99 return mLayoutParams.getWidth(); in getLayoutWidth()
|
D | LayoutParameters.java | 35 int getWidth(); in getWidth() method
|
/packages/apps/Mms/src/com/android/mms/ui/ |
D | ViewInterface.java | 27 int getWidth(); in getWidth() method
|
/packages/apps/Calculator/src/com/android/calculator2/ |
D | ColorButton.java | 78 mTextX = (getWidth() - paint.measureText(getText().toString())) / 2; in measureText() 92 canvas.drawRect(1, 1, getWidth() - 1, getHeight() - 1, mFeedbackPaint); in drawMagicFlame()
|
/packages/inputmethods/LatinIME/src/com/android/inputmethod/latin/ |
D | CandidateView.java | 151 final int width = getWidth(); in CandidateView() 209 final int width = getWidth(); in onDraw() 315 int leftEdge = mWordX[firstItem] + mWordWidth[firstItem] - getWidth(); in scrollPrev() 324 int rightEdge = mScrollX + getWidth(); in scrollNext() 328 targetX = Math.min(mWordX[i], mTotalWidth - getWidth()); in scrollNext()
|
/packages/apps/Mms/src/org/w3c/dom/smil/ |
D | ElementLayout.java | 50 public int getWidth(); in getWidth() method
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | ScrollingTabWidget.java | 111 int scrollViewRightEdge = scrollViewLeftEdge + mTabsScrollWrapper.getWidth(); in updateArrowVisibility() 384 viewableLeftEdge += mLeftArrowView.getWidth(); in updateLeftMostVisible() 413 scrollWidth -= mLeftArrowView.getWidth(); in tabScroll()
|