OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getDimension
(Results
1 - 25
of
160
) sorted by null
1
2
3
4
5
6
7
/packages/apps/DeskClock/src/com/android/alarmclock/
WidgetUtils.java
37
float fontSize = context.getResources().
getDimension
(R.dimen.widget_big_font_size);
60
float ratio = (density * minWidth) / res.
getDimension
(R.dimen.min_digital_widget_width);
64
< res.
getDimension
(R.dimen.min_digital_widget_height)) {
91
float lblBox = 1.35f * res.
getDimension
(R.dimen.label_font_size);
93
if (res.
getDimension
(R.dimen.min_digital_widget_height) - lblBox > 0) {
95
/ (res.
getDimension
(R.dimen.min_digital_widget_height) - lblBox);
128
float lblBox = 1.35f * res.
getDimension
(R.dimen.label_font_size);
129
float neededSize = res.
getDimension
(R.dimen.digital_widget_list_min_fixed_height) +
131
scale * res.
getDimension
(R.dimen.digital_widget_list_min_scaled_height);
DigitalWidgetViewsFactory.java
55
mFontSize = context.getResources().
getDimension
(R.dimen.widget_medium_font_size);
56
mFont24Size = context.getResources().
getDimension
(R.dimen.widget_24_medium_font_size);
105
(int)mResources.
getDimension
(R.dimen.widget_label_font_size), clockId);
/packages/apps/DeskClock/src/com/android/deskclock/
CircleButtonsLayout.java
53
mLeftButtonPadding = mContext.getResources().
getDimension
(leftButtonPaddingDimenId);
54
mRightButtonPadding = mContext.getResources().
getDimension
(rightButtonPaddingDimenId);
56
float dotStrokeSize = mContext.getResources().
getDimension
(R.dimen.circletimer_dot_size);
58
mContext.getResources().
getDimension
(R.dimen.circletimer_marker_size);
59
mStrokeSize = mContext.getResources().
getDimension
(R.dimen.circletimer_circle_size);
166
- (int) mContext.getResources().
getDimension
(R.dimen.timer_button_extra_offset);
CircleTimerView.java
116
mStrokeSize = resources.
getDimension
(R.dimen.circletimer_circle_size);
117
float dotDiameter = resources.
getDimension
(R.dimen.circletimer_dot_size);
118
mMarkerStrokeSize = resources.
getDimension
(R.dimen.circletimer_marker_size);
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowTypedArray.java
38
public float
getDimension
(int index, float defValue) {
ShadowResources.java
178
public float
getDimension
(int id) throws Resources.NotFoundException {
193
return (int)
getDimension
(id);
198
return (int)
getDimension
(id);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
GestureFloatingPreviewText.java
69
mGesturePreviewHorizontalPadding = mainKeyboardViewAttr.
getDimension
(
71
mGesturePreviewVerticalPadding = mainKeyboardViewAttr.
getDimension
(
73
mGesturePreviewRoundRadius = mainKeyboardViewAttr.
getDimension
(
SlidingKeyInputPreview.java
47
final float previewRadius = mainKeyboardViewAttr.
getDimension
(
/frameworks/base/core/java/android/animation/
AnimatorInflater.java
226
valueFrom = a.
getDimension
(valueFromIndex, 0f);
232
valueTo = a.
getDimension
(valueToIndex, 0f);
242
valueTo = a.
getDimension
(valueToIndex, 0f);
253
valueFrom = (int) a.
getDimension
(valueFromIndex, 0f);
262
valueTo = (int) a.
getDimension
(valueToIndex, 0f);
276
valueTo = (int) a.
getDimension
(valueToIndex, 0f);
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
FrameFormat.java
101
public int
getDimension
(int i) {
220
int specDim = specification.
getDimension
(i);
221
if (specDim != SIZE_UNSPECIFIED &&
getDimension
(i) != specDim) {
280
int specDim = specification.
getDimension
(i);
282
&&
getDimension
(i) != SIZE_UNSPECIFIED
283
&&
getDimension
(i) != specDim) {
/packages/apps/VideoEditor/src/com/android/videoeditor/
ProjectPickerAdapter.java
68
mItemWidth = (int) mResources.
getDimension
(R.dimen.project_picker_item_width);
69
mItemHeight = (int) mResources.
getDimension
(R.dimen.project_picker_item_height);
70
mOverlayHeight = (int) mResources.
getDimension
(
72
mOverlayVerticalInset = (int) mResources.
getDimension
(
74
mOverlayHorizontalInset = (int) mResources.
getDimension
(
177
paint.setTextSize((int) mResources.
getDimension
(R.dimen.project_picker_item_font_size));
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
TypedArrayTest.java
49
assertThat(typedArray.
getDimension
(0, 0.5f), equalTo(0.5f));
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
BiDiTestViewDrawText.java
46
mSize = a.
getDimension
(R.styleable.DrawTextTestView_size, 40.0f);
/packages/apps/Calendar/src/com/android/calendar/
DayOfMonthDrawable.java
40
mTextSize = c.getResources().
getDimension
(R.dimen.today_icon_text_size);
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
TimelineHorizontalScrollView.java
96
mPlayheadMarginTop = (int)resources.
getDimension
(R.dimen.playhead_margin_top);
97
mPlayheadMarginBottom = (int)resources.
getDimension
(R.dimen.playhead_margin_bottom);
98
mPlayheadMarginTopOk = (int)resources.
getDimension
(R.dimen.playhead_margin_top_ok);
99
mPlayheadMarginTopNotOk = (int)resources.
getDimension
(R.dimen.playhead_margin_top_not_ok);
PlayheadView.java
63
mTimeTextSize = resources.
getDimension
(R.dimen.playhead_layout_text_size);
67
mTicksHeight = (int)resources.
getDimension
(R.dimen.playhead_tick_height);
TransitionView.java
115
final int layoutHeight = (int)(resources.
getDimension
(R.dimen.media_layout_height) -
116
resources.
getDimension
(R.dimen.media_layout_padding) -
117
(2 * resources.
getDimension
(R.dimen.timelime_transition_vertical_inset)));
/packages/apps/Camera2/src/com/android/camera/crop/
CropView.java
100
mIndicatorSize = (int) rsc.
getDimension
(R.dimen.crop_indicator_size);
101
mShadowMargin = (int) rsc.
getDimension
(R.dimen.shadow_margin);
102
mMargin = (int) rsc.
getDimension
(R.dimen.preview_margin);
103
mMinSideSize = (int) rsc.
getDimension
(R.dimen.crop_min_side);
104
mTouchTolerance = (int) rsc.
getDimension
(R.dimen.crop_touch_tolerance);
108
mDashOnLength = rsc.
getDimension
(R.dimen.wp_selector_dash_length);
109
mDashOffLength = rsc.
getDimension
(R.dimen.wp_selector_off_length);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
CropView.java
101
mIndicatorSize = (int) rsc.
getDimension
(R.dimen.crop_indicator_size);
102
mShadowMargin = (int) rsc.
getDimension
(R.dimen.shadow_margin);
103
mMargin = (int) rsc.
getDimension
(R.dimen.preview_margin);
104
mMinSideSize = (int) rsc.
getDimension
(R.dimen.crop_min_side);
105
mTouchTolerance = (int) rsc.
getDimension
(R.dimen.crop_touch_tolerance);
109
mDashOnLength = rsc.
getDimension
(R.dimen.wp_selector_dash_length);
110
mDashOffLength = rsc.
getDimension
(R.dimen.wp_selector_off_length);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
PanelView.java
334
mSelfExpandVelocityPx = res.
getDimension
(R.dimen.self_expand_velocity);
335
mSelfCollapseVelocityPx = res.
getDimension
(R.dimen.self_collapse_velocity);
336
mFlingExpandMinVelocityPx = res.
getDimension
(R.dimen.fling_expand_min_velocity);
337
mFlingCollapseMinVelocityPx = res.
getDimension
(R.dimen.fling_collapse_min_velocity);
339
mFlingGestureMinDistPx = res.
getDimension
(R.dimen.fling_gesture_min_dist);
344
mExpandAccelPx = res.
getDimension
(R.dimen.expand_accel);
345
mCollapseAccelPx = res.
getDimension
(R.dimen.collapse_accel);
347
mFlingGestureMaxXVelocityPx = res.
getDimension
(R.dimen.fling_gesture_max_x_velocity);
349
mFlingGestureMaxOutputVelocityPx = res.
getDimension
(R.dimen.fling_gesture_max_output_velocity);
351
mPeekHeight = res.
getDimension
(R.dimen.peek_height
[
all
...]
/cts/tests/tests/view/src/android/view/cts/
ContextThemeWrapperTest.java
122
assertEquals(expectedTa.
getDimension
(R.styleable.TextAppearance_textSize, defValue),
123
ta.
getDimension
(R.styleable.TextAppearance_textSize, defValue));
/packages/apps/Browser/src/com/android/browser/view/
PieStackView.java
41
.
getDimension
(R.dimen.qc_tab_title_height);
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
KeyguardMultiUserAvatar.java
96
mIconSize = res.
getDimension
(R.dimen.keyguard_avatar_size);
97
mStroke = res.
getDimension
(R.dimen.keyguard_avatar_frame_stroke_width);
98
mShadowRadius = res.
getDimension
(R.dimen.keyguard_avatar_frame_shadow_radius);
/packages/apps/Settings/src/com/android/settings/users/
CircleFramedDrawable.java
60
float iconSize = res.
getDimension
(R.dimen.circle_avatar_size);
61
float strokeWidth = res.
getDimension
(R.dimen.circle_avatar_frame_stroke_width);
62
float shadowRadius = res.
getDimension
(R.dimen.circle_avatar_frame_shadow_radius);
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
BridgeTypedArray.java
432
public float
getDimension
(int index, float defValue) {
455
return mValue.
getDimension
(mBridgeResources.getDisplayMetrics());
470
* {@link #
getDimension
}, except the returned value is converted to
481
* @see #
getDimension
486
return (int)
getDimension
(index, defValue);
492
* {@link #
getDimension
}, except the returned value is converted to
504
* @see #
getDimension
510
return
getDimension
(index);
544
return
getDimension
(index);
563
private int
getDimension
(int index)
[
all
...]
Completed in 401 milliseconds
1
2
3
4
5
6
7