Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bendemboski/DateSlider
/ functions
Functions
132 in github.com/bendemboski/DateSlider
⨍
Functions
132
◇
Types & classes
31
↓ 15 callers
Method
getEndTime
Get the end time of this TimeView @return
src/com/googlecode/android/widgets/DateSlider/timeview/TimeView.java:59
↓ 15 callers
Method
getStartTime
Get the start time of this TimeView @return
src/com/googlecode/android/widgets/DateSlider/timeview/TimeView.java:54
↓ 14 callers
Method
setText
sets the TextView texts by splitting the text into two
src/com/googlecode/android/widgets/DateSlider/timeview/TimeLayoutView.java:91
↓ 9 callers
Method
setVals
Sets this TimeView to display the contents of the specified TimeObject. @param to The TimeObject to use to populate this TimeView
src/com/googlecode/android/widgets/DateSlider/timeview/TimeView.java:36
↓ 8 callers
Method
add
This method adds "val" time units (where a time unit is the amount of time that separates one TimeView generated by this labeler from the next -- e.g.
src/com/googlecode/android/widgets/DateSlider/labeler/Labeler.java:75
↓ 7 callers
Method
add
(long time, int val, int field)
src/com/googlecode/android/widgets/DateSlider/labeler/Util.java:138
↓ 5 callers
Method
getTime
(Calendar c, String formatString, int minuteInterval)
src/com/googlecode/android/widgets/DateSlider/labeler/Util.java:121
↓ 4 callers
Method
reScrollTo
core scroll function which will replace and move TimeTextViews so that they don't get scrolled out of the layout @param x @param y @param notify if f
src/com/googlecode/android/widgets/DateSlider/ScrollLayout.java:330
↓ 3 callers
Method
getTime
@return The currently displayed time
src/com/googlecode/android/widgets/DateSlider/DateSlider.java:150
↓ 3 callers
Method
getTimeText
Get a string containing the textual representation of this TimeView's time @return
src/com/googlecode/android/widgets/DateSlider/timeview/TimeView.java:49
↓ 3 callers
Method
isOutOfBounds
()
src/com/googlecode/android/widgets/DateSlider/timeview/TimeView.java:61
↓ 3 callers
Method
moveElements
when the scrolling procedure causes "steps" elements to fall out of the visible layout, all TimeTextViews swap their contents so that it appears that
src/com/googlecode/android/widgets/DateSlider/ScrollLayout.java:413
↓ 3 callers
Method
setOutOfBounds
(boolean outOfBounds)
src/com/googlecode/android/widgets/DateSlider/timeview/TimeView.java:62
↓ 2 callers
Method
add
(long time, int val)
src/com/googlecode/android/widgets/DateSlider/labeler/WeekLabeler.java:25
↓ 2 callers
Method
addMinutes
(long time, int minutes)
src/com/googlecode/android/widgets/DateSlider/labeler/Util.java:34
↓ 2 callers
Method
arrangeScrollers
Pushes our current time into all child ScrollLayouts, except the source of the time change (if specified) @param source The ScrollLayout that generat
src/com/googlecode/android/widgets/DateSlider/SliderContainer.java:138
↓ 2 callers
Method
colorMeSunday
this method is called when the current View takes a Sunday as time unit
src/com/googlecode/android/widgets/DateSlider/timeview/DayTimeLayoutView.java:47
↓ 2 callers
Method
colorMeWorkday
this method is called when the current View takes no Sunday as time unit
src/com/googlecode/android/widgets/DateSlider/timeview/DayTimeLayoutView.java:63
↓ 2 callers
Method
scrollTo
(int x, int y)
src/com/googlecode/android/widgets/DateSlider/ScrollLayout.java:314
↓ 2 callers
Method
setMaxTime
(long time)
src/com/googlecode/android/widgets/DateSlider/ScrollLayout.java:233
↓ 2 callers
Method
setMinTime
(long time)
src/com/googlecode/android/widgets/DateSlider/ScrollLayout.java:229
↓ 2 callers
Method
setTime
(long time)
src/com/googlecode/android/widgets/DateSlider/ScrollLayout.java:238
↓ 2 callers
Method
timeObjectfromCalendar
(Calendar c)
src/com/googlecode/android/widgets/DateSlider/labeler/TimeLabeler.java:39
↓ 1 callers
Method
addDays
(long time, int days)
src/com/googlecode/android/widgets/DateSlider/labeler/Util.java:26
↓ 1 callers
Method
addHours
(long time, int hours)
src/com/googlecode/android/widgets/DateSlider/labeler/Util.java:30
↓ 1 callers
Method
addMonths
(long time, int months)
src/com/googlecode/android/widgets/DateSlider/labeler/Util.java:18
↓ 1 callers
Method
addWeeks
(long time, int days)
src/com/googlecode/android/widgets/DateSlider/labeler/Util.java:22
↓ 1 callers
Method
addYears
(long time, int years)
src/com/googlecode/android/widgets/DateSlider/labeler/Util.java:14
↓ 1 callers
Method
createView
Returns a new TimeView instance appropriate for population using TimeObjects retrieved from {@link #getElem(long)}. @param context @param isCenterVie
src/com/googlecode/android/widgets/DateSlider/labeler/Labeler.java:58
↓ 1 callers
Method
fling
causes the underlying mScroller to do a fling action which will be recovered in the computeScroll method @param velocityX
src/com/googlecode/android/widgets/DateSlider/ScrollLayout.java:512
↓ 1 callers
Method
getDay
(Calendar c, String formatString)
src/com/googlecode/android/widgets/DateSlider/labeler/Util.java:69
↓ 1 callers
Method
getElem
Converts from a time to a TimeObject according to the rules of this labeler. @param time The time to display @return the TimeObject representing "tim
src/com/googlecode/android/widgets/DateSlider/labeler/Labeler.java:44
↓ 1 callers
Method
getHour
(Calendar c, String formatString)
src/com/googlecode/android/widgets/DateSlider/labeler/Util.java:84
↓ 1 callers
Method
getMinute
(Calendar c, String formatString)
src/com/googlecode/android/widgets/DateSlider/labeler/Util.java:100
↓ 1 callers
Method
getMonth
(Calendar c, String formatString)
src/com/googlecode/android/widgets/DateSlider/labeler/Util.java:55
↓ 1 callers
Method
getPreferredViewHeight
This method return the preferred width of TimeViews labeled by this labeler. @param context @return The preferred width, in pixels
src/com/googlecode/android/widgets/DateSlider/labeler/Labeler.java:102
↓ 1 callers
Method
getPreferredViewWidth
This method return the preferred width of TimeViews labeled by this labeler. @param context @return The preferred width, in pixels
src/com/googlecode/android/widgets/DateSlider/labeler/Labeler.java:92
↓ 1 callers
Method
getYear
(Calendar c, String formatString)
src/com/googlecode/android/widgets/DateSlider/labeler/Util.java:42
↓ 1 callers
Method
onDateSet
this method is called when a date was selected by the user @param view the caller of the method
src/com/googlecode/android/widgets/DateSlider/DateSlider.java:175
↓ 1 callers
Method
onScroll
(long x)
src/com/googlecode/android/widgets/DateSlider/ScrollLayout.java:524
↓ 1 callers
Method
onTimeChange
(Calendar time)
src/com/googlecode/android/widgets/DateSlider/SliderContainer.java:162
↓ 1 callers
Method
setMinuteInterval
sets a new minuteInterval this requires us to update all the views, because they are still working with the old minuteInterval @param minInterval
src/com/googlecode/android/widgets/DateSlider/ScrollLayout.java:250
↓ 1 callers
Method
setMinuteInterval
This method sets a minute interval to only show multiples of this number in any minute slider @param minInterval
src/com/googlecode/android/widgets/DateSlider/labeler/Labeler.java:112
↓ 1 callers
Method
setOnScrollListener
(OnScrollListener l)
src/com/googlecode/android/widgets/DateSlider/ScrollLayout.java:519
↓ 1 callers
Method
setOnTimeChangeListener
Sets the OnTimeChangeListener, which will be notified anytime the time is set or changed. @param l
src/com/googlecode/android/widgets/DateSlider/SliderContainer.java:127
↓ 1 callers
Method
setTime
(Calendar c)
src/com/googlecode/android/widgets/DateSlider/DateSlider.java:114
↓ 1 callers
Method
setTitle
This method sets the title of the dialog
src/com/googlecode/android/widgets/DateSlider/DateSlider.java:157
↓ 1 callers
Method
setupView
Setting up the top TextView and bottom TextVew @param context @param isCenterView true if the element is the centered view in the ScrollLayout @param
src/com/googlecode/android/widgets/DateSlider/timeview/TimeLayoutView.java:47
↓ 1 callers
Method
setupView
this method should be overwritten by inheriting classes to define its own look and feel @param isCenterView true if the element is in the center of th
src/com/googlecode/android/widgets/DateSlider/timeview/TimeTextView.java:37
↓ 1 callers
Method
timeObjectfromCalendar
(Calendar c)
src/com/googlecode/android/widgets/DateSlider/labeler/MinuteLabeler.java:23
↓ 1 callers
Method
timeObjectfromCalendar
(Calendar c)
src/com/googlecode/android/widgets/DateSlider/labeler/MonthLabeler.java:23
↓ 1 callers
Method
timeObjectfromCalendar
This method converts from a calendar to a TimeObject -- it does the actual work of turning a point time into the range and display string that compons
src/com/googlecode/android/widgets/DateSlider/labeler/Labeler.java:84
↓ 1 callers
Method
timeObjectfromCalendar
(Calendar c)
src/com/googlecode/android/widgets/DateSlider/labeler/YearLabeler.java:23
↓ 1 callers
Method
timeObjectfromCalendar
We implement this as custom code rather than a method in Util because there is no format string that shows the week of the year as an integer, so we j
src/com/googlecode/android/widgets/DateSlider/labeler/WeekLabeler.java:35
↓ 1 callers
Method
timeObjectfromCalendar
(Calendar c)
src/com/googlecode/android/widgets/DateSlider/labeler/DayLabeler.java:23
↓ 1 callers
Method
timeObjectfromCalendar
(Calendar c)
src/com/googlecode/android/widgets/DateSlider/labeler/HourLabeler.java:23
Method
AlternativeDateSlider
(Context context, OnDateSetListener l, Calendar calendar)
src/com/googlecode/android/widgets/DateSlider/AlternativeDateSlider.java:28
Method
CustomDateSlider
(Context context, OnDateSetListener l, Calendar calendar)
src/com/googlecode/android/widgets/DateSlider/CustomDateSlider.java:28
Method
CustomTimeTextView
(Context context, boolean isCenterView, int textSize)
src/com/googlecode/android/widgets/DateSlider/labeler/WeekLabeler.java:64
Method
DateSlider
(Context context, int layoutID, OnDateSetListener l, Calendar initialTime)
src/com/googlecode/android/widgets/DateSlider/DateSlider.java:51
Method
DateTimeSlider
(Context context, OnDateSetListener l, Calendar calendar)
src/com/googlecode/android/widgets/DateSlider/DateTimeSlider.java:29
Method
DayDateLabeler
The format string that specifies how to display the day. Since this class uses a DayTimeLayoutView, the format string should consist of two strings se
src/com/googlecode/android/widgets/DateSlider/labeler/DayDateLabeler.java:19
Method
DayLabeler
(String formatString)
src/com/googlecode/android/widgets/DateSlider/labeler/DayLabeler.java:13
Method
DayTimeLayoutView
Constructor @param context @param isCenterView true if the element is the centered view in the ScrollLayout @param topTextSize text size of the top Te
src/com/googlecode/android/widgets/DateSlider/timeview/DayTimeLayoutView.java:25
Method
DefaultDateSlider
(Context context, OnDateSetListener l, Calendar calendar, Calendar minTime, Calendar maxTime)
src/com/googlecode/android/widgets/DateSlider/DefaultDateSlider.java:27
Method
HourLabeler
(String formatString)
src/com/googlecode/android/widgets/DateSlider/labeler/HourLabeler.java:13
Method
Labeler
@param viewWidthDB The default width of views labeled by this labeler in dp @param viewHeightDB The default height of views labeled by this labeler in
src/com/googlecode/android/widgets/DateSlider/labeler/Labeler.java:32
Method
MinuteLabeler
(String formatString)
src/com/googlecode/android/widgets/DateSlider/labeler/MinuteLabeler.java:13
Method
MonthLabeler
(String formatString)
src/com/googlecode/android/widgets/DateSlider/labeler/MonthLabeler.java:13
Method
MonthYearDateSlider
(Context context, OnDateSetListener l, Calendar calendar)
src/com/googlecode/android/widgets/DateSlider/MonthYearDateSlider.java:27
Method
MonthYearLabeler
The format string that specifies how to display the month. Since this class uses a TimeLayoutView, the format string should consist of two strings sep
src/com/googlecode/android/widgets/DateSlider/labeler/MonthYearLabeler.java:19
Method
ScrollLayout
(Context context, AttributeSet attrs)
src/com/googlecode/android/widgets/DateSlider/ScrollLayout.java:99
Method
SliderContainer
(Context context, AttributeSet attrs)
src/com/googlecode/android/widgets/DateSlider/SliderContainer.java:23
Method
TimeLabeler
(String formatString)
src/com/googlecode/android/widgets/DateSlider/labeler/TimeLabeler.java:17
Method
TimeLayoutView
constructor @param context @param isCenterView true if the element is the centered view in the ScrollLayout @param topTextSize text size of the top T
src/com/googlecode/android/widgets/DateSlider/timeview/TimeLayoutView.java:34
Method
TimeObject
(final CharSequence text, final long startTime, final long endTime)
src/com/googlecode/android/widgets/DateSlider/TimeObject.java:10
Method
TimeSlider
(Context context, OnDateSetListener l, Calendar calendar)
src/com/googlecode/android/widgets/DateSlider/TimeSlider.java:28
Method
TimeTextView
constructor @param context @param isCenterView true if the element is the centered view in the ScrollLayout @param textSize text size in dps
src/com/googlecode/android/widgets/DateSlider/timeview/TimeTextView.java:27
Method
WeekLabeler
(String formatString)
src/com/googlecode/android/widgets/DateSlider/labeler/WeekLabeler.java:20
Method
YearLabeler
(String formatString)
src/com/googlecode/android/widgets/DateSlider/labeler/YearLabeler.java:13
Method
add
(long time, int val)
src/com/googlecode/android/widgets/DateSlider/labeler/MinuteLabeler.java:18
Method
add
(long time, int val)
src/com/googlecode/android/widgets/DateSlider/labeler/MonthLabeler.java:18
Method
add
(long time, int val)
src/com/googlecode/android/widgets/DateSlider/labeler/TimeLabeler.java:22
Method
add
(long time, int val)
src/com/googlecode/android/widgets/DateSlider/labeler/YearLabeler.java:18
Method
add
(long time, int val)
src/com/googlecode/android/widgets/DateSlider/labeler/DayLabeler.java:18
Method
add
(long time, int val)
src/com/googlecode/android/widgets/DateSlider/labeler/HourLabeler.java:18
Method
computeScroll
scroll the element when the mScroller is still scrolling
src/com/googlecode/android/widgets/DateSlider/ScrollLayout.java:304
Method
createView
(Context context, boolean isCenterView)
src/com/googlecode/android/widgets/DateSlider/labeler/MonthYearLabeler.java:23
Method
createView
(Context context, boolean isCenterView)
src/com/googlecode/android/widgets/DateSlider/labeler/DayDateLabeler.java:23
Method
createView
create our customized TimeTextView and return it
src/com/googlecode/android/widgets/DateSlider/labeler/WeekLabeler.java:55
Method
dispatchDraw
(Canvas canvas)
src/com/googlecode/android/widgets/DateSlider/ScrollLayout.java:219
Method
getElem
override this method to set the inital TimeObject to a multiple of MINUTEINTERVAL
src/com/googlecode/android/widgets/DateSlider/labeler/TimeLabeler.java:30
Method
getEndTime
()
src/com/googlecode/android/widgets/DateSlider/timeview/TimeLayoutView.java:108
Method
getEndTime
()
src/com/googlecode/android/widgets/DateSlider/timeview/TimeTextView.java:67
Method
getStartTime
()
src/com/googlecode/android/widgets/DateSlider/timeview/TimeLayoutView.java:103
Method
getStartTime
()
src/com/googlecode/android/widgets/DateSlider/timeview/TimeTextView.java:62
Method
getTime
Get the current time @return The current time
src/com/googlecode/android/widgets/DateSlider/SliderContainer.java:62
Method
getTimeText
()
src/com/googlecode/android/widgets/DateSlider/timeview/TimeLayoutView.java:98
Method
getTimeText
()
src/com/googlecode/android/widgets/DateSlider/timeview/TimeTextView.java:72
Method
isOutOfBounds
()
src/com/googlecode/android/widgets/DateSlider/timeview/TimeLayoutView.java:112
next →
1–100 of 132, ranked by callers