Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OneUIProject/oneui-core
/ functions
Functions
19,343 in github.com/OneUIProject/oneui-core
⨍
Functions
19,343
◇
Types & classes
1,808
↓ 9 callers
Method
setCurrentItemInternal
(int item, boolean smoothScroll, boolean always)
viewpager/src/main/java/androidx/viewpager/widget/ViewPager.java:636
↓ 9 callers
Method
setElevation
Sets the base elevation of this view, in pixels.
core/src/main/java/androidx/core/view/ViewCompat.java:2340
↓ 9 callers
Method
setExpanded
Sets whether this {@link AppBarLayout} is expanded or not, animating if it has already been laid out. <p>As with {@link AppBarLayout}'s scrolling, th
material/java/com/google/android/material/appbar/AppBarLayout.java:739
↓ 9 callers
Method
setForeground
Supply a Drawable that is to be rendered on top of all of the child views in the frame layout. Any padding in the Drawable will be taken into account
material/java/com/google/android/material/internal/ForegroundLinearLayout.java:151
↓ 9 callers
Method
setHotspotBounds
Sets the bounds to which the hotspot is constrained, if they should be different from the drawable bounds. @param drawable The Drawable against which
core/src/main/java/androidx/core/graphics/drawable/DrawableCompat.java:121
↓ 9 callers
Method
setInputMethodMode
Control how the popup operates with an input method: one of {@link #INPUT_METHOD_FROM_FOCUSABLE}, {@link #INPUT_METHOD_NEEDED}, or {@link #INPUT_METHO
appcompat/src/main/java/androidx/appcompat/widget/ListPopupWindow.java:834
↓ 9 callers
Method
setIsStateSaved
Set whether the FragmentManager has saved its state @param isStateSaved Whether the FragmentManager has saved its state
fragment/src/main/java/androidx/fragment/app/FragmentManagerViewModel.java:95
↓ 9 callers
Method
setLongClickable
Sets whether this node is long clickable. <p> <strong>Note:</strong> Cannot be called from an {@link android.accessibilityservice.AccessibilityService
core/src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java:2503
↓ 9 callers
Method
setLunar
(boolean isLunar, boolean isLeapMonth)
picker/picker-basic/src/main/java/androidx/picker/widget/SeslSpinningDatePickerSpinner.java:581
↓ 9 callers
Method
setMaxLifecycle
(@NonNull Fragment fragment, @NonNull Lifecycle.State state)
fragment/src/main/java/androidx/fragment/app/BackStackRecord.java:268
↓ 9 callers
Method
setMaxLines
(int maxLines)
material/java/com/google/android/material/chip/Chip.java:678
↓ 9 callers
Method
setName
Give this {@link Person} a name to use for display. This can be, for example, a full name, nickname, username, etc.
core/src/main/java/androidx/core/app/Person.java:284
↓ 9 callers
Method
setPadding
(int left, int top, int right, int bottom)
viewpager/src/main/java/androidx/viewpager/widget/PagerTabStrip.java:156
↓ 9 callers
Method
setParent
Sets the parent. <p> <strong>Note:</strong> Cannot be called from an {@link android.accessibilityservice.AccessibilityService}. This class is made imm
core/src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java:2179
↓ 9 callers
Method
setRevealInfo
Sets the current <info>reveal info</info>. Care should be taken to call {@link #buildCircularRevealCache()} and {@link #destroyCircularRevealCache()}
material/java/com/google/android/material/circularreveal/CircularRevealWidget.java:94
↓ 9 callers
Method
setScaleX
(float scaleX)
material/java/com/google/android/material/floatingactionbutton/FloatingActionButton.java:1420
↓ 9 callers
Method
setScaleY
(float scaleY)
material/java/com/google/android/material/floatingactionbutton/FloatingActionButton.java:1426
↓ 9 callers
Method
setStroke
Set the shape's stroke width and stroke color. @param strokeWidth a float for the width of the stroke. @param strokeColor an int representing the Col
material/java/com/google/android/material/shape/MaterialShapeDrawable.java:405
↓ 9 callers
Method
setStrokeWidth
Set the stroke width used by the shape's paint. @param strokeWidth desired stroke width.
material/java/com/google/android/material/shape/MaterialShapeDrawable.java:435
↓ 9 callers
Method
setTextAppearance
Sets this chip's text appearance. @param textAppearance This chip's text appearance. @attr ref com.google.android.material.R.styleable#Chip_android_t
material/java/com/google/android/material/chip/Chip.java:1376
↓ 9 callers
Method
setTextDirection
Set the text direction heuristic. The default value is {@link TextDirectionHeuristics#FIRSTSTRONG_LTR}. On API 17 or before, text direction heuristi
core/src/main/java/androidx/core/text/PrecomputedTextCompat.java:179
↓ 9 callers
Method
setViewLayoutParams
(@NonNull View view, int topMargin, int gravity)
material/java/com/google/android/material/navigation/NavigationBarItemView.java:500
↓ 9 callers
Method
showGoToTop
()
recyclerview/src/main/java/androidx/recyclerview/widget/RecyclerView.java:15410
↓ 9 callers
Method
showsCheckedIcon
Returns whether we will show the checked icon.
material/java/com/google/android/material/chip/ChipDrawable.java:512
↓ 9 callers
Method
toString
()
material/java/com/google/android/material/textfield/TextInputLayout.java:2855
↓ 9 callers
Method
updateIcon
Updates the icon, icon tint, and icon tint mode for this button. @param needsIconReset Whether to force the drawable to be set
material/java/com/google/android/material/button/MaterialButton.java:753
↓ 9 callers
Method
updateLabelState
(boolean animate)
material/java/com/google/android/material/textfield/TextInputLayout.java:1503
↓ 9 callers
Method
updateMenuView
(boolean cleared)
material/java/com/google/android/material/internal/NavigationMenuPresenter.java:125
↓ 9 callers
Method
updateSimpleMonthView
(boolean var1)
picker/picker-basic/src/main/java/androidx/picker/widget/SeslSpinningDatePicker.java:1447
↓ 9 callers
Method
updateSimpleMonthView
(boolean var1)
picker/picker-basic/src/main/java/androidx/picker/widget/SeslDatePicker.java:1358
↓ 8 callers
Method
addChild
Adds a child. <p> <strong>Note:</strong> Cannot be called from an {@link android.accessibilityservice.AccessibilityService}. This class is made immuta
core/src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java:1908
↓ 8 callers
Method
addOnLayoutChangeListener
(@Nullable final View view)
material/java/com/google/android/material/tabs/TabLayout.java:3088
↓ 8 callers
Method
apply
(@NonNull CornerSize cornerSize1, @NonNull CornerSize cornerSize2)
material/java/com/google/android/material/transition/platform/TransitionUtils.java:249
↓ 8 callers
Method
areItemsTheSame
Called by the SortedList to decide whether two objects represent the same Item or not. <p> For example, if your items have unique ids, this method sho
recyclerview/src/main/java/androidx/recyclerview/widget/SortedList.java:899
↓ 8 callers
Method
assertNotInLayoutOrScroll
Checks if RecyclerView is in the middle of a layout or scroll and throws an {@link IllegalStateException} if it <b>is</b>. @param message The message
recyclerview/src/main/java/androidx/recyclerview/widget/RecyclerView.java:9132
↓ 8 callers
Method
canScrollList
(int direction)
recyclerview/src/main/java/androidx/recyclerview/widget/SeslRecyclerViewFastScroller.java:1014
↓ 8 callers
Method
canScrollUp
()
recyclerview/src/main/java/androidx/recyclerview/widget/RecyclerView.java:16628
↓ 8 callers
Method
cancel
Cancels the operation and signals the cancellation listener. If the operation has not yet started, then it will be canceled as soon as it does.
core/src/main/java/androidx/core/os/CancellationSignal.java:66
↓ 8 callers
Method
checkArgumentNonnegative
Ensures that that the argument numeric value is non-negative. @param value a numeric int value @param errorMessage the exception message to use if th
core/src/main/java/androidx/core/util/Preconditions.java:188
↓ 8 callers
Method
clamp
(float min, float value, float max)
material/java/com/google/android/material/behavior/SwipeDismissBehavior.java:438
↓ 8 callers
Method
compare
Similar to {@link java.util.Comparator#compare(Object, Object)}, should compare two and return how they should be ordered. @param o1 The first object
recyclerview/src/main/java/androidx/recyclerview/widget/SortedList.java:853
↓ 8 callers
Method
countItemsBefore
(NestedAdapterWrapper wrapper)
recyclerview/src/main/java/androidx/recyclerview/widget/ConcatAdapterController.java:203
↓ 8 callers
Method
createDefaultEdgeTreatment
()
material/java/com/google/android/material/shape/MaterialShapeUtils.java:46
↓ 8 callers
Method
createFromAttribute
Inflates an instance of MotionSpec from the animator resource indexed in the given attributes array.
material/java/com/google/android/material/animation/MotionSpec.java:172
↓ 8 callers
Method
createFromParcel
Create a new instance of the Parcelable class, instantiating it from the given Parcel whose data had previously been written by {@link Parcelable#writ
core/src/main/java/androidx/core/os/ParcelableCompatCreatorCallbacks.java:40
↓ 8 callers
Method
createTranslationXAnimator
( final View view, float startTranslation, float endTranslation, final float originalT
material/java/com/google/android/material/transition/SlideDistanceProvider.java:187
↓ 8 callers
Method
createTranslationXAnimator
( final View view, float startTranslation, float endTranslation, final float originalT
material/java/com/google/android/material/transition/platform/SlideDistanceProvider.java:192
↓ 8 callers
Method
createWithResource
Create an Icon pointing to a drawable resource. @param context The context for the application whose resources should be used to resolve the
core/src/main/java/androidx/core/graphics/drawable/IconCompat.java:232
↓ 8 callers
Method
dispatchPopulateAccessibilityEvent
(AccessibilityEvent event)
picker/picker-basic/src/main/java/androidx/picker/widget/SeslTimePicker.java:249
↓ 8 callers
Method
dispatchStateChanged
(@ScrollState int state)
viewpager2/src/main/java/androidx/viewpager2/widget/ScrollEventAdapter.java:411
↓ 8 callers
Method
ensureConsistentState
Ensures the model is in a consistent state which is the activities for the current intent have been loaded, the most recent history has been read, and
appcompat/src/main/java/androidx/appcompat/widget/ActivityChooserModel.java:653
↓ 8 callers
Method
equals
Two Insets instances are equal if they belong to the same class and their fields are pairwise equal. @param o the object to compare this instance wit
core/src/main/java/androidx/core/graphics/Insets.java:139
↓ 8 callers
Method
findContainingItemView
Traverses the ancestors of the given view and returns the item view that contains it and also a direct child of the RecyclerView. This returned view c
recyclerview/src/main/java/androidx/recyclerview/widget/RecyclerView.java:5802
↓ 8 callers
Method
findOneVisibleChild
(int fromIndex, int toIndex, boolean completelyVisible)
recyclerview/src/main/java/androidx/recyclerview/widget/StaggeredGridLayoutManager.java:2821
↓ 8 callers
Method
findOneVisibleChild
(int fromIndex, int toIndex, boolean completelyVisible, boolean acceptPartiallyVisible)
recyclerview/src/main/java/androidx/recyclerview/widget/LinearLayoutManager.java:2030
↓ 8 callers
Method
get
(Context context)
appcompat/src/main/java/androidx/appcompat/view/ActionBarPolicy.java:49
↓ 8 callers
Method
getAccessibilityNodeProvider
()
picker/picker-basic/src/main/java/androidx/picker/widget/SeslNumberPicker.java:618
↓ 8 callers
Method
getAllowFreeFormInput
Get whether or not users can provide an arbitrary value for input. If you set this to {@code false}, users must select one of the choices in {@link #g
core/src/main/java/androidx/core/app/RemoteInput.java:155
↓ 8 callers
Method
getAnchorView
Returns the view that will be used to anchor this popup. @return The popup's anchor view
appcompat/src/main/java/androidx/appcompat/widget/ListPopupWindow.java:473
↓ 8 callers
Method
getAutoSizeMaxTextSize
@return the current auto-size maximum text size in pixels (the default is 112sp). Note that if auto-size has not been configured this function
core/src/main/java/androidx/core/widget/AutoSizeableTextView.java:143
↓ 8 callers
Method
getAutoSizeMinTextSize
@return the current auto-size minimum text size in pixels (the default is 12sp). Note that if auto-size has not been configured this function
core/src/main/java/androidx/core/widget/AutoSizeableTextView.java:134
↓ 8 callers
Method
getAutoSizeTextAvailableSizes
@return the current auto-size {@code int} sizes array (in pixels). @see #setAutoSizeTextTypeUniformWithConfiguration(int, int, int, int) @see #setAut
core/src/main/java/androidx/core/widget/AutoSizeableTextView.java:151
↓ 8 callers
Method
getAutoSizeTextType
Returns the type of auto-size set for this widget. @return an {@code int} corresponding to one of the auto-size types: {@link TextViewCompat#
core/src/main/java/androidx/core/widget/AutoSizeableTextView.java:117
↓ 8 callers
Method
getBitmap
Gets the bitmap used to create this icon. <p> Only valid for icons of type TYPE_BITMAP. Note: This bitmap may not be available in the future, and it i
core/src/main/java/androidx/core/graphics/drawable/IconCompat.java:454
↓ 8 callers
Method
getCachedItemCount
()
recyclerview/src/main/java/androidx/recyclerview/widget/NestedAdapterWrapper.java:141
↓ 8 callers
Method
getChildrenSkipCount
<p>Returns the number of children to skip after measuring/laying out the specified child.</p> @param child the child after which we want to skip chil
appcompat/src/main/java/androidx/appcompat/widget/LinearLayoutCompat.java:1356
↓ 8 callers
Method
getChoices
Get possible input choices. This can be {@code null} if there are no choices to present.
core/src/main/java/androidx/core/app/RemoteInput.java:129
↓ 8 callers
Method
getColumnString
Gets the value of a string column by name. @param cursor Cursor to read the value from. @param columnName The name of the column to read. @return The
appcompat/src/main/java/androidx/appcompat/widget/SuggestionsAdapter.java:770
↓ 8 callers
Method
getCompoundDrawablesRelative
Returns drawables for the start, top, end, and bottom borders from the given text view.
core/src/main/java/androidx/core/widget/TextViewCompat.java:312
↓ 8 callers
Method
getCurrentDrawable
Returns the corresponding drawable based on current indeterminate state.
material/java/com/google/android/material/progressindicator/BaseProgressIndicator.java:353
↓ 8 callers
Method
getDataModel
@hide
appcompat/src/main/java/androidx/appcompat/widget/ActivityChooserView.java:487
↓ 8 callers
Method
getDayOfWeekStart
()
picker/picker-basic/src/main/java/androidx/picker/widget/SeslSimpleMonthView.java:1292
↓ 8 callers
Method
getDesiredHeight
@return the ideal height, in DPs, for the floating window that app content defined by {@link #getIntent()} for this bubble. A value of 0 indicates a d
core/src/main/java/androidx/core/app/NotificationCompat.java:6812
↓ 8 callers
Method
getDesiredHeightResId
@return the resId of ideal height for the floating window that app content defined by {@link #getIntent()} for this bubble. A value of 0 indicates a r
core/src/main/java/androidx/core/app/NotificationCompat.java:6822
↓ 8 callers
Method
getDrawable
(@NonNull Context context, @DrawableRes int resId)
appcompat/src/main/java/androidx/appcompat/widget/AppCompatDrawableManager.java:287
↓ 8 callers
Method
getDrawerLockMode
Check the lock mode of the drawer with the given gravity. @param edgeGravity Gravity of the drawer to check @return one of {@link #LOCK_MODE_UNLOCKED
drawerlayout/src/main/java/androidx/drawerlayout/widget/DrawerLayout.java:659
↓ 8 callers
Method
getFillColor
Get the color used for the fill. @return the color set on the {@link Paint} object responsible for the fill.
material/java/com/google/android/material/shape/MaterialShapeDrawable.java:315
↓ 8 callers
Method
getGravity
@return the gravity used to align the popup window to its anchor view @see #setGravity(int)
appcompat/src/main/java/androidx/appcompat/widget/PopupMenu.java:161
↓ 8 callers
Method
getGroup
Get the key used to group this notification into a cluster or stack with other notifications on devices which support such rendering.
core/src/main/java/androidx/core/app/NotificationCompat.java:7564
↓ 8 callers
Method
getHandler
()
fragment/src/main/java/androidx/fragment/app/FragmentHostCallback.java:250
↓ 8 callers
Method
getInstance
(@NonNull Context context)
appcompat/src/main/java/androidx/appcompat/app/TwilightManager.java:49
↓ 8 callers
Method
getLastChildPosition
()
recyclerview/src/main/java/androidx/recyclerview/widget/StaggeredGridLayoutManager.java:2237
↓ 8 callers
Method
getListView
()
preference/src/main/java/androidx/preference/PreferenceFragmentCompat.java:526
↓ 8 callers
Method
getMenuView
Retrieve a MenuView to display the menu specified in {@link #initForMenu(Context, MenuBuilder)}. @param root Intended parent of the MenuView. @return
appcompat/src/main/java/androidx/appcompat/view/menu/MenuPresenter.java:79
↓ 8 callers
Method
getOrCreateController
Get the {@link SpecialEffectsController} for a given container if it already exists or create it. This will automatically find the containing Fragment
fragment/src/main/java/androidx/fragment/app/SpecialEffectsController.java:51
↓ 8 callers
Method
getPaddingBottom
()
material/java/com/google/android/material/internal/NavigationMenuPresenter.java:763
↓ 8 callers
Method
getPageWidth
Returns the proportional width of a given page as a percentage of the ViewPager's measured width from (0.f-1.f] @param position The position of the p
viewpager/src/main/java/androidx/viewpager/widget/PagerAdapter.java:346
↓ 8 callers
Method
getPreferenceAdapterPosition
Returns the adapter position of the first {@link Preference} with the specified key. @param key Key of {@link Preference} to find @return Adapter pos
preference/src/main/java/androidx/preference/PreferenceGroup.java:545
↓ 8 callers
Method
getSource
The source of the operation. See {@code SOURCE_} constants. Future versions of Android may pass additional values.
core/src/main/java/androidx/core/view/ContentInfoCompat.java:170
↓ 8 callers
Method
getSubMenu
()
appcompat/src/main/java/androidx/appcompat/view/menu/MenuItemImpl.java:422
↓ 8 callers
Method
getSubtitle
()
appcompat/src/main/java/androidx/appcompat/widget/DecorToolbar.java:55
↓ 8 callers
Method
getTheme
Return the Theme object associated with the given {@link Context}.
core/src/main/java/androidx/reflect/content/SeslContextReflector.java:71
↓ 8 callers
Method
getTooltipText
Retrieve the tooltip text associated with this menu item. @return The tooltip text.
core/src/main/java/androidx/core/internal/view/SupportMenuItem.java:244
↓ 8 callers
Method
getTopBottomOffsetForScrollingSibling
()
material/java/com/google/android/material/appbar/AppBarLayout.java:2690
↓ 8 callers
Method
getVerticalMargins
(View v)
appcompat/src/main/java/androidx/appcompat/widget/Toolbar.java:2245
↓ 8 callers
Method
getWindowCallback
()
appcompat/src/main/java/androidx/appcompat/app/AppCompatDelegateImpl.java:561
↓ 8 callers
Method
getWrappedTypeArray
Beware, you very likely do not intend to this method. Proceed with caution.
appcompat/src/main/java/androidx/appcompat/widget/TintTypedArray.java:75
↓ 8 callers
Method
growSize
Given the current size of an array, returns an ideal size to which the array should grow. This is typically double the given size, but should not be r
core/src/main/java/androidx/core/content/res/GrowingArrayUtils.java:174
↓ 8 callers
Method
hasVisibleItems
()
appcompat/src/main/java/androidx/appcompat/view/menu/MenuBuilder.java:672
↓ 8 callers
Method
infoForChild
(View child)
viewpager/src/main/java/androidx/viewpager/widget/ViewPager.java:1506
← previous
next →
901–1,000 of 19,343, ranked by callers