Home
last modified time | relevance | path

Searched refs:getIntrinsicWidth (Results 1 – 8 of 8) 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/CrossCompatibility/src/com/example/android/touchexample/
DTouchExampleView.java44 mIcon.setBounds(0, 0, mIcon.getIntrinsicWidth(), mIcon.getIntrinsicHeight()); in TouchExampleView()
/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.java236 mLanderWidth = mLanderImage.getIntrinsicWidth(); in LunarThread()