Searched refs:getIntrinsicWidth (Results 1 – 11 of 11) sorted by relevance
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | ProxyDrawable.java | 51 public int getIntrinsicWidth() { in getIntrinsicWidth() method in ProxyDrawable 52 return mProxy != null ? mProxy.getIntrinsicWidth() : -1; in getIntrinsicWidth()
|
D | DensityActivity.java | 144 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()
|
D | AnimateDrawables.java | 47 dr.setBounds(0, 0, dr.getIntrinsicWidth(), dr.getIntrinsicHeight()); in SampleView()
|
D | ColorFilters.java | 55 curr.setBounds(x, y, x + curr.getIntrinsicWidth(), y + h); in addToTheRight()
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | StaticPointerIconButton.java | 53 final int hotSpotX = d.getIntrinsicWidth() / 2; in onResolvePointerIcon()
|
/development/samples/CrossCompatibility/src/com/example/android/touchexample/ |
D | TouchExampleView.java | 44 mIcon.setBounds(0, 0, mIcon.getIntrinsicWidth(), mIcon.getIntrinsicHeight()); in TouchExampleView()
|
/development/samples/browseable/Notifications/Wearable/src/com.example.android.support.wearable.notifications/ |
D | AnimatedNotificationDisplayActivity.java | 125 int imageWidth = imageView.getDrawable().getIntrinsicWidth(); in onLayout()
|
/development/samples/devbytes/animation/CardFlip/src/com/example/android/cardflip/ |
D | CardView.java | 104 Bitmap bitmapWithBorder = Bitmap.createBitmap(bitmapDrawable.getIntrinsicWidth() + in bitmapWithBorder()
|
/development/samples/Home/src/com/example/android/home/ |
D | Home.java | 630 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/ |
D | GameView.java | 456 int w = d.getIntrinsicWidth();
|
/development/samples/LunarLander/src/com/example/android/lunarlander/ |
D | LunarView.java | 238 mLanderWidth = mLanderImage.getIntrinsicWidth(); in LunarThread()
|