Skip navigation links
A B C D E F G H I L M O P R S U V W 

A

a(String, Object...) - Static method in class ca.allanwang.capsule.library.logging.CLog
 
addDeviceDetails() - Method in class ca.allanwang.capsule.library.utils.EmailBuilder
 
addItem(T) - Method in class ca.allanwang.capsule.library.adapters.CapsuleAdapter
 
addItem(int, T) - Method in class ca.allanwang.capsule.library.adapters.CapsuleAdapter
 
addItems(List<T>) - Method in class ca.allanwang.capsule.library.adapters.CapsuleAdapter
 
addItems(int, List<T>) - Method in class ca.allanwang.capsule.library.adapters.CapsuleAdapter
 
addMessage(String) - Method in class ca.allanwang.capsule.library.utils.EmailBuilder
 
Animations() - Constructor for class ca.allanwang.capsule.library.adapters.CapsuleAdapter.Animations
 
AnimUtils - Class in ca.allanwang.capsule.library.utils
Created by Allan Wang on 2016-10-22.
AnimUtils() - Constructor for class ca.allanwang.capsule.library.utils.AnimUtils
 
AnimUtils.ViewCallback - Interface in ca.allanwang.capsule.library.utils
 
ASSERT - Static variable in class ca.allanwang.capsule.library.logging.CLog
 

B

BaseFragment - Class in ca.allanwang.capsule.library.fragments
Created by Allan Wang on 2016-08-21.
BaseFragment() - Constructor for class ca.allanwang.capsule.library.fragments.BaseFragment
 
bg() - Method in class ca.allanwang.capsule.library.fragments.CapsulePreferenceFragment
 
bindAnimation(V) - Method in class ca.allanwang.capsule.library.adapters.CapsuleAdapter
Optional animations for new views call from onBindViewHolder
bindRecyclerView(View, int) - Method in class ca.allanwang.capsule.library.adapters.CapsuleAdapter
 
bindRecyclerView(RecyclerView) - Method in class ca.allanwang.capsule.library.adapters.CapsuleAdapter
 

C

ca.allanwang.capsule.library.activities - package ca.allanwang.capsule.library.activities
 
ca.allanwang.capsule.library.adapters - package ca.allanwang.capsule.library.adapters
 
ca.allanwang.capsule.library.cards - package ca.allanwang.capsule.library.cards
 
ca.allanwang.capsule.library.changelog - package ca.allanwang.capsule.library.changelog
 
ca.allanwang.capsule.library.custom - package ca.allanwang.capsule.library.custom
 
ca.allanwang.capsule.library.event - package ca.allanwang.capsule.library.event
 
ca.allanwang.capsule.library.fragments - package ca.allanwang.capsule.library.fragments
 
ca.allanwang.capsule.library.interfaces - package ca.allanwang.capsule.library.interfaces
 
ca.allanwang.capsule.library.item - package ca.allanwang.capsule.library.item
 
ca.allanwang.capsule.library.logging - package ca.allanwang.capsule.library.logging
 
ca.allanwang.capsule.library.parcelable.maps - package ca.allanwang.capsule.library.parcelable.maps
 
ca.allanwang.capsule.library.permissions - package ca.allanwang.capsule.library.permissions
 
ca.allanwang.capsule.library.utils - package ca.allanwang.capsule.library.utils
 
ca.allanwang.capsule.library.views - package ca.allanwang.capsule.library.views
 
CActivityCore - Interface in ca.allanwang.capsule.library.interfaces
Created by Allan Wang on 2016-10-09.
cAdapter - Variable in class ca.allanwang.capsule.library.fragments.SwipeRecyclerFragment
 
CallbackLogTree - Class in ca.allanwang.capsule.library.logging
Created by Allan Wang on 2016-12-30.
CallbackLogTree(CallbackLogTree.Callback) - Constructor for class ca.allanwang.capsule.library.logging.CallbackLogTree
 
CallbackLogTree(CallbackLogTree.Callback, int, int, int, int, int, int) - Constructor for class ca.allanwang.capsule.library.logging.CallbackLogTree
 
CallbackLogTree.Callback - Interface in ca.allanwang.capsule.library.logging
 
CapsuleActivity - Class in ca.allanwang.capsule.library.activities
Created by Allan Wang on 2016-08-19.
CapsuleActivity() - Constructor for class ca.allanwang.capsule.library.activities.CapsuleActivity
 
capsuleActivity() - Method in class ca.allanwang.capsule.library.fragments.CapsuleFragment
 
capsuleActivity() - Method in class ca.allanwang.capsule.library.fragments.CapsulePreferenceFragment
 
capsuleActivity(Context) - Static method in class ca.allanwang.capsule.library.utils.ContextUtils
 
CapsuleActivityFrame - Class in ca.allanwang.capsule.library.activities
Created by Allan Wang on 2016-10-22.
CapsuleActivityFrame() - Constructor for class ca.allanwang.capsule.library.activities.CapsuleActivityFrame
 
CapsuleActivityFrame.AccountHeaderChanger - Class in ca.allanwang.capsule.library.activities
 
CapsuleAdapter<T,V extends CapsuleViewHolder> - Class in ca.allanwang.capsule.library.adapters
Created by Allan Wang on 2016-12-21.
CapsuleAdapter(List<T>) - Constructor for class ca.allanwang.capsule.library.adapters.CapsuleAdapter
 
