Home
last modified time | relevance | path

Searched refs:getIntrinsicWidth (Results 1 – 25 of 65) sorted by relevance

123

/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
DMediaItemView.java169 e.getX() < sAddTransitionDrawable.getIntrinsicWidth() + in onSingleTapConfirmed()
174 sAddTransitionDrawable.getIntrinsicWidth()) { in onSingleTapConfirmed()
503 sAddTransitionDrawable.getIntrinsicWidth() + getPaddingLeft(), in drawAddTransitionIcons()
512 sAddTransitionDrawable.getIntrinsicWidth(), in drawAddTransitionIcons()
530 2 * sAddTransitionDrawable.getIntrinsicWidth()); in hasSpaceForAddTransitionIcons()
570 if (ev.getX() < sAddTransitionDrawable.getIntrinsicWidth() + in onTouchEvent()
576 sAddTransitionDrawable.getIntrinsicWidth()) { in onTouchEvent()
DHandleView.java208 mIconDragClipLeft.getIntrinsicWidth(), in onDraw()
215 mIconDragClipRight.getIntrinsicWidth(), in onDraw()
217 2 * mIconDragClipRight.getIntrinsicWidth(), in onDraw()
DOverlayView.java227 mArrowLeft.setBounds(halfWidth - 4 - mArrowLeft.getIntrinsicWidth(), getPaddingTop(), in onDraw()
232 + mArrowRight.getIntrinsicWidth(), getPaddingTop() in onDraw()
/packages/apps/MusicFX/src/com/android/musicfx/seekbar/
DAbsSeekBar.java116 mThumbOffset = thumb.getIntrinsicWidth() / 2; in setThumb()
121 (thumb.getIntrinsicWidth() != mThumb.getIntrinsicWidth() in setThumb()
241 int thumbWidth = thumb == null ? 0 : thumb.getIntrinsicWidth();
310 int thumbWidth = thumb.getIntrinsicWidth();
380 dw = Math.max(mMinWidth, Math.min(mMaxWidth, d.getIntrinsicWidth()));
/packages/apps/Settings/src/com/android/settings/widget/
DChartSweepView.java185 final float targetWidth = mSweep.getIntrinsicWidth() - mSweepPadding.left in getTargetInset()
638 setMeasuredDimension(mSweep.getIntrinsicWidth(), Math.max(sweepHeight, templateHeight));
643 setMeasuredDimension(mSweep.getIntrinsicWidth(), mSweep.getIntrinsicHeight());
654 final int targetWidth = mSweep.getIntrinsicWidth() - mSweepPadding.left
721 mSweep.setBounds(mSweepOffset.x, labelSize, mSweepOffset.x + mSweep.getIntrinsicWidth(),
/packages/apps/Gallery/src/com/android/camera/
DHighlightView.java110 int width = mResizeDrawableDiagonal.getIntrinsicWidth(); in draw()
120 x + mResizeDrawableDiagonal.getIntrinsicWidth(), in draw()
130 mResizeDrawableWidth.getIntrinsicWidth() / 2; in draw()
136 mResizeDrawableHeight.getIntrinsicWidth() / 2; in draw()
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
DCandidateView.java436 xPos += mSeparatorDrawable.getIntrinsicWidth(); in calculatePage()
444 itemWidth += mSeparatorDrawable.getIntrinsicWidth(); in calculatePage()
586 + mSeparatorDrawable.getIntrinsicWidth(), getMeasuredHeight()
589 return mSeparatorDrawable.getIntrinsicWidth();
DBalloonHint.java403 measuredWidth += mIcon.getIntrinsicWidth(); in onMeasure()
431 int marginLeft = (width - mIcon.getIntrinsicWidth()) / 2; in onDraw()
432 int marginRight = width - mIcon.getIntrinsicWidth() in onDraw()
DSoftKeyboardView.java458 int marginLeft = (softKey.width() - icon.getIntrinsicWidth()) / 2; in drawSoftKey()
459 int marginRight = softKey.width() - icon.getIntrinsicWidth() in drawSoftKey()
/packages/apps/DeskClock/src/com/android/deskclock/widget/multiwaveview/
DTargetDrawable.java162 maxWidth = Math.max(maxWidth, childDrawable.getIntrinsicWidth()); in resizeDrawables()
179 mDrawable.getIntrinsicWidth(), mDrawable.getIntrinsicHeight()); in resizeDrawables()
240 return mDrawable != null ? mDrawable.getIntrinsicWidth() : 0; in getWidth()
DPointCloud.java127 drawable.setBounds(0, 0, drawable.getIntrinsicWidth(), drawable.getIntrinsicHeight()); in PointCloud()
220 final float cx = mDrawable.getIntrinsicWidth() * 0.5f; in draw()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardView.java383 labelWidth = TypefaceUtils.getLabelWidth(label, paint) + icon.getIntrinsicWidth() in onDrawKeyTopVisuals()
388 labelWidth = TypefaceUtils.getLabelWidth(label, paint) + icon.getIntrinsicWidth() in onDrawKeyTopVisuals()
416 final int iconWidth = icon.getIntrinsicWidth(); in onDrawKeyTopVisuals()
477 final int iconWidth = Math.min(icon.getIntrinsicWidth(), keyWidth); in onDrawKeyTopVisuals()
/packages/apps/Launcher2/src/com/android/launcher2/
DFolderIcon.java327 computePreviewDrawingParams(animateDrawable.getIntrinsicWidth(), in performCreateAnimation()
341 computePreviewDrawingParams(animateDrawable.getIntrinsicWidth(), in performDestroyAnimation()
456 computePreviewDrawingParams(d.getIntrinsicWidth(), getMeasuredWidth());
572 final float transX0 = (mAvailableSpaceInPreview - d.getIntrinsicWidth()) / 2; in animateFirstItem()
DAppsCustomizePagedView.java732 maxWidth = Math.min((int) (previewDrawable.getIntrinsicWidth() * minScale), size[0]); in beginDraggingWidget()
748 if (previewWidthInAppsCustomize < previewDrawable.getIntrinsicWidth()) { in beginDraggingWidget()
750 (previewDrawable.getIntrinsicWidth() - previewWidthInAppsCustomize) / 2; in beginDraggingWidget()
756 preview = Bitmap.createBitmap(icon.getIntrinsicWidth(), in beginDraggingWidget()
762 icon.getIntrinsicWidth(), icon.getIntrinsicHeight()); in beginDraggingWidget()
DHolographicViewHelper.java75 d.getIntrinsicWidth(), d.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); in createOriginalImage()
93 d.getIntrinsicWidth(), d.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); in createPressImage()
DCling.java234 int dw = (int) (scale * mPunchThroughGraphic.getIntrinsicWidth()); in dispatchDraw()
258 cx + mHandTouchGraphic.getIntrinsicWidth() + offset, in dispatchDraw()
DDeleteDropTarget.java200 mCurrentDrawable.getIntrinsicWidth(), mCurrentDrawable.getIntrinsicHeight()); in animateToTrashAndCompleteDrop()
260 mCurrentDrawable.getIntrinsicWidth(), mCurrentDrawable.getIntrinsicHeight()); in createFlingToTrashAnimatorListener()
/packages/apps/DeskClock/src/com/android/deskclock/
DAnalogClock.java98 mDialWidth = mDial.getIntrinsicWidth(); in AnalogClock()
188 int w = dial.getIntrinsicWidth(); in onDraw()
226 final int w = hand.getIntrinsicWidth(); in drawHand()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DEdgeEffect.java312 final int edgeWidth = mEdge.getIntrinsicWidth(); in draw()
314 final int glowWidth = mGlow.getIntrinsicWidth(); in draw()
419 public int getIntrinsicWidth() { in getIntrinsicWidth() method in EdgeEffect.Drawable
/packages/apps/Gallery2/src/com/android/camera/ui/
DPieItem.java147 public int getIntrinsicWidth() { in getIntrinsicWidth() method in PieItem
148 return mDrawable.getIntrinsicWidth(); in getIntrinsicWidth()
/packages/apps/Settings/src/com/android/settings/drawable/
DDrawableWrapper.java124 public int getIntrinsicWidth() { in getIntrinsicWidth() method in DrawableWrapper
125 return mDrawable.getIntrinsicWidth(); in getIntrinsicWidth()
/packages/apps/Dialer/src/com/android/dialer/calllog/
DCallTypeIconsView.java63 mWidth += drawable.getIntrinsicWidth() + mResources.iconMargin; in add()
103 final int right = left + drawable.getIntrinsicWidth(); in onDraw()
/packages/apps/Calendar/src/com/android/calendar/
DMultiStateButton.java154 setWidth(mButtonDrawable.getIntrinsicWidth()); in setButtonDrawable()
166 final int width = mButtonDrawable.getIntrinsicWidth(); in onDraw()
/packages/apps/Camera/src/com/android/camera/ui/
DPieItem.java180 public int getIntrinsicWidth() { in getIntrinsicWidth() method in PieItem
181 return mDrawable.getIntrinsicWidth(); in getIntrinsicWidth()
/packages/apps/Settings/src/com/android/settings/
DActivityPicker.java374 int iconWidth = icon.getIntrinsicWidth(); in createIconThumbnail()
443 public int getIntrinsicWidth() { in getIntrinsicWidth() method in ActivityPicker.EmptyDrawable

123