Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LeongAndroid/Launcher3
/ functions
Functions
4,423 in github.com/LeongAndroid/Launcher3
⨍
Functions
4,423
◇
Types & classes
546
↓ 6 callers
Method
verifyWorkspace
Verifies that the workspace items are arranged in the provided order. @param ids A 3d array where the first dimension represents the screen, and the r
tests/src/com/android/launcher3/model/GridSizeMigrationTaskTest.java:322
↓ 5 callers
Method
add
(View v, CellAndSpan cs)
src/com/android/launcher3/CellLayout.java:2435
↓ 5 callers
Method
addButton
(String title, String method)
tests/src/com/android/launcher3/testcomponent/BaseTestingActivity.java:71
↓ 5 callers
Method
addMovement
(MotionEvent event)
src/com/android/launcher3/anim/SpringAnimationHandler.java:116
↓ 5 callers
Method
addOrMoveItemInDatabase
Adds an item to the DB if it was not created previously, or move it to a new <container, screen, cellX, cellY>
src/com/android/launcher3/model/ModelWriter.java:81
↓ 5 callers
Method
addToList
(K key, V value)
src/com/android/launcher3/util/MultiHashMap.java:33
↓ 5 callers
Method
animateToFinalPosition
(float position, int startValue)
src/com/android/launcher3/anim/SpringAnimationHandler.java:130
↓ 5 callers
Method
announce
(CharSequence msg)
src/com/android/launcher3/accessibility/DragViewStateAnnouncer.java:40
↓ 5 callers
Method
announceForAccessibility
(CharSequence text)
src/com/android/launcher3/Workspace.java:1634
↓ 5 callers
Method
applyFromShortcutInfo
(ShortcutInfo info)
src/com/android/launcher3/BubbleTextView.java:180
↓ 5 callers
Method
arrangeChildren
Updates position and rank of all the children in the view. It essentially removes all views from all the pages and then adds them again in appropriate
src/com/android/launcher3/folder/FolderPagedView.java:318
↓ 5 callers
Method
assertWorkerThread
()
src/com/android/launcher3/util/Preconditions.java:35
↓ 5 callers
Method
bindUpdatedShortcuts
( final ArrayList<ShortcutInfo> updatedShortcuts, final UserHandle user)
src/com/android/launcher3/model/BaseModelUpdateTask.java:97
↓ 5 callers
Method
cleanupAnimation
()
src/com/android/launcher3/LauncherStateTransitionAnimation.java:703
↓ 5 callers
Method
clearHomescreen
Removes all icons from homescreen and hotseat.
tests/src/com/android/launcher3/ui/AbstractLauncherUiTest.java:211
↓ 5 callers
Method
clearResizeFrame
()
src/com/android/launcher3/dragndrop/DragLayer.java:549
↓ 5 callers
Method
completeDragExit
()
src/com/android/launcher3/folder/Folder.java:932
↓ 5 callers
Method
computePreviewItemDrawingParams
(int index, int curNumItems, PreviewItemDrawingParams params)
src/com/android/launcher3/folder/FolderIcon.java:707
↓ 5 callers
Method
copyFrom
(CellAndSpan copy)
src/com/android/launcher3/util/CellAndSpan.java:31
↓ 5 callers
Method
createView
(Context context, int appWidgetId, LauncherAppWidgetProviderInfo appWidget)
src/com/android/launcher3/LauncherAppWidgetHost.java:117
↓ 5 callers
Method
createWidgetInfo
Creates a LauncherAppWidgetInfo corresponding to {@param info} @param bindWidget if true the info is bound and a valid widgetId is assigned to
tests/src/com/android/launcher3/ui/widget/BindWidgetTest.java:292
↓ 5 callers
Method
deepCopy
(ArrayList<DbEntry> src)
src/com/android/launcher3/model/GridSizeMigrationTask.java:865
↓ 5 callers
Method
deleteItemFromDatabase
Removes the specified item from the database
src/com/android/launcher3/model/ModelWriter.java:231
↓ 5 callers
Method
dispatchBackKey
()
src/com/android/launcher3/ExtendedEditText.java:104
↓ 5 callers
Method
draw
(Canvas canvas)
src/com/android/launcher3/folder/PreviewItemManager.java:148
↓ 5 callers
Method
estimateItemSize
Estimates the size of an item using spans: hSpan, vSpan. @param springLoaded True if we are in spring loaded mode. @param unscaledSize True if caller
src/com/android/launcher3/Workspace.java:378
↓ 5 callers
Method
findVacantCell
Find the first vacant cell, if there is one. @param vacantOut Holds the x and y coordinate of the vacant cell @param spanX Horizontal cell span. @par
src/com/android/launcher3/util/GridOccupancy.java:32
↓ 5 callers
Method
finishedScrolling
()
src/com/android/launcher3/touch/SwipeDetector.java:267
↓ 5 callers
Method
flushAll
Blocks until all the pending logs are written to the disk @param out if not null, all the persisted logs are copied to the writer.
src/com/android/launcher3/logging/FileLog.java:106
↓ 5 callers
Method
get
(Context context, AppWidgetHost appWidgetHost, LayoutParserCallback callback)
src/com/android/launcher3/AutoInstallsLayout.java:66
↓ 5 callers
Method
getAllAppsButtonRank
()
src/com/android/launcher3/InvariantDeviceProfile.java:318
↓ 5 callers
Method
getAnimator
Prepares the Folder for animating between open / closed states.
src/com/android/launcher3/folder/FolderAnimationManager.java:119
↓ 5 callers
Method
getAttrBoolean
(Context context, int attr)
src/com/android/launcher3/util/Themes.java:41
↓ 5 callers
Method
getAttributeResourceValue
Return attribute resource value, attempting launcher-specific namespace first before falling back to anonymous attribute.
src/com/android/launcher3/AutoInstallsLayout.java:660
↓ 5 callers
Method
getCaretDrawable
()
src/com/android/launcher3/pageindicators/PageIndicator.java:57
↓ 5 callers
Method
getCommandIntent
(Class<?> clazz, String method)
tests/src/com/android/launcher3/testcomponent/BaseTestingActivity.java:122
↓ 5 callers
Method
getDistanceFromCell
(float x, float y, int[] cell)
src/com/android/launcher3/CellLayout.java:774
↓ 5 callers
Method
getDrawableBounds
(Drawable d)
src/com/android/launcher3/graphics/DragPreviewProvider.java:178
↓ 5 callers
Method
getDropTargetBar
()
src/com/android/launcher3/Launcher.java:1664
↓ 5 callers
Method
getFirstMatch
(final ItemOperator operator)
src/com/android/launcher3/Workspace.java:3740
↓ 5 callers
Method
getHandler
()
src/com/android/launcher3/widget/PendingAddWidgetInfo.java:55
↓ 5 callers
Method
getItemViewAt
(int index)
src/com/android/launcher3/popup/PopupContainerWithArrow.java:339
↓ 5 callers
Method
getNotificationCount
()
src/com/android/launcher3/badge/BadgeInfo.java:109
↓ 5 callers
Method
getOpenView
( Launcher launcher, @FloatingViewType int type)
src/com/android/launcher3/AbstractFloatingView.java:100
↓ 5 callers
Method
getPageIndicator
()
src/com/android/launcher3/PagedView.java:323
↓ 5 callers
Method
getPreviewItemsOnPage
Returns the list of "preview items" on {@param page}.
src/com/android/launcher3/folder/FolderIcon.java:534
↓ 5 callers
Method
getScaleToFit
()
src/com/android/launcher3/LauncherAppWidgetHostView.java:463
↓ 5 callers
Method
getScreenIdForPageIndex
(int index)
src/com/android/launcher3/Workspace.java:952
↓ 5 callers
Method
getScrollbarTrackHeight
Returns the height of the fast scroll bar
src/com/android/launcher3/BaseRecyclerView.java:105
↓ 5 callers
Method
getShortLabel
()
src/com/android/launcher3/shortcuts/ShortcutInfoCompat.java:64
↓ 5 callers
Method
getType
(Uri uri)
src/com/android/launcher3/LauncherProvider.java:137
↓ 5 callers
Method
getVisualCenter
This is used to compute the visual center of the dragView. This point is then used to visualize drop locations and determine where to drop an item. Th
src/com/android/launcher3/DropTarget.java:81
↓ 5 callers
Method
hasSpringAnimationHandler
()
src/com/android/launcher3/allapps/AllAppsTransitionController.java:554
↓ 5 callers
Method
isAppDiscoveryRunning
()
src/com/android/launcher3/allapps/AlphabeticalAppsList.java:617
↓ 5 callers
Method
isDeclaredInManifest
()
src/com/android/launcher3/shortcuts/ShortcutInfoCompat.java:92
↓ 5 callers
Method
isDraggingEnabled
()
src/com/android/launcher3/Launcher.java:610
↓ 5 callers
Method
isIconViewType
(int viewType)
src/com/android/launcher3/allapps/AllAppsGridAdapter.java:237
↓ 5 callers
Method
isIdleState
There's no touch and there's no animation.
src/com/android/launcher3/touch/SwipeDetector.java:140
↓ 5 callers
Method
isInAccessibleDrag
()
src/com/android/launcher3/dragndrop/DragLayer.java:317
↓ 5 callers
Method
isInAccessibleDrag
()
src/com/android/launcher3/accessibility/LauncherAccessibilityDelegate.java:319
↓ 5 callers
Method
isItemInPreview
Returns whether the item with {@param rank} is in the default Folder icon preview.
src/com/android/launcher3/folder/FolderIconPreviewVerifier.java:56
↓ 5 callers
Method
isOpen
()
src/com/android/launcher3/AbstractFloatingView.java:91
↓ 5 callers
Method
isPageInTransition
()
src/com/android/launcher3/PagedView.java:463
↓ 5 callers
Method
isViewType
(int viewType, int viewTypeMask)
src/com/android/launcher3/allapps/AllAppsGridAdapter.java:241
↓ 5 callers
Method
logCommand
(int command)
src/com/android/launcher3/dragndrop/AddItemActivity.java:307
↓ 5 callers
Method
longCompare
Replacement for Long.compare() which was added in API level 19.
src/com/android/launcher3/Utilities.java:546
↓ 5 callers
Method
makeShortcut
()
src/com/android/launcher3/discovery/AppDiscoveryAppInfo.java:59
↓ 5 callers
Method
newInstance
(Context context)
src/com/android/launcher3/AppFilter.java:8
↓ 5 callers
Method
newInstance
(Context context)
src/com/android/launcher3/util/InstantAppResolver.java:33
↓ 5 callers
Method
newTask
(ItemInfo... items)
tests/src/com/android/launcher3/model/AddWorkspaceItemsTaskTest.java:53
↓ 5 callers
Method
onDragEnd
(float velocity, boolean fling)
src/com/android/launcher3/touch/SwipeDetector.java:175
↓ 5 callers
Method
onMotionEvent
(MotionEvent event)
src/com/android/launcher3/StylusEventHelper.java:58
↓ 5 callers
Method
openAllApps
Opens all apps and returns the recycler view
tests/src/com/android/launcher3/ui/AbstractLauncherUiTest.java:104
↓ 5 callers
Method
overScroll
(float amount)
src/com/android/launcher3/PagedView.java:1365
↓ 5 callers
Method
pointInView
Utility method to determine whether the given point, in local coordinates, is inside the view, where the area of the view is expanded by the slop fact
src/com/android/launcher3/Utilities.java:220
↓ 5 callers
Method
putSameHeightFor
(AllAppsGridAdapter adapter, int w, int h, int... viewTypes)
src/com/android/launcher3/allapps/AllAppsRecyclerView.java:181
↓ 5 callers
Method
register
Registers the content observer to call {@link #onSettingChanged(boolean)} when any of the passed settings change. The value passed to onSettingChanged
src/com/android/launcher3/util/SettingsObserver.java:30
↓ 5 callers
Method
reloadLauncherIfExternal
()
src/com/android/launcher3/LauncherProvider.java:200
↓ 5 callers
Method
removeDropTarget
Don't send drop events to <em>target</em> any more.
src/com/android/launcher3/dragndrop/DragController.java:646
↓ 5 callers
Method
run
()
src/com/android/launcher3/Launcher.java:320
↓ 5 callers
Method
scrollTo
(int x, int y)
src/com/android/launcher3/PagedView.java:506
↓ 5 callers
Method
sendCustomAccessibilityEvent
(View target, int type, String text)
src/com/android/launcher3/Utilities.java:613
↓ 5 callers
Method
setAlarm
(CellLayout cl)
src/com/android/launcher3/dragndrop/SpringLoadedDragController.java:47
↓ 5 callers
Method
setColorFilter
(ColorFilter cf)
src/com/android/launcher3/FastBitmapDrawable.java:119
↓ 5 callers
Method
setColorScaleOnMatrix
Scales a color matrix such that, when applied to color R G B A, it produces R' G' B' A' where R' = r R G' = g G B' = b B A' = a A The matrix will, fo
src/com/android/launcher3/util/Themes.java:77
↓ 5 callers
Method
setInsets
(Rect insets)
src/com/android/launcher3/Insettable.java:27
↓ 5 callers
Method
setItemPlacementDirty
(boolean dirty)
src/com/android/launcher3/CellLayout.java:2407
↓ 5 callers
Method
setProgress
@param progress value between 0 and 1, 0 shows all apps and 1 shows workspace
src/com/android/launcher3/allapps/AllAppsTransitionController.java:313
↓ 5 callers
Method
setState
(State state)
src/com/android/launcher3/Launcher.java:2905
↓ 5 callers
Method
setTextVisibility
(boolean visible)
src/com/android/launcher3/BubbleTextView.java:449
↓ 5 callers
Method
setupWorkspaceWithHoles
(int startId, long screenId, Rect... holes)
tests/src/com/android/launcher3/model/AddWorkspaceItemsTaskTest.java:141
↓ 5 callers
Method
startActivitySafely
(View v, Intent intent, ItemInfo item)
src/com/android/launcher3/Launcher.java:2673
↓ 5 callers
Method
stopLoader
If there is already a loader task running, tell it to stop.
src/com/android/launcher3/LauncherModel.java:494
↓ 5 callers
Method
stripEmptyScreens
()
src/com/android/launcher3/Workspace.java:963
↓ 5 callers
Method
toString
()
src/com/android/launcher3/widget/WidgetListRowEntry.java:44
↓ 5 callers
Method
toString
()
src/com/android/launcher3/dynamicui/ColorExtractionAlgorithm.java:783
↓ 5 callers
Method
translateYFrom
Animates the translationY of the view from the given offset to the view's current translation @return an Animator, which should be started by the call
src/com/android/launcher3/shortcuts/ShortcutsItemView.java:284
↓ 5 callers
Method
updateDragViewTranslationDuringDrag
()
src/com/android/launcher3/PagedView.java:274
↓ 5 callers
Method
waitUntilLoaderIdle
Blocks the current thread until all the jobs in the main worker thread are complete.
tests/src/com/android/launcher3/ui/widget/BindWidgetTest.java:366
↓ 4 callers
Method
abortScrollerAnimation
(boolean resetNextPage)
src/com/android/launcher3/PagedView.java:376
← previous
next →
401–500 of 4,423, ranked by callers