CapsuleAdapter.Animations - Class in ca.allanwang.capsule.library.adapters
 
CapsuleCardFrame - Class in ca.allanwang.capsule.library.cards
Created by Allan Wang on 2016-08-24.
CapsuleCardFrame() - Constructor for class ca.allanwang.capsule.library.cards.CapsuleCardFrame
 
CapsuleCoordinatorLayout - Class in ca.allanwang.capsule.library.custom
Created by Allan Wang on 2016-09-05.
CapsuleCoordinatorLayout(Context) - Constructor for class ca.allanwang.capsule.library.custom.CapsuleCoordinatorLayout
 
CapsuleCoordinatorLayout(Context, AttributeSet) - Constructor for class ca.allanwang.capsule.library.custom.CapsuleCoordinatorLayout
 
CapsuleCoordinatorLayout(Context, AttributeSet, int) - Constructor for class ca.allanwang.capsule.library.custom.CapsuleCoordinatorLayout
 
CapsuleFragment - Class in ca.allanwang.capsule.library.fragments
Created by Allan Wang on 2016-08-19.
CapsuleFragment() - Constructor for class ca.allanwang.capsule.library.fragments.CapsuleFragment
 
capsuleFrameOnCreate(Bundle) - Method in class ca.allanwang.capsule.library.activities.CapsuleActivityFrame
Separate onCreate for frame should be called after capsuleOnCreate and preCapsuleOnCreate
CapsulePageFragment - Class in ca.allanwang.capsule.library.fragments
Created by Allan Wang on 2016-08-19.
CapsulePageFragment() - Constructor for class ca.allanwang.capsule.library.fragments.CapsulePageFragment
 
CapsulePreferenceFragment - Class in ca.allanwang.capsule.library.fragments
Created by Allan Wang on 2016-11-17.
CapsulePreferenceFragment() - Constructor for class ca.allanwang.capsule.library.fragments.CapsulePreferenceFragment
 
CapsuleViewHolder - Class in ca.allanwang.capsule.library.item
Created by Allan Wang on 2016-12-21.
CapsuleViewHolder(View, int) - Constructor for class ca.allanwang.capsule.library.item.CapsuleViewHolder
 
CardType - Enum in ca.allanwang.capsule.library.cards
Created by Allan Wang on 2016-08-24.
CCallback - Interface in ca.allanwang.capsule.library.interfaces
Created by Allan Wang on 2016-10-30.
cDrawer - Variable in class ca.allanwang.capsule.library.activities.CapsuleActivityFrame
 
CDrawerItem - Interface in ca.allanwang.capsule.library.interfaces
Created by Allan Wang on 2016-10-22.
CFabEvent - Class in ca.allanwang.capsule.library.event
Created by Allan Wang on 2016-11-14.
CFabEvent(boolean) - Constructor for class ca.allanwang.capsule.library.event.CFabEvent
Shows or hides the fab Listeners and icons are unchanged
CFabEvent(View.OnClickListener) - Constructor for class ca.allanwang.capsule.library.event.CFabEvent
Changes click result of fab; will show the fab
CFabEvent(IIcon, View.OnClickListener) - Constructor for class ca.allanwang.capsule.library.event.CFabEvent
 
CFragmentCore - Interface in ca.allanwang.capsule.library.interfaces
Created by Allan Wang on 2016-10-09.
ChangelogDialog - Class in ca.allanwang.capsule.library.changelog
 
ChangelogDialog() - Constructor for class ca.allanwang.capsule.library.changelog.ChangelogDialog
 
ChangelogDialog.OnChangelogNeutralButtonClick - Interface in ca.allanwang.capsule.library.changelog
 
circleHide(Context, View, int, int, double, double) - Static method in class ca.allanwang.capsule.library.utils.AnimUtils
 
circleHide(Context, View, int, int, double, double, AnimatorListenerAdapter) - Static method in class ca.allanwang.capsule.library.utils.AnimUtils
 
circleReveal(Context, View, int, int, double) - Static method in class ca.allanwang.capsule.library.utils.AnimUtils
 
circleReveal(Context, View, int, int, double, double) - Static method in class ca.allanwang.capsule.library.utils.AnimUtils
 
circleReveal(Context, View, int, int, double, AnimatorListenerAdapter) - Static method in class ca.allanwang.capsule.library.utils.AnimUtils
 
circleReveal(Context, View, int, int, double, double, AnimatorListenerAdapter) - Static method in class ca.allanwang.capsule.library.utils.AnimUtils
 
cLinear - Variable in class ca.allanwang.capsule.library.fragments.SwipeRecyclerFragment
 
CLog - Class in ca.allanwang.capsule.library.logging
Created by Allan Wang on 2016-08-21.
CLog() - Constructor for class ca.allanwang.capsule.library.logging.CLog
 
CLogTree - Class in ca.allanwang.capsule.library.logging
Created by Allan Wang on 2016-08-21.
CLogTree() - Constructor for class ca.allanwang.capsule.library.logging.CLogTree
 
ColourUtils - Class in ca.allanwang.capsule.library.utils
Created by Allan Wang on 2016-11-18.
ColourUtils() - Constructor for class ca.allanwang.capsule.library.utils.ColourUtils
 
ContextUtils - Class in ca.allanwang.capsule.library.utils
Created by Allan Wang on 2016-10-30.
ContextUtils() - Constructor for class ca.allanwang.capsule.library.utils.ContextUtils
 
