MCPcopy Create free account

hub / github.com/arimorty/floatingsearchview / functions

Functions351 in github.com/arimorty/floatingsearchview

↓ 23 callersMethodgetColor
(Context context, @ColorRes int resId)
library/src/main/java/com/arlib/floatingsearchview/util/Util.java:123
↓ 19 callersMethoddpToPx
(int dp)
library/src/main/java/com/arlib/floatingsearchview/util/Util.java:65
↓ 11 callersMethodgetQuery
Returns the current query text. @return the current query
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1222
↓ 10 callersMethodsetIconColor
(ImageView iconHolder, int color)
library/src/main/java/com/arlib/floatingsearchview/util/Util.java:103
↓ 10 callersMethodsetSearchFocusedInternal
(final boolean focused)
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1472
↓ 10 callersMethodsetTextColor
(int color)
library/src/main/java/com/arlib/floatingsearchview/suggestions/SearchSuggestionsAdapter.java:206
↓ 8 callersMethodgetBody
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 callersMethodsetLeftActionIconColor
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 callersMethodswapSuggestions
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 callersMethodgetItemId
(int position)
library/src/main/java/com/arlib/floatingsearchview/util/MenuPopupHelper.java:335
↓ 7 callersMethodnotifyDataSetChanged
()
library/src/main/java/com/arlib/floatingsearchview/util/MenuPopupHelper.java:366
↓ 6 callersMethodsetBackgroundColor
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 callersMethodsetHintTextColor
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 callersMethodshow
()
library/src/main/java/com/arlib/floatingsearchview/util/MenuPopupHelper.java:126
↓ 5 callersMethodgetBody
()
sample/src/main/java/com/arlib/floatingsearchviewdemo/data/ColorSuggestion.java:45
↓ 5 callersMethodsetActionMenuOverflowColor
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 callersMethodsetClearBtnColor
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 callersMethodsetDividerColor
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 callersMethodsetMenuItemIconColor
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 callersMethodsetOnQueryChangeListener
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 callersMethodsetSearchBarTitle
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 callersMethodclearSuggestions
Collapses the suggestions list and then clears its suggestion items.
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1460
↓ 4 callersMethodfilter
(List<MenuItemImpl> target, MenuItemImplPredicate predicate)
library/src/main/java/com/arlib/floatingsearchview/util/view/MenuView.java:530
↓ 4 callersMethodfindColors
(Context context, String query, final OnFindColorsListener listener)
sample/src/main/java/com/arlib/floatingsearchviewdemo/data/DataHelper.java:144
↓ 4 callersMethodgetIsHistory
()
sample/src/main/java/com/arlib/floatingsearchviewdemo/data/ColorSuggestion.java:41
↓ 4 callersMethodgetWrappedDrawable
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 callersMethodsetOnFocusChangeListener
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 callersMethodsetViewTextColor
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 callersMethodshowFragment
(Fragment fragment)
sample/src/main/java/com/arlib/floatingsearchviewdemo/MainActivity.java:87
↓ 3 callersMethodattachSearchViewActivityDrawer
(FloatingSearchView searchView)
sample/src/main/java/com/arlib/floatingsearchviewdemo/fragment/BaseExampleFragment.java:38
↓ 3 callersMethodcancelChildAnimListAndClear
()
library/src/main/java/com/arlib/floatingsearchview/util/view/MenuView.java:551
↓ 3 callersMethodcloseMenu
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 callersMethoddismiss
()
library/src/main/java/com/arlib/floatingsearchview/util/MenuPopupHelper.java:169
↓ 3 callersMethodfindSuggestions
(Context context, String query, final int limit, final long simulatedDelay,
sample/src/main/java/com/arlib/floatingsearchviewdemo/data/DataHelper.java:90
↓ 3 callersMethodgetHistory
(Context context, int count)
sample/src/main/java/com/arlib/floatingsearchviewdemo/data/DataHelper.java:69
↓ 3 callersMethodgetItem
(int position)
library/src/main/java/com/arlib/floatingsearchview/util/MenuPopupHelper.java:327
↓ 3 callersMethodhandleOnVisibleMenuItemsWidthChanged
(int menuItemsWidth)
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:711
↓ 3 callersMethodhideProgress
Hides the progress bar after a prior call to showProgress()
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1049
↓ 3 callersMethodinit
()
library/src/main/java/com/arlib/floatingsearchview/util/view/SearchInputView.java:41
↓ 3 callersMethodisShowing
()
library/src/main/java/com/arlib/floatingsearchview/util/MenuPopupHelper.java:183
↓ 3 callersMethodonItemsMenuVisibleWidthChanged
(int newVisibleWidth)
library/src/main/java/com/arlib/floatingsearchview/util/view/MenuView.java:86
↓ 3 callersMethodonMenuItemSelected
(MenuBuilder menu, MenuItem item)
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:571
↓ 3 callersMethodremoveGlobalLayoutObserver
(View view, ViewTreeObserver.OnGlobalLayoutListener layoutListener)
library/src/main/java/com/arlib/floatingsearchview/util/Util.java:127
↓ 3 callersMethodsetOnBindSuggestionCallback
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 callersMethodsetOnHomeActionClickListener
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 callersMethodsetOnMenuItemClickListener
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 callersMethodsetOnSearchListener
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 callersMethodsetQueryTextColor
Sets the text color of the search text. @param color
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:863
↓ 3 callersMethodsetSearchFocused
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 callersMethodsetSearchText
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 callersMethodsetSuggestionsTextColor
Sets the text color of suggestion text. @param color
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:841
↓ 3 callersMethodshowProgress
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 callersMethodcloseMenuDrawable
(final DrawerArrowDrawable drawerArrowDrawable, boolean withAnim)
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1758
↓ 2 callersMethodcloseSoftKeyboard
(Activity activity)
library/src/main/java/com/arlib/floatingsearchview/util/Util.java:56
↓ 2 callersMethodfadeDimBackground
(int from, int to, Animator.AnimatorListener listener)
sample/src/main/java/com/arlib/floatingsearchviewdemo/fragment/SlidingSearchViewExampleFragment.java:286
↓ 2 callersMethodfindExpandedIndex
()
library/src/main/java/com/arlib/floatingsearchview/util/MenuPopupHelper.java:351
↓ 2 callersMethodgetHex
@return The hex
sample/src/main/java/com/arlib/floatingsearchviewdemo/data/ColorWrapper.java:60
↓ 2 callersMethodgetName
@return The name
sample/src/main/java/com/arlib/floatingsearchviewdemo/data/ColorWrapper.java:78
↓ 2 callersMethodhideIfRoomItems
Hides all the menu items flagged with "ifRoom" @param withAnim
library/src/main/java/com/arlib/floatingsearchview/util/view/MenuView.java:275
↓ 2 callersMethodinflateOverflowMenu
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 callersMethodmoveSuggestListToInitialPos
()
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1330
↓ 2 callersMethodonClick
(ColorWrapper colorWrapper)
sample/src/main/java/com/arlib/floatingsearchviewdemo/adapter/SearchResultsListAdapter.java:43
↓ 2 callersMethodonMoveItemToSearchClicked
(SearchSuggestion item)
library/src/main/java/com/arlib/floatingsearchview/suggestions/SearchSuggestionsAdapter.java:66
↓ 2 callersMethodonResults
(List<ColorWrapper> results)
sample/src/main/java/com/arlib/floatingsearchviewdemo/data/DataHelper.java:62
↓ 2 callersMethodonSuggestionsListHeightChanged
(float newHeight)
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:219
↓ 2 callersMethodopenMenu
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 callersMethodopenMenuDrawable
(final DrawerArrowDrawable drawerArrowDrawable, boolean withAnim)
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1740
↓ 2 callersMethodrefreshColors
()
library/src/main/java/com/arlib/floatingsearchview/util/view/MenuView.java:120
↓ 2 callersMethodrefreshDimBackground
()
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1150
↓ 2 callersMethodrefreshLeftIcon
()
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:939
↓ 2 callersMethodrefreshShowMoveUpSuggestion
()
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1169
↓ 2 callersMethodsetActionIconColor
(int actionColor)
library/src/main/java/com/arlib/floatingsearchview/util/view/MenuView.java:110
↓ 2 callersMethodsetCallback
(Callback cb)
library/src/main/java/com/arlib/floatingsearchview/util/MenuPopupHelper.java:254
↓ 2 callersMethodsetCloseSearchOnKeyboardDismiss
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 callersMethodsetDimBackground
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 callersMethodsetDismissFocusOnItemSelection
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 callersMethodsetDismissOnOutsideClick
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 callersMethodsetForceShowIcon
(boolean forceShow)
library/src/main/java/com/arlib/floatingsearchview/util/MenuPopupHelper.java:117
↓ 2 callersMethodsetIsHistory
(boolean isHistory)
sample/src/main/java/com/arlib/floatingsearchviewdemo/data/ColorSuggestion.java:37
↓ 2 callersMethodsetOnClearSearchActionListener
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 callersMethodsetOnLeftMenuClickListener
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 callersMethodsetOverflowColor
(int overflowColor)
library/src/main/java/com/arlib/floatingsearchview/util/view/MenuView.java:115
↓ 2 callersMethodsetQueryText
(CharSequence text)
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1324
↓ 2 callersMethodsetQueryTextSize
Set the text size of the text in the search box. @param sizePx
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:875
↓ 2 callersMethodsetRightIconColor
(int color)
library/src/main/java/com/arlib/floatingsearchview/suggestions/SearchSuggestionsAdapter.java:218
↓ 2 callersMethodsetSearchHint
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 callersMethodsetShowMoveUpSuggestion
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 callersMethodsetShowSearchKey
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 callersMethodsetSuggestionItemTextSize
Set the text size of the suggestion items. @param sizePx
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:924
↓ 2 callersMethodsetSuggestionRightIconColor
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 callersMethodshowSoftKeyboard
(final Context context, final EditText editText)
library/src/main/java/com/arlib/floatingsearchview/util/Util.java:44
↓ 2 callersMethodswapData
(List<ColorWrapper> mNewDataSet)
sample/src/main/java/com/arlib/floatingsearchviewdemo/adapter/SearchResultsListAdapter.java:61
↓ 2 callersMethodtransitionInLeftSection
(boolean withAnim)
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1539
↓ 2 callersMethodtryShow
()
library/src/main/java/com/arlib/floatingsearchview/util/MenuPopupHelper.java:134
↓ 1 callersMethodactionMenuAvailWidth
()
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1070
↓ 1 callersMethodanimateItem
(View view)
sample/src/main/java/com/arlib/floatingsearchviewdemo/adapter/SearchResultsListAdapter.java:108
↓ 1 callersMethodapply
(MenuItemImpl menuItem)
library/src/main/java/com/arlib/floatingsearchview/util/view/MenuView.java:527
↓ 1 callersMethodapplyXmlAttributes
(AttributeSet attrs)
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:461
↓ 1 callersMethodattachNavigationDrawerToMenuButton
(@NonNull DrawerLayout drawerLayout)
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:2009
↓ 1 callersMethodcalculateSuggestionItemsHeight
(List<? extends SearchSuggestion> suggestions, int max)
library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java:1427
next →1–100 of 351, ranked by callers