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
↓ 62 callers
Method
getId
Return the unique identifier for the entry. This is the only representation of the entry that will persist across activity instances.
fragment/src/main/java/androidx/fragment/app/FragmentManager.java:171
↓ 62 callers
Method
getRight
()
appcompat/src/main/java/androidx/appcompat/widget/RtlSpacingHelper.java:42
↓ 60 callers
Method
getColorForState
(@NonNull ColorStateList colorStateList)
material/java/com/google/android/material/slider/BaseSlider.java:2116
↓ 60 callers
Method
getDrawable
Returns a drawable object associated with a particular resource ID. <p> Starting in {@link Build.VERSION_CODES#LOLLIPOP}, the returned drawable will b
core/src/main/java/androidx/core/content/ContextCompat.java:476
↓ 59 callers
Method
getColor
(int index, int defValue)
appcompat/src/main/java/androidx/appcompat/widget/TintTypedArray.java:169
↓ 59 callers
Method
setCallback
Set a callback object that will be notified of menu events related to this specific presentation. @param cb Callback that will be notified of future e
appcompat/src/main/java/androidx/appcompat/view/menu/MenuPresenter.java:94
↓ 59 callers
Method
setDuration
Set how long to show the view for. @param duration How long to display the message. Can be {@link #LENGTH_SHORT}, {@link #LENGTH_LONG}, {@link #L
material/java/com/google/android/material/snackbar/BaseTransientBottomBar.java:507
↓ 58 callers
Method
getTheme
()
fragment/src/main/java/androidx/fragment/app/DialogFragment.java:390
↓ 57 callers
Method
getText
Gets the text from the current data storage. @return The current preference value
preference/src/main/java/androidx/preference/EditTextPreference.java:95
↓ 57 callers
Method
onInitializeAccessibilityNodeInfo
(AccessibilityNodeInfo info)
picker/picker-basic/src/main/java/androidx/picker/widget/SeslTimePicker.java:275
↓ 57 callers
Method
putInt
Sets an {@link Integer} value to the data store. <p>Once the value is set the data store is responsible for holding it. @param key The name of the
preference/src/main/java/androidx/preference/PreferenceDataStore.java:81
↓ 56 callers
Method
getText
(int index)
appcompat/src/main/java/androidx/appcompat/widget/TintTypedArray.java:145
↓ 56 callers
Method
getWindow
Gets the window to which this node belongs. @return The window. @see android.accessibilityservice.AccessibilityService#getWindows()
core/src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java:3659
↓ 56 callers
Method
length
()
core/src/main/java/androidx/core/text/PrecomputedTextCompat.java:747
↓ 55 callers
Method
getMode
Gets the current display mode of the given display, where the size can be relied on to determine support for 4k on Android TV devices.
core/src/main/java/androidx/core/view/DisplayCompat.java:58
↓ 55 callers
Method
getString
@return a string value of {@code index}. If it does not exist, a string value of {@code fallbackIndex}. If it still does not exist, {@code null}.
core/src/main/java/androidx/core/content/res/TypedArrayUtils.java:307
↓ 55 callers
Method
getValue
()
picker/picker-basic/src/main/java/androidx/picker/widget/SeslNumberPicker.java:638
↓ 55 callers
Method
setText
Saves the text to the current data storage. @param text The text to save
preference/src/main/java/androidx/preference/EditTextPreference.java:75
↓ 55 callers
Method
setTypeface
Set the typeface to use for the hint and any label views (such as counter and error views). @param typeface typeface to use, or {@code null} to use t
material/java/com/google/android/material/textfield/TextInputLayout.java:1326
↓ 53 callers
Method
getActionMasked
Call {@link MotionEvent#getAction}, returning only the {@link #ACTION_MASK} portion. @deprecated Call {@link MotionEvent#getAction()} directly. This
core/src/main/java/androidx/core/view/MotionEventCompat.java:463
↓ 53 callers
Method
getImpl
()
material/java/com/google/android/material/floatingactionbutton/FloatingActionButton.java:1443
↓ 53 callers
Method
getTheme
()
appcompat/src/main/java/androidx/appcompat/view/ContextThemeWrapper.java:145
↓ 52 callers
Method
addAction
Add an action to this notification. Actions are typically displayed by the system as a button adjacent to the notification content. <br> Action button
core/src/main/java/androidx/core/app/NotificationCompat.java:1936
↓ 52 callers
Method
from
Return a new TaskStackBuilder for launching a fresh task stack consisting of a series of activities. @param context The context that will launch the
core/src/main/java/androidx/core/app/TaskStackBuilder.java:107
↓ 52 callers
Method
getBoolean
(int index, boolean defValue)
appcompat/src/main/java/androidx/appcompat/widget/TintTypedArray.java:157
↓ 52 callers
Method
getDeclaredField
Returns a {@link Field} object that reflects the specified declared field of the class or interface represented by the given string name.
core/src/main/java/androidx/reflect/SeslBaseReflector.java:216
↓ 52 callers
Method
setImportantForAccessibility
Sets how to determine whether this view is important for accessibility which is if it fires accessibility events and if it is reported to accessibilit
core/src/main/java/androidx/core/view/ViewCompat.java:1126
↓ 49 callers
Method
getContentDescription
Retrieve the content description associated with this menu item. @return The content description.
core/src/main/java/androidx/core/internal/view/SupportMenuItem.java:227
↓ 48 callers
Method
alpha
This method will cause the View's <code>alpha</code> property to be animated to the specified value. Animations already running on the property will b
core/src/main/java/androidx/core/view/ViewPropertyAnimatorCompat.java:136
↓ 48 callers
Method
onRestoreInstanceState
Supplies the previously saved instance state to be restored. @param state The previously saved instance state
appcompat/src/main/java/androidx/appcompat/view/menu/MenuPresenter.java:160
↓ 48 callers
Method
setEnabled
Sets the enabled state of the item view. @param enabled Whether the item view should be enabled.
appcompat/src/main/java/androidx/appcompat/view/menu/MenuView.java:78
↓ 47 callers
Method
setText
Set the text displayed on this tab. Text may be truncated if there is not room to display the entire string. @param text The text to display @return
appcompat/src/main/java/androidx/appcompat/app/ActionBar.java:1225
↓ 46 callers
Method
equals
(Object obj)
appcompat/src/main/java/androidx/appcompat/widget/ActivityChooserModel.java:809
↓ 46 callers
Method
getChildViewHolderInt
(View child)
recyclerview/src/main/java/androidx/recyclerview/widget/RecyclerView.java:5826
↓ 46 callers
Method
getScrollX
Gets the scroll offset of the source left edge in pixels. @return The scroll. @deprecated Use {@link AccessibilityRecord#getScrollX()} directly.
core/src/main/java/androidx/core/view/accessibility/AccessibilityRecordCompat.java:422
↓ 46 callers
Method
getStartAfterPadding
Returns the start position of the layout after the start padding is added. @return The very first pixel we can draw.
recyclerview/src/main/java/androidx/recyclerview/widget/OrientationHelper.java:162
↓ 45 callers
Method
canScrollVertically
Query if vertical scrolling is currently supported. The default implementation returns false. @return True if this LayoutManager can scroll the curre
recyclerview/src/main/java/androidx/recyclerview/widget/RecyclerView.java:9650
↓ 45 callers
Method
create
Convenience method for creating an appropriately typed pair. @param a the first object in the Pair @param b the second object in the pair @return a Pa
core/src/main/java/androidx/core/util/Pair.java:81
↓ 45 callers
Method
getFragment
Retrieve the current Fragment instance for a reference previously placed with {@link #putFragment(Bundle, String, Fragment)}. @param bundle The bundl
fragment/src/main/java/androidx/fragment/app/FragmentManager.java:952
↓ 45 callers
Method
onAttachedToWindow
()
picker/picker-basic/src/main/java/androidx/picker/widget/SeslNumberPicker.java:650
↓ 45 callers
Method
set
Sets the field represented by the <var>field</var> object on the specified object argument to the specified new value.
core/src/main/java/androidx/reflect/SeslBaseReflector.java:286
↓ 45 callers
Method
setBackground
Set the background of the {@code view} to a given Drawable, or remove the background. If the background has padding, {@code view}'s padding is set to
core/src/main/java/androidx/core/view/ViewCompat.java:2903
↓ 45 callers
Method
setClassName
Sets the class name of the source. @param className The lass name. @throws IllegalStateException If called from an AccessibilityService. @deprecate
core/src/main/java/androidx/core/view/accessibility/AccessibilityRecordCompat.java:636
↓ 44 callers
Method
getDecoratedStart
Returns the start of the view including its decoration and margin. <p> For example, for the horizontal helper, if a View's left is at pixel 20, has 2p
recyclerview/src/main/java/androidx/recyclerview/widget/OrientationHelper.java:91
↓ 44 callers
Method
getPointerId
Call {@link MotionEvent#getPointerId(int)}. @deprecated Call {@link MotionEvent#getPointerId(int)} directly. This method will be removed in a future
core/src/main/java/androidx/core/view/MotionEventCompat.java:497
↓ 44 callers
Method
mutate
()
material/java/com/google/android/material/ripple/RippleDrawableCompat.java:143
↓ 44 callers
Method
setEnabled
(boolean enabled)
picker/picker-basic/src/main/java/androidx/picker/widget/SeslTimePicker.java:291
↓ 44 callers
Method
setImageDrawable
(@Nullable Drawable drawable)
appcompat/src/main/java/androidx/appcompat/widget/AppCompatImageView.java:102
↓ 43 callers
Method
addAll
Adds the given items to the list. Equivalent to calling {@link SortedList#add} in a loop, except the callback events may be in a different order/granu
recyclerview/src/main/java/androidx/recyclerview/widget/SortedList.java:161
↓ 43 callers
Method
getText
Return the text of this tab. @return The tab's text
material/java/com/google/android/material/tabs/TabLayout.java:2258
↓ 43 callers
Method
setSelection
Sets the current selection to {@code selection}. @throws IllegalArgumentException If {@code selection} creates an invalid state.
material/java/com/google/android/material/datepicker/DateSelector.java:63
↓ 43 callers
Method
setTintList
Specifies a tint for {@code drawable} as a color state list. @param drawable The Drawable against which to invoke the method. @param tint Color s
core/src/main/java/androidx/core/graphics/drawable/DrawableCompat.java:148
↓ 42 callers
Method
compareTo
Compares preference objects based on order (if set), otherwise alphabetically on the titles. @param another The preference to compare to this one @re
preference/src/main/java/androidx/preference/Preference.java:1290
↓ 42 callers
Method
getColor
Returns a color associated with a particular resource ID <p> Starting in {@link Build.VERSION_CODES#M}, the returned color will be styled for the spec
core/src/main/java/androidx/core/content/ContextCompat.java:532
↓ 42 callers
Method
getColorStateList
(int index)
appcompat/src/main/java/androidx/appcompat/widget/TintTypedArray.java:173
↓ 42 callers
Method
getItemCount
()
recyclerview/src/main/java/androidx/recyclerview/widget/ListAdapter.java:153
↓ 42 callers
Method
getPaddingLeft
Return the left padding of the parent RecyclerView @return Padding in pixels
recyclerview/src/main/java/androidx/recyclerview/widget/RecyclerView.java:10232
↓ 41 callers
Method
close
Move the layout to the closed state.
customview/src/main/java/androidx/customview/widget/Openable.java:39
↓ 41 callers
Method
getEndAfterPadding
Returns the end position of the layout after the end padding is removed. @return The end boundary for this layout.
recyclerview/src/main/java/androidx/recyclerview/widget/OrientationHelper.java:169
↓ 41 callers
Method
newInstance
( @NonNull DateSelector<T> dateSelector, @StyleRes int themeResId, @NonNull CalendarConstrai
material/java/com/google/android/material/datepicker/MaterialCalendar.java:93
↓ 41 callers
Method
requestFocus
(int direction, Rect previouslyFocusedRect)
appcompat/src/main/java/androidx/appcompat/widget/SearchView.java:590
↓ 41 callers
Method
set
(int index)
recyclerview/src/main/java/androidx/recyclerview/widget/ChildHelper.java:405
↓ 41 callers
Method
setAlpha
<p>Sets the opacity of the view. This is a value from 0 to 1, where 0 means the view is completely transparent and 1 means the view is completely opaq
core/src/main/java/androidx/core/view/ViewCompat.java:2123
↓ 41 callers
Method
setFocusable
Sets whether this node is focusable. <p> <strong>Note:</strong> Cannot be called from an {@link android.accessibilityservice.AccessibilityService}. Th
core/src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java:2345
↓ 40 callers
Method
abortAnimation
Stops the animation. Aborting the animation causes the scroller to move to the final x and y position. @deprecated Use {@link OverScroller#abortAnima
core/src/main/java/androidx/core/widget/ScrollerCompat.java:271
↓ 40 callers
Method
canScrollHorizontally
Query if horizontal scrolling is currently supported. The default implementation returns false. @return True if this LayoutManager can scroll the cur
recyclerview/src/main/java/androidx/recyclerview/widget/RecyclerView.java:9640
↓ 40 callers
Method
onConfigurationChanged
(Configuration newConfig)
picker/picker-basic/src/main/java/androidx/picker/widget/SeslTimePicker.java:271
↓ 40 callers
Method
setColor
(int color)
picker/picker-color/src/main/java/androidx/picker/widget/SeslColorPicker.java:459
↓ 40 callers
Method
setStyle
Call to customize the basic appearance and behavior of the fragment's dialog. This can be used for some common dialog behaviors, taking care of selec
fragment/src/main/java/androidx/fragment/app/DialogFragment.java:234
↓ 39 callers
Method
getLeft
()
material/java/com/google/android/material/shape/ShapePath.java:577
↓ 39 callers
Method
getPaddingRight
Return the right padding of the parent RecyclerView @return Padding in pixels
recyclerview/src/main/java/androidx/recyclerview/widget/RecyclerView.java:10252
↓ 39 callers
Method
next
(int x, int val, boolean isRtl)
appcompat/src/main/java/androidx/appcompat/widget/AbsActionBarView.java:257
↓ 38 callers
Method
exceptionLabel
Label appended to all public exception strings, used to help find which RV in an app is hitting an exception.
recyclerview/src/main/java/androidx/recyclerview/widget/RecyclerView.java:1163
↓ 38 callers
Method
getId
()
material/java/com/google/android/material/datepicker/CompositeDateValidator.java:39
↓ 38 callers
Method
postInvalidateOnAnimation
<p>Cause an invalidate to happen on the next animation time step, typically the next display frame.</p> <p>This method can be invoked from outside of
core/src/main/java/androidx/core/view/ViewCompat.java:1016
↓ 38 callers
Method
set
(View view, T value)
core/src/main/java/androidx/core/view/ViewCompat.java:4372
↓ 38 callers
Method
setState
(int[] stateSet)
appcompat/src/main/java/androidx/appcompat/widget/DropDownListView.java:394
↓ 38 callers
Method
setTextColor
Sets the text color of the message specified in {@link #setText(CharSequence)} and {@link #setText(int)}.
material/java/com/google/android/material/snackbar/Snackbar.java:392
↓ 37 callers
Method
clear
()
appcompat/src/main/java/androidx/appcompat/view/menu/MenuBuilder.java:601
↓ 37 callers
Method
getPaddingTop
Return the top padding of the parent RecyclerView @return Padding in pixels
recyclerview/src/main/java/androidx/recyclerview/widget/RecyclerView.java:10242
↓ 37 callers
Method
getResources
()
appcompat/src/main/java/androidx/appcompat/app/AppCompatActivity.java:602
↓ 37 callers
Method
getTitle
()
appcompat/src/main/java/androidx/appcompat/widget/DecorToolbar.java:53
↓ 37 callers
Method
obtainMessage
(int what, int arg1, int arg2, int arg3, int arg4, int arg5, Object
recyclerview/src/main/java/androidx/recyclerview/widget/MessageThreadUtil.java:202
↓ 37 callers
Method
onDetachedFromWindow
()
appcompat/src/main/java/androidx/appcompat/widget/ContentFrameLayout.java:51
↓ 37 callers
Method
putBoolean
Sets a {@link Boolean} value to the data store. <p>Once the value is set the data store is responsible for holding it. @param key The name of the
preference/src/main/java/androidx/preference/PreferenceDataStore.java:120
↓ 36 callers
Method
addFlags
(int flags)
recyclerview/src/main/java/androidx/recyclerview/widget/RecyclerView.java:12602
↓ 36 callers
Method
cancel
This function can be called from a few different use cases, including Swiping the dialog down or calling `dismiss()` from a `BottomSheetDialogFragment
material/java/com/google/android/material/bottomsheet/BottomSheetDialog.java:216
↓ 36 callers
Method
equals
Checks the two objects for equality by delegating to their respective {@link Object#equals(Object)} methods. @param o the {@link Pair} to which this
core/src/main/java/androidx/core/util/Pair.java:50
↓ 36 callers
Method
getEditText
(int picker)
picker/picker-basic/src/main/java/androidx/picker/widget/SeslTimePicker.java:257
↓ 36 callers
Method
onSaveInstanceState
Returns a Parcelable describing the current state of the presenter. It will be passed to the {@link #onRestoreInstanceState(Parcelable)} method of the
appcompat/src/main/java/androidx/appcompat/view/menu/MenuPresenter.java:154
↓ 36 callers
Method
run
(Canvas canvas)
material/java/com/google/android/material/transition/platform/TransitionUtils.java:432
↓ 35 callers
Method
get
Returns the value of the field represented by the <var>field</var> object, on the specified <var>callerInstance</var>.
core/src/main/java/androidx/reflect/SeslBaseReflector.java:265
↓ 35 callers
Method
getColor
()
picker/picker-color/src/main/java/androidx/picker/widget/SeslColorPicker.java:465
↓ 35 callers
Method
getDistance
Returns the pull distance needed to be released to remove the showing effect. It is determined by the {@link #onPull(float, float)} <code>deltaDistanc
core/src/main/java/androidx/core/widget/EdgeEffectCompat.java:87
↓ 35 callers
Method
getState
()
material/java/com/google/android/material/internal/TextDrawableHelper.java:162
↓ 35 callers
Method
onItemsChanged
Called when an item is added or removed. @param structureChanged true if the menu structure changed, false if only item prope
appcompat/src/main/java/androidx/appcompat/view/menu/MenuBuilder.java:1055
↓ 35 callers
Method
set
(int year, int month, int day, boolean isLeap)
picker/picker-basic/src/main/java/androidx/picker/widget/SeslSpinningDatePicker.java:2537
↓ 35 callers
Method
setColorFilter
(ColorFilter colorFilter)
appcompat/src/main/java/androidx/appcompat/widget/SeslAbsSeekBar.java:2491
↓ 35 callers
Method
setMeasuredDimension
(Rect childrenBounds, int wSpec, int hSpec)
recyclerview/src/main/java/androidx/recyclerview/widget/GridLayoutManager.java:288
↓ 34 callers
Method
getPaddingBottom
Return the bottom padding of the parent RecyclerView @return Padding in pixels
recyclerview/src/main/java/androidx/recyclerview/widget/RecyclerView.java:10262
← previous
next →
101–200 of 19,343, ranked by callers