CPage - Interface in ca.allanwang.capsule.library.interfaces
Created by Allan Wang on 2016-10-30.
CPageFragment - Interface in ca.allanwang.capsule.library.interfaces
Created by Allan Wang on 2016-11-14.
CPermissionCallback - Interface in ca.allanwang.capsule.library.permissions
Created by Allan Wang on 2016-08-20.
CPrefs - Class in ca.allanwang.capsule.library.utils
Created by Allan Wang on 2016-10-30.
CPrefs(Context) - Constructor for class ca.allanwang.capsule.library.utils.CPrefs
 
create(Context) - Method in class ca.allanwang.capsule.library.utils.EmailBuilder
 
create() - Method in class ca.allanwang.capsule.library.utils.ParcelUtils
Adds existing bundle into existing fragment
createMap(int) - Method in class ca.allanwang.capsule.library.parcelable.maps.ParcelableHashMap
 
createMap(int) - Method in class ca.allanwang.capsule.library.parcelable.maps.ParcelableMap
 
cSwipeRefreshRecyclerView - Variable in class ca.allanwang.capsule.library.fragments.SwipeRecyclerFragment
 

D

d(String, Object...) - Static method in class ca.allanwang.capsule.library.logging.CLog
 
d(Context, int) - Static method in class ca.allanwang.capsule.library.utils.ResUtils
 
DEBUG - Static variable in class ca.allanwang.capsule.library.logging.CLog
 
describeContents() - Method in class ca.allanwang.capsule.library.parcelable.maps.ParcelableMap
 
DIVIDER - Static variable in class ca.allanwang.capsule.library.item.DrawerItem
 
dpToPx(double) - Static method in class ca.allanwang.capsule.library.utils.ViewUtils
 
DrawerItem - Class in ca.allanwang.capsule.library.item
Created by Allan Wang on 2016-10-30.
DrawerItem(int) - Constructor for class ca.allanwang.capsule.library.item.DrawerItem
 
DrawerItem(int, IIcon, boolean) - Constructor for class ca.allanwang.capsule.library.item.DrawerItem
 

E

e(String, Object...) - Static method in class ca.allanwang.capsule.library.logging.CLog
 
EmailBuilder - Class in ca.allanwang.capsule.library.utils
Created by Allan Wang on 2016-12-21.
EmailBuilder(int, int) - Constructor for class ca.allanwang.capsule.library.utils.EmailBuilder
 
ERROR - Static variable in class ca.allanwang.capsule.library.logging.CLog
 
EventUtils - Class in ca.allanwang.capsule.library.utils
Created by Allan Wang on 2016-11-26.
EventUtils() - Constructor for class ca.allanwang.capsule.library.utils.EventUtils
 

F

fadeIn(Context, View, double, double) - Static method in class ca.allanwang.capsule.library.utils.AnimUtils
 
fadeIn(Context, View, double, double, Animation.AnimationListener) - Static method in class ca.allanwang.capsule.library.utils.AnimUtils
 
fadeInAnimation(Context, double, double) - Static method in class ca.allanwang.capsule.library.utils.AnimUtils
 
fadeInAnimation(Context, double, double, Animation.AnimationListener) - Static method in class ca.allanwang.capsule.library.utils.AnimUtils
 
fadeOut(Context, View, double, double) - Static method in class ca.allanwang.capsule.library.utils.AnimUtils
 
fadeOut(Context, View, double, double, Animation.AnimationListener) - Static method in class ca.allanwang.capsule.library.utils.AnimUtils
 
fadeOutAnimation(Context, double, double) - Static method in class ca.allanwang.capsule.library.utils.AnimUtils
 
fadeOutAnimation(Context, double, double, Animation.AnimationListener) - Static method in class ca.allanwang.capsule.library.utils.AnimUtils
 

G

getAccountHeaderBuilder() - Method in class ca.allanwang.capsule.library.activities.CapsuleActivityFrame
Sets up account header will not be added if null
getAdapter(Context) - Method in class ca.allanwang.capsule.library.fragments.SwipeRecyclerFragment
Return adapter used for the recyclerview
getAnimators(View) - Method in class ca.allanwang.capsule.library.adapters.CapsuleAdapter.Animations
Animation for new items Default is fade in
getAppPackageName(Context) - Static method in class ca.allanwang.capsule.library.utils.Utils
 
getAppVersion(Context) - Static method in class ca.allanwang.capsule.library.utils.Utils
Returns app version name
getBackgroundColor(Context) - Static method in class ca.allanwang.capsule.library.utils.ColourUtils
 
getBoolean(String, boolean) - Method in class ca.allanwang.capsule.library.utils.CPrefs
 
getBundle() - Method in class ca.allanwang.capsule.library.utils.ParcelUtils
 
getColor(Context, int, int) - Static method in class ca.allanwang.capsule.library.utils.ContextUtils
 
getContentViewId() - Method in class ca.allanwang.capsule.library.activities.CapsuleActivityFrame
 
getCount() - Method in class ca.allanwang.capsule.library.adapters.ViewPagerAdapter
Return the number of views available.
getCurrentPage() - Method in class ca.allanwang.capsule.library.adapters.ViewPagerAdapter
 
getDeniedPermissions() - Method in class ca.allanwang.capsule.library.permissions.PermissionResult
 
