Searched refs:getSizeInDp (Results 1 – 3 of 3) sorted by relevance
164 mWidth = getSizeInDp(R.dimen.default_width); in setUp()165 mHeight = getSizeInDp(R.dimen.default_height); in setUp()177 mWidth = getSizeInDp(R.dimen.required_width_for_large); in testCreateRemoteViewsWithLastInteractionTimeUnderOneDayHidden()178 mHeight = getSizeInDp(R.dimen.required_height_for_large); in testCreateRemoteViewsWithLastInteractionTimeUnderOneDayHidden()232 mWidth = getSizeInDp(R.dimen.required_width_for_medium) - 1; in testCreateRemoteViewsWithLastInteractionTime()244 mHeight = getSizeInDp(R.dimen.required_height_for_medium) - 1; in testCreateRemoteViewsWithLastInteractionTime()260 mWidth = getSizeInDp(R.dimen.required_width_for_large); in testCreateRemoteViewsWithLastInteractionTime()261 mHeight = getSizeInDp(R.dimen.required_height_for_large); in testCreateRemoteViewsWithLastInteractionTime()304 mWidth = getSizeInDp(R.dimen.required_width_for_medium) - 1; in testCreateRemoteViewsWithGameTypeOnlyIsIgnored()317 mHeight = getSizeInDp(R.dimen.required_height_for_medium) - 1; in testCreateRemoteViewsWithGameTypeOnlyIsIgnored()[all …]
237 int defaultWidth = getSizeInDp(context, R.dimen.default_width, density); in getWidgetSizes()238 int defaultHeight = getSizeInDp(context, R.dimen.default_height, density); in getWidgetSizes()387 return getSizeInDp( in getLineHeightFromResource()392 private int getSizeInDp(int dimenResourceId) { in getSizeInDp() method in PeopleTileViewHelper393 return getSizeInDp(mContext, dimenResourceId, mDensity); in getSizeInDp()396 public static int getSizeInDp(Context context, int dimenResourceId, float density) { in getSizeInDp() method in PeopleTileViewHelper408 return mHeight - (getSizeInDp( in getContentHeightForLayout()418 if (mHeight >= getSizeInDp(R.dimen.required_height_for_large) in getLayoutSize()419 && mWidth >= getSizeInDp(R.dimen.required_width_for_large)) { in getLayoutSize()424 if (mHeight >= getSizeInDp(R.dimen.required_height_for_medium) in getLayoutSize()[all …]
181 PeopleTileViewHelper.getSizeInDp( in toViewModel()