Home
last modified time | relevance | path

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

/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DProxyDrawable.java51 public int getIntrinsicWidth() { in getIntrinsicWidth() method in ProxyDrawable
52 return mProxy != null ? mProxy.getIntrinsicWidth() : -1; in getIntrinsicWidth()
DDensityActivity.java144 view.setLayoutParams(new LinearLayout.LayoutParams(d.getIntrinsicWidth(), in addBitmapDrawable()
155 view.setLayoutParams(new LinearLayout.LayoutParams(d.getIntrinsicWidth(), in addResourceDrawable()
178 + " w=" + d.getIntrinsicWidth() + " h=" + d.getIntrinsicHeight()); in addNinePatchResourceDrawable()
180 d.getIntrinsicWidth()*2, d.getIntrinsicHeight()*2)); in addNinePatchResourceDrawable()
DAnimateDrawables.java47 dr.setBounds(0, 0, dr.getIntrinsicWidth(), dr.getIntrinsicHeight()); in SampleView()
DColorFilters.java55 curr.setBounds(x, y, x + curr.getIntrinsicWidth(), y + h); in addToTheRight()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DStaticPointerIconButton.java53 final int hotSpotX = d.getIntrinsicWidth() / 2; in onResolvePointerIcon()
/development/samples/CrossCompatibility/src/com/example/android/touchexample/
DTouchExampleView.java44 mIcon.setBounds(0, 0, mIcon.getIntrinsicWidth(), mIcon.getIntrinsicHeight()); in TouchExampleView()
/development/samples/browseable/Notifications/Wearable/src/com.example.android.support.wearable.notifications/
DAnimatedNotificationDisplayActivity.java125 int imageWidth = imageView.getDrawable().getIntrinsicWidth(); in onLayout()
/development/samples/devbytes/animation/CardFlip/src/com/example/android/cardflip/
DCardView.java104 Bitmap bitmapWithBorder = Bitmap.createBitmap(bitmapDrawable.getIntrinsicWidth() + in bitmapWithBorder()
/development/samples/Home/src/com/example/android/home/
DHome.java630 final int iconWidth = icon.getIntrinsicWidth(); in getView()
752 mWallpaper.setBounds(left, top, left + mWallpaper.getIntrinsicWidth(), in setBounds()
/development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/
DGameView.java456 int w = d.getIntrinsicWidth();
/development/samples/LunarLander/src/com/example/android/lunarlander/
DLunarView.java238 mLanderWidth = mLanderImage.getIntrinsicWidth(); in LunarThread()