getDrawerItems() - Method in class ca.allanwang.capsule.library.activities.CapsuleActivityFrame
Sets up array of drawer items
getDrawerPositionFromId(int) - Method in class ca.allanwang.capsule.library.activities.CapsuleActivityFrame
 
getFab() - Method in interface ca.allanwang.capsule.library.interfaces.CActivityCore
 
getFabId() - Method in class ca.allanwang.capsule.library.activities.CapsuleActivityFrame
 
getFragment() - Method in interface ca.allanwang.capsule.library.interfaces.CDrawerItem
 
getFragment() - Method in interface ca.allanwang.capsule.library.interfaces.CPage
 
getFragment() - Method in class ca.allanwang.capsule.library.item.PageItem
 
getFragmentId() - Method in class ca.allanwang.capsule.library.activities.CapsuleActivityFrame
 
getGrantedPermissions() - Method in class ca.allanwang.capsule.library.permissions.PermissionResult
 
getHeaderEmail() - Method in class ca.allanwang.capsule.library.activities.CapsuleActivityFrame.AccountHeaderChanger
 
getHeaderName() - Method in class ca.allanwang.capsule.library.activities.CapsuleActivityFrame.AccountHeaderChanger
 
getIcon() - Method in interface ca.allanwang.capsule.library.interfaces.CDrawerItem
 
getIcon() - Method in class ca.allanwang.capsule.library.item.DrawerItem
 
getInt(String, int) - Method in class ca.allanwang.capsule.library.utils.CPrefs
 
getInternalRecyclerView() - Method in class ca.allanwang.capsule.library.views.SwipeRefreshRecyclerView
 
getItem(int) - Method in class ca.allanwang.capsule.library.adapters.CapsuleAdapter
 
getItem(int) - Method in class ca.allanwang.capsule.library.adapters.ViewPagerAdapter
Return the Fragment associated with a specified position.
getItemCount() - Method in class ca.allanwang.capsule.library.adapters.CapsuleAdapter
returns the size of the adapter's data set (invoked by layout manager)
getItemViewType(int) - Method in class ca.allanwang.capsule.library.adapters.CapsuleAdapter
 
getLastDrawerPosition() - Method in class ca.allanwang.capsule.library.activities.CapsuleActivityFrame
 
getLayoutRes(int) - Method in class ca.allanwang.capsule.library.adapters.CapsuleAdapter
Return layoutRes for view at given position Can be different for different positions
getList() - Method in class ca.allanwang.capsule.library.adapters.CapsuleAdapter
 
getMap() - Method in class ca.allanwang.capsule.library.parcelable.maps.ParcelableMap
 
getMap(Bundle, String, Class<P>) - Static method in class ca.allanwang.capsule.library.utils.ParcelUtils
Get HashMap from parcel (watch out for casting)
getPageTitle(int) - Method in class ca.allanwang.capsule.library.adapters.ViewPagerAdapter
 
getPermissions(CPermissionCallback, int, String...) - Method in class ca.allanwang.capsule.library.fragments.CapsuleFragment
 
getPermissions() - Method in class ca.allanwang.capsule.library.permissions.PermissionResult
 
getPosition() - Method in class ca.allanwang.capsule.library.adapters.ViewPagerAdapter
 
getRecyclerAnimator() - Method in class ca.allanwang.capsule.library.fragments.SwipeRecyclerFragmentAnimated
Specify the itemAnimator Defaults to slide up
getString(String, String) - Method in class ca.allanwang.capsule.library.utils.CPrefs
 
getText(Context, String, int) - Static method in class ca.allanwang.capsule.library.utils.ContextUtils
 
getTitleId() - Method in class ca.allanwang.capsule.library.fragments.ViewPagerFragment
 
getTitleId() - Method in interface ca.allanwang.capsule.library.interfaces.CDrawerItem
Should match the fragment's getTitleId.
getTitleId() - Method in interface ca.allanwang.capsule.library.interfaces.CFragmentCore
 
getTitleId() - Method in class ca.allanwang.capsule.library.item.DrawerItem
 
getTitleId() - Method in class ca.allanwang.capsule.library.item.PageItem
 
getVersionCode() - Method in class ca.allanwang.capsule.library.utils.CPrefs
 

H

hasNetwork(Context) - Static method in class ca.allanwang.capsule.library.utils.Utils
 
hideFab() - Method in class ca.allanwang.capsule.library.fragments.CapsuleFragment
 
hideFab() - Static method in class ca.allanwang.capsule.library.utils.EventUtils
 
hideRefresh() - Method in class ca.allanwang.capsule.library.fragments.SwipeRecyclerFragment
 
hideRefresh() - Method in class ca.allanwang.capsule.library.fragments.SwipeRecyclerFragmentAnimated
 

I

i(String, Object...) - Static method in class ca.allanwang.capsule.library.logging.CLog
 
iconDrawable(Context, IIcon) - Static method in class ca.allanwang.capsule.library.utils.ViewUtils
 
iconDrawable(Context, IIcon, int) - Static method in class ca.allanwang.capsule.library.utils.ViewUtils
 
inflate(int) - Method in class ca.allanwang.capsule.library.fragments.SwipeRecyclerFragment
Helper method to inflate view from inner LinearLayout (cLinear)
inflateViewHolder(View, int) - Method in class ca.allanwang.capsule.library.adapters.CapsuleAdapter
Create ViewHolder (within onCreateViewHolder) eg return new ViewHolder(view, layoutId);
INFO - Static variable in class ca.allanwang.capsule.library.logging.CLog
 
