HomeSort by relevance Sort by last modified time
    Searched refs:getDimension (Results 1 - 25 of 33) sorted by null

1 2

  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
BridgeTypedArray.java 386 public float getDimension(int index, float defValue) {
403 return mValue.getDimension(mResources.mMetrics);
417 * {@link #getDimension}, except the returned value is converted to
428 * @see #getDimension
433 return (int) getDimension(index, defValue);
439 * {@link #getDimension}, except the returned value is converted to
451 * @see #getDimension
473 float f = getDimension(index, defValue);
BridgeResources.java 235 public float getDimension(int id) throws NotFoundException {
251 return mTmpValue.getDimension(mMetrics);
Bridge.java 757 defaultOffset = (int)typedValue.getDimension(context.getResources().mMetrics);
    [all...]
  /cts/tests/tests/view/src/android/view/cts/
ContextThemeWrapperTest.java 177 assertEquals(expectedTa.getDimension(R.styleable.TextAppearance_textSize, defValue),
178 ta.getDimension(R.styleable.TextAppearance_textSize, defValue));
  /frameworks/base/test-runner/src/android/test/mock/
MockResources.java 107 public float getDimension(int id) throws NotFoundException {
  /packages/apps/Settings/src/com/android/settings/
Display.java 102 float size = mTextSizeTyped.getDimension(mDisplayMetrics);
ActivityPicker.java 210 int size = (int) resources.getDimension(android.R.dimen.app_icon_size);
  /cts/tests/tests/util/src/android/util/cts/
TypedValueTest.java 283 notes = "Test getDimension().",
284 method = "getDimension",
297 tv.getDimension(dm);
299 assertEquals(TypedValue.complexToDimension(10, dm), tv.getDimension(dm));
  /frameworks/base/graphics/java/android/graphics/drawable/
ShapeDrawable.java 313 a.getDimension(com.android.internal.R.styleable.ShapeDrawable_width, 0f));
315 a.getDimension(com.android.internal.R.styleable.ShapeDrawable_height, 0f));
GradientDrawable.java 759 float dashWidth = a.getDimension(
762 float dashGap = a.getDimension(
    [all...]
  /development/apps/GestureBuilder/src/com/android/gesture/builder/
GestureBuilderActivity.java 329 mThumbnailInset = (int) resources.getDimension(R.dimen.gesture_thumbnail_inset);
330 mThumbnailSize = (int) resources.getDimension(R.dimen.gesture_thumbnail_size);
  /packages/apps/Launcher2/src/com/android/launcher2/
Utilities.java 241 sIconWidth = sIconHeight = (int) resources.getDimension(android.R.dimen.app_icon_size);
281 final float cellWidth = resources.getDimension(R.dimen.title_texture_width);
  /frameworks/base/core/java/android/util/
TypedValue.java 350 public float getDimension(DisplayMetrics metrics)
  /frameworks/base/policy/src/com/android/internal/policy/impl/
IconUtilities.java 73 mIconWidth = mIconHeight = (int) resources.getDimension(android.R.dimen.app_icon_size);
RecentApplicationsDialog.java 62 mIconSize = (int) resources.getDimension(android.R.dimen.app_icon_size);
  /frameworks/base/core/java/android/widget/
SlidingDrawer.java 197 mBottomOffset = (int) a.getDimension(R.styleable.SlidingDrawer_bottomOffset, 0.0f);
198 mTopOffset = (int) a.getDimension(R.styleable.SlidingDrawer_topOffset, 0.0f);
    [all...]
AutoCompleteTextView.java 177 a.getDimension(R.styleable.AutoCompleteTextView_dropDownVerticalOffset, 0.0f);
179 a.getDimension(R.styleable.AutoCompleteTextView_dropDownHorizontalOffset, 0.0f);
    [all...]
  /cts/tests/tests/content/src/android/content/res/cts/
TypedArrayTest.java 98 method = "getDimension",
234 mTypedArray.getDimension(R.styleable.style1_type5, DEFFLOAT));
ResourcesTest.java 226 method = "getDimension",
231 mResources.getDimension(-1);
238 final float dim = mResources.getDimension(R.dimen.app_icon_size);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
LatinKeyboardBaseView.java 482 mPreviewTextSizeLarge = (int) res.getDimension(R.dimen.key_preview_text_size_large);
510 mMiniKeyboardSlideAllowance = res.getDimension(R.dimen.mini_keyboard_slide_allowance);
593 mKeyboardVerticalGap = (int)getResources().getDimension(R.dimen.key_bottom_gap);
    [all...]
CandidateView.java 124 mMinTouchableWidth = (int)res.getDimension(R.dimen.candidate_min_touchable_width);
  /frameworks/base/core/java/android/app/
LauncherActivity.java 256 mIconWidth = mIconHeight = (int) resources.getDimension(
  /frameworks/base/core/java/android/content/res/
TypedArray.java 387 public float getDimension(int index, float defValue) {
405 * {@link #getDimension}, except the returned value is converted to
416 * @see #getDimension
437 * {@link #getDimension}, except the returned value is converted to
449 * @see #getDimension
  /packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
CandidateView.java 240 mCandidateMargin = r.getDimension(R.dimen.candidate_margin_left_right);
XmlKeyboardLoader.java     [all...]

Completed in 597 milliseconds

1 2