Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Mixiaoxiao/Weather
/ functions
Functions
537 in github.com/Mixiaoxiao/Weather
⨍
Functions
537
◇
Types & classes
109
↓ 76 callers
Method
get
()
WeatherGithub/src/com/mixiaoxiao/weather/api/entity/Weather.java:37
↓ 42 callers
Method
getRandom
[min, max) @param min @param max @return
WeatherGithub/src/com/mixiaoxiao/dynamicweather/BaseDrawer.java:235
↓ 33 callers
Method
setTextViewString
(int textViewId, String str)
WeatherGithub/src/com/mixiaoxiao/weather/WeatherFragment.java:402
↓ 25 callers
Method
dp2px
(float dp)
WeatherGithub/src/com/mixiaoxiao/dynamicweather/BaseDrawer.java:186
↓ 15 callers
Method
requestLayout
()
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxPagerTitleStrip.java:476
↓ 15 callers
Method
setColor
(int color)
WeatherGithub/src/com/mixiaoxiao/dynamicweather/RainDrawer.java:30
↓ 15 callers
Method
setTextColor
Set the color value used as the base color for all displayed page titles. Alpha will be ignored for non-primary page titles. See {@link #setNonPrimary
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxPagerTitleStrip.java:371
↓ 14 callers
Method
getCount
()
WeatherGithub/src/com/mixiaoxiao/weather/MainActivity.java:159
↓ 14 callers
Method
setColor
(int color)
WeatherGithub/src/com/mixiaoxiao/weather/widget/PullRefreshLayout.java:101
↓ 13 callers
Method
setTextSize
Set the default text size to a given unit and value. See {@link TypedValue} for the possible dimension units. <p> Example: to set the text size to 14
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxPagerTitleStrip.java:393
↓ 12 callers
Method
getClientWidth
()
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:488
↓ 12 callers
Method
setAlpha
(int alpha)
WeatherGithub/src/com/mixiaoxiao/weather/widget/RefreshDrawable.java:62
↓ 12 callers
Method
setStrokeWidth
(float strokeWidth)
WeatherGithub/src/com/mixiaoxiao/dynamicweather/RainDrawer.java:33
↓ 11 callers
Method
draw
@param canvas @return needDrawNextFrame
WeatherGithub/src/com/mixiaoxiao/dynamicweather/BaseDrawer.java:139
↓ 10 callers
Method
getContext
()
WeatherGithub/src/com/mixiaoxiao/weather/widget/RefreshDrawable.java:20
↓ 9 callers
Method
convertTextColor
(float percent)
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxPagerTitleStrip.java:502
↓ 9 callers
Method
populate
()
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:924
↓ 9 callers
Method
reset
()
WeatherGithub/src/com/mixiaoxiao/dynamicweather/BaseDrawer.java:119
↓ 8 callers
Method
addSplit
Add a split for the current time, labeled with splitLabel. If Log.isLoggable was not enabled to at least the Log.VERBOSE for the specified tag at cons
WeatherGithub/src/com/mixiaoxiao/android/util/TimingLogger.java:113
↓ 8 callers
Method
infoForChild
(View child)
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:1336
↓ 8 callers
Method
isOK
()
WeatherGithub/src/com/mixiaoxiao/weather/api/entity/Weather.java:21
↓ 8 callers
Method
onPageSelected
This method will be invoked when a new page becomes selected. Animation is not necessarily complete. @param position Position index of the new select
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:280
↓ 7 callers
Method
addView
(View child, int index, ViewGroup.LayoutParams params)
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:1301
↓ 7 callers
Method
getAdapter
Retrieve the current adapter supplying pages. @return The currently registered PagerAdapter
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:480
↓ 7 callers
Method
setCurrentItemInternal
(int item, boolean smoothScroll, boolean always)
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:519
↓ 7 callers
Method
setScrollState
(int newState)
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:395
↓ 7 callers
Method
setScrollingCacheEnabled
(boolean enabled)
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:2424
↓ 6 callers
Method
getCurrentItem
()
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:515
↓ 6 callers
Method
getDownRandFloat
获取[min, max)内的随机数,越大的数概率越小 参考http://blog.csdn.net/loomman/article/details/3861240 @param min @param max @return
WeatherGithub/src/com/mixiaoxiao/dynamicweather/BaseDrawer.java:214
↓ 6 callers
Method
getTypeface
(Context context)
WeatherGithub/src/com/mixiaoxiao/weather/MainActivity.java:35
↓ 6 callers
Method
isFinished
()
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxEdgeEffect.java:111
↓ 6 callers
Method
isLayoutRtl
(View view)
WeatherGithub/src/com/mixiaoxiao/support/widget/ViewUtils.java:52
↓ 6 callers
Method
toString
()
WeatherGithub/src/com/mixiaoxiao/weather/api/ApiManager.java:713
↓ 5 callers
Method
acceptWeather
是否是合法的Weather数据 @param weather @return
WeatherGithub/src/com/mixiaoxiao/weather/api/ApiManager.java:364
↓ 5 callers
Method
completeScroll
(boolean postEvents)
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:1746
↓ 5 callers
Method
logDebug
(String tag,String msg)
WeatherGithub/src/com/mixiaoxiao/android/util/UiUtil.java:89
↓ 5 callers
Method
setRefreshing
(boolean refreshing)
WeatherGithub/src/com/mixiaoxiao/weather/widget/PullRefreshLayout.java:389
↓ 5 callers
Method
show
()
WeatherGithub/src/com/mixiaoxiao/support/widget/LabelSpinner.java:298
↓ 5 callers
Method
updateTextPositions
(int position, float positionOffset, boolean force)
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxPagerTitleStrip.java:507
↓ 4 callers
Method
arrowScroll
(int direction)
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:2529
↓ 4 callers
Method
destroyItem
(ViewGroup container, int position, Object object)
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxFragmentPagerAdapter.java:73
↓ 4 callers
Method
equals
(Object obj)
WeatherGithub/src/com/mixiaoxiao/weather/api/ApiManager.java:730
↓ 4 callers
Method
getChildRectInPagerCoordinates
(Rect outRect, View child)
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:2595
↓ 4 callers
Method
infoForPosition
(int position)
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:1357
↓ 4 callers
Method
isToday
是否是今天2015-11-05 04:00 合法data格式: 2015-11-05 04:00 或者2015-11-05 @param date @return
WeatherGithub/src/com/mixiaoxiao/weather/api/ApiManager.java:329
↓ 4 callers
Method
onPageScrollStateChanged
Called when the scroll state changes. Useful for discovering when the user begins dragging, when the pager is automatically settling to the current pa
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:292
↓ 4 callers
Method
onRelease
Call when the object is released after being pulled. This will begin the "decay" phase of the effect. After calling this method the host view should {
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxEdgeEffect.java:172
↓ 4 callers
Method
pageScrolled
(int xpos)
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:1641
↓ 4 callers
Method
setData
(Aqi aqi)
WeatherGithub/src/com/mixiaoxiao/weather/widget/AqiView.java:111
↓ 4 callers
Method
setSelection
(int position , boolean notifyListener)
WeatherGithub/src/com/mixiaoxiao/support/widget/LabelSpinner.java:177
↓ 4 callers
Method
setSize
(int width, int height)
WeatherGithub/src/com/mixiaoxiao/dynamicweather/FogDrawer.java:28
↓ 4 callers
Method
setTargetOffsetTop
(int offset, boolean requiresUpdate)
WeatherGithub/src/com/mixiaoxiao/weather/widget/PullRefreshLayout.java:472
↓ 4 callers
Method
setThumbPosition
Sets the thumb position as a decimal value between 0 (off) and 1 (on). @param position new position between [0,1]
WeatherGithub/src/com/mixiaoxiao/support/widget/SmoothSwitch.java:881
↓ 4 callers
Method
start
()
WeatherGithub/src/com/mixiaoxiao/weather/widget/SunDrawable.java:70
↓ 4 callers
Method
updateText
(int currentItem, PagerAdapter adapter)
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxPagerTitleStrip.java:440
↓ 3 callers
Method
addNewItem
(int position, int index)
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:840
↓ 3 callers
Method
animateOffsetToStartPosition
()
WeatherGithub/src/com/mixiaoxiao/weather/widget/PullRefreshLayout.java:345
↓ 3 callers
Method
convertAlphaColor
(float percent,final int originalColor)
WeatherGithub/src/com/mixiaoxiao/dynamicweather/BaseDrawer.java:181
↓ 3 callers
Method
draw
(Canvas c)
WeatherGithub/src/com/mixiaoxiao/support/widget/SmoothSwitch.java:1006
↓ 3 callers
Method
endDrag
()
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:2414
↓ 3 callers
Method
ensureTarget
()
WeatherGithub/src/com/mixiaoxiao/weather/widget/PullRefreshLayout.java:158
↓ 3 callers
Method
fetchArguments
()
WeatherGithub/src/com/mixiaoxiao/weather/WeatherFragment.java:72
↓ 3 callers
Method
finishUpdate
(ViewGroup container)
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxFragmentPagerAdapter.java:99
↓ 3 callers
Method
getItemId
Return a unique identifier for the item at the given position. <p>The default implementation returns the given position. Subclasses should override t
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxFragmentPagerAdapter.java:131
↓ 3 callers
Method
getPageTitle
(int position)
WeatherGithub/src/com/mixiaoxiao/weather/MainActivity.java:154
↓ 3 callers
Method
getSelectedItemPosition
()
WeatherGithub/src/com/mixiaoxiao/support/widget/LabelSpinner.java:197
↓ 3 callers
Method
getView
(int position, View convertView, ViewGroup parent)
WeatherGithub/src/com/mixiaoxiao/support/widget/LabelSpinner.java:265
↓ 3 callers
Method
infoForCurrentScrollPosition
@return Info about the page at the current scroll position. This can be synthetic for a missing middle page; the 'object' field can be null.
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:2118
↓ 3 callers
Method
makeFragmentName
(int viewId, long id)
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxFragmentPagerAdapter.java:135
↓ 3 callers
Method
notifyActivityUpdate
()
WeatherGithub/src/com/mixiaoxiao/weather/BaseFragment.java:15
↓ 3 callers
Method
onPageScrolled
This method will be invoked when the current page is scrolled, either as part of a programmatically initiated smooth scroll or a user initiated touch
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:272
↓ 3 callers
Method
requestParentDisallowInterceptTouchEvent
(boolean disallowIntercept)
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:2060
↓ 3 callers
Method
scrollToItem
(int item, boolean smoothScroll, int velocity, boolean dispatchSelected)
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:566
↓ 3 callers
Method
setChecked
(boolean checked)
WeatherGithub/src/com/mixiaoxiao/support/widget/SmoothSwitch.java:924
↓ 3 callers
Method
setCurrentItem
Set the currently selected page. If the ViewPager has already been through its first layout with its current adapter there will be a smooth animated t
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:499
↓ 3 callers
Method
setPercent
(float percent)
WeatherGithub/src/com/mixiaoxiao/weather/widget/SunDrawable.java:51
↓ 3 callers
Method
setSingleLineAllCaps
(TextView text)
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxPagerTitleStrip.java:114
↓ 3 callers
Method
setUserVisibleHint
(boolean isVisibleToUser)
WeatherGithub/src/com/mixiaoxiao/weather/WeatherFragment.java:273
↓ 3 callers
Method
sortChildDrawingOrder
()
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:1116
↓ 3 callers
Method
startUpdate
(ViewGroup container)
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxFragmentPagerAdapter.java:29
↓ 3 callers
Method
updateAdapter
(PagerAdapter oldAdapter, PagerAdapter newAdapter)
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxPagerTitleStrip.java:483
↓ 3 callers
Method
updateAndDraw
(Canvas canvas, Paint paint, float alpha)
WeatherGithub/src/com/mixiaoxiao/dynamicweather/WindDrawer.java:68
↓ 3 callers
Method
updateRandom
(RainDrawable drawable,float alpha)
WeatherGithub/src/com/mixiaoxiao/dynamicweather/RainDrawer.java:134
↓ 3 callers
Method
updateWeatherUI
()
WeatherGithub/src/com/mixiaoxiao/weather/WeatherFragment.java:300
↓ 2 callers
Method
canChildScrollUp
()
WeatherGithub/src/com/mixiaoxiao/weather/widget/PullRefreshLayout.java:482
↓ 2 callers
Method
cancelPositionAnimator
()
WeatherGithub/src/com/mixiaoxiao/support/widget/SmoothSwitch.java:864
↓ 2 callers
Method
checkRefresh
()
WeatherGithub/src/com/mixiaoxiao/weather/WeatherFragment.java:287
↓ 2 callers
Method
convertColorOfPostion
(float position, int color0, int color1)
WeatherGithub/src/com/mixiaoxiao/support/widget/SmoothSwitch.java:902
↓ 2 callers
Method
dataSetChanged
()
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:853
↓ 2 callers
Method
determineTargetPage
(int currentPage, float pageOffset, int velocity, int deltaX)
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:2160
↓ 2 callers
Method
dp2px
(int dp)
WeatherGithub/src/com/mixiaoxiao/weather/widget/SunDrawable.java:175
↓ 2 callers
Method
dumpToLog
Dumps the timings to the log using Log.d(). If Log.isLoggable was not enabled to at least the Log.VERBOSE for the specified tag at construction or res
WeatherGithub/src/com/mixiaoxiao/android/util/TimingLogger.java:125
↓ 2 callers
Method
finish
Immediately finish the current animation. After this call {@link #isFinished()} will return true.
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxEdgeEffect.java:119
↓ 2 callers
Method
geIndicatorHeight
()
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxPagerTitleStrip.java:232
↓ 2 callers
Method
getAlphaColor
(int originalColor, float alpha)
WeatherGithub/src/com/mixiaoxiao/support/widget/SmoothSwitch.java:328
↓ 2 callers
Method
getDisableColor
(int color)
WeatherGithub/src/com/mixiaoxiao/support/widget/SmoothSwitch.java:319
↓ 2 callers
Method
getDrawerType
()
WeatherGithub/src/com/mixiaoxiao/weather/BaseFragment.java:13
↓ 2 callers
Method
getItem
Return the Fragment associated with a specified position.
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxFragmentPagerAdapter.java:27
↓ 2 callers
Method
getItem
(int position)
WeatherGithub/src/com/mixiaoxiao/weather/MainActivity.java:147
↓ 2 callers
Method
getMotionEventY
(MotionEvent ev, int activePointerId)
WeatherGithub/src/com/mixiaoxiao/weather/widget/PullRefreshLayout.java:464
next →
1–100 of 537, ranked by callers