isAllGranted() - Method in class ca.allanwang.capsule.library.permissions.PermissionResult
 
isAppInstalled(Context, String) - Static method in class ca.allanwang.capsule.library.utils.Utils
Checks if a given package is installed
isKitkatPlus() - Static method in class ca.allanwang.capsule.library.utils.Utils
 
isLollipopPlus() - Static method in class ca.allanwang.capsule.library.utils.Utils
 
isPackageInstalled(String, String) - Method in class ca.allanwang.capsule.library.utils.EmailBuilder
Checks is package is installed and appends to package list
isPrimary() - Method in interface ca.allanwang.capsule.library.interfaces.CDrawerItem
 
isPrimary() - Method in class ca.allanwang.capsule.library.item.DrawerItem
 
isScrollAllowed() - Method in class ca.allanwang.capsule.library.custom.CapsuleCoordinatorLayout
 

L

load(FloatingActionButton) - Method in class ca.allanwang.capsule.library.event.CFabEvent
Modifies the passed fab based on the event
load(View) - Method in class ca.allanwang.capsule.library.event.SnackbarEvent
 
log(int, String, String, Throwable) - Method in interface ca.allanwang.capsule.library.logging.CallbackLogTree.Callback
 
log(int, String, String, Throwable) - Method in class ca.allanwang.capsule.library.logging.CallbackLogTree
 
log(int, String, String, Throwable) - Method in class ca.allanwang.capsule.library.logging.CLogTree
Special logging tree that only logs Capsule related logs

M

mAnimations - Variable in class ca.allanwang.capsule.library.adapters.CapsuleAdapter
 
MIDDLE - Static variable in class ca.allanwang.capsule.library.views.RippleCanvas
 

O

onAttach(Context) - Method in class ca.allanwang.capsule.library.fragments.CapsuleFragment
 
onBackPressed() - Method in class ca.allanwang.capsule.library.activities.CapsuleActivityFrame
 
onClick(View, float, float) - Method in interface ca.allanwang.capsule.library.utils.ViewUtils.OnClickPositionListener
 
onCreate(Bundle) - Method in class ca.allanwang.capsule.library.activities.CapsuleActivity
 
onCreate(Bundle) - Method in class ca.allanwang.capsule.library.activities.CapsuleActivityFrame
 
onCreateDialog(Bundle) - Method in class ca.allanwang.capsule.library.changelog.ChangelogDialog
 
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class ca.allanwang.capsule.library.fragments.SwipeRecyclerFragment
 
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class ca.allanwang.capsule.library.fragments.ViewPagerFragment
 
onCreateViewHolder(ViewGroup, int) - Method in class ca.allanwang.capsule.library.adapters.CapsuleAdapter
 
onDraw(Canvas) - Method in class ca.allanwang.capsule.library.views.RippleCanvas
 
onFinish(View) - Method in interface ca.allanwang.capsule.library.utils.AnimUtils.ViewCallback
 
onInterceptTouchEvent(MotionEvent) - Method in class ca.allanwang.capsule.library.custom.CapsuleCoordinatorLayout
 
onInterceptTouchEvent(MotionEvent) - Method in class ca.allanwang.capsule.library.views.SwipeRefreshRecyclerView
 
onNeutralButtonClick() - Method in interface ca.allanwang.capsule.library.changelog.ChangelogDialog.OnChangelogNeutralButtonClick
 
onPageScrolled(int, float, int) - Method in class ca.allanwang.capsule.library.adapters.ViewPagerAdapter
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 scroll.
onPageScrollStateChanged(int) - Method in class ca.allanwang.capsule.library.adapters.ViewPagerAdapter
Called when the scroll state changes.
onPageSelected(int) - Method in class ca.allanwang.capsule.library.adapters.ViewPagerAdapter
This method will be invoked when a new page becomes selected.
onRecyclerViewBound(RecyclerView) - Method in class ca.allanwang.capsule.library.fragments.SwipeRecyclerFragment
Additional method to modify the recyclerView once it is created
onRecyclerViewBound(RecyclerView) - Method in class ca.allanwang.capsule.library.fragments.SwipeRecyclerFragmentAnimated
 
onRefresh() - Method in class ca.allanwang.capsule.library.fragments.SwipeRecyclerFragmentAnimated
 
onResult() - Method in interface ca.allanwang.capsule.library.interfaces.CCallback
 
onResult(PermissionResult) - Method in interface ca.allanwang.capsule.library.permissions.CPermissionCallback
 
onSaveInstanceState(Bundle) - Method in class ca.allanwang.capsule.library.activities.CapsuleActivityFrame
 
onSelected() - Method in class ca.allanwang.capsule.library.fragments.CapsulePageFragment
 
onSelected() - Method in interface ca.allanwang.capsule.library.interfaces.CPageFragment
 
onStartNestedScroll(View, View, int) - Method in class ca.allanwang.capsule.library.custom.CapsuleCoordinatorLayout
 
onViewCreated(View, Bundle) - Method in class ca.allanwang.capsule.library.fragments.CapsulePreferenceFragment
 
onViewCreated(View, Bundle) - Method in class ca.allanwang.capsule.library.fragments.SwipeRecyclerFragmentAnimated
By default, we'll update the list as soon as possible

P

PageItem - Class in ca.allanwang.capsule.library.item
Created by Allan Wang on 2016-10-30.
PageItem(CapsulePageFragment, int) - Constructor for class ca.allanwang.capsule.library.item.PageItem
 
