Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arimorty/floatingsearchview
/ functions
Functions
351 in github.com/arimorty/floatingsearchview
⨍
Functions
351
◇
Types & classes
49
↓ 23 callers
Method
getColor
(Context context, @ColorRes int resId)
library/src/main/java/com/arlib/floatingsearchview/util/Util.java:123
↓ 19 callers
Method
dpToPx
(int dp)
library/src/main/java/com/arlib/floatingsearchview/util/Util.java:65
↓ 11 callers
Method
getQuery
Returns the current query text. @return the current query
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1222
↓ 10 callers
Method
setIconColor
(ImageView iconHolder, int color)
library/src/main/java/com/arlib/floatingsearchview/util/Util.java:103
↓ 10 callers
Method
setSearchFocusedInternal
(final boolean focused)
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1472
↓ 10 callers
Method
setTextColor
(int color)
library/src/main/java/com/arlib/floatingsearchview/suggestions/SearchSuggestionsAdapter.java:206
↓ 8 callers
Method
getBody
Returns the text that should be displayed for the suggestion represented by this object. @return the text for this suggestion
library/src/main/java/com/arlib/floatingsearchview/suggestions/model/SearchSuggestion.java:34
↓ 8 callers
Method
setLeftActionIconColor
Sets the menu button's color. @param color the color to be applied to the left menu button.
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:737
↓ 8 callers
Method
swapSuggestions
Clears the current suggestions and replaces it with the provided list of new suggestions. @param newSearchSuggestions a list containing the new sugge
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1342
↓ 7 callers
Method
getItemId
(int position)
library/src/main/java/com/arlib/floatingsearchview/util/MenuPopupHelper.java:335
↓ 7 callers
Method
notifyDataSetChanged
()
library/src/main/java/com/arlib/floatingsearchview/util/MenuPopupHelper.java:366
↓ 6 callers
Method
setBackgroundColor
Sets the background color of the search view including the suggestions section. @param color the color to be applied to the search bar and
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:807
↓ 6 callers
Method
setHintTextColor
Sets the text color of the search hint. @param color the color to be applied to the search hint.
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:886
↓ 6 callers
Method
show
()
library/src/main/java/com/arlib/floatingsearchview/util/MenuPopupHelper.java:126
↓ 5 callers
Method
getBody
()
sample/src/main/java/com/arlib/floatingsearchviewdemo/data/ColorSuggestion.java:45
↓ 5 callers
Method
setActionMenuOverflowColor
Sets the action menu overflow icon's color. @param color the color to be applied to the overflow icon.
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:793
↓ 5 callers
Method
setClearBtnColor
Sets the clear button's color. @param color the color to be applied to the clear button.
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:760
↓ 5 callers
Method
setDividerColor
Sets the color of the search divider that divides the search section from the suggestions. @param color the color to be applied the divider.
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:899
↓ 5 callers
Method
setMenuItemIconColor
Sets the action menu icons' color. @param color the color to be applied to the action menu items.
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:771
↓ 5 callers
Method
setOnQueryChangeListener
Sets the listener that will listen for query changes as they are being typed. @param listener listener for query changes
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1665
↓ 5 callers
Method
setSearchBarTitle
Sets the title for the search bar. <p/> Note that after the title is set, when the search gains focus, the title will be replaced by the search hint.
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1196
↓ 4 callers
Method
clearSuggestions
Collapses the suggestions list and then clears its suggestion items.
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1460
↓ 4 callers
Method
filter
(List<MenuItemImpl> target, MenuItemImplPredicate predicate)
library/src/main/java/com/arlib/floatingsearchview/util/view/MenuView.java:530
↓ 4 callers
Method
findColors
(Context context, String query, final OnFindColorsListener listener)
sample/src/main/java/com/arlib/floatingsearchviewdemo/data/DataHelper.java:144
↓ 4 callers
Method
getIsHistory
()
sample/src/main/java/com/arlib/floatingsearchviewdemo/data/ColorSuggestion.java:41
↓ 4 callers
Method
getWrappedDrawable
Gets a reference to a given drawable and prepares it for use with tinting through. @param resId the resource id for the given drawable @return a wrap
library/src/main/java/com/arlib/floatingsearchview/util/Util.java:118
↓ 4 callers
Method
setOnFocusChangeListener
Sets the listener that will be called when the focus of the search has changed. @param listener listener for search focus changes
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1691
↓ 4 callers
Method
setViewTextColor
Sets the text color of the search and suggestion text. @param color the color to be applied to the search and suggestion text.
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:822
↓ 4 callers
Method
showFragment
(Fragment fragment)
sample/src/main/java/com/arlib/floatingsearchviewdemo/MainActivity.java:87
↓ 3 callers
Method
attachSearchViewActivityDrawer
(FloatingSearchView searchView)
sample/src/main/java/com/arlib/floatingsearchviewdemo/fragment/BaseExampleFragment.java:38
↓ 3 callers
Method
cancelChildAnimListAndClear
()
library/src/main/java/com/arlib/floatingsearchview/util/view/MenuView.java:551
↓ 3 callers
Method
closeMenu
Mimics a menu click that closes. Useful when fo navigation drawers when they close as a result of selecting and item. @param withAnim true, will clos
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1011
↓ 3 callers
Method
dismiss
()
library/src/main/java/com/arlib/floatingsearchview/util/MenuPopupHelper.java:169
↓ 3 callers
Method
findSuggestions
(Context context, String query, final int limit, final long simulatedDelay,
sample/src/main/java/com/arlib/floatingsearchviewdemo/data/DataHelper.java:90
↓ 3 callers
Method
getHistory
(Context context, int count)
sample/src/main/java/com/arlib/floatingsearchviewdemo/data/DataHelper.java:69
↓ 3 callers
Method
getItem
(int position)
library/src/main/java/com/arlib/floatingsearchview/util/MenuPopupHelper.java:327
↓ 3 callers
Method
handleOnVisibleMenuItemsWidthChanged
(int menuItemsWidth)
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:711
↓ 3 callers
Method
hideProgress
Hides the progress bar after a prior call to showProgress()
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1049
↓ 3 callers
Method
init
()
library/src/main/java/com/arlib/floatingsearchview/util/view/SearchInputView.java:41
↓ 3 callers
Method
isShowing
()
library/src/main/java/com/arlib/floatingsearchview/util/MenuPopupHelper.java:183
↓ 3 callers
Method
onItemsMenuVisibleWidthChanged
(int newVisibleWidth)
library/src/main/java/com/arlib/floatingsearchview/util/view/MenuView.java:86
↓ 3 callers
Method
onMenuItemSelected
(MenuBuilder menu, MenuItem item)
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:571
↓ 3 callers
Method
removeGlobalLayoutObserver
(View view, ViewTreeObserver.OnGlobalLayoutListener layoutListener)
library/src/main/java/com/arlib/floatingsearchview/util/Util.java:127
↓ 3 callers
Method
setOnBindSuggestionCallback
Set a callback that will be called after each suggestion view in the suggestions recycler list is bound. This allows for customized binding for specif
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1449
↓ 3 callers
Method
setOnHomeActionClickListener
Sets the listener that will be called when the left/start home action (back arrow) is clicked. @param listener
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1714
↓ 3 callers
Method
setOnMenuItemClickListener
Sets the listener that will be called when an item in the overflow menu is clicked. @param listener listener to listen to menu item clicks
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1724
↓ 3 callers
Method
setOnSearchListener
Sets the listener that will be called when an action that completes the current search session has occurred and the search lost focus. <p/> <p>When ca
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1681
↓ 3 callers
Method
setQueryTextColor
Sets the text color of the search text. @param color
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:863
↓ 3 callers
Method
setSearchFocused
Sets whether the search is focused or not. @param focused true, to set the search to be active/focused. @return true if the search was focused and wi
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1237
↓ 3 callers
Method
setSearchText
Sets the search text. <p/> Note that this is the different from {@link #setSearchBarTitle(CharSequence title) setSearchBarTitle} in that it keeps the
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1212
↓ 3 callers
Method
setSuggestionsTextColor
Sets the text color of suggestion text. @param color
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:841
↓ 3 callers
Method
showProgress
Shows a circular progress on top of the menu action button. <p/> Call hidProgress() to change back to normal and make the menu action visible.
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1038
↓ 2 callers
Method
closeMenuDrawable
(final DrawerArrowDrawable drawerArrowDrawable, boolean withAnim)
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1758
↓ 2 callers
Method
closeSoftKeyboard
(Activity activity)
library/src/main/java/com/arlib/floatingsearchview/util/Util.java:56
↓ 2 callers
Method
fadeDimBackground
(int from, int to, Animator.AnimatorListener listener)
sample/src/main/java/com/arlib/floatingsearchviewdemo/fragment/SlidingSearchViewExampleFragment.java:286
↓ 2 callers
Method
findExpandedIndex
()
library/src/main/java/com/arlib/floatingsearchview/util/MenuPopupHelper.java:351
↓ 2 callers
Method
getHex
@return The hex
sample/src/main/java/com/arlib/floatingsearchviewdemo/data/ColorWrapper.java:60
↓ 2 callers
Method
getName
@return The name
sample/src/main/java/com/arlib/floatingsearchviewdemo/data/ColorWrapper.java:78
↓ 2 callers
Method
hideIfRoomItems
Hides all the menu items flagged with "ifRoom" @param withAnim
library/src/main/java/com/arlib/floatingsearchview/util/view/MenuView.java:275
↓ 2 callers
Method
inflateOverflowMenu
Inflates the menu items from an xml resource. @param menuId a menu xml resource reference
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1062
↓ 2 callers
Method
moveSuggestListToInitialPos
()
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1330
↓ 2 callers
Method
onClick
(ColorWrapper colorWrapper)
sample/src/main/java/com/arlib/floatingsearchviewdemo/adapter/SearchResultsListAdapter.java:43
↓ 2 callers
Method
onMoveItemToSearchClicked
(SearchSuggestion item)
library/src/main/java/com/arlib/floatingsearchview/suggestions/SearchSuggestionsAdapter.java:66
↓ 2 callers
Method
onResults
(List<ColorWrapper> results)
sample/src/main/java/com/arlib/floatingsearchviewdemo/data/DataHelper.java:62
↓ 2 callers
Method
onSuggestionsListHeightChanged
(float newHeight)
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:219
↓ 2 callers
Method
openMenu
Mimics a menu click that opens the menu. Useful for navigation drawers when they open as a result of dragging.
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:996
↓ 2 callers
Method
openMenuDrawable
(final DrawerArrowDrawable drawerArrowDrawable, boolean withAnim)
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1740
↓ 2 callers
Method
refreshColors
()
library/src/main/java/com/arlib/floatingsearchview/util/view/MenuView.java:120
↓ 2 callers
Method
refreshDimBackground
()
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1150
↓ 2 callers
Method
refreshLeftIcon
()
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:939
↓ 2 callers
Method
refreshShowMoveUpSuggestion
()
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1169
↓ 2 callers
Method
setActionIconColor
(int actionColor)
library/src/main/java/com/arlib/floatingsearchview/util/view/MenuView.java:110
↓ 2 callers
Method
setCallback
(Callback cb)
library/src/main/java/com/arlib/floatingsearchview/util/MenuPopupHelper.java:254
↓ 2 callers
Method
setCloseSearchOnKeyboardDismiss
Sets whether the search will lose focus when the softkeyboard gets closed from a back press @param closeSearchOnKeyboardDismiss
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1112
↓ 2 callers
Method
setDimBackground
Sets whether a dim background will show when the search is focused @param dimEnabled True to show dim
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1145
↓ 2 callers
Method
setDismissFocusOnItemSelection
Sets whether the search will lose focus when a suggestion item is clicked. @param dismissFocusOnItemSelection
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:832
↓ 2 callers
Method
setDismissOnOutsideClick
Set whether a touch outside of the search bar's bounds will cause the search bar to loos focus. @param enable true to dismiss on outside touch, false
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1123
↓ 2 callers
Method
setForceShowIcon
(boolean forceShow)
library/src/main/java/com/arlib/floatingsearchview/util/MenuPopupHelper.java:117
↓ 2 callers
Method
setIsHistory
(boolean isHistory)
sample/src/main/java/com/arlib/floatingsearchviewdemo/data/ColorSuggestion.java:37
↓ 2 callers
Method
setOnClearSearchActionListener
Sets the listener that will be called when the clear search text action button (the x to the right of the search text) is clicked. @param listener
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1736
↓ 2 callers
Method
setOnLeftMenuClickListener
Sets the listener that will be called when the left/start menu (or navigation menu) is clicked. <p/> <p>Note that this is different from the overflow
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1704
↓ 2 callers
Method
setOverflowColor
(int overflowColor)
library/src/main/java/com/arlib/floatingsearchview/util/view/MenuView.java:115
↓ 2 callers
Method
setQueryText
(CharSequence text)
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1324
↓ 2 callers
Method
setQueryTextSize
Set the text size of the text in the search box. @param sizePx
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:875
↓ 2 callers
Method
setRightIconColor
(int color)
library/src/main/java/com/arlib/floatingsearchview/suggestions/SearchSuggestionsAdapter.java:218
↓ 2 callers
Method
setSearchHint
Set a hint that will appear in the search input. Default hint is R.string.abc_search_hint which is "search..." (when device language is set to english
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1084
↓ 2 callers
Method
setShowMoveUpSuggestion
Sets the arrow up of suggestion items to be enabled and visible or disabled and invisible. @param show
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1164
↓ 2 callers
Method
setShowSearchKey
Sets whether the the button with the search icon will appear in the soft-keyboard or not. @param show to show the search button in the so
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1096
↓ 2 callers
Method
setSuggestionItemTextSize
Set the text size of the suggestion items. @param sizePx
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:924
↓ 2 callers
Method
setSuggestionRightIconColor
Set the tint of the suggestion items' right btn (move suggestion to query) @param color
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:912
↓ 2 callers
Method
showSoftKeyboard
(final Context context, final EditText editText)
library/src/main/java/com/arlib/floatingsearchview/util/Util.java:44
↓ 2 callers
Method
swapData
(List<ColorWrapper> mNewDataSet)
sample/src/main/java/com/arlib/floatingsearchviewdemo/adapter/SearchResultsListAdapter.java:61
↓ 2 callers
Method
transitionInLeftSection
(boolean withAnim)
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1539
↓ 2 callers
Method
tryShow
()
library/src/main/java/com/arlib/floatingsearchview/util/MenuPopupHelper.java:134
↓ 1 callers
Method
actionMenuAvailWidth
()
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1070
↓ 1 callers
Method
animateItem
(View view)
sample/src/main/java/com/arlib/floatingsearchviewdemo/adapter/SearchResultsListAdapter.java:108
↓ 1 callers
Method
apply
(MenuItemImpl menuItem)
library/src/main/java/com/arlib/floatingsearchview/util/view/MenuView.java:527
↓ 1 callers
Method
applyXmlAttributes
(AttributeSet attrs)
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:461
↓ 1 callers
Method
attachNavigationDrawerToMenuButton
(@NonNull DrawerLayout drawerLayout)
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:2009
↓ 1 callers
Method
calculateSuggestionItemsHeight
(List<? extends SearchSuggestion> suggestions, int max)
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1427
next →
1–100 of 351, ranked by callers