MCPcopy Create free account

hub / github.com/Mixiaoxiao/Weather / functions

Functions537 in github.com/Mixiaoxiao/Weather

↓ 2 callersMethodgetTargetCheckedState
()
WeatherGithub/src/com/mixiaoxiao/support/widget/SmoothSwitch.java:871
↓ 2 callersMethodgetThumbOffset
Translates thumb position to offset according to current RTL setting and thumb scroll range. Accounts for both track and thumb padding. @return thumb
WeatherGithub/src/com/mixiaoxiao/support/widget/SmoothSwitch.java:1139
↓ 2 callersMethodgetThumbScrollRange
()
WeatherGithub/src/com/mixiaoxiao/support/widget/SmoothSwitch.java:1149
↓ 2 callersMethodgetTodayDailyForecastIndex
出错返回-1 @returnTodayDailyForecastIndex
WeatherGithub/src/com/mixiaoxiao/weather/api/entity/Weather.java:49
↓ 2 callersMethodgetTranslateDiatance
()
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxEdgeEffect.java:235
↓ 2 callersMethodhideSelf
()
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxPagerTitleStrip.java:273
↓ 2 callersMethodinitViewPager
()
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:361
↓ 2 callersMethodisNight
(Weather weather)
WeatherGithub/src/com/mixiaoxiao/weather/api/ApiManager.java:522
↓ 2 callersMethodisShowing
()
WeatherGithub/src/com/mixiaoxiao/support/widget/LabelSpinner.java:240
↓ 2 callersMethodloadWeather
(@NonNull Context context, @NonNull String areaId)
WeatherGithub/src/com/mixiaoxiao/weather/api/ApiManager.java:281
↓ 2 callersMethodmakeLayout
(CharSequence text)
WeatherGithub/src/com/mixiaoxiao/support/widget/SmoothSwitch.java:710
↓ 2 callersMethodmakePopupListViewItem
(boolean fake)
WeatherGithub/src/com/mixiaoxiao/support/widget/LabelSpinner.java:140
↓ 2 callersMethodoffsetTopAndBottom
(int offset)
WeatherGithub/src/com/mixiaoxiao/weather/widget/SunDrawable.java:64
↓ 2 callersMethodonPageScrolled
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:1681
↓ 2 callersMethodonPull
A view should call this when content is pulled away from an edge by the user. This will update the state of the current visual effect and its associat
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxEdgeEffect.java:133
↓ 2 callersMethodonSecondaryPointerUp
(MotionEvent ev)
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:2399
↓ 2 callersMethodonSecondaryPointerUp
(MotionEvent ev)
WeatherGithub/src/com/mixiaoxiao/weather/widget/PullRefreshLayout.java:455
↓ 2 callersMethodpageLeft
()
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:2621
↓ 2 callersMethodpageRight
()
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:2629
↓ 2 callersMethodperformDrag
(float x)
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:2067
↓ 2 callersMethodpostRefresh
()
WeatherGithub/src/com/mixiaoxiao/weather/WeatherFragment.java:256
↓ 2 callersMethodrecomputeScrollPosition
(int width, int oldWidth, int margin, int oldMargin)
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:1478
↓ 2 callersMethodrestoreState
(Parcelable state, ClassLoader loader)
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxFragmentPagerAdapter.java:118
↓ 2 callersMethodsetAdapter
Set a PagerAdapter that will supply views for this pager as needed. @param adapter Adapter to use
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:418
↓ 2 callersMethodsetColorSchemeColors
(int... colorSchemeColors)
WeatherGithub/src/com/mixiaoxiao/weather/widget/PullRefreshLayout.java:96
↓ 2 callersMethodsetDrawerType
(Type type)
WeatherGithub/src/com/mixiaoxiao/dynamicweather/DynamicWeatherView.java:53
↓ 2 callersMethodsetGravity
Set the {@link Gravity} used to position text within the title strip. Only the vertical gravity component is used. @param gravity {@link G
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxPagerTitleStrip.java:406
↓ 2 callersMethodsetInternalPageChangeListener
Set a separate OnPageChangeListener for internal use by the support library. @param listener Listener to set @return The old listener that was set, i
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:664
↓ 2 callersMethodsetOnAdapterChangeListener
(OnAdapterChangeListener listener)
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:484
↓ 2 callersMethodsetOnSelectionChangedListener
(OnSelectionChangedListener listener)
WeatherGithub/src/com/mixiaoxiao/support/widget/LabelSpinner.java:50
↓ 2 callersMethodstop
()
WeatherGithub/src/com/mixiaoxiao/weather/widget/SunDrawable.java:77
↓ 2 callersMethodtoast
(String msg)
WeatherGithub/src/com/mixiaoxiao/weather/BaseFragment.java:26
↓ 2 callersMethodtrigger
(int position, float positionOffset)
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxPagerTitleStrip.java:264
↓ 1 callersMethodOnSelectionChanged
(int position)
WeatherGithub/src/com/mixiaoxiao/support/widget/LabelSpinner.java:34
↓ 1 callersMethodanimateOffsetToCorrectPosition
()
WeatherGithub/src/com/mixiaoxiao/weather/widget/PullRefreshLayout.java:355
↓ 1 callersMethodanimateThumbToCheckedState
(boolean newCheckedState)
WeatherGithub/src/com/mixiaoxiao/support/widget/SmoothSwitch.java:849
↓ 1 callersMethodcalculatePageOffsets
(ItemInfo curItem, int curIndex, ItemInfo oldCurInfo)
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:1132
↓ 1 callersMethodcanScroll
Tests scrollability within child views of v given a delta of dx. @param v View to test for horizontal scrollability @param checkV Whether the view v
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:2466
↓ 1 callersMethodcanScrollHorizontally
(int direction)
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:2439
↓ 1 callersMethodcancelSuperTouch
(MotionEvent ev)
WeatherGithub/src/com/mixiaoxiao/support/widget/SmoothSwitch.java:812
↓ 1 callersMethodcheckLayoutParams
(ViewGroup.LayoutParams p)
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:2766
↓ 1 callersMethodcomputeContentWidth
()
WeatherGithub/src/com/mixiaoxiao/support/widget/LabelSpinner.java:277
↓ 1 callersMethodconstrain
Taken from android.util.MathUtils
WeatherGithub/src/com/mixiaoxiao/support/widget/SmoothSwitch.java:1252
↓ 1 callersMethodconvertWeatherType
把Weather转换为对应的BaseDrawer.Type @param weather @return
WeatherGithub/src/com/mixiaoxiao/weather/api/ApiManager.java:377
↓ 1 callersMethoddebug
()
WeatherGithub/src/com/mixiaoxiao/weather/WeatherFragment.java:190
↓ 1 callersMethoddistanceInfluenceForSnapDuration
(float f)
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:776
↓ 1 callersMethoddoHttpGet
(String url)
WeatherGithub/src/com/mixiaoxiao/weather/api/ApiManager.java:651
↓ 1 callersMethoddp2px
(int dp)
WeatherGithub/src/com/mixiaoxiao/weather/widget/PullRefreshLayout.java:515
↓ 1 callersMethoddraw
(Canvas canvas)
WeatherGithub/src/com/mixiaoxiao/dynamicweather/RainDrawer.java:41
↓ 1 callersMethoddraw
(Canvas canvas)
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:2180
↓ 1 callersMethoddrawSkyBackground
(Canvas canvas, float alpha)
WeatherGithub/src/com/mixiaoxiao/dynamicweather/BaseDrawer.java:126
↓ 1 callersMethoddrawSurface
(Canvas canvas)
WeatherGithub/src/com/mixiaoxiao/dynamicweather/DynamicWeatherView.java:97
↓ 1 callersMethoddrawWeather
(Canvas canvas, float alpha)
WeatherGithub/src/com/mixiaoxiao/dynamicweather/BaseDrawer.java:154
↓ 1 callersMethodenableLayers
(boolean enable)
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:1781
↓ 1 callersMethodexecuteKeyEvent
You can call this function yourself to have the scroll view perform scrolling from a key event, just as if the event had been dispatched to it by the
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:2503
↓ 1 callersMethodfixAlpha
必须取[0,1]之间的float @param alpha @return
WeatherGithub/src/com/mixiaoxiao/dynamicweather/BaseDrawer.java:249
↓ 1 callersMethodgenerateDefaultLayoutParams
()
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:2756
↓ 1 callersMethodgenerateLayoutParams
(ViewGroup.LayoutParams p)
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:2761
↓ 1 callersMethodgetApiUrlFromAreaId
(String areaId)
WeatherGithub/src/com/mixiaoxiao/weather/api/ApiManager.java:588
↓ 1 callersMethodgetCityName
()
WeatherGithub/src/com/mixiaoxiao/weather/WeatherFragment.java:151
↓ 1 callersMethodgetFinalOffset
()
WeatherGithub/src/com/mixiaoxiao/weather/widget/PullRefreshLayout.java:139
↓ 1 callersMethodgetInterpolation
(float t)
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:132
↓ 1 callersMethodgetItem
(int position)
WeatherGithub/src/com/mixiaoxiao/support/widget/LabelSpinner.java:255
↓ 1 callersMethodgetMinHeight
()
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxPagerTitleStrip.java:694
↓ 1 callersMethodgetPrefString
(Context context,final String preferencesName, String key, final String defaultValue)
WeatherGithub/src/com/mixiaoxiao/android/util/MxxPreferenceUtil.java:15
↓ 1 callersMethodgetRefreshLayout
()
WeatherGithub/src/com/mixiaoxiao/weather/widget/RefreshDrawable.java:24
↓ 1 callersMethodgetSkyBackgroundGradient
()
WeatherGithub/src/com/mixiaoxiao/dynamicweather/BaseDrawer.java:157
↓ 1 callersMethodgetStatusBarHeight
()
WeatherGithub/src/com/mixiaoxiao/android/util/UiUtil.java:32
↓ 1 callersMethodgetTextPaintOffset
(Paint paint)
WeatherGithub/src/com/mixiaoxiao/android/util/UiUtil.java:78
↓ 1 callersMethodgetTextPaintOffset
(Paint paint)
WeatherGithub/src/com/mixiaoxiao/weather/widget/HourlyForecastView.java:234
↓ 1 callersMethodgetTextPaintOffset
(Paint paint)
WeatherGithub/src/com/mixiaoxiao/weather/widget/DailyForecastView.java:248
↓ 1 callersMethodgetTitle
()
WeatherGithub/src/com/mixiaoxiao/weather/BaseFragment.java:11
↓ 1 callersMethodgetTodayDailyForecast
出错返回null @return Today DailyForecast
WeatherGithub/src/com/mixiaoxiao/weather/api/entity/Weather.java:67
↓ 1 callersMethodgetTodayTempDescription
今天的气温 6~16° @return
WeatherGithub/src/com/mixiaoxiao/weather/api/entity/Weather.java:79
↓ 1 callersMethodgetTrackColor
(int color)
WeatherGithub/src/com/mixiaoxiao/support/widget/SmoothSwitch.java:316
↓ 1 callersMethodhasAqi
()
WeatherGithub/src/com/mixiaoxiao/weather/api/entity/Weather.java:29
↓ 1 callersMethodhitThumb
@return true if (x, y) is within the target area of the switch thumb
WeatherGithub/src/com/mixiaoxiao/support/widget/SmoothSwitch.java:721
↓ 1 callersMethodinfoForAnyChild
(View child)
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:1346
↓ 1 callersMethodinit
(Context context)
WeatherGithub/src/com/mixiaoxiao/dynamicweather/DynamicWeatherView.java:31
↓ 1 callersMethodinit
(Context context)
WeatherGithub/src/com/mixiaoxiao/weather/widget/HourlyForecastView.java:64
↓ 1 callersMethodinit
(Context context)
WeatherGithub/src/com/mixiaoxiao/weather/widget/DailyForecastView.java:67
↓ 1 callersMethodinit
(Context context, AttributeSet attrs, int defStyleAttr)
WeatherGithub/src/com/mixiaoxiao/support/widget/LabelSpinner.java:69
↓ 1 callersMethodinstantiateItem
(ViewGroup container, int position)
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxFragmentPagerAdapter.java:33
↓ 1 callersMethodisGutterDrag
(float x, float dx)
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:1777
↓ 1 callersMethodisNeedUpdate
是否需要更新Weather数据 1小时15分钟之内的return false; 传入null或者有问题的weather也会返回true @param weather @return
WeatherGithub/src/com/mixiaoxiao/weather/api/ApiManager.java:304
↓ 1 callersMethodisNetworkAvailable
检测网络是否可用 @param context 上下文 @return true 表示有网络连接 false表示没有可用网络连接
WeatherGithub/src/com/mixiaoxiao/android/util/MxxNetworkUtil.java:16
↓ 1 callersMethodisRunning
()
WeatherGithub/src/com/mixiaoxiao/weather/widget/SunDrawable.java:82
↓ 1 callersMethodisViewFromObject
(View view, Object object)
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxFragmentPagerAdapter.java:108
↓ 1 callersMethodloadAreaToViewPager
()
WeatherGithub/src/com/mixiaoxiao/weather/MainActivity.java:91
↓ 1 callersMethodloadSelectedArea
(Context context)
WeatherGithub/src/com/mixiaoxiao/weather/api/ApiManager.java:77
↓ 1 callersMethodmakeDrawerByType
(Context context, Type type)
WeatherGithub/src/com/mixiaoxiao/dynamicweather/BaseDrawer.java:51
↓ 1 callersMethodmakeInstance
(@NonNull ArrayList<Area> selectedAreas)
WeatherGithub/src/com/mixiaoxiao/weather/SettingsFragment.java:34
↓ 1 callersMethodmakeInstance
(@NonNull Area area, Weather weather)
WeatherGithub/src/com/mixiaoxiao/weather/WeatherFragment.java:61
↓ 1 callersMethodmakeSkyBackground
()
WeatherGithub/src/com/mixiaoxiao/dynamicweather/BaseDrawer.java:122
↓ 1 callersMethodmakeThumbDrawable
(int color, int thumbWidth,int thumbHeight, float radius, int padding)
WeatherGithub/src/com/mixiaoxiao/support/widget/SmoothSwitch.java:305
↓ 1 callersMethodmakeTrackDrawable
(int color, int thumbWidth,int thumbHeight,float radius, int padding)
WeatherGithub/src/com/mixiaoxiao/support/widget/SmoothSwitch.java:294
↓ 1 callersMethodmoveToStart
(float interpolatedTime)
WeatherGithub/src/com/mixiaoxiao/weather/widget/PullRefreshLayout.java:382
↓ 1 callersMethodonAdapterChanged
(PagerAdapter oldAdapter, PagerAdapter newAdapter)
WeatherGithub/src/com/mixiaoxiao/mxxedgeeffect/widget/MxxViewPager.java:342
↓ 1 callersMethodonReceiveWeather
(Weather weather, boolean updated)
WeatherGithub/src/com/mixiaoxiao/weather/api/ApiManager.java:54
↓ 1 callersMethodonRefresh
()
WeatherGithub/src/com/mixiaoxiao/weather/widget/PullRefreshLayout.java:524
← previousnext →101–200 of 537, ranked by callers