MCPcopy Create free account

hub / github.com/NikoYuwono/static-progress-bar / functions

Functions20 in github.com/NikoYuwono/static-progress-bar

↓ 4 callersMethodsetMaximumPercentage
Set the maximum percentage for the progress @param percentage
StaticProgressBar/app/src/main/java/nayoso/staticprogressbar/CustomProgress.java:182
↓ 4 callersMethodsetProgressBackgroundColor
Set the background color @param color
StaticProgressBar/app/src/main/java/nayoso/staticprogressbar/CustomProgress.java:167
↓ 4 callersMethodsetProgressColor
Set the progress color @param color
StaticProgressBar/app/src/main/java/nayoso/staticprogressbar/CustomProgress.java:159
↓ 3 callersMethodisShowingPercentage
If this returns true the custom progress will show progress based on getCurrentPercentage() @return true for showing percentage false for not showing
StaticProgressBar/app/src/main/java/nayoso/staticprogressbar/CustomProgress.java:215
↓ 3 callersMethodsetDefaultValue
()
StaticProgressBar/app/src/main/java/nayoso/staticprogressbar/CustomProgress.java:73
↓ 2 callersMethodinitView
Initialize the view before it will be drawn
StaticProgressBar/app/src/main/java/nayoso/staticprogressbar/CustomProgress.java:110
↓ 2 callersMethoduseRoundedRectangleShape
Set the shape of custom progress to rounded rectangle @param cornerRadius radius of the corner
StaticProgressBar/app/src/main/java/nayoso/staticprogressbar/CustomProgress.java:205
↓ 1 callersMethodgetCurrentPercentage
Get current percentage based on current width @return
StaticProgressBar/app/src/main/java/nayoso/staticprogressbar/CustomProgress.java:190
↓ 1 callersMethodsetShowingPercentage
Set if the custom progress will show percentage or not @param showingPercentage true for showing percentage false for not showing anything
StaticProgressBar/app/src/main/java/nayoso/staticprogressbar/CustomProgress.java:223
MethodApplicationTest
()
StaticProgressBar/app/src/androidTest/java/nayoso/staticprogressbar/ApplicationTest.java:10
MethodCustomProgress
(Context context)
StaticProgressBar/app/src/main/java/nayoso/staticprogressbar/CustomProgress.java:58
MethodonCreate
(Bundle savedInstanceState)
StaticProgressBar/app/src/main/java/nayoso/staticprogressbar/SampleActivity.java:14
MethodonCreateOptionsMenu
(Menu menu)
StaticProgressBar/app/src/main/java/nayoso/staticprogressbar/SampleActivity.java:49
MethodonDraw
(Canvas canvas)
StaticProgressBar/app/src/main/java/nayoso/staticprogressbar/CustomProgress.java:88
MethodonLayout
(boolean changed, int l, int t, int r, int b)
StaticProgressBar/app/src/main/java/nayoso/staticprogressbar/CustomProgress.java:81
MethodonOptionsItemSelected
(MenuItem item)
StaticProgressBar/app/src/main/java/nayoso/staticprogressbar/SampleActivity.java:56
MethodresetWidth
Reset the progress to 0
StaticProgressBar/app/src/main/java/nayoso/staticprogressbar/CustomProgress.java:174
MethodsetSpeed
Set the speed of the movement of the progress @param speed as an int it should range from [1,100]
StaticProgressBar/app/src/main/java/nayoso/staticprogressbar/CustomProgress.java:230
MethodupdateView
call the function when you want to update view
StaticProgressBar/app/src/main/java/nayoso/staticprogressbar/CustomProgress.java:236
MethoduseRectangleShape
Set the shape of custom progress to rectangle
StaticProgressBar/app/src/main/java/nayoso/staticprogressbar/CustomProgress.java:197