Searched refs:isTablet (Results 1 – 13 of 13) sorted by relevance
41 public final boolean isTablet; field in DeviceProfile111 isTablet = res.getBoolean(R.bool.is_tablet); in DeviceProfile()113 isPhone = !isTablet && !isLargeTablet; in DeviceProfile()243 if (isTablet && !isVerticalBarLayout()) { in getSearchBarTopOffset()262 if (isTablet) { in getSearchBarBounds()297 if (isTablet) { in getWorkspacePadding()430 } else if (isTablet) { in layout()
79 public static boolean isTablet(Context context) { in isTablet() method in BrowserActivity80 return context.getResources().getBoolean(R.bool.isTablet); in isTablet()85 boolean xlarge = isTablet(this); in createController()
63 if (BrowserActivity.isTablet(this)) { in onCreate()
150 if (!BrowserActivity.isTablet(mActivity) in onNewIntent()
166 if (!BrowserActivity.isTablet(mActivity)) { in populateMenu()
41 int calendarColor, boolean isTablet) { in newInstance() argument44 isTablet ? SIZE_LARGE : SIZE_SMALL); in newInstance()
74 final boolean isTablet = Utils.useTabletUI(resources); in onCreateDialog()77 resources.getString(isTablet ? R.string.tablet : R.string.phone)); in onCreateDialog()
449 private final static int getDefaultChoiceMode(boolean isTablet) { in getDefaultChoiceMode() argument450 return isTablet ? ListView.CHOICE_MODE_SINGLE : ListView.CHOICE_MODE_NONE; in getDefaultChoiceMode()
42 private boolean isTablet() { in isTablet() method in SpacingAndPunctuationsTests43 return Constants.isTablet(mScreenMetrics); in isTablet()458 if (!isTablet()) { in testTabletPunctuationSuggestions()
70 if (BrowserActivity.isTablet(getActivity())) { in testShortcut()97 if (BrowserActivity.isTablet(getActivity())) { in testApplication()
160 public static CalendarColorPickerDialog newInstance(long calendarId, boolean isTablet) { in newInstance() argument163 isTablet ? SIZE_LARGE : SIZE_SMALL); in newInstance()
312 public static boolean isTablet(final int screenMetrics) { in isTablet() method in Constants
214 if (profile.isLargeTablet || profile.isTablet) { in setContainerHeight()