/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
D | UserHandleCompat.java | 23 import com.android.launcher3.Utilities; 37 if (Utilities.ATLEAST_JB_MR1) { in myUserHandle() 58 if (Utilities.ATLEAST_JB_MR1) { in toString() 70 if (Utilities.ATLEAST_JB_MR1) { in equals() 79 if (Utilities.ATLEAST_JB_MR1) { in hashCode() 92 if (Utilities.ATLEAST_LOLLIPOP && mUser != null) { in addToIntent()
|
D | AppWidgetManagerCompatV16.java | 33 import com.android.launcher3.Utilities; 50 return Utilities.trim(info.label); in loadLabel() 57 if (Utilities.ATLEAST_JB_MR1) { in bindAppWidgetIdIfAllowed() 75 Utilities.startActivityForResultSafely(activity, intent, requestCode); in startConfigActivity()
|
D | UserManagerCompat.java | 23 import com.android.launcher3.Utilities; 37 if (Utilities.ATLEAST_LOLLIPOP) { in getInstance() 39 } else if (Utilities.ATLEAST_JB_MR1) { in getInstance()
|
D | AlphabeticIndexCompat.java | 4 import com.android.launcher3.Utilities; 118 String s = Utilities.trim(cs); in computeSectionName() 120 if (Utilities.trim(sectionName).isEmpty() && s.length() > 0) { in computeSectionName()
|
D | PackageInstallerCompat.java | 21 import com.android.launcher3.Utilities; 37 if (Utilities.ATLEAST_LOLLIPOP) { in getInstance()
|
D | AppWidgetManagerCompat.java | 30 import com.android.launcher3.Utilities; 43 if (Utilities.ATLEAST_LOLLIPOP) { in getInstance()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | IconCache.java | 335 Utilities.createDbSelectionQuery(IconDB.COLUMN_ROWID, itemsToRemove), in updateDBIcons() 383 entry.icon = Utilities.createIconBitmap(app.getBadgedIcon(mIconDpi), mContext); in updateCacheAndGetContentValues() 437 application.title = Utilities.trim(entry.title); in getTitleAndIcon() 450 application.title = Utilities.trim(entry.title); in updateTitleAndIcon() 501 shortcutInfo.title = Utilities.trim(entry.title); in getTitleAndIcon() 514 infoOut.title = Utilities.trim(entry.title); in getTitleAndIconForApp() 545 entry.icon = Utilities.createIconBitmap(info.getBadgedIcon(mIconDpi), mContext); in cacheLocked() 594 entry.icon = Utilities.createIconBitmap(icon, mContext); in cachePackageInstallInfo() 628 entry.icon = Utilities.createIconBitmap(drawable, mContext); in getEntryForPackageLocked() 846 values.put(IconDB.COLUMN_ICON, Utilities.flattenBitmap(icon)); in newContentValues() [all …]
|
D | LauncherStateTransitionAnimation.java | 208 final boolean material = Utilities.ATLEAST_LOLLIPOP; in startAnimationToOverlay() 247 int[] buttonViewToPanelDelta = Utilities.getCenterDeltaInScreenSpace(revealView, in startAnimationToOverlay() 365 if (Utilities.ATLEAST_LOLLIPOP && Utilities.isViewAttachedToWindow(v)) { in startAnimationToOverlay() 488 final boolean material = Utilities.ATLEAST_LOLLIPOP; in startAnimationToWorkspaceFromOverlay() 534 int[] buttonViewToPanelDelta = Utilities.getCenterDeltaInScreenSpace(revealView, in startAnimationToWorkspaceFromOverlay() 674 if (Utilities.ATLEAST_LOLLIPOP && Utilities.isViewAttachedToWindow(v)) { in startAnimationToWorkspaceFromOverlay()
|
D | DeviceProfile.java | 142 allAppsIconTextSizePx = Utilities.pxFromDp(inv.iconTextSize, dm); in DeviceProfile() 145 allAppsIconSizePx = Utilities.pxFromDp(inv.iconSize, dm); in DeviceProfile() 193 iconSizePx = (int) (Utilities.pxFromDp(inv.iconSize, dm) * scale); in updateIconSize() 194 iconTextSizePx = (int) (Utilities.pxFromSp(inv.iconTextSize, dm) * scale); in updateIconSize() 196 hotseatIconSizePx = (int) (Utilities.pxFromDp(inv.hotseatIconSize, dm) * scale); in updateIconSize() 384 final boolean isLayoutRtl = Utilities.isRtl(launcher.getResources()); in layout()
|
D | ShortcutInfo.java | 157 this.title = Utilities.trim(title); in ShortcutInfo() 165 title = Utilities.trim(info.title); in ShortcutInfo() 183 title = Utilities.trim(info.title); in ShortcutInfo() 289 shortcut.title = Utilities.trim(info.getLabel()); in fromActivityInfo()
|
D | FocusHelper.java | 95 final boolean isLayoutRtl = Utilities.isRtl(v.getResources()); in onKey() 254 countY, matrix, iconIndex, pageIndex, pageCount, Utilities.isRtl(v.getResources())); in handleHotseatButtonKeyEvent() 337 countY, matrix, iconIndex, pageIndex, pageCount, Utilities.isRtl(v.getResources())); in handleIconKeyEvent() 361 Utilities.isRtl(v.getResources())); in handleIconKeyEvent() 395 Utilities.isRtl(v.getResources())); in handleIconKeyEvent()
|
D | Launcher.java | 494 mRotationEnabled = Utilities.isRotationAllowedForDevice(getApplicationContext()); in onCreate() 498 mRotationEnabled = Utilities.isAllowRotationPrefEnabled(getApplicationContext(), false); in onCreate() 526 if (Utilities.ALLOW_ROTATION_PREFERENCE_KEY.equals(settings)) { in onSettingsChanged() 658 if (Utilities.ATLEAST_JB_MR1) { in generateViewId() 1204 return !Utilities.isRotationAllowedForDevice(this); in hasSettings() 1661 if (Utilities.ATLEAST_LOLLIPOP) { in setupTransparentSystemBarsForLollipop() 2303 Utilities.startActivityForResultSafely(this, createShortcutIntent, REQUEST_CREATE_SHORTCUT); in processShortcutFromDrop() 2395 if (Utilities.isPropertyEnabled(DUMP_STATE_PROPERTY)) { in dispatchKeyEvent() 2890 if (Utilities.ATLEAST_MARSHMALLOW) { in startActivity() 2905 } else if (!Utilities.ATLEAST_LOLLIPOP) { in startActivity() [all …]
|
D | ButtonDropTarget.java | 95 if (Utilities.ATLEAST_JB_MR1) { in setDrawable() 116 if (Utilities.ATLEAST_LOLLIPOP) { in onDragEnter() 134 if (Utilities.ATLEAST_LOLLIPOP) { in resetHoverColor() 274 if (Utilities.isRtl(getResources())) { in getIconRect()
|
D | LauncherModel.java | 424 return Utilities.findVacantCell(xy, spanX, spanY, xCount, yCount, occupied); in findNextAvailableIconSpaceInScreen() 2042 if (isSafeMode && !Utilities.isSystemApp(context, intent)) { in loadWorkspace() 2268 Utilities.createDbSelectionQuery( in loadWorkspace() 2271 Log.d(TAG, "Removed = " + Utilities.createDbSelectionQuery( in loadWorkspace() 2304 Utilities.createDbSelectionQuery( in loadWorkspace() 3121 Bitmap icon = Utilities.createIconBitmap( 3175 si.title = Utilities.trim(appInfo.title); 3474 info.title = Utilities.trim(title); 3478 info.title = (c != null) ? Utilities.trim(c.getString(titleIndex)) : ""; 3540 Bitmap icon = Utilities.createIconBitmap(c, iconIndex, context); [all …]
|
D | DragView.java | 134 if (Utilities.ATLEAST_LOLLIPOP) { in DragView() 255 if (Utilities.ATLEAST_LOLLIPOP) { in setColor() 262 if (!Utilities.ATLEAST_LOLLIPOP || mCurrentFilter == null) { in setColor()
|
D | InvariantDeviceProfile.java | 131 minWidthDps = Utilities.dpiFromPx(Math.min(smallestSize.x, smallestSize.y), dm); in InvariantDeviceProfile() 132 minHeightDps = Utilities.dpiFromPx(Math.min(largestSize.x, largestSize.y), dm); in InvariantDeviceProfile() 150 iconBitmapSize = Utilities.pxFromDp(iconSize, dm); in InvariantDeviceProfile()
|
D | LauncherProvider.java | 141 if (Utilities.ATLEAST_MARSHMALLOW && Binder.getCallingPid() != Process.myPid()) { in reloadLauncherIfExternal() 168 if (Utilities.ATLEAST_MARSHMALLOW) { in insert() 305 db.delete(TABLE_FAVORITES, Utilities.createDbSelectionQuery( in deleteEmptyFolders() 417 if (!Utilities.ATLEAST_JB_MR2) { in createWorkspaceLoaderFromAppRestriction() 784 if (!Utilities.isLauncherAppTarget(intent)) { in convertShortcutsToLauncherActivities()
|
D | SettingsActivity.java | 51 Utilities.ALLOW_ROTATION_PREFERENCE_KEY); in onCreate() 59 Utilities.ALLOW_ROTATION_PREFERENCE_KEY, extras); in onCreate()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | CursorIconInfo.java | 27 import com.android.launcher3.Utilities; 56 icon = Utilities.createIconBitmap(packageName, resourceName, context); in loadIcon() 60 icon = Utilities.createIconBitmap(c, iconIndex, context); in loadIcon() 64 icon = Utilities.createIconBitmap(c, iconIndex, context); in loadIcon()
|
D | ManagedProfileHeuristic.java | 36 import com.android.launcher3.Utilities; 71 if (Utilities.ATLEAST_LOLLIPOP && !UserHandleCompat.myUserHandle().equals(user)) { in get() 299 if (!Utilities.ATLEAST_LOLLIPOP) { in processAllUsers()
|
D | UiThreadCircularReveal.java | 12 import com.android.launcher3.Utilities; 50 if (!Utilities.ATLEAST_LOLLIPOP_MR1) { in createCircularReveal()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | DefaultAppSearchController.java | 30 import com.android.launcher3.Utilities; 97 String query = Utilities.trim( in getView() 201 final int translationX = Utilities.pxFromDp(SEARCH_TRANSLATION_X_DP, in showSearchField() 233 final int translationX = Utilities.pxFromDp(SEARCH_TRANSLATION_X_DP, in hideSearchField()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | WidgetsAndShortcutNameComparator.java | 8 import com.android.launcher3.Utilities; 91 return Utilities.trim(mManager.loadLabel(widgetInfo)); in getLabel() 94 return Utilities.trim(shortcutInfo.loadLabel(mPackageManager)); in getLabel()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | WidgetsListAdapter.java | 39 import com.android.launcher3.Utilities; 172 if (Utilities.ATLEAST_JB_MR1) { in onCreateViewHolder() 215 mIndent = Utilities.pxFromDp(PRESET_INDENT_SIZE_TABLET, r.getDisplayMetrics()); in setContainerHeight()
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
D | WallpaperPickerActivity.java | 679 if (Utilities.isRtl(getResources())) { in initializeScrollForRtl() 980 WallpaperTileInfo defaultWallpaperInfo = Utilities.ATLEAST_KITKAT in findBundledWallpapers() 1158 Utilities.startActivityForResultSafely(getActivity(), intent, requestCode); in startActivityForResultSafely() 1164 if (Utilities.isRotationAllowedForDevice(getContext())) in enableRotation() 1168 return Utilities.isAllowRotationPrefEnabled(getApplicationContext(), true); in enableRotation()
|