ParcelableHashMap<K,V> - Class in ca.allanwang.capsule.library.parcelable.maps
Created by Allan Wang on 2016-12-28.
ParcelableHashMap(HashMap<K, V>) - Constructor for class ca.allanwang.capsule.library.parcelable.maps.ParcelableHashMap
 
ParcelableHashMap(Parcel) - Constructor for class ca.allanwang.capsule.library.parcelable.maps.ParcelableHashMap
 
ParcelableMap<K,V,M extends java.util.Map<K,V>> - Class in ca.allanwang.capsule.library.parcelable.maps
Created by Allan Wang on 2016-12-28.
ParcelableMap(M) - Constructor for class ca.allanwang.capsule.library.parcelable.maps.ParcelableMap
 
ParcelableMap(Parcel) - Constructor for class ca.allanwang.capsule.library.parcelable.maps.ParcelableMap
 
ParcelUtils<T extends Fragment> - Class in ca.allanwang.capsule.library.utils
Created by Allan Wang on 2016-12-28.
ParcelUtils() - Constructor for class ca.allanwang.capsule.library.utils.ParcelUtils
 
ParcelUtils(T) - Constructor for class ca.allanwang.capsule.library.utils.ParcelUtils
 
PermissionResult - Class in ca.allanwang.capsule.library.permissions
Created by Allan Wang on 2016-08-21.
PermissionResult(String[], int) - Constructor for class ca.allanwang.capsule.library.permissions.PermissionResult
 
PermissionResult(String[], int[], String[]) - Constructor for class ca.allanwang.capsule.library.permissions.PermissionResult
 
post(Object) - Static method in class ca.allanwang.capsule.library.utils.EventUtils
 
postEvent(Object) - Method in class ca.allanwang.capsule.library.fragments.CapsuleFragment
 
postEvent(Object) - Method in class ca.allanwang.capsule.library.fragments.CapsulePreferenceFragment
 
PREFERENCES_NAME - Static variable in class ca.allanwang.capsule.library.utils.CPrefs
 
putBoolean(String, boolean) - Method in class ca.allanwang.capsule.library.utils.ParcelUtils
 
putBundle(Bundle) - Method in class ca.allanwang.capsule.library.utils.ParcelUtils
 
putInt(String, int) - Method in class ca.allanwang.capsule.library.utils.ParcelUtils
 
putMap(String, ParcelableMap<K, V, M>) - Method in class ca.allanwang.capsule.library.utils.ParcelUtils
 
putNullStatus(String, Object...) - Method in class ca.allanwang.capsule.library.utils.ParcelUtils
putBoolean, where it puts true if all objects are nonnull and false if otherwise
putParcelable(String, Parcelable) - Method in class ca.allanwang.capsule.library.utils.ParcelUtils
 
putParcelableArray(String, Parcelable[]) - Method in class ca.allanwang.capsule.library.utils.ParcelUtils
 
putParcelableArrayList(String, ArrayList<? extends Parcelable>) - Method in class ca.allanwang.capsule.library.utils.ParcelUtils
 
putString(String, String) - Method in class ca.allanwang.capsule.library.utils.ParcelUtils
 
pxToDp(int) - Static method in class ca.allanwang.capsule.library.utils.ViewUtils
 

R

randomDarkColor() - Static method in class ca.allanwang.capsule.library.utils.ColourUtils
 
randomLightColor() - Static method in class ca.allanwang.capsule.library.utils.ColourUtils
 
readKeyFromParcel(Parcel) - Method in class ca.allanwang.capsule.library.parcelable.maps.ParcelableMap
 
readValueFromParcel(Parcel) - Method in class ca.allanwang.capsule.library.parcelable.maps.ParcelableMap
 
reload() - Method in class ca.allanwang.capsule.library.activities.CapsuleActivityFrame
 
removeItem(T) - Method in class ca.allanwang.capsule.library.adapters.CapsuleAdapter
 
removeItem(int, T) - Method in class ca.allanwang.capsule.library.adapters.CapsuleAdapter
 
requestPermission(CPermissionCallback, int, String...) - Method in interface ca.allanwang.capsule.library.interfaces.CActivityCore
Modified permission request method
ResUtils - Class in ca.allanwang.capsule.library.utils
Created by Allan Wang on 2016-11-14.
ResUtils() - Constructor for class ca.allanwang.capsule.library.utils.ResUtils
 
ripple(int, float, float, int) - Method in class ca.allanwang.capsule.library.views.RippleCanvas
 
ripple(int, float, float) - Method in class ca.allanwang.capsule.library.views.RippleCanvas
 
ripple(int) - Method in class ca.allanwang.capsule.library.views.RippleCanvas
 
RippleCanvas - Class in ca.allanwang.capsule.library.views
Created by Allan Wang on 2016-11-17.
RippleCanvas(Context) - Constructor for class ca.allanwang.capsule.library.views.RippleCanvas
 
RippleCanvas(Context, AttributeSet) - Constructor for class ca.allanwang.capsule.library.views.RippleCanvas
 
RippleCanvas(Context, AttributeSet, int) - Constructor for class ca.allanwang.capsule.library.views.RippleCanvas
 
rootCircularReview(View) - Static method in class ca.allanwang.capsule.library.utils.AnimUtils
 
rootCircularReview(View, int, int) - Static method in class ca.allanwang.capsule.library.utils.AnimUtils
 

