Home
last modified time | relevance | path

Searched refs:isTablet (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
DDeviceProfile.java41 public final boolean isTablet; field in DeviceProfile
111 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()
/packages/apps/Browser/src/com/android/browser/
DBrowserActivity.java79 public static boolean isTablet(Context context) { in isTablet() method in BrowserActivity
80 return context.getResources().getBoolean(R.bool.isTablet); in isTablet()
85 boolean xlarge = isTablet(this); in createController()
DComboViewActivity.java63 if (BrowserActivity.isTablet(this)) { in onCreate()
DIntentHandler.java150 if (!BrowserActivity.isTablet(mActivity) in onNewIntent()
DPieControl.java166 if (!BrowserActivity.isTablet(mActivity)) { in populateMenu()
/packages/apps/Calendar/src/com/android/calendar/event/
DEventColorPickerDialog.java41 int calendarColor, boolean isTablet) { in newInstance() argument
44 isTablet ? SIZE_LARGE : SIZE_SMALL); in newInstance()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DTurnAutoSyncOnDialog.java74 final boolean isTablet = Utils.useTabletUI(resources); in onCreateDialog()
77 resources.getString(isTablet ? R.string.tablet : R.string.phone)); in onCreateDialog()
DConversationListFragment.java449 private final static int getDefaultChoiceMode(boolean isTablet) { in getDefaultChoiceMode() argument
450 return isTablet ? ListView.CHOICE_MODE_SINGLE : ListView.CHOICE_MODE_NONE; in getDefaultChoiceMode()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/settings/
DSpacingAndPunctuationsTests.java42 private boolean isTablet() { in isTablet() method in SpacingAndPunctuationsTests
43 return Constants.isTablet(mScreenMetrics); in isTablet()
458 if (!isTablet()) { in testTabletPunctuationSuggestions()
/packages/apps/Browser/tests/src/com/android/browser/
DIntentHandlerTests.java70 if (BrowserActivity.isTablet(getActivity())) { in testShortcut()
97 if (BrowserActivity.isTablet(getActivity())) { in testApplication()
/packages/apps/Calendar/src/com/android/calendar/
DCalendarColorPickerDialog.java160 public static CalendarColorPickerDialog newInstance(long calendarId, boolean isTablet) { in newInstance() argument
163 isTablet ? SIZE_LARGE : SIZE_SMALL); in newInstance()
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DConstants.java312 public static boolean isTablet(final int screenMetrics) { in isTablet() method in Constants
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetsListAdapter.java214 if (profile.isLargeTablet || profile.isTablet) { in setContainerHeight()