Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chenyangcun/MaterialDesignExample
/ functions
Functions
434 in github.com/chenyangcun/MaterialDesignExample
⨍
Functions
434
◇
Types & classes
62
↓ 11 callers
Method
get
()
app/src/main/java/com/aswifter/material/news/NewsSupplier.java:19
↓ 9 callers
Method
invalidateSelf
()
app/src/main/java/com/aswifter/material/widget/MaterialProgressDrawable.java:771
↓ 9 callers
Method
setTitle
(String title)
app/src/main/java/com/aswifter/material/book/Book.java:105
↓ 8 callers
Method
setAlpha
(int alpha)
app/src/main/java/com/aswifter/material/widget/MaterialProgressDrawable.java:217
↓ 7 callers
Method
get
()
app/src/main/java/com/aswifter/material/book/BooksSupplier.java:65
↓ 7 callers
Method
onBackPressed
()
app/src/main/java/com/aswifter/material/widget/BackHandledFragment.java:11
↓ 7 callers
Method
reset
()
app/src/main/java/com/aswifter/material/widget/PullToRefreshLayout.java:194
↓ 7 callers
Method
setAnimationListener
(Animation.AnimationListener listener)
app/src/main/java/com/aswifter/material/widget/CircleImageView.java:75
↓ 7 callers
Method
setColor
Set the absolute color of the progress spinner. This is should only be used when animating between current and next color when the spinner is rotating
app/src/main/java/com/aswifter/material/widget/MaterialProgressDrawable.java:584
↓ 6 callers
Method
newInstance
(String info)
app/src/main/java/com/aswifter/material/example/DetailFragment.java:18
↓ 6 callers
Method
setColorIndex
@param index Index into the color array of the color to display in the progress spinner.
app/src/main/java/com/aswifter/material/widget/MaterialProgressDrawable.java:592
↓ 6 callers
Method
setTargetOffsetTopAndBottom
(int offset, boolean requiresUpdate)
app/src/main/java/com/aswifter/material/widget/PullToRefreshLayout.java:1134
↓ 5 callers
Method
ensureTarget
()
app/src/main/java/com/aswifter/material/widget/PullToRefreshLayout.java:554
↓ 5 callers
Method
getAlpha
()
app/src/main/java/com/aswifter/material/widget/MaterialProgressDrawable.java:222
↓ 5 callers
Method
setAnimationProgress
Pre API 11, this does an alpha animation. @param progress
app/src/main/java/com/aswifter/material/widget/PullToRefreshLayout.java:417
↓ 5 callers
Method
setStartTrim
(float startTrim)
app/src/main/java/com/aswifter/material/widget/MaterialProgressDrawable.java:649
↓ 4 callers
Method
getStartingRotation
@return The amount the progress spinner is currently rotated, between [0..1].
app/src/main/java/com/aswifter/material/widget/MaterialProgressDrawable.java:745
↓ 4 callers
Method
moveSpinner
(float overscrollTop)
app/src/main/java/com/aswifter/material/widget/PullToRefreshLayout.java:895
↓ 4 callers
Method
setBackgroundColor
(int color)
app/src/main/java/com/aswifter/material/widget/CircleImageView.java:104
↓ 4 callers
Method
setEndTrim
(float endTrim)
app/src/main/java/com/aswifter/material/widget/MaterialProgressDrawable.java:672
↓ 4 callers
Method
setRotation
(float rotation)
app/src/main/java/com/aswifter/material/widget/MaterialProgressDrawable.java:683
↓ 4 callers
Method
start
()
app/src/main/java/com/aswifter/material/widget/MaterialProgressDrawable.java:260
↓ 3 callers
Method
addFragment
(Fragment fragment, String title)
app/src/main/java/com/aswifter/material/example/AppBarDetailActivity.java:90
↓ 3 callers
Method
addFragment
(Fragment fragment, String title)
app/src/main/java/com/aswifter/material/book/BookDetailActivity.java:83
↓ 3 callers
Method
canChildScrollUp
@return Whether it is possible for the child view of this layout to scroll up. Override this if the child view is a custom view.
app/src/main/java/com/aswifter/material/widget/PullToRefreshLayout.java:646
↓ 3 callers
Method
dp2px
(float dp)
app/src/main/java/com/aswifter/material/utils/DisplayUtil.java:30
↓ 3 callers
Method
finishSpinner
(float overscrollTop)
app/src/main/java/com/aswifter/material/widget/PullToRefreshLayout.java:944
↓ 3 callers
Method
getAsset
(String fileName)
app/src/main/java/com/aswifter/material/example/AppBarDetailActivity.java:70
↓ 3 callers
Method
getCss
()
app/src/main/java/com/aswifter/material/news/NewsDetailResponse.java:94
↓ 3 callers
Method
getIntrinsicHeight
()
app/src/main/java/com/aswifter/material/widget/MaterialProgressDrawable.java:198
↓ 3 callers
Method
getStartingEndTrim
()
app/src/main/java/com/aswifter/material/widget/MaterialProgressDrawable.java:664
↓ 3 callers
Method
getStartingStartTrim
()
app/src/main/java/com/aswifter/material/widget/MaterialProgressDrawable.java:660
↓ 3 callers
Method
getTitle
()
app/src/main/java/com/aswifter/material/news/Story.java:79
↓ 3 callers
Method
isAlphaUsedForScale
Pre API 11, alpha is used to make the progress circle appear instead of scale.
app/src/main/java/com/aswifter/material/widget/PullToRefreshLayout.java:362
↓ 3 callers
Method
setProgressViewOffset
The refresh indicator starting and resting position is always positioned near the top of the refreshing content. This position is a consistent locatio
app/src/main/java/com/aswifter/material/widget/PullToRefreshLayout.java:234
↓ 3 callers
Method
setRefreshing
(boolean refreshing)
app/src/main/java/com/aswifter/material/widget/RefreshLayout.java:127
↓ 3 callers
Method
setShowArrow
@param show Set to true to show the arrow head on the progress spinner.
app/src/main/java/com/aswifter/material/widget/MaterialProgressDrawable.java:725
↓ 3 callers
Method
setTitle
(String title)
app/src/main/java/com/aswifter/material/news/Story.java:75
↓ 2 callers
Method
designedDP2px
(float designedDp)
app/src/main/java/com/aswifter/material/utils/DisplayUtil.java:35
↓ 2 callers
Method
draw
(Canvas canvas, Paint paint)
app/src/main/java/com/aswifter/material/widget/CircleImageView.java:128
↓ 2 callers
Method
elevationSupported
()
app/src/main/java/com/aswifter/material/widget/CircleImageView.java:62
↓ 2 callers
Method
equals
(Object obj)
app/src/main/java/com/aswifter/material/news/Story.java:83
↓ 2 callers
Method
get
()
app/src/main/java/com/aswifter/material/news/NewsDetailActivity.java:113
↓ 2 callers
Method
getAuthor
()
app/src/main/java/com/aswifter/material/book/Book.java:37
↓ 2 callers
Method
getBody
()
app/src/main/java/com/aswifter/material/news/NewsDetailResponse.java:34
↓ 2 callers
Method
getEndTrim
()
app/src/main/java/com/aswifter/material/widget/MaterialProgressDrawable.java:678
↓ 2 callers
Method
getId
()
app/src/main/java/com/aswifter/material/news/Story.java:55
↓ 2 callers
Method
getItem
(int position)
app/src/main/java/com/aswifter/material/news/NewsAdapter.java:83
↓ 2 callers
Method
getLatestData
()
app/src/main/java/com/aswifter/material/news/NewsListActivity.java:150
↓ 2 callers
Method
getMinProgressArc
(Ring ring)
app/src/main/java/com/aswifter/material/widget/MaterialProgressDrawable.java:286
↓ 2 callers
Method
getMotionEventY
(MotionEvent ev, int activePointerId)
app/src/main/java/com/aswifter/material/widget/PullToRefreshLayout.java:721
↓ 2 callers
Method
getNextColorIndex
()
app/src/main/java/com/aswifter/material/widget/MaterialProgressDrawable.java:604
↓ 2 callers
Method
getStories
()
app/src/main/java/com/aswifter/material/news/NewsResponse.java:17
↓ 2 callers
Method
getTitle
()
app/src/main/java/com/aswifter/material/book/Book.java:101
↓ 2 callers
Method
isAnimationRunning
(Animation animation)
app/src/main/java/com/aswifter/material/widget/PullToRefreshLayout.java:891
↓ 2 callers
Method
isRefreshing
@return Whether the SwipeRefreshWidget is actively showing refresh progress.
app/src/main/java/com/aswifter/material/widget/PullToRefreshLayout.java:550
↓ 2 callers
Method
moveToStart
(float interpolatedTime)
app/src/main/java/com/aswifter/material/widget/PullToRefreshLayout.java:1096
↓ 2 callers
Method
onLoad
()
app/src/main/java/com/aswifter/material/widget/RefreshLayout.java:144
↓ 2 callers
Method
onRefresh
()
app/src/main/java/com/aswifter/material/widget/PullToRefreshLayout.java:1159
↓ 2 callers
Method
onSecondaryPointerUp
(MotionEvent ev)
app/src/main/java/com/aswifter/material/widget/PullToRefreshLayout.java:1143
↓ 2 callers
Method
refreshNews
(String key)
app/src/main/java/com/aswifter/material/news/NewsObservable.java:14
↓ 2 callers
Method
resetOriginals
Reset the progress spinner to default rotation, start and end angles.
app/src/main/java/com/aswifter/material/widget/MaterialProgressDrawable.java:762
↓ 2 callers
Method
setArrowScale
@param scale Set the scale of the arrowhead for the spinner.
app/src/main/java/com/aswifter/material/widget/MaterialProgressDrawable.java:155
↓ 2 callers
Method
setColorSchemeResources
Set the color resources used in the progress animation from color resources. The first color will also be the color of the bar that grows in response
app/src/main/java/com/aswifter/material/widget/PullToRefreshLayout.java:524
↓ 2 callers
Method
setColorViewAlpha
(int targetAlpha)
app/src/main/java/com/aswifter/material/widget/PullToRefreshLayout.java:215
↓ 2 callers
Method
setColors
Set the colors the progress spinner alternates between. @param colors Array of integers describing the colors. Must be non-<code>null</code>.
app/src/main/java/com/aswifter/material/widget/MaterialProgressDrawable.java:571
↓ 2 callers
Method
setProgress
(int progress)
app/src/main/java/com/aswifter/material/widget/WebViewProgressBar.java:36
↓ 2 callers
Method
setRotation
(float rotation)
app/src/main/java/com/aswifter/material/widget/MaterialProgressDrawable.java:231
↓ 2 callers
Method
setSizeParameters
(double progressCircleWidth, double progressCircleHeight, double centerRadi
app/src/main/java/com/aswifter/material/widget/MaterialProgressDrawable.java:113
↓ 2 callers
Method
setStartEndTrim
Set the start and end trim for the progress spinner arc. @param startAngle start angle @param endAngle end angle
app/src/main/java/com/aswifter/material/widget/MaterialProgressDrawable.java:165
↓ 2 callers
Method
setStrokeWidth
@param strokeWidth Set the stroke width of the progress spinner in pixels.
app/src/main/java/com/aswifter/material/widget/MaterialProgressDrawable.java:638
↓ 2 callers
Method
showArrow
@param show Set to true to display the arrowhead on the progress spinner.
app/src/main/java/com/aswifter/material/widget/MaterialProgressDrawable.java:148
↓ 2 callers
Method
startAlphaAnimation
(final int startingAlpha, final int endingAlpha)
app/src/main/java/com/aswifter/material/widget/PullToRefreshLayout.java:460
↓ 2 callers
Method
startScaleDownAnimation
(Animation.AnimationListener listener)
app/src/main/java/com/aswifter/material/widget/PullToRefreshLayout.java:439
↓ 2 callers
Method
storeOriginals
If the start / end trim are offset to begin with, store them so that animation starts from that offset.
app/src/main/java/com/aswifter/material/widget/MaterialProgressDrawable.java:753
↓ 2 callers
Method
switchToBlog
()
app/src/main/java/com/aswifter/material/MainActivity.java:62
↓ 2 callers
Method
switchToBook
()
app/src/main/java/com/aswifter/material/MainActivity.java:52
↓ 2 callers
Method
updateRingColor
Update the ring color if this is within the last 25% of the animation. The new ring color will be a translation from the starting ring color to the ne
app/src/main/java/com/aswifter/material/widget/MaterialProgressDrawable.java:316
↓ 2 callers
Method
updateSizes
Set the overall size for the progress spinner. This updates the radius and stroke width of the ring. @param size One of {@link MaterialProgressDrawab
app/src/main/java/com/aswifter/material/widget/MaterialProgressDrawable.java:135
↓ 1 callers
Method
addData
(List<Story> stories)
app/src/main/java/com/aswifter/material/news/NewsAdapter.java:93
↓ 1 callers
Method
animateOffsetToCorrectPosition
(int from, Animation.AnimationListener listener)
app/src/main/java/com/aswifter/material/widget/PullToRefreshLayout.java:1050
↓ 1 callers
Method
animateOffsetToStartPosition
(int from, Animation.AnimationListener listener)
app/src/main/java/com/aswifter/material/widget/PullToRefreshLayout.java:1062
↓ 1 callers
Method
applyFinishTranslation
(float interpolatedTime, Ring ring)
app/src/main/java/com/aswifter/material/widget/MaterialProgressDrawable.java:327
↓ 1 callers
Method
canChildScrollDown
()
app/src/main/java/com/aswifter/material/widget/RefreshLayout.java:108
↓ 1 callers
Method
clearItems
()
app/src/main/java/com/aswifter/material/book/MyAdapter.java:65
↓ 1 callers
Method
createProgressView
()
app/src/main/java/com/aswifter/material/widget/PullToRefreshLayout.java:342
↓ 1 callers
Method
dispatchNestedFling
(float velocityX, float velocityY, boolean consumed)
app/src/main/java/com/aswifter/material/widget/PullToRefreshLayout.java:881
↓ 1 callers
Method
dispatchNestedPreFling
(float velocityX, float velocityY)
app/src/main/java/com/aswifter/material/widget/PullToRefreshLayout.java:886
↓ 1 callers
Method
dispatchNestedPreScroll
(int dx, int dy, int[] consumed, int[] offsetInWindow)
app/src/main/java/com/aswifter/material/widget/PullToRefreshLayout.java:864
↓ 1 callers
Method
dispatchNestedScroll
(int dxConsumed, int dyConsumed, int dxUnconsumed, int dyUnconsumed, i
app/src/main/java/com/aswifter/material/widget/PullToRefreshLayout.java:857
↓ 1 callers
Method
doExitApp
()
app/src/main/java/com/aswifter/material/MainActivity.java:150
↓ 1 callers
Method
doSearch
(String key)
app/src/main/java/com/aswifter/material/book/BooksFragment.java:74
↓ 1 callers
Method
doSearch
(String keyword)
app/src/main/java/com/aswifter/material/book/BooksFragment.java:125
↓ 1 callers
Method
drawHorizontal
(Canvas c, RecyclerView parent)
app/src/main/java/com/aswifter/material/widget/DividerItemDecoration.java:85
↓ 1 callers
Method
drawTriangle
(Canvas c, float startAngle, float sweepAngle, Rect bounds)
app/src/main/java/com/aswifter/material/widget/MaterialProgressDrawable.java:533
↓ 1 callers
Method
drawVertical
(Canvas c, RecyclerView parent)
app/src/main/java/com/aswifter/material/widget/DividerItemDecoration.java:69
↓ 1 callers
Method
evaluateColorChange
(float fraction, int startValue, int endValue)
app/src/main/java/com/aswifter/material/widget/MaterialProgressDrawable.java:292
↓ 1 callers
Method
getAuthor_intro
()
app/src/main/java/com/aswifter/material/book/Book.java:117
↓ 1 callers
Method
getBook
(int pos)
app/src/main/java/com/aswifter/material/book/MyAdapter.java:104
↓ 1 callers
Method
getBooks
()
app/src/main/java/com/aswifter/material/book/BookResponse.java:27
next →
1–100 of 434, ranked by callers