S

s(int) - Method in class ca.allanwang.capsule.library.fragments.BaseFragment
 
s(int) - Method in class ca.allanwang.capsule.library.fragments.CapsulePreferenceFragment
 
s(Context, int) - Static method in class ca.allanwang.capsule.library.utils.ResUtils
 
selectDrawerItem(int) - Method in class ca.allanwang.capsule.library.activities.CapsuleActivityFrame
 
selectDrawerItem(CDrawerItem) - Method in class ca.allanwang.capsule.library.activities.CapsuleActivityFrame
 
selectDrawerItemFromId(int) - Method in class ca.allanwang.capsule.library.activities.CapsuleActivityFrame
 
sequentialFadeIn(Context, View[], int) - Static method in class ca.allanwang.capsule.library.utils.AnimUtils
 
set(int) - Method in class ca.allanwang.capsule.library.views.RippleCanvas
 
setAction(String, View.OnClickListener) - Method in class ca.allanwang.capsule.library.event.SnackbarEvent
 
setAction(int, View.OnClickListener) - Method in class ca.allanwang.capsule.library.event.SnackbarEvent
 
setAdapter(Context, FragmentManager, ViewPager, List<CPage>) - Method in class ca.allanwang.capsule.library.fragments.ViewPagerFragment
Method for adapter retrieval; can be overriden
setBackgroundColor(int) - Method in class ca.allanwang.capsule.library.event.CFabEvent
Optional color change
setBackgroundColorRes(int) - Method in class ca.allanwang.capsule.library.event.CFabEvent
Optional color change
setBoolean(String, boolean) - Method in class ca.allanwang.capsule.library.utils.CPrefs
 
setColor(int) - Method in class ca.allanwang.capsule.library.event.SnackbarEvent
 
setColorRes(int) - Method in class ca.allanwang.capsule.library.event.SnackbarEvent
 
setDuration(int) - Method in class ca.allanwang.capsule.library.adapters.CapsuleAdapter.Animations
 
setDuration(int) - Method in class ca.allanwang.capsule.library.event.SnackbarEvent
 
setFabIcon(IIcon) - Method in class ca.allanwang.capsule.library.fragments.CapsuleFragment
 
setFirstOnly(boolean) - Method in class ca.allanwang.capsule.library.adapters.CapsuleAdapter.Animations
 
setInt(String, int) - Method in class ca.allanwang.capsule.library.utils.CPrefs
 
setInternalRecyclerView(RecyclerView) - Method in class ca.allanwang.capsule.library.views.SwipeRefreshRecyclerView
 
setInterpolator(Interpolator) - Method in class ca.allanwang.capsule.library.adapters.CapsuleAdapter.Animations
 
setNeutralCallback(ChangelogDialog.OnChangelogNeutralButtonClick) - Method in class ca.allanwang.capsule.library.changelog.ChangelogDialog
 
setOnClickPositionListener(View, ViewUtils.OnClickPositionListener) - Static method in class ca.allanwang.capsule.library.utils.ViewUtils
Like an onClick listener but with coordinates; tap down only
setPages() - Method in class ca.allanwang.capsule.library.fragments.ViewPagerFragment
 
setScrollAllowed(boolean) - Method in class ca.allanwang.capsule.library.custom.CapsuleCoordinatorLayout
 
setStartPosition(int) - Method in class ca.allanwang.capsule.library.adapters.CapsuleAdapter.Animations
 
setString(String, String) - Method in class ca.allanwang.capsule.library.utils.CPrefs
 
setSubtitle(int) - Method in class ca.allanwang.capsule.library.activities.CapsuleActivityFrame.AccountHeaderChanger
 
setSubtitle(String) - Method in class ca.allanwang.capsule.library.activities.CapsuleActivityFrame.AccountHeaderChanger
 
setTitle(int) - Method in class ca.allanwang.capsule.library.activities.CapsuleActivityFrame.AccountHeaderChanger
 
setTitle(String) - Method in class ca.allanwang.capsule.library.activities.CapsuleActivityFrame.AccountHeaderChanger
 
setupAccountHeaderFurther(CapsuleActivityFrame.AccountHeaderChanger) - Method in class ca.allanwang.capsule.library.activities.CapsuleActivityFrame
Optional helper to further setup account header details
setupDrawerFurther(DrawerBuilder) - Method in class ca.allanwang.capsule.library.activities.CapsuleActivityFrame
For any extra drawer changes
setVersionCode(int) - Method in class ca.allanwang.capsule.library.utils.CPrefs
 
show(FragmentActivity, int, ChangelogDialog.OnChangelogNeutralButtonClick) - Static method in class ca.allanwang.capsule.library.changelog.ChangelogDialog
 
showFab() - Method in class ca.allanwang.capsule.library.fragments.CapsuleFragment
 
showRefresh() - Method in class ca.allanwang.capsule.library.fragments.SwipeRecyclerFragment
 
showRefresh() - Method in class ca.allanwang.capsule.library.fragments.SwipeRecyclerFragmentAnimated
 
slideEnter(View) - Static method in class ca.allanwang.capsule.library.utils.AnimUtils
 
slideExit(View, AnimUtils.ViewCallback) - Static method in class ca.allanwang.capsule.library.utils.AnimUtils
 
snackbar(SnackbarEvent) - Method in class ca.allanwang.capsule.library.fragments.CapsuleFragment
 
