OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getIntrinsicWidth
(Results
26 - 50
of
198
) sorted by null
1
2
3
4
5
6
7
8
/packages/apps/Contacts/src/com/android/contacts/detail/
TransformableImageView.java
50
int dwidth = getDrawable().
getIntrinsicWidth
();
/packages/apps/Launcher2/src/com/android/launcher2/
FastBitmapDrawable.java
77
public int
getIntrinsicWidth
() {
/packages/apps/Launcher3/src/com/android/launcher3/
FastBitmapDrawable.java
71
public int
getIntrinsicWidth
() {
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
ShapeDrawableTest.java
106
assertEquals(0, shapeDrawable.
getIntrinsicWidth
());
109
assertEquals(10, shapeDrawable.
getIntrinsicWidth
());
112
assertEquals(Integer.MIN_VALUE, shapeDrawable.
getIntrinsicWidth
());
115
assertEquals(Integer.MAX_VALUE, shapeDrawable.
getIntrinsicWidth
());
225
assertEquals(42, shapeDrawable.
getIntrinsicWidth
());
NinePatchDrawableTest.java
200
assertEquals(bmp.getWidth(), mNinePatchDrawable.
getIntrinsicWidth
());
201
assertEquals(5, mNinePatchDrawable.
getIntrinsicWidth
());
205
assertEquals(bmp.getWidth(), mNinePatchDrawable.
getIntrinsicWidth
());
206
assertEquals(9, mNinePatchDrawable.
getIntrinsicWidth
());
292
assertEquals(width, ninePatchDrawable.
getIntrinsicWidth
());
303
assertTrue(width != ninePatchDrawable.
getIntrinsicWidth
());
InsetDrawableTest.java
288
int expected = d.
getIntrinsicWidth
(); /* 31 */
289
assertEquals(expected, insetDrawable.
getIntrinsicWidth
());
294
expected = d.
getIntrinsicWidth
(); /* 170 */
295
assertEquals(expected, insetDrawable.
getIntrinsicWidth
());
RotateDrawableTest.java
183
assertEquals(drawable.
getIntrinsicWidth
(), mRotateDrawable.
getIntrinsicWidth
());
194
assertEquals(drawable.
getIntrinsicWidth
(), rotateDrawable.
getIntrinsicWidth
());
/cts/tests/tests/widget/src/android/widget/cts/
CheckedTextViewTest.java
203
assertEquals(firstDrawable.
getIntrinsicWidth
(), checkedTextView.getPaddingRight());
218
assertEquals(secondDrawable.
getIntrinsicWidth
() + basePaddingRight,
241
assertEquals(firstDrawable.
getIntrinsicWidth
() + basePaddingRight,
248
assertEquals(firstDrawable.
getIntrinsicWidth
() + basePaddingRight,
255
assertEquals(secondDrawable.
getIntrinsicWidth
() + basePaddingRight,
FrameLayoutTest.java
79
compareScaledPixels(48, foreground.
getIntrinsicWidth
());
81
assertTrue(mFrameLayout.getWidth() > foreground.
getIntrinsicWidth
());
107
compareScaledPixels(48, newForeground.
getIntrinsicWidth
());
109
assertTrue(mFrameLayout.getWidth() > foreground.
getIntrinsicWidth
());
123
assertEquals(foreground.
getIntrinsicWidth
(), rect2.right - rect2.left);
/packages/apps/MusicFX/src/com/android/musicfx/seekbar/
AbsSeekBar.java
116
mThumbOffset = thumb.
getIntrinsicWidth
() / 2;
121
(thumb.
getIntrinsicWidth
() != mThumb.
getIntrinsicWidth
()
241
int thumbWidth = thumb == null ? 0 : thumb.
getIntrinsicWidth
();
310
int thumbWidth = thumb.
getIntrinsicWidth
();
380
dw = Math.max(mMinWidth, Math.min(mMaxWidth, d.
getIntrinsicWidth
()));
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/
Slider.java
92
int bgW = mBackground.
getIntrinsicWidth
() / 2;
125
setMeasuredDimension(mIndicator.
getIntrinsicWidth
(),
/frameworks/base/core/java/com/android/internal/widget/
DrawableHolder.java
56
mDrawable.setBounds(0, 0, mDrawable.
getIntrinsicWidth
(), mDrawable.getIntrinsicHeight());
203
return mDrawable.
getIntrinsicWidth
();
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
OverlayView.java
227
mArrowLeft.setBounds(halfWidth - 4 - mArrowLeft.
getIntrinsicWidth
(), getPaddingTop(),
232
+ mArrowRight.
getIntrinsicWidth
(), getPaddingTop()
MediaItemView.java
169
e.getX() < sAddTransitionDrawable.
getIntrinsicWidth
() +
174
sAddTransitionDrawable.
getIntrinsicWidth
()) {
503
sAddTransitionDrawable.
getIntrinsicWidth
() + getPaddingLeft(),
512
sAddTransitionDrawable.
getIntrinsicWidth
(),
530
2 * sAddTransitionDrawable.
getIntrinsicWidth
());
570
if (ev.getX() < sAddTransitionDrawable.
getIntrinsicWidth
() +
576
sAddTransitionDrawable.
getIntrinsicWidth
()) {
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DensityActivity.java
144
view.setLayoutParams(new LinearLayout.LayoutParams(d.
getIntrinsicWidth
(),
155
view.setLayoutParams(new LinearLayout.LayoutParams(d.
getIntrinsicWidth
(),
178
+ " w=" + d.
getIntrinsicWidth
() + " h=" + d.getIntrinsicHeight());
180
d.
getIntrinsicWidth
()*2, d.getIntrinsicHeight()*2));
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/
HandleView.java
132
handleWidth = mDrawable.
getIntrinsicWidth
();
143
handleWidth = mDrawable.
getIntrinsicWidth
();
155
handleWidth = mDrawable.
getIntrinsicWidth
();
168
setMeasuredDimension(mDrawable.
getIntrinsicWidth
(),
/external/chromium_org/ui/android/java/src/org/chromium/ui/
ColorPickerAdvancedComponent.java
60
.
getIntrinsicWidth
();
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
DpiTestActivity.java
174
view.setLayoutParams(new LinearLayout.LayoutParams(d.
getIntrinsicWidth
(),
185
view.setLayoutParams(new LinearLayout.LayoutParams(d.
getIntrinsicWidth
(),
208
+ " w=" + d.
getIntrinsicWidth
() + " h=" + d.getIntrinsicHeight());
210
d.
getIntrinsicWidth
()*2, d.getIntrinsicHeight()*2));
/packages/apps/Gallery/src/com/android/camera/
GalleryPickerItem.java
76
mOverlay.setBounds(w - mOverlay.
getIntrinsicWidth
(),
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
DrawableTileSource.java
53
return mDrawable.
getIntrinsicWidth
();
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
TargetDrawable.java
128
maxWidth = Math.max(maxWidth, childDrawable.
getIntrinsicWidth
());
142
mDrawable.
getIntrinsicWidth
(), mDrawable.getIntrinsicHeight());
203
return mDrawable != null ? mDrawable.
getIntrinsicWidth
() : 0;
/packages/apps/DeskClock/src/com/android/deskclock/widget/multiwaveview/
TargetDrawable.java
132
maxWidth = Math.max(maxWidth, childDrawable.
getIntrinsicWidth
());
149
mDrawable.
getIntrinsicWidth
(), mDrawable.getIntrinsicHeight());
210
return mDrawable != null ? mDrawable.
getIntrinsicWidth
() : 0;
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/
TargetDrawable.java
132
maxWidth = Math.max(maxWidth, childDrawable.
getIntrinsicWidth
());
149
mDrawable.
getIntrinsicWidth
(), mDrawable.getIntrinsicHeight());
210
return mDrawable != null ? mDrawable.
getIntrinsicWidth
() : 0;
/frameworks/base/core/java/android/widget/
AbsSeekBar.java
117
mThumbOffset = thumb.
getIntrinsicWidth
() / 2;
121
(thumb.
getIntrinsicWidth
() != mThumb.
getIntrinsicWidth
()
288
int thumbWidth = thumb.
getIntrinsicWidth
();
345
dw = Math.max(mMinWidth, Math.min(mMaxWidth, d.
getIntrinsicWidth
()));
/frameworks/base/graphics/java/android/graphics/drawable/
ScaleDrawable.java
221
final int iw = min ? mScaleState.mDrawable.
getIntrinsicWidth
() : 0;
238
public int
getIntrinsicWidth
() {
239
return mScaleState.mDrawable.
getIntrinsicWidth
();
Completed in 692 milliseconds
1
2
3
4
5
6
7
8