SnackbarEvent - Class in ca.allanwang.capsule.library.event
Created by Allan Wang on 2016-11-14.
SnackbarEvent(String, Object...) - Constructor for class ca.allanwang.capsule.library.event.SnackbarEvent
 
SnackbarEvent(int) - Constructor for class ca.allanwang.capsule.library.event.SnackbarEvent
 
SwipeRecyclerFragment<T,V extends CapsuleViewHolder> - Class in ca.allanwang.capsule.library.fragments
Created by Allan Wang on 2016-12-21.
SwipeRecyclerFragment() - Constructor for class ca.allanwang.capsule.library.fragments.SwipeRecyclerFragment
 
SwipeRecyclerFragmentAnimated<T,V extends CapsuleViewHolder> - Class in ca.allanwang.capsule.library.fragments
Created by Allan Wang on 2016-12-21.
SwipeRecyclerFragmentAnimated() - Constructor for class ca.allanwang.capsule.library.fragments.SwipeRecyclerFragmentAnimated
 
SwipeRefreshRecyclerView - Class in ca.allanwang.capsule.library.views
Created by Allan Wang on 2016-12-21.
SwipeRefreshRecyclerView(Context) - Constructor for class ca.allanwang.capsule.library.views.SwipeRefreshRecyclerView
 
SwipeRefreshRecyclerView(Context, AttributeSet) - Constructor for class ca.allanwang.capsule.library.views.SwipeRefreshRecyclerView
 
switchFragment(Fragment) - Method in class ca.allanwang.capsule.library.activities.CapsuleActivity
Changes fragment in base view to new fragment
switchFragment(Fragment, int, int) - Method in class ca.allanwang.capsule.library.activities.CapsuleActivity
Switch fragment.
switchFragment(Fragment, int, int, int, int) - Method in class ca.allanwang.capsule.library.activities.CapsuleActivity
Switch fragment.
switchFragment(Fragment) - Method in class ca.allanwang.capsule.library.activities.CapsuleActivityFrame
 

U

updateFab() - Method in class ca.allanwang.capsule.library.fragments.CapsuleFragment
 
updateFab() - Method in class ca.allanwang.capsule.library.fragments.ViewPagerFragment
 
updateFabShell() - Method in class ca.allanwang.capsule.library.fragments.CapsuleFragment
 
updateFabShell() - Method in class ca.allanwang.capsule.library.fragments.CapsulePageFragment
 
updateItem(int, T) - Method in class ca.allanwang.capsule.library.adapters.CapsuleAdapter
 
updateList(List<T>) - Method in class ca.allanwang.capsule.library.adapters.CapsuleAdapter
 
updateList(List<T>) - Method in class ca.allanwang.capsule.library.fragments.SwipeRecyclerFragmentAnimated
Create new list and update cAdapter
updateListShell() - Method in class ca.allanwang.capsule.library.fragments.SwipeRecyclerFragmentAnimated
 
Utils - Class in ca.allanwang.capsule.library.utils
Created by Allan Wang on 2016-12-21.
Utils() - Constructor for class ca.allanwang.capsule.library.utils.Utils
 

V

v(String, Object...) - Static method in class ca.allanwang.capsule.library.logging.CLog
 
valueOf(String) - Static method in enum ca.allanwang.capsule.library.cards.CardType
Returns the enum constant of this type with the specified name.
values() - Static method in enum ca.allanwang.capsule.library.cards.CardType
Returns an array containing the constants of this enum type, in the order they are declared.
VERBOSE - Static variable in class ca.allanwang.capsule.library.logging.CLog
 
VERSION_CODE - Static variable in class ca.allanwang.capsule.library.utils.CPrefs
 
ViewPagerAdapter - Class in ca.allanwang.capsule.library.adapters
Created by Allan Wang on 2016-10-30.
ViewPagerAdapter(Context, FragmentManager, ViewPager, List<CPage>) - Constructor for class ca.allanwang.capsule.library.adapters.ViewPagerAdapter
 
ViewPagerFragment - Class in ca.allanwang.capsule.library.fragments
Created by Allan Wang on 2016-08-19.
ViewPagerFragment() - Constructor for class ca.allanwang.capsule.library.fragments.ViewPagerFragment
 
viewPagerSetup(ViewPager, int) - Method in class ca.allanwang.capsule.library.fragments.ViewPagerFragment
Optional helper method to modify the viewpager after it is created eg setOffscreenPageLimit
ViewUtils - Class in ca.allanwang.capsule.library.utils
Created by Allan Wang on 2016-10-30.
ViewUtils() - Constructor for class ca.allanwang.capsule.library.utils.ViewUtils
 
ViewUtils.OnClickPositionListener - Interface in ca.allanwang.capsule.library.utils
 

W

w(String, Object...) - Static method in class ca.allanwang.capsule.library.logging.CLog
 
WARN - Static variable in class ca.allanwang.capsule.library.logging.CLog
 
writeKeyToParcel(Parcel, K, int) - Method in class ca.allanwang.capsule.library.parcelable.maps.ParcelableMap
 
writeToParcel(Parcel, int) - Method in class ca.allanwang.capsule.library.parcelable.maps.ParcelableMap
 
writeValueToParcel(Parcel, V, int) - Method in class ca.allanwang.capsule.library.parcelable.maps.ParcelableMap
 
A B C D E F G H I L M O P R S U V W 
Skip navigation links