├── app
├── .gitignore
├── libs
│ ├── MPAndroidChart-2.2.3
│ │ └── MPAndroidChart-2.2.3
│ │ │ ├── MPChartLib
│ │ │ ├── .gitignore
│ │ │ ├── ic_launcher-web.png
│ │ │ ├── .settings
│ │ │ │ └── gradle
│ │ │ │ │ └── org.springsource.ide.eclipse.gradle.core.prefs
│ │ │ ├── src
│ │ │ │ └── com
│ │ │ │ │ └── github
│ │ │ │ │ └── mikephil
│ │ │ │ │ └── charting
│ │ │ │ │ ├── interfaces
│ │ │ │ │ ├── dataprovider
│ │ │ │ │ │ ├── BubbleDataProvider.java
│ │ │ │ │ │ ├── CandleDataProvider.java
│ │ │ │ │ │ ├── ScatterDataProvider.java
│ │ │ │ │ │ ├── LineDataProvider.java
│ │ │ │ │ │ ├── BarDataProvider.java
│ │ │ │ │ │ ├── BarLineScatterCandleBubbleDataProvider.java
│ │ │ │ │ │ └── ChartInterface.java
│ │ │ │ │ └── datasets
│ │ │ │ │ │ ├── IRadarDataSet.java
│ │ │ │ │ │ ├── IBarLineScatterCandleBubbleDataSet.java
│ │ │ │ │ │ ├── IPieDataSet.java
│ │ │ │ │ │ ├── IBubbleDataSet.java
│ │ │ │ │ │ ├── IScatterDataSet.java
│ │ │ │ │ │ ├── ILineScatterCandleRadarDataSet.java
│ │ │ │ │ │ ├── ILineRadarDataSet.java
│ │ │ │ │ │ └── IBarDataSet.java
│ │ │ │ │ ├── formatter
│ │ │ │ │ ├── ColorFormatter.java
│ │ │ │ │ ├── DefaultXAxisValueFormatter.java
│ │ │ │ │ ├── YAxisValueFormatter.java
│ │ │ │ │ ├── FillFormatter.java
│ │ │ │ │ ├── XAxisValueFormatter.java
│ │ │ │ │ ├── DefaultYAxisValueFormatter.java
│ │ │ │ │ ├── PercentFormatter.java
│ │ │ │ │ ├── ValueFormatter.java
│ │ │ │ │ ├── DefaultFillFormatter.java
│ │ │ │ │ └── DefaultValueFormatter.java
│ │ │ │ │ ├── exception
│ │ │ │ │ └── DrawingDataSetNotCreatedException.java
│ │ │ │ │ ├── animation
│ │ │ │ │ └── EasingFunction.java
│ │ │ │ │ ├── listener
│ │ │ │ │ ├── OnDrawLineChartTouchListener.java
│ │ │ │ │ ├── OnChartValueSelectedListener.java
│ │ │ │ │ └── OnDrawListener.java
│ │ │ │ │ ├── utils
│ │ │ │ │ ├── EntryXIndexComparator.java
│ │ │ │ │ ├── PointD.java
│ │ │ │ │ ├── SelectionDetail.java
│ │ │ │ │ ├── FSize.java
│ │ │ │ │ └── TransformerHorizontalBarChart.java
│ │ │ │ │ ├── data
│ │ │ │ │ ├── realm
│ │ │ │ │ │ ├── implementation
│ │ │ │ │ │ │ ├── RealmPieData.java
│ │ │ │ │ │ │ ├── RealmBarData.java
│ │ │ │ │ │ │ ├── RealmLineData.java
│ │ │ │ │ │ │ ├── RealmRadarData.java
│ │ │ │ │ │ │ ├── RealmBubbleData.java
│ │ │ │ │ │ │ ├── RealmCandleData.java
│ │ │ │ │ │ │ └── RealmScatterData.java
│ │ │ │ │ │ └── base
│ │ │ │ │ │ │ └── RealmUtils.java
│ │ │ │ │ ├── RadarDataSet.java
│ │ │ │ │ ├── BarLineScatterCandleBubbleData.java
│ │ │ │ │ ├── BarLineScatterCandleBubbleDataSet.java
│ │ │ │ │ ├── CandleData.java
│ │ │ │ │ ├── RadarData.java
│ │ │ │ │ ├── LineData.java
│ │ │ │ │ ├── BubbleData.java
│ │ │ │ │ └── BubbleEntry.java
│ │ │ │ │ ├── jobs
│ │ │ │ │ ├── MoveViewJob.java
│ │ │ │ │ ├── AnimatedMoveViewJob.java
│ │ │ │ │ ├── ViewPortJob.java
│ │ │ │ │ └── AnimatedViewPortJob.java
│ │ │ │ │ ├── buffer
│ │ │ │ │ ├── CircleBuffer.java
│ │ │ │ │ ├── ScatterBuffer.java
│ │ │ │ │ └── LineBuffer.java
│ │ │ │ │ ├── highlight
│ │ │ │ │ └── Range.java
│ │ │ │ │ └── charts
│ │ │ │ │ └── CandleStickChart.java
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── project.properties
│ │ │ └── proguard-project.txt
│ │ │ ├── MPChartExample
│ │ │ ├── .gitignore
│ │ │ ├── assets
│ │ │ │ ├── stacked_bars.txt
│ │ │ │ ├── OpenSans-Bold.ttf
│ │ │ │ ├── OpenSans-Italic.ttf
│ │ │ │ ├── OpenSans-Light.ttf
│ │ │ │ ├── OpenSans-ExtraBold.ttf
│ │ │ │ ├── OpenSans-Regular.ttf
│ │ │ │ ├── OpenSans-Semibold.ttf
│ │ │ │ ├── OpenSans-BoldItalic.ttf
│ │ │ │ ├── OpenSans-LightItalic.ttf
│ │ │ │ ├── OpenSans-SemiboldItalic.ttf
│ │ │ │ └── OpenSans-ExtraBoldItalic.ttf
│ │ │ ├── ic_launcher-web.png
│ │ │ ├── libs
│ │ │ │ └── android-support-v4.jar
│ │ │ ├── res
│ │ │ │ ├── drawable-nodpi
│ │ │ │ │ ├── marker.png
│ │ │ │ │ └── marker2.png
│ │ │ │ ├── drawable-hdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── drawable-mdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── drawable-xhdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── drawable-xxhdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── values-sw600dp
│ │ │ │ │ └── dimens.xml
│ │ │ │ ├── menu
│ │ │ │ │ ├── realm.xml
│ │ │ │ │ ├── combined.xml
│ │ │ │ │ ├── realtime.xml
│ │ │ │ │ ├── main.xml
│ │ │ │ │ ├── dynamical.xml
│ │ │ │ │ ├── draw.xml
│ │ │ │ │ ├── bubble.xml
│ │ │ │ │ ├── scatter.xml
│ │ │ │ │ ├── candle.xml
│ │ │ │ │ ├── pie.xml
│ │ │ │ │ ├── bar.xml
│ │ │ │ │ ├── radar.xml
│ │ │ │ │ └── line.xml
│ │ │ │ ├── values
│ │ │ │ │ ├── dimens.xml
│ │ │ │ │ ├── strings.xml
│ │ │ │ │ └── styles.xml
│ │ │ │ ├── anim
│ │ │ │ │ ├── move_left_in_activity.xml
│ │ │ │ │ ├── move_left_out_activity.xml
│ │ │ │ │ ├── move_right_in_activity.xml
│ │ │ │ │ └── move_right_out_activity.xml
│ │ │ │ ├── drawable
│ │ │ │ │ ├── fade_red.xml
│ │ │ │ │ └── new_background.xml
│ │ │ │ ├── layout
│ │ │ │ │ ├── activity_main.xml
│ │ │ │ │ ├── activity_barchart_noseekbar.xml
│ │ │ │ │ ├── activity_combined.xml
│ │ │ │ │ ├── activity_draw_chart.xml
│ │ │ │ │ ├── activity_linechart_noseekbar.xml
│ │ │ │ │ ├── activity_piechart_noseekbar.xml
│ │ │ │ │ ├── activity_radarchart.xml
│ │ │ │ │ ├── activity_bubblechart_noseekbar.xml
│ │ │ │ │ ├── activity_radarchart_noseekbar.xml
│ │ │ │ │ ├── activity_scatterchart_noseekbar.xml
│ │ │ │ │ ├── activity_candlechart_noseekbar.xml
│ │ │ │ │ ├── activity_realtime_linechart.xml
│ │ │ │ │ ├── activity_horizontalbarchart_noseekbar.xml
│ │ │ │ │ ├── activity_listview_chart.xml
│ │ │ │ │ ├── list_item_barchart.xml
│ │ │ │ │ ├── list_item_linechart.xml
│ │ │ │ │ ├── list_item_piechart.xml
│ │ │ │ │ ├── frag_simple_pie.xml
│ │ │ │ │ ├── frag_simple_line.xml
│ │ │ │ │ ├── frag_simple_scatter.xml
│ │ │ │ │ ├── activity_age_distribution.xml
│ │ │ │ │ ├── activity_awesomedesign.xml
│ │ │ │ │ ├── frag_simple_bar.xml
│ │ │ │ │ ├── activity_realm_wiki.xml
│ │ │ │ │ ├── custom_marker_view.xml
│ │ │ │ │ ├── activity_colored_lines.xml
│ │ │ │ │ ├── activity_scrollview.xml
│ │ │ │ │ ├── activity_barchart_sinus.xml
│ │ │ │ │ └── activity_performance_linechart.xml
│ │ │ │ ├── values-sw720dp-land
│ │ │ │ │ └── dimens.xml
│ │ │ │ ├── values-v11
│ │ │ │ │ └── styles.xml
│ │ │ │ └── values-v14
│ │ │ │ │ └── styles.xml
│ │ │ ├── .settings
│ │ │ │ └── gradle
│ │ │ │ │ └── org.springsource.ide.eclipse.gradle.core.prefs
│ │ │ ├── src
│ │ │ │ └── com
│ │ │ │ │ └── xxmassdeveloper
│ │ │ │ │ └── mpchartexample
│ │ │ │ │ ├── notimportant
│ │ │ │ │ ├── ContentItem.java
│ │ │ │ │ └── DemoBase.java
│ │ │ │ │ ├── custom
│ │ │ │ │ ├── MyEasingFunction.java
│ │ │ │ │ ├── RealmFloat.java
│ │ │ │ │ ├── MyYAxisValueFormatter.java
│ │ │ │ │ ├── MyValueFormatter.java
│ │ │ │ │ ├── MyFillFormatter.java
│ │ │ │ │ └── MyCustomXAxisValueFormatter.java
│ │ │ │ │ ├── listviewitems
│ │ │ │ │ └── ChartItem.java
│ │ │ │ │ └── realm
│ │ │ │ │ └── Score.java
│ │ │ ├── project.properties
│ │ │ └── proguard-project.txt
│ │ │ ├── settings.gradle
│ │ │ ├── design
│ │ │ ├── facebook_icon.png
│ │ │ ├── header_symbol.png
│ │ │ ├── ic_launcher.psd
│ │ │ ├── twitter_icon.png
│ │ │ ├── feature_graphic.png
│ │ │ ├── feature_graphic.psd
│ │ │ ├── googleplus_icon.png
│ │ │ ├── video_thumbnail.png
│ │ │ └── video_thumbnail.psd
│ │ │ ├── screenshots
│ │ │ ├── barchart2d.png
│ │ │ ├── barchart3d.png
│ │ │ ├── linechart.png
│ │ │ ├── radarchart.png
│ │ │ ├── realm_wiki.png
│ │ │ ├── bubblechart.png
│ │ │ ├── scatterchart.png
│ │ │ ├── smart_legends.png
│ │ │ ├── ValueFormatter.jpg
│ │ │ ├── combined_chart.png
│ │ │ ├── cubiclinechart.png
│ │ │ ├── groupedbarchart.png
│ │ │ ├── candlestickchart.png
│ │ │ ├── linechart_colored.png
│ │ │ ├── linechart_legend.png
│ │ │ ├── piechart_selected.png
│ │ │ ├── candlestickchart_old.png
│ │ │ ├── horizontal_barchart.png
│ │ │ ├── line_chart_gradient.png
│ │ │ ├── linechart_multiline.png
│ │ │ ├── piechart_more_colors.png
│ │ │ ├── MPAndroidChart_trending.png
│ │ │ ├── simpledesign_barchart1.png
│ │ │ ├── simpledesign_barchart2.png
│ │ │ ├── simpledesign_barchart3.png
│ │ │ ├── simpledesign_linechart1.png
│ │ │ ├── simpledesign_linechart2.png
│ │ │ ├── simpledesign_linechart3.png
│ │ │ ├── simpledesign_linechart4.png
│ │ │ ├── simpledesign_linechart5.png
│ │ │ ├── simpledesign_piechart1.png
│ │ │ ├── barchart2d_multi_dataset.png
│ │ │ ├── piechart_holeradius_space.png
│ │ │ ├── zero_line_example_barchart.png
│ │ │ ├── barchart2d_multi_dataset_date1.png
│ │ │ ├── barchart2d_multi_dataset_date2.png
│ │ │ ├── tranding_developers_11_08_2014.png
│ │ │ ├── AndroidWeekly_Issue114_10082014.png
│ │ │ └── linechart_multiline_color_variations.png
│ │ │ ├── gradle
│ │ │ └── wrapper
│ │ │ │ ├── gradle-wrapper.jar
│ │ │ │ └── gradle-wrapper.properties
│ │ │ ├── .settings
│ │ │ └── gradle
│ │ │ │ └── org.springsource.ide.eclipse.gradle.core.prefs
│ │ │ ├── build.gradle
│ │ │ └── .gitignore
│ └── YouTubeAndroidPlayerApi.jar
├── src
│ ├── main
│ │ ├── res
│ │ │ ├── drawable
│ │ │ │ ├── hi.png
│ │ │ │ ├── add.png
│ │ │ │ ├── bmi.png
│ │ │ │ ├── circ.png
│ │ │ │ ├── foo.png
│ │ │ │ ├── food.png
│ │ │ │ ├── loc.png
│ │ │ │ ├── man.png
│ │ │ │ ├── man1.png
│ │ │ │ ├── slide.png
│ │ │ │ ├── univ.PNG
│ │ │ │ ├── voice.png
│ │ │ │ ├── addmat.png
│ │ │ │ ├── contact.png
│ │ │ │ ├── drawer.jpg
│ │ │ │ ├── header.jpg
│ │ │ │ ├── logout.png
│ │ │ │ ├── search.png
│ │ │ │ ├── stayfit.png
│ │ │ │ ├── summary.png
│ │ │ │ ├── appintro1.png
│ │ │ │ ├── appintro2.png
│ │ │ │ ├── appintro3.png
│ │ │ │ ├── appintro4.png
│ │ │ │ ├── appintro5.png
│ │ │ │ ├── calories.png
│ │ │ │ ├── foodedit.png
│ │ │ │ ├── icon_star.png
│ │ │ │ ├── icon_yoga.png
│ │ │ │ ├── location.jpg
│ │ │ │ ├── overview.png
│ │ │ │ ├── runimage.jpg
│ │ │ │ ├── settings.png
│ │ │ │ ├── sharerun1.png
│ │ │ │ ├── finalappicon.png
│ │ │ │ ├── ic_activity1.png
│ │ │ │ ├── ic_activity2.png
│ │ │ │ ├── ic_activity3.png
│ │ │ │ ├── icon_friend.png
│ │ │ │ ├── icon_linked.png
│ │ │ │ ├── icon_summary.png
│ │ │ │ ├── leaderboard1.png
│ │ │ │ ├── ic_action_edit.png
│ │ │ │ ├── ic_arrow_back.png
│ │ │ │ ├── icon_dumbbell.png
│ │ │ │ ├── icon_feedback.png
│ │ │ │ ├── icon_overview.png
│ │ │ │ ├── icon_settings.png
│ │ │ │ ├── icon_settings1.png
│ │ │ │ ├── image_sharrukh.jpg
│ │ │ │ ├── ic_action_next_item.png
│ │ │ │ ├── circle_activity1.xml
│ │ │ │ ├── circle_activity2.xml
│ │ │ │ ├── circle_activity3.xml
│ │ │ │ └── textbox_back.xml
│ │ │ ├── mipmap-hdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-mdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── color
│ │ │ │ └── stayfit_accent.xml
│ │ │ ├── values
│ │ │ │ ├── dimens.xml
│ │ │ │ ├── styles.xml
│ │ │ │ └── colors.xml
│ │ │ ├── values-w820dp
│ │ │ │ └── dimens.xml
│ │ │ ├── menu
│ │ │ │ ├── menu_main.xml
│ │ │ │ ├── menu_actionview.xml
│ │ │ │ └── drawer.xml
│ │ │ ├── layout
│ │ │ │ ├── activity_appintro.xml
│ │ │ │ ├── activity_chart.xml
│ │ │ │ ├── fragment_mapload.xml
│ │ │ │ ├── tab_fragment_2.xml
│ │ │ │ ├── tab_fragment_3.xml
│ │ │ │ ├── tab_fragment_1.xml
│ │ │ │ ├── activity_recycler_frag_change_main.xml
│ │ │ │ ├── header.xml
│ │ │ │ └── layout_viewpager.xml
│ │ │ └── anim
│ │ │ │ └── hyperspace_jump.xml
│ │ └── java
│ │ │ └── com
│ │ │ └── example
│ │ │ └── maddi
│ │ │ └── fitness
│ │ │ ├── Steps.java
│ │ │ ├── Calories.java
│ │ │ ├── User.java
│ │ │ ├── Constants.java
│ │ │ ├── PagerAdapter.java
│ │ │ └── EnterInfoActivity.java
│ ├── test
│ │ └── java
│ │ │ └── com
│ │ │ └── example
│ │ │ └── maddi
│ │ │ └── fitness
│ │ │ └── ExampleUnitTest.java
│ └── androidTest
│ │ └── java
│ │ └── com
│ │ └── example
│ │ └── maddi
│ │ └── fitness
│ │ └── ApplicationTest.java
└── proguard-rules.pro
├── settings.gradle
├── Screenshots
├── Phone Screenshot 1.jpg
├── Phone Screenshot 2.jpg
├── Phone Screenshot 3.jpg
├── Phone Screenshot 4.jpg
├── Phone Screenshot 5.jpg
├── Phone Screenshot 6.jpg
└── Phone Screenshot 7.jpg
├── gradle
└── wrapper
│ ├── gradle-wrapper.jar
│ └── gradle-wrapper.properties
├── progressviewslib
├── src
│ └── main
│ │ ├── res
│ │ ├── drawable-hdpi
│ │ │ └── ic_launcher.png
│ │ ├── drawable-mdpi
│ │ │ └── ic_launcher.png
│ │ ├── drawable-xhdpi
│ │ │ └── ic_launcher.png
│ │ ├── drawable-xxhdpi
│ │ │ └── ic_launcher.png
│ │ ├── values
│ │ │ ├── strings.xml
│ │ │ ├── dimens.xml
│ │ │ ├── attrs.xml
│ │ │ ├── styles.xml
│ │ │ └── colors.xml
│ │ └── build.gradle
│ │ ├── AndroidManifest.xml
│ │ └── java
│ │ └── com
│ │ └── natasa
│ │ └── progressviews
│ │ └── utils
│ │ ├── ShapeType.java
│ │ ├── ProgressShape.java
│ │ ├── OnProgressViewListener.java
│ │ ├── ProgressLineOrientation.java
│ │ └── ProgressStartPoint.java
└── build.gradle
├── .idea
├── encodings.xml
├── vcs.xml
└── runConfigurations.xml
├── .gitignore
└── gradle.properties
/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app', ':progressviewslib'
2 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/hi.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/hi.png
--------------------------------------------------------------------------------
/Screenshots/Phone Screenshot 1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/Screenshots/Phone Screenshot 1.jpg
--------------------------------------------------------------------------------
/Screenshots/Phone Screenshot 2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/Screenshots/Phone Screenshot 2.jpg
--------------------------------------------------------------------------------
/Screenshots/Phone Screenshot 3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/Screenshots/Phone Screenshot 3.jpg
--------------------------------------------------------------------------------
/Screenshots/Phone Screenshot 4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/Screenshots/Phone Screenshot 4.jpg
--------------------------------------------------------------------------------
/Screenshots/Phone Screenshot 5.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/Screenshots/Phone Screenshot 5.jpg
--------------------------------------------------------------------------------
/Screenshots/Phone Screenshot 6.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/Screenshots/Phone Screenshot 6.jpg
--------------------------------------------------------------------------------
/Screenshots/Phone Screenshot 7.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/Screenshots/Phone Screenshot 7.jpg
--------------------------------------------------------------------------------
/app/src/main/res/drawable/add.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/add.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/bmi.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/bmi.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/circ.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/circ.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/foo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/foo.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/food.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/food.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/loc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/loc.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/man.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/man.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/man1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/man1.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/slide.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/slide.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/univ.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/univ.PNG
--------------------------------------------------------------------------------
/app/src/main/res/drawable/voice.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/voice.png
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/app/libs/YouTubeAndroidPlayerApi.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/YouTubeAndroidPlayerApi.jar
--------------------------------------------------------------------------------
/app/src/main/res/drawable/addmat.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/addmat.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/contact.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/contact.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/drawer.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/drawer.jpg
--------------------------------------------------------------------------------
/app/src/main/res/drawable/header.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/header.jpg
--------------------------------------------------------------------------------
/app/src/main/res/drawable/logout.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/logout.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/search.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/search.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/stayfit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/stayfit.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/summary.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/summary.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/appintro1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/appintro1.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/appintro2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/appintro2.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/appintro3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/appintro3.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/appintro4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/appintro4.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/appintro5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/appintro5.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/calories.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/calories.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/foodedit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/foodedit.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/icon_star.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/icon_star.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/icon_yoga.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/icon_yoga.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/location.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/location.jpg
--------------------------------------------------------------------------------
/app/src/main/res/drawable/overview.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/overview.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/runimage.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/runimage.jpg
--------------------------------------------------------------------------------
/app/src/main/res/drawable/settings.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/settings.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/sharerun1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/sharerun1.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/finalappicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/finalappicon.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_activity1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/ic_activity1.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_activity2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/ic_activity2.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_activity3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/ic_activity3.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/icon_friend.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/icon_friend.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/icon_linked.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/icon_linked.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/icon_summary.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/icon_summary.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/leaderboard1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/leaderboard1.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_action_edit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/ic_action_edit.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_arrow_back.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/ic_arrow_back.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/icon_dumbbell.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/icon_dumbbell.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/icon_feedback.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/icon_feedback.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/icon_overview.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/icon_overview.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/icon_settings.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/icon_settings.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/icon_settings1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/icon_settings1.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/image_sharrukh.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/image_sharrukh.jpg
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_action_next_item.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/src/main/res/drawable/ic_action_next_item.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/assets/stacked_bars.txt:
--------------------------------------------------------------------------------
1 | 4#2#6#0
2 | 0#2#8#1
3 | 3#8#2#2
4 | 0#7#0#3
5 | 5#5#2#4
6 | 9#0#0#5
7 | 3#3#6#6
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/settings.gradle:
--------------------------------------------------------------------------------
1 | include 'MPChartLib'
2 | //include 'MPAndroidChart-Realm'
3 | include 'MPChartExample'
4 |
5 |
6 |
--------------------------------------------------------------------------------
/app/src/main/res/color/stayfit_accent.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/progressviewslib/src/main/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/progressviewslib/src/main/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/progressviewslib/src/main/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/progressviewslib/src/main/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/progressviewslib/src/main/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/progressviewslib/src/main/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/progressviewslib/src/main/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/progressviewslib/src/main/res/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/.idea/encodings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/design/facebook_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/design/facebook_icon.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/design/header_symbol.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/design/header_symbol.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/design/ic_launcher.psd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/design/ic_launcher.psd
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/design/twitter_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/design/twitter_icon.png
--------------------------------------------------------------------------------
/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/design/feature_graphic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/design/feature_graphic.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/design/feature_graphic.psd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/design/feature_graphic.psd
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/design/googleplus_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/design/googleplus_icon.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/design/video_thumbnail.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/design/video_thumbnail.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/design/video_thumbnail.psd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/design/video_thumbnail.psd
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/barchart2d.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/barchart2d.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/barchart3d.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/barchart3d.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/linechart.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/linechart.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/radarchart.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/radarchart.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/realm_wiki.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/realm_wiki.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/bubblechart.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/bubblechart.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/scatterchart.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/scatterchart.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/smart_legends.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/smart_legends.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/ic_launcher-web.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/ic_launcher-web.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/ValueFormatter.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/ValueFormatter.jpg
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/combined_chart.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/combined_chart.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/cubiclinechart.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/cubiclinechart.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/groupedbarchart.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/groupedbarchart.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/ic_launcher-web.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/ic_launcher-web.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/candlestickchart.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/candlestickchart.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/linechart_colored.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/linechart_colored.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/linechart_legend.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/linechart_legend.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/piechart_selected.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/piechart_selected.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/candlestickchart_old.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/candlestickchart_old.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/horizontal_barchart.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/horizontal_barchart.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/line_chart_gradient.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/line_chart_gradient.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/linechart_multiline.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/linechart_multiline.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/piechart_more_colors.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/piechart_more_colors.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/assets/OpenSans-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/assets/OpenSans-Bold.ttf
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/MPAndroidChart_trending.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/MPAndroidChart_trending.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/simpledesign_barchart1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/simpledesign_barchart1.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/simpledesign_barchart2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/simpledesign_barchart2.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/simpledesign_barchart3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/simpledesign_barchart3.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/simpledesign_linechart1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/simpledesign_linechart1.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/simpledesign_linechart2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/simpledesign_linechart2.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/simpledesign_linechart3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/simpledesign_linechart3.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/simpledesign_linechart4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/simpledesign_linechart4.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/simpledesign_linechart5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/simpledesign_linechart5.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/simpledesign_piechart1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/simpledesign_piechart1.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/assets/OpenSans-Italic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/assets/OpenSans-Italic.ttf
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/assets/OpenSans-Light.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/assets/OpenSans-Light.ttf
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/barchart2d_multi_dataset.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/barchart2d_multi_dataset.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/piechart_holeradius_space.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/piechart_holeradius_space.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/assets/OpenSans-ExtraBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/assets/OpenSans-ExtraBold.ttf
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/assets/OpenSans-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/assets/OpenSans-Regular.ttf
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/assets/OpenSans-Semibold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/assets/OpenSans-Semibold.ttf
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/libs/android-support-v4.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/libs/android-support-v4.jar
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/drawable-nodpi/marker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/drawable-nodpi/marker.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/zero_line_example_barchart.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/zero_line_example_barchart.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/assets/OpenSans-BoldItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/assets/OpenSans-BoldItalic.ttf
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/assets/OpenSans-LightItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/assets/OpenSans-LightItalic.ttf
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/drawable-nodpi/marker2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/drawable-nodpi/marker2.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/barchart2d_multi_dataset_date1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/barchart2d_multi_dataset_date1.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/barchart2d_multi_dataset_date2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/barchart2d_multi_dataset_date2.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/tranding_developers_11_08_2014.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/tranding_developers_11_08_2014.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/assets/OpenSans-SemiboldItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/assets/OpenSans-SemiboldItalic.ttf
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/AndroidWeekly_Issue114_10082014.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/AndroidWeekly_Issue114_10082014.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/circle_activity1.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/circle_activity2.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/circle_activity3.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/assets/OpenSans-ExtraBoldItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/assets/OpenSans-ExtraBoldItalic.ttf
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/linechart_multiline_color_variations.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rahulmaddineni/Stayfit/HEAD/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/screenshots/linechart_multiline_color_variations.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/textbox_back.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Fri Feb 08 15:09:09 PST 2019
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip
7 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/.settings/gradle/org.springsource.ide.eclipse.gradle.core.prefs:
--------------------------------------------------------------------------------
1 | #org.springsource.ide.eclipse.gradle.core.preferences.GradleProjectPreferences
2 | #Mon Jan 18 23:02:46 CET 2016
3 | org.springsource.ide.eclipse.gradle.rootprojectloc=..
4 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/values-sw600dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/menu/realm.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 16dp
5 | 16dp
6 |
7 |
8 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/anim/move_left_in_activity.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/anim/move_left_out_activity.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/anim/move_right_in_activity.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/anim/move_right_out_activity.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Thu Nov 19 21:53:09 CST 2015
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.9-bin.zip
7 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/drawable/fade_red.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/layout/activity_main.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | MPAndroidChart Example
5 | Settings
6 | Hello world!
7 |
8 |
9 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/.settings/gradle/org.springsource.ide.eclipse.gradle.core.prefs:
--------------------------------------------------------------------------------
1 | #org.springsource.ide.eclipse.gradle.core.preferences.GradleProjectPreferences
2 | #Mon Jan 18 23:02:46 CET 2016
3 | org.springsource.ide.eclipse.gradle.linkedresources=
4 | org.springsource.ide.eclipse.gradle.rootprojectloc=..
5 |
--------------------------------------------------------------------------------
/progressviewslib/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | ProgressViews
5 | Hello world!
6 | Settings
7 | progress
8 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 | 256dp
6 | 16dp
7 |
8 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/.settings/gradle/org.springsource.ide.eclipse.gradle.core.prefs:
--------------------------------------------------------------------------------
1 | #org.springsource.ide.eclipse.gradle.core.preferences.GradleProjectPreferences
2 | #Mon Jan 18 23:02:46 CET 2016
3 | build.family.org.gradle.tooling.model.eclipse.HierarchicalEclipseProject=;MPChartExample;MPChartLib;
4 | org.springsource.ide.eclipse.gradle.rootprojectloc=
5 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/drawable/new_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/maddi/fitness/Steps.java:
--------------------------------------------------------------------------------
1 | package com.example.maddi.fitness;
2 |
3 | public class Steps {
4 | public int totalsteps;
5 |
6 | public Steps() {
7 | // Default constructor required for calls to DataSnapshot.getValue(Steps.class)
8 | }
9 |
10 | public Steps(int totalsteps) {
11 | this.totalsteps = totalsteps;
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/interfaces/dataprovider/BubbleDataProvider.java:
--------------------------------------------------------------------------------
1 | package com.github.mikephil.charting.interfaces.dataprovider;
2 |
3 | import com.github.mikephil.charting.data.BubbleData;
4 |
5 | public interface BubbleDataProvider extends BarLineScatterCandleBubbleDataProvider {
6 |
7 | BubbleData getBubbleData();
8 | }
9 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/interfaces/dataprovider/CandleDataProvider.java:
--------------------------------------------------------------------------------
1 | package com.github.mikephil.charting.interfaces.dataprovider;
2 |
3 | import com.github.mikephil.charting.data.CandleData;
4 |
5 | public interface CandleDataProvider extends BarLineScatterCandleBubbleDataProvider {
6 |
7 | CandleData getCandleData();
8 | }
9 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/values-sw720dp-land/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 | 128dp
8 |
9 |
10 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/interfaces/dataprovider/ScatterDataProvider.java:
--------------------------------------------------------------------------------
1 | package com.github.mikephil.charting.interfaces.dataprovider;
2 |
3 | import com.github.mikephil.charting.data.ScatterData;
4 |
5 | public interface ScatterDataProvider extends BarLineScatterCandleBubbleDataProvider {
6 |
7 | ScatterData getScatterData();
8 | }
9 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/interfaces/datasets/IRadarDataSet.java:
--------------------------------------------------------------------------------
1 | package com.github.mikephil.charting.interfaces.datasets;
2 |
3 | import com.github.mikephil.charting.data.Entry;
4 |
5 | /**
6 | * Created by Philipp Jahoda on 03/11/15.
7 | */
8 | public interface IRadarDataSet extends ILineRadarDataSet {
9 |
10 |
11 | }
12 |
--------------------------------------------------------------------------------
/app/src/main/res/values-w820dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 64dp
6 |
7 |
--------------------------------------------------------------------------------
/app/src/test/java/com/example/maddi/fitness/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.example.maddi.fitness;
2 |
3 | import org.junit.Test;
4 |
5 | import static org.junit.Assert.*;
6 |
7 | /**
8 | * To work on unit tests, switch the Test Artifact in the Build Variants view.
9 | */
10 | public class ExampleUnitTest {
11 | @Test
12 | public void addition_isCorrect() throws Exception {
13 | assertEquals(4, 2 + 2);
14 | }
15 | }
--------------------------------------------------------------------------------
/progressviewslib/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/progressviewslib/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 16dp
5 | 16dp
6 |
7 |
8 |
9 | 7dp
10 | 3dp
11 |
12 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/menu_main.xml:
--------------------------------------------------------------------------------
1 |
11 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/values-v11/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/app/src/androidTest/java/com/example/maddi/fitness/ApplicationTest.java:
--------------------------------------------------------------------------------
1 | package com.example.maddi.fitness;
2 |
3 | import android.app.Application;
4 | import android.test.ApplicationTestCase;
5 |
6 | /**
7 | * Testing Fundamentals
8 | */
9 | public class ApplicationTest extends ApplicationTestCase {
10 | public ApplicationTest() {
11 | super(Application.class);
12 | }
13 | }
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/menu/combined.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/src/com/xxmassdeveloper/mpchartexample/notimportant/ContentItem.java:
--------------------------------------------------------------------------------
1 | package com.xxmassdeveloper.mpchartexample.notimportant;
2 |
3 | /**
4 | * Created by Philipp Jahoda on 07/12/15.
5 | */
6 | public class ContentItem {
7 |
8 | String name;
9 | String desc;
10 | boolean isNew = false;
11 |
12 | public ContentItem(String n, String d) {
13 | name = n;
14 | desc = d;
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/build.gradle:
--------------------------------------------------------------------------------
1 | task wrapper(type: Wrapper) {
2 | gradleVersion = '2.9'
3 | }
4 |
5 | buildscript {
6 | repositories {
7 | jcenter()
8 | google()
9 | }
10 | dependencies {
11 | classpath 'com.android.tools.build:gradle:3.3.1'
12 | classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'
13 | }
14 | }
15 |
16 | allprojects {
17 | repositories {
18 | jcenter()
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/values-v14/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
12 |
13 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/formatter/ColorFormatter.java:
--------------------------------------------------------------------------------
1 | package com.github.mikephil.charting.formatter;
2 |
3 | import com.github.mikephil.charting.data.Entry;
4 |
5 | /**
6 | * Interface that can be used to return a customized color instead of setting
7 | * colors via the setColor(...) method of the DataSet.
8 | *
9 | * @author Philipp Jahoda
10 | */
11 | public interface ColorFormatter {
12 |
13 | int getColor(Entry e, int index);
14 | }
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/interfaces/dataprovider/LineDataProvider.java:
--------------------------------------------------------------------------------
1 | package com.github.mikephil.charting.interfaces.dataprovider;
2 |
3 | import com.github.mikephil.charting.components.YAxis;
4 | import com.github.mikephil.charting.data.LineData;
5 |
6 | public interface LineDataProvider extends BarLineScatterCandleBubbleDataProvider {
7 |
8 | LineData getLineData();
9 |
10 | YAxis getAxis(YAxis.AxisDependency dependency);
11 | }
12 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/interfaces/dataprovider/BarDataProvider.java:
--------------------------------------------------------------------------------
1 | package com.github.mikephil.charting.interfaces.dataprovider;
2 |
3 | import com.github.mikephil.charting.data.BarData;
4 |
5 | public interface BarDataProvider extends BarLineScatterCandleBubbleDataProvider {
6 |
7 | BarData getBarData();
8 | boolean isDrawBarShadowEnabled();
9 | boolean isDrawValueAboveBarEnabled();
10 | boolean isDrawHighlightArrowEnabled();
11 | }
12 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/layout/activity_barchart_noseekbar.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
10 |
11 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/layout/activity_combined.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/layout/activity_draw_chart.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/layout/activity_linechart_noseekbar.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
10 |
11 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/layout/activity_piechart_noseekbar.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
10 |
11 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/layout/activity_radarchart.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/layout/activity_bubblechart_noseekbar.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
10 |
11 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/layout/activity_radarchart_noseekbar.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
10 |
11 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/layout/activity_scatterchart_noseekbar.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
10 |
11 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/layout/activity_candlechart_noseekbar.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
10 |
11 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/layout/activity_realtime_linechart.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/layout/activity_horizontalbarchart_noseekbar.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
10 |
11 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/exception/DrawingDataSetNotCreatedException.java:
--------------------------------------------------------------------------------
1 | package com.github.mikephil.charting.exception;
2 |
3 | public class DrawingDataSetNotCreatedException extends RuntimeException {
4 |
5 | /**
6 | *
7 | */
8 | private static final long serialVersionUID = 1L;
9 |
10 | public DrawingDataSetNotCreatedException() {
11 | super("Have to create a new drawing set first. Call ChartData's createNewDrawingDataSet() method");
12 | }
13 |
14 | }
15 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/layout/activity_listview_chart.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/layout/list_item_barchart.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/layout/list_item_linechart.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/layout/list_item_piechart.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/layout/frag_simple_pie.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/layout/frag_simple_line.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/menu/realtime.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/layout/frag_simple_scatter.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/animation/EasingFunction.java:
--------------------------------------------------------------------------------
1 | package com.github.mikephil.charting.animation;
2 |
3 | import android.animation.TimeInterpolator;
4 | import android.annotation.SuppressLint;
5 |
6 | /**
7 | * Interface for creating custom made easing functions. Uses the
8 | * TimeInterpolator interface provided by Android.
9 | */
10 | @SuppressLint("NewApi")
11 | public interface EasingFunction extends TimeInterpolator {
12 |
13 | @Override
14 | float getInterpolation(float input);
15 | }
16 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/menu_actionview.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/listener/OnDrawLineChartTouchListener.java:
--------------------------------------------------------------------------------
1 | package com.github.mikephil.charting.listener;
2 |
3 | import android.view.GestureDetector.SimpleOnGestureListener;
4 | import android.view.MotionEvent;
5 | import android.view.View;
6 | import android.view.View.OnTouchListener;
7 |
8 | public class OnDrawLineChartTouchListener extends SimpleOnGestureListener implements OnTouchListener {
9 |
10 | @Override
11 | public boolean onTouch(View v, MotionEvent event) {
12 | return false;
13 | }
14 |
15 | }
16 |
--------------------------------------------------------------------------------
/progressviewslib/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.library'
2 |
3 | version = "1.0"
4 |
5 |
6 | android {
7 | compileSdkVersion 23
8 | buildToolsVersion "23.0.2"
9 |
10 | defaultConfig {
11 | minSdkVersion 22
12 | targetSdkVersion 23
13 | versionCode 1
14 | versionName "1.0"
15 | }
16 |
17 | buildTypes {
18 | release {
19 | minifyEnabled false
20 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
21 | }
22 | }
23 | }
24 |
25 | dependencies {
26 |
27 | }
28 |
--------------------------------------------------------------------------------
/progressviewslib/src/main/res/values/attrs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/layout/activity_age_distribution.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/interfaces/datasets/IBarLineScatterCandleBubbleDataSet.java:
--------------------------------------------------------------------------------
1 | package com.github.mikephil.charting.interfaces.datasets;
2 |
3 | import com.github.mikephil.charting.data.Entry;
4 |
5 | /**
6 | * Created by philipp on 21/10/15.
7 | */
8 | public interface IBarLineScatterCandleBubbleDataSet extends IDataSet {
9 |
10 | /**
11 | * Returns the color that is used for drawing the highlight indicators.
12 | *
13 | * @return
14 | */
15 | int getHighLightColor();
16 | }
17 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/utils/EntryXIndexComparator.java:
--------------------------------------------------------------------------------
1 | package com.github.mikephil.charting.utils;
2 |
3 | import com.github.mikephil.charting.data.Entry;
4 |
5 | import java.util.Comparator;
6 |
7 | /**
8 | * Comparator for comparing Entry-objects by their x-index.
9 | * Created by philipp on 17/06/15.
10 | */
11 | public class EntryXIndexComparator implements Comparator {
12 | @Override
13 | public int compare(Entry entry1, Entry entry2) {
14 | return entry1.getXIndex() - entry2.getXIndex();
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/layout/activity_awesomedesign.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/layout/frag_simple_bar.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/.idea/runConfigurations.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
11 |
12 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/src/com/xxmassdeveloper/mpchartexample/custom/MyEasingFunction.java:
--------------------------------------------------------------------------------
1 |
2 | package com.xxmassdeveloper.mpchartexample.custom;
3 |
4 | import com.github.mikephil.charting.animation.EasingFunction;
5 |
6 | /**
7 | * Example of a custom made animation EasingFunction.
8 | *
9 | * @author Philipp Jahoda
10 | */
11 | public class MyEasingFunction implements EasingFunction {
12 |
13 | @Override
14 | public float getInterpolation(float input) {
15 | // do awesome stuff here, this is just linear easing
16 | return input;
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/.gitignore:
--------------------------------------------------------------------------------
1 | # built application files
2 | *.apk
3 | *.ap_
4 |
5 | # files for the dex VM
6 | *.dex
7 |
8 | # Java class files
9 | *.class
10 |
11 | # generated files
12 | bin/
13 | gen/
14 |
15 | # Local configuration file (sdk path, etc)
16 | local.properties
17 |
18 | # Eclipse project files
19 | .classpath
20 | .project
21 |
22 | # Proguard folder generated by Eclipse
23 | proguard/
24 |
25 | # Intellij project files
26 | *.iml
27 | *.ipr
28 | *.iws
29 | .idea/
30 |
31 | .directory
32 |
33 | # gradle wrapper working directory
34 | .gradle
35 |
36 | build/
37 |
38 | # maven
39 | target/
40 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/utils/PointD.java:
--------------------------------------------------------------------------------
1 |
2 | package com.github.mikephil.charting.utils;
3 |
4 | /**
5 | * Point encapsulating two double values.
6 | *
7 | * @author Philipp Jahoda
8 | */
9 | public class PointD {
10 |
11 | public double x;
12 | public double y;
13 |
14 | public PointD(double x, double y) {
15 | this.x = x;
16 | this.y = y;
17 | }
18 |
19 | /**
20 | * returns a string representation of the object
21 | */
22 | public String toString() {
23 | return "PointD, x: " + x + ", y: " + y;
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/menu/main.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/maddi/fitness/Calories.java:
--------------------------------------------------------------------------------
1 | package com.example.maddi.fitness;
2 |
3 | public class Calories {
4 | public float totalcalories;
5 | public float totalfat;
6 | public float totalcarbs;
7 | public float totalprotein;
8 | public Calories() {
9 | // Default constructor required for calls to DataSnapshot.getValue(Calories.class)
10 | }
11 |
12 | public Calories(float totalcalories, float totalfat, float totalcarbs, float totalprotein) {
13 | this.totalcalories = totalcalories;
14 | this.totalfat = totalfat;
15 | this.totalcarbs = totalcarbs;
16 | this.totalprotein = totalprotein;
17 | }
18 | }
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/project.properties:
--------------------------------------------------------------------------------
1 | # This file is automatically generated by Android Tools.
2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED!
3 | #
4 | # This file must be checked in Version Control Systems.
5 | #
6 | # To customize properties used by the Ant build system edit
7 | # "ant.properties", and override values to adapt the script to your
8 | # project structure.
9 | #
10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
12 |
13 | # Project target.
14 | target=android-23
15 | android.library=true
16 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/src/com/xxmassdeveloper/mpchartexample/custom/RealmFloat.java:
--------------------------------------------------------------------------------
1 | package com.xxmassdeveloper.mpchartexample.custom;
2 |
3 | import io.realm.RealmObject;
4 |
5 | /**
6 | * Created by Philipp Jahoda on 09/11/15.
7 | */
8 | public class RealmFloat extends RealmObject {
9 |
10 | private float floatValue;
11 |
12 | public RealmFloat() {
13 |
14 | }
15 |
16 | public RealmFloat(float floatValue) {
17 | this.floatValue = floatValue;
18 | }
19 |
20 | public float getFloatValue() {
21 | return floatValue;
22 | }
23 |
24 | public void setFloatValue(float value) {
25 | this.floatValue = value;
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/formatter/DefaultXAxisValueFormatter.java:
--------------------------------------------------------------------------------
1 | package com.github.mikephil.charting.formatter;
2 |
3 | import com.github.mikephil.charting.utils.ViewPortHandler;
4 |
5 | /**
6 | * Created by Philipp Jahoda on 14/09/15.
7 | * Default formatter class for adjusting x-values before drawing them.
8 | * This simply returns the original value unmodified.
9 | */
10 | public class DefaultXAxisValueFormatter implements XAxisValueFormatter {
11 |
12 | @Override
13 | public String getXValue(String original, int index, ViewPortHandler viewPortHandler) {
14 | return original; // just return original, no adjustments
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Built application files
2 | *.apk
3 | *.ap_
4 |
5 | # Files for the ART/Dalvik VM
6 | *.dex
7 |
8 | # Java class files
9 | *.class
10 |
11 | # Generated files
12 | bin/
13 | gen/
14 | out/
15 |
16 | # Gradle files
17 | .gradle/
18 | build/
19 |
20 | # Local configuration file (sdk path, etc)
21 | local.properties
22 |
23 | # Proguard folder generated by Eclipse
24 | proguard/
25 |
26 | # Log Files
27 | *.log
28 |
29 | # Android Studio Navigation editor temp files
30 | .navigation/
31 |
32 | # Android Studio captures folder
33 | captures/
34 |
35 | # Intellij
36 | *.iml
37 | .idea/workspace.xml
38 | .idea/gradle.xml
39 | .idea/modules.xml
40 | .idea/caches
41 | .idea/libraries
42 |
43 | # Keystore files
44 | *.jks
45 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/project.properties:
--------------------------------------------------------------------------------
1 | # This file is automatically generated by Android Tools.
2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED!
3 | #
4 | # This file must be checked in Version Control Systems.
5 | #
6 | # To customize properties used by the Ant build system edit
7 | # "ant.properties", and override values to adapt the script to your
8 | # project structure.
9 | #
10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
12 |
13 | # Project target.
14 | target=android-23
15 | android.library.reference.1=../MPChartLib
16 |
--------------------------------------------------------------------------------
/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in C:\Users\maddi\AppData\Local\Android\sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/src/com/xxmassdeveloper/mpchartexample/custom/MyYAxisValueFormatter.java:
--------------------------------------------------------------------------------
1 | package com.xxmassdeveloper.mpchartexample.custom;
2 |
3 | import com.github.mikephil.charting.components.YAxis;
4 | import com.github.mikephil.charting.formatter.YAxisValueFormatter;
5 |
6 | import java.text.DecimalFormat;
7 |
8 | public class MyYAxisValueFormatter implements YAxisValueFormatter {
9 |
10 | private DecimalFormat mFormat;
11 |
12 | public MyYAxisValueFormatter() {
13 | mFormat = new DecimalFormat("###,###,###,##0.0");
14 | }
15 |
16 | @Override
17 | public String getFormattedValue(float value, YAxis yAxis) {
18 | return mFormat.format(value) + " $";
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/progressviewslib/src/main/res/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.library'
2 |
3 |
4 | version = "1.0.1"
5 |
6 | android {
7 | compileSdkVersion 22
8 | buildToolsVersion "23.0.2"
9 |
10 | defaultConfig {
11 | minSdkVersion 11
12 | targetSdkVersion 21
13 | applicationId "com.natasa.progressviews"
14 |
15 | }
16 |
17 | buildTypes {
18 | release {
19 | minifyEnabled false
20 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
21 | }
22 | }
23 | }
24 | dependencies {
25 |
26 | }
27 | ext {
28 | PUBLISH_GROUP_ID = 'com.natasa.progressviews'
29 | PUBLISH_ARTIFACT_ID = 'android-progressviewslib'
30 | PUBLISH_VERSION = version
31 | }
32 |
--------------------------------------------------------------------------------
/progressviewslib/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
14 |
15 |
16 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/data/realm/implementation/RealmPieData.java:
--------------------------------------------------------------------------------
1 | package com.github.mikephil.charting.data.realm.implementation;
2 |
3 | import com.github.mikephil.charting.data.PieData;
4 | import com.github.mikephil.charting.data.realm.base.RealmUtils;
5 | import com.github.mikephil.charting.interfaces.datasets.IPieDataSet;
6 |
7 | import io.realm.RealmObject;
8 | import io.realm.RealmResults;
9 |
10 | /**
11 | * Created by Philipp Jahoda on 19/12/15.
12 | */
13 | public class RealmPieData extends PieData {
14 |
15 | public RealmPieData(RealmResults extends RealmObject> result, String xValuesField, IPieDataSet dataSet) {
16 | super(RealmUtils.toXVals(result, xValuesField), dataSet);
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/interfaces/datasets/IPieDataSet.java:
--------------------------------------------------------------------------------
1 | package com.github.mikephil.charting.interfaces.datasets;
2 |
3 | import com.github.mikephil.charting.data.Entry;
4 |
5 | /**
6 | * Created by Philipp Jahoda on 03/11/15.
7 | */
8 | public interface IPieDataSet extends IDataSet {
9 |
10 | /**
11 | * Returns the space that is set to be between the piechart-slices of this
12 | * DataSet, in pixels.
13 | *
14 | * @return
15 | */
16 | float getSliceSpace();
17 |
18 | /**
19 | * Returns the distance a highlighted piechart slice is "shifted" away from
20 | * the chart-center in dp.
21 | *
22 | * @return
23 | */
24 | float getSelectionShift();
25 | }
26 |
27 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_appintro.xml:
--------------------------------------------------------------------------------
1 |
2 |
11 |
12 |
16 |
17 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_chart.xml:
--------------------------------------------------------------------------------
1 |
2 |
11 |
12 |
16 |
17 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/interfaces/dataprovider/BarLineScatterCandleBubbleDataProvider.java:
--------------------------------------------------------------------------------
1 | package com.github.mikephil.charting.interfaces.dataprovider;
2 |
3 | import com.github.mikephil.charting.components.YAxis.AxisDependency;
4 | import com.github.mikephil.charting.data.BarLineScatterCandleBubbleData;
5 | import com.github.mikephil.charting.utils.Transformer;
6 |
7 | public interface BarLineScatterCandleBubbleDataProvider extends ChartInterface {
8 |
9 | Transformer getTransformer(AxisDependency axis);
10 | int getMaxVisibleCount();
11 | boolean isInverted(AxisDependency axis);
12 |
13 | int getLowestVisibleXIndex();
14 | int getHighestVisibleXIndex();
15 |
16 | BarLineScatterCandleBubbleData getData();
17 | }
18 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/data/realm/implementation/RealmBarData.java:
--------------------------------------------------------------------------------
1 | package com.github.mikephil.charting.data.realm.implementation;
2 |
3 | import com.github.mikephil.charting.data.BarData;
4 | import com.github.mikephil.charting.data.realm.base.RealmUtils;
5 | import com.github.mikephil.charting.interfaces.datasets.IBarDataSet;
6 |
7 | import java.util.List;
8 |
9 | import io.realm.RealmObject;
10 | import io.realm.RealmResults;
11 |
12 | /**
13 | * Created by Philipp Jahoda on 19/12/15.
14 | */
15 | public class RealmBarData extends BarData {
16 |
17 | public RealmBarData(RealmResults extends RealmObject> result, String xValuesField, List dataSets) {
18 | super(RealmUtils.toXVals(result, xValuesField), dataSets);
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
14 |
15 |
16 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/data/realm/implementation/RealmLineData.java:
--------------------------------------------------------------------------------
1 | package com.github.mikephil.charting.data.realm.implementation;
2 |
3 | import com.github.mikephil.charting.data.LineData;
4 | import com.github.mikephil.charting.data.realm.base.RealmUtils;
5 | import com.github.mikephil.charting.interfaces.datasets.ILineDataSet;
6 |
7 | import java.util.List;
8 |
9 | import io.realm.RealmObject;
10 | import io.realm.RealmResults;
11 |
12 | /**
13 | * Created by Philipp Jahoda on 19/12/15.
14 | */
15 | public class RealmLineData extends LineData {
16 |
17 | public RealmLineData(RealmResults extends RealmObject> result, String xValuesField, List dataSets) {
18 | super(RealmUtils.toXVals(result, xValuesField), dataSets);
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/src/com/xxmassdeveloper/mpchartexample/custom/MyValueFormatter.java:
--------------------------------------------------------------------------------
1 | package com.xxmassdeveloper.mpchartexample.custom;
2 |
3 | import com.github.mikephil.charting.data.Entry;
4 | import com.github.mikephil.charting.formatter.ValueFormatter;
5 | import com.github.mikephil.charting.utils.ViewPortHandler;
6 |
7 | import java.text.DecimalFormat;
8 |
9 | public class MyValueFormatter implements ValueFormatter {
10 |
11 | private DecimalFormat mFormat;
12 |
13 | public MyValueFormatter() {
14 | mFormat = new DecimalFormat("###,###,###,##0.0");
15 | }
16 |
17 | @Override
18 | public String getFormattedValue(float value, Entry entry, int dataSetIndex, ViewPortHandler viewPortHandler) {
19 | return mFormat.format(value) + " $";
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/data/realm/implementation/RealmRadarData.java:
--------------------------------------------------------------------------------
1 | package com.github.mikephil.charting.data.realm.implementation;
2 |
3 | import com.github.mikephil.charting.data.RadarData;
4 | import com.github.mikephil.charting.data.realm.base.RealmUtils;
5 | import com.github.mikephil.charting.interfaces.datasets.IRadarDataSet;
6 |
7 | import java.util.List;
8 |
9 | import io.realm.RealmObject;
10 | import io.realm.RealmResults;
11 |
12 | /**
13 | * Created by Philipp Jahoda on 19/12/15.
14 | */
15 | public class RealmRadarData extends RadarData{
16 |
17 | public RealmRadarData(RealmResults extends RealmObject> result, String xValuesField, List dataSets) {
18 | super(RealmUtils.toXVals(result, xValuesField), dataSets);
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/data/realm/implementation/RealmBubbleData.java:
--------------------------------------------------------------------------------
1 | package com.github.mikephil.charting.data.realm.implementation;
2 |
3 | import com.github.mikephil.charting.data.BubbleData;
4 | import com.github.mikephil.charting.data.realm.base.RealmUtils;
5 | import com.github.mikephil.charting.interfaces.datasets.IBubbleDataSet;
6 |
7 | import java.util.List;
8 |
9 | import io.realm.RealmObject;
10 | import io.realm.RealmResults;
11 |
12 | /**
13 | * Created by Philipp Jahoda on 19/12/15.
14 | */
15 | public class RealmBubbleData extends BubbleData {
16 |
17 | public RealmBubbleData(RealmResults extends RealmObject> result, String xValuesField, List dataSets) {
18 | super(RealmUtils.toXVals(result, xValuesField), dataSets);
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/data/realm/implementation/RealmCandleData.java:
--------------------------------------------------------------------------------
1 | package com.github.mikephil.charting.data.realm.implementation;
2 |
3 | import com.github.mikephil.charting.data.CandleData;
4 | import com.github.mikephil.charting.data.realm.base.RealmUtils;
5 | import com.github.mikephil.charting.interfaces.datasets.ICandleDataSet;
6 |
7 | import java.util.List;
8 |
9 | import io.realm.RealmObject;
10 | import io.realm.RealmResults;
11 |
12 | /**
13 | * Created by Philipp Jahoda on 19/12/15.
14 | */
15 | public class RealmCandleData extends CandleData {
16 |
17 | public RealmCandleData(RealmResults extends RealmObject> result, String xValuesField, List dataSets) {
18 | super(RealmUtils.toXVals(result, xValuesField), dataSets);
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/data/realm/implementation/RealmScatterData.java:
--------------------------------------------------------------------------------
1 | package com.github.mikephil.charting.data.realm.implementation;
2 |
3 | import com.github.mikephil.charting.data.ScatterData;
4 | import com.github.mikephil.charting.data.realm.base.RealmUtils;
5 | import com.github.mikephil.charting.interfaces.datasets.IScatterDataSet;
6 |
7 | import java.util.List;
8 |
9 | import io.realm.RealmObject;
10 | import io.realm.RealmResults;
11 |
12 | /**
13 | * Created by Philipp Jahoda on 19/12/15.
14 | */
15 | public class RealmScatterData extends ScatterData {
16 |
17 | public RealmScatterData(RealmResults extends RealmObject> result, String xValuesField, List dataSets) {
18 | super(RealmUtils.toXVals(result, xValuesField), dataSets);
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/layout/activity_realm_wiki.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
13 |
14 |
19 |
20 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/jobs/MoveViewJob.java:
--------------------------------------------------------------------------------
1 |
2 | package com.github.mikephil.charting.jobs;
3 |
4 | import android.view.View;
5 |
6 | import com.github.mikephil.charting.utils.Transformer;
7 | import com.github.mikephil.charting.utils.ViewPortHandler;
8 |
9 | /**
10 | * Created by Philipp Jahoda on 19/02/16.
11 | */
12 | public class MoveViewJob extends ViewPortJob {
13 |
14 | public MoveViewJob(ViewPortHandler viewPortHandler, float xValue, float yValue, Transformer trans, View v) {
15 | super(viewPortHandler, xValue, yValue, trans, v);
16 | }
17 |
18 | @Override
19 | public void run() {
20 |
21 | pts[0] = xValue;
22 | pts[1] = yValue;
23 |
24 | mTrans.pointValuesToPixel(pts);
25 | mViewPortHandler.centerViewPort(pts, view);
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/src/com/xxmassdeveloper/mpchartexample/custom/MyFillFormatter.java:
--------------------------------------------------------------------------------
1 | package com.xxmassdeveloper.mpchartexample.custom;
2 |
3 | import com.github.mikephil.charting.formatter.FillFormatter;
4 | import com.github.mikephil.charting.interfaces.datasets.ILineDataSet;
5 | import com.github.mikephil.charting.interfaces.dataprovider.LineDataProvider;
6 |
7 | /**
8 | * Created by Philipp Jahoda on 12/09/15.
9 | */
10 | public class MyFillFormatter implements FillFormatter {
11 |
12 | private float mFillPos = 0f;
13 |
14 | public MyFillFormatter(float fillpos) {
15 | this.mFillPos = fillpos;
16 | }
17 |
18 | @Override
19 | public float getFillLinePosition(ILineDataSet dataSet, LineDataProvider dataProvider) {
20 | // your logic could be here
21 | return mFillPos;
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/formatter/YAxisValueFormatter.java:
--------------------------------------------------------------------------------
1 | package com.github.mikephil.charting.formatter;
2 |
3 | import com.github.mikephil.charting.components.YAxis;
4 |
5 | /**
6 | * Created by Philipp Jahoda on 20/09/15.
7 | * Custom formatter interface that allows formatting of
8 | * YAxis labels before they are being drawn.
9 | */
10 | public interface YAxisValueFormatter {
11 |
12 | /**
13 | * Called when a value from the YAxis is formatted
14 | * before being drawn. For performance reasons, avoid excessive calculations
15 | * and memory allocations inside this method.
16 | *
17 | * @param value the YAxis value to be formatted
18 | * @param yAxis the YAxis object the value belongs to
19 | * @return
20 | */
21 | String getFormattedValue(float value, YAxis yAxis);
22 | }
23 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/interfaces/datasets/IBubbleDataSet.java:
--------------------------------------------------------------------------------
1 | package com.github.mikephil.charting.interfaces.datasets;
2 |
3 | import com.github.mikephil.charting.data.BubbleEntry;
4 |
5 | /**
6 | * Created by philipp on 21/10/15.
7 | */
8 | public interface IBubbleDataSet extends IBarLineScatterCandleBubbleDataSet {
9 |
10 | /**
11 | * Sets the width of the circle that surrounds the bubble when highlighted,
12 | * in dp.
13 | *
14 | * @param width
15 | */
16 | void setHighlightCircleWidth(float width);
17 |
18 | float getXMax();
19 |
20 | float getXMin();
21 |
22 | float getMaxSize();
23 |
24 | /**
25 | * Returns the width of the highlight-circle that surrounds the bubble
26 | * @return
27 | */
28 | float getHighlightCircleWidth();
29 | }
30 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/utils/SelectionDetail.java:
--------------------------------------------------------------------------------
1 | package com.github.mikephil.charting.utils;
2 |
3 | import com.github.mikephil.charting.interfaces.datasets.IDataSet;
4 |
5 | /**
6 | * Class that encapsulates information of a value that has been
7 | * selected/highlighted and its DataSet index. The SelectionDetail objects give
8 | * information about the value at the selected index and the DataSet it belongs
9 | * to. Needed only for highlighting onTouch().
10 | *
11 | * @author Philipp Jahoda
12 | */
13 | public class SelectionDetail {
14 |
15 | public float val;
16 | public int dataSetIndex;
17 | public IDataSet dataSet;
18 |
19 | public SelectionDetail(float val, int dataSetIndex, IDataSet set) {
20 | this.val = val;
21 | this.dataSetIndex = dataSetIndex;
22 | this.dataSet = set;
23 | }
24 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/example/maddi/fitness/User.java:
--------------------------------------------------------------------------------
1 | package com.example.maddi.fitness;
2 |
3 | public class User {
4 | public String name;
5 | public String phone;
6 | public String gender;
7 | public int age;
8 | public String height;
9 | public float weight;
10 | public int stepgoal;
11 | public int caloriegoal;
12 |
13 |
14 | public User() {
15 | // Default constructor required for calls to DataSnapshot.getValue(User.class)
16 | }
17 |
18 | public User(String name, String phone, String gender, int age, String height, float weight, int stepgoal, int caloriegoal) {
19 | this.name = name;
20 | this.phone = phone;
21 | this.gender = gender;
22 | this.age = age;
23 | this.height = height;
24 | this.weight = weight;
25 | this.stepgoal = stepgoal;
26 | this.caloriegoal = caloriegoal;
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Gradle settings configured through the IDE *will override*
5 | # any settings specified in this file.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m
13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
14 |
15 | # When configured, Gradle will run in incubating parallel mode.
16 | # This option should only be used with decoupled projects. More details, visit
17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
18 | # org.gradle.parallel=true
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/proguard-project.txt:
--------------------------------------------------------------------------------
1 | # To enable ProGuard in your project, edit project.properties
2 | # to define the proguard.config property as described in that file.
3 | #
4 | # Add project specific ProGuard rules here.
5 | # By default, the flags in this file are appended to flags specified
6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt
7 | # You can edit the include path and order by changing the ProGuard
8 | # include property in project.properties.
9 | #
10 | # For more details, see
11 | # http://developer.android.com/guide/developing/tools/proguard.html
12 |
13 | # Add any project specific keep options here:
14 |
15 | # If your project uses WebView with JS, uncomment the following
16 | # and specify the fully qualified class name to the JavaScript interface
17 | # class:
18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
19 | # public *;
20 | #}
21 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/src/com/xxmassdeveloper/mpchartexample/listviewitems/ChartItem.java:
--------------------------------------------------------------------------------
1 | package com.xxmassdeveloper.mpchartexample.listviewitems;
2 |
3 | import android.content.Context;
4 | import android.view.View;
5 |
6 | import com.github.mikephil.charting.data.ChartData;
7 |
8 | /**
9 | * baseclass of the chart-listview items
10 | * @author philipp
11 | *
12 | */
13 | public abstract class ChartItem {
14 |
15 | protected static final int TYPE_BARCHART = 0;
16 | protected static final int TYPE_LINECHART = 1;
17 | protected static final int TYPE_PIECHART = 2;
18 |
19 | protected ChartData> mChartData;
20 |
21 | public ChartItem(ChartData> cd) {
22 | this.mChartData = cd;
23 | }
24 |
25 | public abstract int getItemType();
26 |
27 | public abstract View getView(int position, View convertView, Context c);
28 | }
29 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/proguard-project.txt:
--------------------------------------------------------------------------------
1 | # To enable ProGuard in your project, edit project.properties
2 | # to define the proguard.config property as described in that file.
3 | #
4 | # Add project specific ProGuard rules here.
5 | # By default, the flags in this file are appended to flags specified
6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt
7 | # You can edit the include path and order by changing the ProGuard
8 | # include property in project.properties.
9 | #
10 | # For more details, see
11 | # http://developer.android.com/guide/developing/tools/proguard.html
12 |
13 | # Add any project specific keep options here:
14 |
15 | # If your project uses WebView with JS, uncomment the following
16 | # and specify the fully qualified class name to the JavaScript interface
17 | # class:
18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
19 | # public *;
20 | #}
21 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/formatter/FillFormatter.java:
--------------------------------------------------------------------------------
1 | package com.github.mikephil.charting.formatter;
2 |
3 | import com.github.mikephil.charting.interfaces.datasets.ILineDataSet;
4 | import com.github.mikephil.charting.interfaces.dataprovider.LineDataProvider;
5 |
6 | /**
7 | * Interface for providing a custom logic to where the filling line of a LineDataSet
8 | * should end. This of course only works if setFillEnabled(...) is set to true.
9 | *
10 | * @author Philipp Jahoda
11 | */
12 | public interface FillFormatter {
13 |
14 | /**
15 | * Returns the vertical (y-axis) position where the filled-line of the
16 | * LineDataSet should end.
17 | *
18 | * @param dataSet the ILineDataSet that is currently drawn
19 | * @param dataProvider
20 | * @return
21 | */
22 | float getFillLinePosition(ILineDataSet dataSet, LineDataProvider dataProvider);
23 | }
24 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/buffer/CircleBuffer.java:
--------------------------------------------------------------------------------
1 |
2 | package com.github.mikephil.charting.buffer;
3 |
4 | import com.github.mikephil.charting.data.Entry;
5 | import com.github.mikephil.charting.interfaces.datasets.ILineDataSet;
6 |
7 | public class CircleBuffer extends AbstractBuffer {
8 |
9 | public CircleBuffer(int size) {
10 | super(size);
11 | }
12 |
13 | protected void addCircle(float x, float y) {
14 | buffer[index++] = x;
15 | buffer[index++] = y;
16 | }
17 |
18 | @Override
19 | public void feed(ILineDataSet data) {
20 |
21 | int size = (int)Math.ceil((mTo - mFrom) * phaseX + mFrom);
22 |
23 | for (int i = mFrom; i < size; i++) {
24 |
25 | Entry e = data.getEntryForIndex(i);
26 | addCircle(e.getXIndex(), e.getVal() * phaseY);
27 | }
28 |
29 | reset();
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/layout/custom_marker_view.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/menu/dynamical.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/buffer/ScatterBuffer.java:
--------------------------------------------------------------------------------
1 |
2 | package com.github.mikephil.charting.buffer;
3 |
4 | import com.github.mikephil.charting.data.Entry;
5 | import com.github.mikephil.charting.interfaces.datasets.IScatterDataSet;
6 |
7 | public class ScatterBuffer extends AbstractBuffer {
8 |
9 | public ScatterBuffer(int size) {
10 | super(size);
11 | }
12 |
13 | protected void addForm(float x, float y) {
14 | buffer[index++] = x;
15 | buffer[index++] = y;
16 | }
17 |
18 | @Override
19 | public void feed(IScatterDataSet data) {
20 |
21 | float size = data.getEntryCount() * phaseX;
22 |
23 | for (int i = 0; i < size; i++) {
24 |
25 | Entry e = data.getEntryForIndex(i);
26 | addForm(e.getXIndex(), e.getVal() * phaseY);
27 | }
28 |
29 | reset();
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/data/RadarDataSet.java:
--------------------------------------------------------------------------------
1 |
2 | package com.github.mikephil.charting.data;
3 |
4 | import com.github.mikephil.charting.interfaces.datasets.IRadarDataSet;
5 |
6 | import java.util.ArrayList;
7 | import java.util.List;
8 |
9 | public class RadarDataSet extends LineRadarDataSet implements IRadarDataSet {
10 |
11 | public RadarDataSet(List yVals, String label) {
12 | super(yVals, label);
13 | }
14 |
15 | @Override
16 | public DataSet copy() {
17 |
18 | List yVals = new ArrayList();
19 |
20 | for (int i = 0; i < mYVals.size(); i++) {
21 | yVals.add(mYVals.get(i).copy());
22 | }
23 |
24 | RadarDataSet copied = new RadarDataSet(yVals, getLabel());
25 | copied.mColors = mColors;
26 | copied.mHighLightColor = mHighLightColor;
27 |
28 | return copied;
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/drawer.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/progressviewslib/src/main/java/com/natasa/progressviews/utils/ShapeType.java:
--------------------------------------------------------------------------------
1 | /*
2 | * ProgressViews
3 | * Copyright (c) 2015 Natasa Misic
4 | *
5 | *
6 | * This program is free software: you can redistribute it and/or modify
7 | * it under the terms of the GNU General Public License as published by
8 | * the Free Software Foundation, either version 3 of the License, or
9 | * (at your option) any later version.
10 | *
11 | * This program is distributed in the hope that it will be useful,
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 | * GNU General Public License for more details.
15 | *
16 | * You should have received a copy of the GNU General Public License
17 | * along with this program. If not, see .
18 | *
19 | */
20 |
21 | package com.natasa.progressviews.utils;
22 |
23 | public enum ShapeType {
24 | CIRCLE, ARC, LINE, SEGMENT_CIRCLE;
25 | }
26 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/formatter/XAxisValueFormatter.java:
--------------------------------------------------------------------------------
1 | package com.github.mikephil.charting.formatter;
2 |
3 | import com.github.mikephil.charting.utils.ViewPortHandler;
4 |
5 | /**
6 | * Created by Philipp Jahoda on 14/09/15.
7 | * An interface for providing custom x-axis Strings.
8 | *
9 | * @author Philipp Jahoda
10 | */
11 | public interface XAxisValueFormatter {
12 |
13 | /**
14 | * Returns the customized label that is drawn on the x-axis.
15 | * For performance reasons, avoid excessive calculations
16 | * and memory allocations inside this method.
17 | *
18 | * @param original the original x-axis label to be drawn
19 | * @param index the x-index that is currently being drawn
20 | * @param viewPortHandler provides information about the current chart state (scale, translation, ...)
21 | * @return
22 | */
23 | String getXValue(String original, int index, ViewPortHandler viewPortHandler);
24 | }
25 |
--------------------------------------------------------------------------------
/progressviewslib/src/main/java/com/natasa/progressviews/utils/ProgressShape.java:
--------------------------------------------------------------------------------
1 | /*
2 | * ProgressViews
3 | * Copyright (c) 2015 Natasa Misic
4 | *
5 | *
6 | * This program is free software: you can redistribute it and/or modify
7 | * it under the terms of the GNU General Public License as published by
8 | * the Free Software Foundation, either version 3 of the License, or
9 | * (at your option) any later version.
10 | *
11 | * This program is distributed in the hope that it will be useful,
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 | * GNU General Public License for more details.
15 | *
16 | * You should have received a copy of the GNU General Public License
17 | * along with this program. If not, see .
18 | *
19 | */
20 |
21 | package com.natasa.progressviews.utils;
22 |
23 | public interface ProgressShape {
24 | public ShapeType setType(ShapeType type);
25 | }
26 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/highlight/Range.java:
--------------------------------------------------------------------------------
1 | package com.github.mikephil.charting.highlight;
2 |
3 | /**
4 | * Created by Philipp Jahoda on 24/07/15. Class that represents the range of one value in a stacked bar entry. e.g.
5 | * stack values are -10, 5, 20 -> then ranges are (-10 - 0, 0 - 5, 5 - 25).
6 | */
7 | public final class Range {
8 |
9 | public float from;
10 | public float to;
11 |
12 | public Range(float from, float to) {
13 | this.from = from;
14 | this.to = to;
15 | }
16 |
17 | /**
18 | * Returns true if this range contains (if the value is in between) the given value, false if not.
19 | *
20 | * @param value
21 | * @return
22 | */
23 | public boolean contains(float value) {
24 |
25 | if (value > from && value <= to)
26 | return true;
27 | else
28 | return false;
29 | }
30 |
31 | public boolean isLarger(float value) {
32 | return value > to;
33 | }
34 |
35 | public boolean isSmaller(float value) {
36 | return value < from;
37 | }
38 | }
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/interfaces/datasets/IScatterDataSet.java:
--------------------------------------------------------------------------------
1 | package com.github.mikephil.charting.interfaces.datasets;
2 |
3 | import com.github.mikephil.charting.charts.ScatterChart;
4 | import com.github.mikephil.charting.data.Entry;
5 |
6 | /**
7 | * Created by philipp on 21/10/15.
8 | */
9 | public interface IScatterDataSet extends ILineScatterCandleRadarDataSet {
10 |
11 | /**
12 | * Returns the currently set scatter shape size
13 | *
14 | * @return
15 | */
16 | float getScatterShapeSize();
17 |
18 | /**
19 | * Returns all the different scattershapes the chart uses
20 | *
21 | * @return
22 | */
23 | ScatterChart.ScatterShape getScatterShape();
24 |
25 | /**
26 | * Returns radius of the hole in the shape
27 | *
28 | * @return
29 | */
30 | float getScatterShapeHoleRadius();
31 |
32 | /**
33 | * Returns the color for the hole in the shape
34 | *
35 | * @return
36 | */
37 | int getScatterShapeHoleColor();
38 | }
39 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/data/realm/base/RealmUtils.java:
--------------------------------------------------------------------------------
1 | package com.github.mikephil.charting.data.realm.base;
2 |
3 | import java.util.ArrayList;
4 | import java.util.List;
5 |
6 | import io.realm.DynamicRealmObject;
7 | import io.realm.RealmObject;
8 | import io.realm.RealmResults;
9 | /**
10 | * Created by Philipp Jahoda on 19/12/15.
11 | */
12 | public final class RealmUtils {
13 |
14 | /**
15 | * Transforms the given Realm-ResultSet into a String array by using the provided xValuesField.
16 | *
17 | * @param result
18 | * @param xValuesField
19 | * @return
20 | */
21 | public static List toXVals(RealmResults extends RealmObject> result, String xValuesField) {
22 |
23 | List xVals = new ArrayList<>();
24 |
25 | for (RealmObject object : result) {
26 |
27 | DynamicRealmObject dynamicObject = new DynamicRealmObject(object);
28 | xVals.add(dynamicObject.getString(xValuesField));
29 | }
30 |
31 | return xVals;
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/maddi/fitness/Constants.java:
--------------------------------------------------------------------------------
1 | package com.example.maddi.fitness;
2 |
3 | public final class Constants {
4 | public static final int SUCCESS_RESULT = 0;
5 | public static final int FAILURE_RESULT = 1;
6 |
7 | public static final int USE_ADDRESS_NAME = 1;
8 | public static final int USE_ADDRESS_LOCATION = 2;
9 |
10 | public static final String PACKAGE_NAME = "com.example.maddi.mapsandyoutubehw11";
11 | public static final String RECEIVER = PACKAGE_NAME + ".RECEIVER";
12 | public static final String RESULT_DATA_KEY = PACKAGE_NAME + ".RESULT_DATA_KEY";
13 | public static final String RESULT_ADDRESS = PACKAGE_NAME + ".RESULT_ADDRESS";
14 | public static final String LOCATION_LATITUDE_DATA_EXTRA = PACKAGE_NAME + ".LOCATION_LATITUDE_DATA_EXTRA";
15 | public static final String LOCATION_LONGITUDE_DATA_EXTRA = PACKAGE_NAME + ".LOCATION_LONGITUDE_DATA_EXTRA";
16 | public static final String LOCATION_NAME_DATA_EXTRA = PACKAGE_NAME + ".LOCATION_NAME_DATA_EXTRA";
17 | public static final String FETCH_TYPE_EXTRA = PACKAGE_NAME + ".FETCH_TYPE_EXTRA";
18 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/example/maddi/fitness/PagerAdapter.java:
--------------------------------------------------------------------------------
1 | package com.example.maddi.fitness;
2 |
3 | import android.support.v4.app.Fragment;
4 | import android.support.v4.app.FragmentManager;
5 | import android.support.v4.app.FragmentStatePagerAdapter;
6 |
7 | public class PagerAdapter extends FragmentStatePagerAdapter {
8 |
9 | int numTabs;
10 |
11 | public PagerAdapter(FragmentManager fm, int tabs) {
12 | super(fm);
13 | this.numTabs = tabs;
14 | }
15 |
16 | @Override
17 | public Fragment getItem(int position) {
18 | switch (position) {
19 | case 0:
20 | Fragment1 tab1 = new Fragment1();
21 | return tab1;
22 | case 1:
23 | Fragment2 tab2 = new Fragment2();
24 | return tab2;
25 | case 2:
26 | Fragment3 tab3 = new Fragment3();
27 | return tab3;
28 | default:
29 | return null;
30 | }
31 | }
32 |
33 | @Override
34 | public int getCount() {
35 | return numTabs;
36 | }
37 |
38 | }
39 |
--------------------------------------------------------------------------------
/progressviewslib/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
21 |
22 |
23 | #9b9b9b
24 | #1DE9B6
25 | #B0BEC5
26 |
27 |
28 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/listener/OnChartValueSelectedListener.java:
--------------------------------------------------------------------------------
1 | package com.github.mikephil.charting.listener;
2 |
3 | import com.github.mikephil.charting.data.Entry;
4 | import com.github.mikephil.charting.highlight.Highlight;
5 |
6 | /**
7 | * Listener for callbacks when selecting values inside the chart by
8 | * touch-gesture.
9 | *
10 | * @author Philipp Jahoda
11 | */
12 | public interface OnChartValueSelectedListener {
13 |
14 | /**
15 | * Called when a value has been selected inside the chart.
16 | *
17 | * @param e The selected Entry.
18 | * @param dataSetIndex The index in the datasets array of the data object
19 | * the Entrys DataSet is in.
20 | * @param h the corresponding highlight object that contains information
21 | * about the highlighted position
22 | */
23 | void onValueSelected(Entry e, int dataSetIndex, Highlight h);
24 |
25 | /**
26 | * Called when nothing has been selected or an "un-select" has been made.
27 | */
28 | void onNothingSelected();
29 | }
30 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/listener/OnDrawListener.java:
--------------------------------------------------------------------------------
1 | package com.github.mikephil.charting.listener;
2 |
3 | import com.github.mikephil.charting.data.DataSet;
4 | import com.github.mikephil.charting.data.Entry;
5 |
6 | /**
7 | * Listener for callbacks when drawing on the chart.
8 | *
9 | * @author Philipp
10 | *
11 | */
12 | public interface OnDrawListener {
13 |
14 | /**
15 | * Called whenever an entry is added with the finger. Note this is also called for entries that are generated by the
16 | * library, when the touch gesture is too fast and skips points.
17 | *
18 | * @param entry
19 | * the last drawn entry
20 | */
21 | void onEntryAdded(Entry entry);
22 |
23 | /**
24 | * Called whenever an entry is moved by the user after beeing highlighted
25 | *
26 | * @param entry
27 | */
28 | void onEntryMoved(Entry entry);
29 |
30 | /**
31 | * Called when drawing finger is lifted and the draw is finished.
32 | *
33 | * @param dataSet
34 | * the last drawn DataSet
35 | */
36 | void onDrawFinished(DataSet> dataSet);
37 |
38 | }
39 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/data/BarLineScatterCandleBubbleData.java:
--------------------------------------------------------------------------------
1 |
2 | package com.github.mikephil.charting.data;
3 |
4 | import com.github.mikephil.charting.interfaces.datasets.IBarLineScatterCandleBubbleDataSet;
5 |
6 | import java.util.List;
7 |
8 | /**
9 | * Baseclass for all Line, Bar, Scatter, Candle and Bubble data.
10 | *
11 | * @author Philipp Jahoda
12 | */
13 | public abstract class BarLineScatterCandleBubbleData>
14 | extends ChartData {
15 |
16 | public BarLineScatterCandleBubbleData() {
17 | super();
18 | }
19 |
20 | public BarLineScatterCandleBubbleData(List xVals) {
21 | super(xVals);
22 | }
23 |
24 | public BarLineScatterCandleBubbleData(String[] xVals) {
25 | super(xVals);
26 | }
27 |
28 | public BarLineScatterCandleBubbleData(List xVals, List sets) {
29 | super(xVals, sets);
30 | }
31 |
32 | public BarLineScatterCandleBubbleData(String[] xVals, List sets) {
33 | super(xVals, sets);
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/fragment_mapload.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
16 |
17 |
18 |
26 |
--------------------------------------------------------------------------------
/progressviewslib/src/main/java/com/natasa/progressviews/utils/OnProgressViewListener.java:
--------------------------------------------------------------------------------
1 | /*
2 | * ProgressViews
3 | * Copyright (c) 2015 Natasa Misic
4 | *
5 | *
6 | * This program is free software: you can redistribute it and/or modify
7 | * it under the terms of the GNU General Public License as published by
8 | * the Free Software Foundation, either version 3 of the License, or
9 | * (at your option) any later version.
10 | *
11 | * This program is distributed in the hope that it will be useful,
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 | * GNU General Public License for more details.
15 | *
16 | * You should have received a copy of the GNU General Public License
17 | * along with this program. If not, see .
18 | *
19 | */
20 |
21 | package com.natasa.progressviews.utils;
22 |
23 | public interface OnProgressViewListener {
24 | public void onFinish();
25 |
26 | public void onProgressUpdate(float progress);
27 |
28 | void setProgress(float prog);
29 |
30 | int getprogress();
31 | }
32 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/jobs/AnimatedMoveViewJob.java:
--------------------------------------------------------------------------------
1 | package com.github.mikephil.charting.jobs;
2 |
3 | import android.animation.ObjectAnimator;
4 | import android.animation.ValueAnimator;
5 | import android.annotation.SuppressLint;
6 | import android.view.View;
7 |
8 | import com.github.mikephil.charting.utils.Transformer;
9 | import com.github.mikephil.charting.utils.ViewPortHandler;
10 |
11 | /**
12 | * Created by Philipp Jahoda on 19/02/16.
13 | */
14 | public class AnimatedMoveViewJob extends AnimatedViewPortJob {
15 |
16 | public AnimatedMoveViewJob(ViewPortHandler viewPortHandler, float xValue, float yValue, Transformer trans, View v, float xOrigin, float yOrigin, long duration) {
17 | super(viewPortHandler, xValue, yValue, trans, v, xOrigin, yOrigin, duration);
18 | }
19 |
20 | @Override
21 | public void onAnimationUpdate(ValueAnimator animation) {
22 |
23 | pts[0] = xOrigin + (xValue - xOrigin) * phase;
24 | pts[1] = yOrigin + (yValue - yOrigin) * phase;
25 |
26 | mTrans.pointValuesToPixel(pts);
27 | mViewPortHandler.centerViewPort(pts, view);
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/interfaces/datasets/ILineScatterCandleRadarDataSet.java:
--------------------------------------------------------------------------------
1 | package com.github.mikephil.charting.interfaces.datasets;
2 |
3 | import android.graphics.DashPathEffect;
4 |
5 | import com.github.mikephil.charting.data.Entry;
6 |
7 | /**
8 | * Created by Philipp Jahoda on 21/10/15.
9 | */
10 | public interface ILineScatterCandleRadarDataSet extends IBarLineScatterCandleBubbleDataSet {
11 |
12 | /**
13 | * Returns true if vertical highlight indicator lines are enabled (drawn)
14 | * @return
15 | */
16 | boolean isVerticalHighlightIndicatorEnabled();
17 |
18 | /**
19 | * Returns true if vertical highlight indicator lines are enabled (drawn)
20 | * @return
21 | */
22 | boolean isHorizontalHighlightIndicatorEnabled();
23 |
24 | /**
25 | * Returns the line-width in which highlight lines are to be drawn.
26 | * @return
27 | */
28 | float getHighlightLineWidth();
29 |
30 | /**
31 | * Returns the DashPathEffect that is used for highlighting.
32 | * @return
33 | */
34 | DashPathEffect getDashPathEffectHighlight();
35 | }
36 |
--------------------------------------------------------------------------------
/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
11 |
12 |
18 |
19 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/menu/draw.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/progressviewslib/src/main/java/com/natasa/progressviews/utils/ProgressLineOrientation.java:
--------------------------------------------------------------------------------
1 | /*
2 | * ProgressViews
3 | * Copyright (c) 2015 Natasa Misic
4 | *
5 | *
6 | * This program is free software: you can redistribute it and/or modify
7 | * it under the terms of the GNU General Public License as published by
8 | * the Free Software Foundation, either version 3 of the License, or
9 | * (at your option) any later version.
10 | *
11 | * This program is distributed in the hope that it will be useful,
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 | * GNU General Public License for more details.
15 | *
16 | * You should have received a copy of the GNU General Public License
17 | * along with this program. If not, see .
18 | *
19 | */
20 |
21 | package com.natasa.progressviews.utils;
22 |
23 | public enum ProgressLineOrientation {
24 | HORIZONTAL(0), VERTICAL(1);
25 |
26 | int value;
27 |
28 | private ProgressLineOrientation(int value) {
29 | this.value = value;
30 | }
31 |
32 | public int getValue() {
33 | return value;
34 | }
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/src/com/xxmassdeveloper/mpchartexample/custom/MyCustomXAxisValueFormatter.java:
--------------------------------------------------------------------------------
1 | package com.xxmassdeveloper.mpchartexample.custom;
2 |
3 | import com.github.mikephil.charting.utils.ViewPortHandler;
4 | import com.github.mikephil.charting.formatter.XAxisValueFormatter;
5 |
6 | /**
7 | * Created by Philipp Jahoda on 14/09/15.
8 | */
9 | public class MyCustomXAxisValueFormatter implements XAxisValueFormatter {
10 |
11 | public MyCustomXAxisValueFormatter() {
12 | // maybe do something here or provide parameters in constructor
13 | }
14 |
15 | @Override
16 | public String getXValue(String original, int index, ViewPortHandler viewPortHandler) {
17 |
18 | //Log.i("TRANS", "x: " + viewPortHandler.getTransX() + ", y: " + viewPortHandler.getTransY());
19 |
20 | // e.g. adjust the x-axis values depending on scale / zoom level
21 | if (viewPortHandler.getScaleX() > 5)
22 | return "4";
23 | else if (viewPortHandler.getScaleX() > 3)
24 | return "3";
25 | else if (viewPortHandler.getScaleX() > 1)
26 | return "2";
27 | else
28 | return original;
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/tab_fragment_2.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
20 |
21 |
30 |
31 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/tab_fragment_3.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
20 |
21 |
30 |
31 |
--------------------------------------------------------------------------------
/progressviewslib/src/main/java/com/natasa/progressviews/utils/ProgressStartPoint.java:
--------------------------------------------------------------------------------
1 | /*
2 | * ProgressViews
3 | * Copyright (c) 2015 Natasa Misic
4 | *
5 | *
6 | * This program is free software: you can redistribute it and/or modify
7 | * it under the terms of the GNU General Public License as published by
8 | * the Free Software Foundation, either version 3 of the License, or
9 | * (at your option) any later version.
10 | *
11 | * This program is distributed in the hope that it will be useful,
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 | * GNU General Public License for more details.
15 | *
16 | * You should have received a copy of the GNU General Public License
17 | * along with this program. If not, see .
18 | *
19 | */
20 |
21 | package com.natasa.progressviews.utils;
22 | /***only for CircleProgressBar and CircleSegmentBar**/
23 | public enum ProgressStartPoint {
24 |
25 | DEFAULT(-90), LEFT(180), RIGHT(0), BOTTOM(90);
26 | int value;
27 | private ProgressStartPoint(int value) {
28 | this.value = value;
29 | }
30 | public int getValue() {
31 | return value;
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/layout/activity_colored_lines.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
12 |
17 |
22 |
27 |
28 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/src/com/xxmassdeveloper/mpchartexample/notimportant/DemoBase.java:
--------------------------------------------------------------------------------
1 |
2 | package com.xxmassdeveloper.mpchartexample.notimportant;
3 |
4 | import android.support.v4.app.FragmentActivity;
5 |
6 | import com.xxmassdeveloper.mpchartexample.R;
7 |
8 | /**
9 | * Baseclass of all Activities of the Demo Application.
10 | *
11 | * @author Philipp Jahoda
12 | */
13 | public abstract class DemoBase extends FragmentActivity {
14 |
15 | protected String[] mMonths = new String[] {
16 | "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"
17 | };
18 |
19 | protected String[] mParties = new String[] {
20 | "Party A", "Party B", "Party C", "Party D", "Party E", "Party F", "Party G", "Party H",
21 | "Party I", "Party J", "Party K", "Party L", "Party M", "Party N", "Party O", "Party P",
22 | "Party Q", "Party R", "Party S", "Party T", "Party U", "Party V", "Party W", "Party X",
23 | "Party Y", "Party Z"
24 | };
25 |
26 | @Override
27 | public void onBackPressed() {
28 | super.onBackPressed();
29 | overridePendingTransition(R.anim.move_left_in_activity, R.anim.move_right_out_activity);
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/src/com/xxmassdeveloper/mpchartexample/realm/Score.java:
--------------------------------------------------------------------------------
1 | package com.xxmassdeveloper.mpchartexample.realm;
2 |
3 |
4 | import io.realm.RealmObject;
5 |
6 | /**
7 | * our data object
8 | */
9 | public class Score extends RealmObject {
10 |
11 | private float totalScore;
12 |
13 | private int scoreNr;
14 |
15 | private String playerName;
16 |
17 | public Score() {
18 | }
19 |
20 | public Score(float totalScore, int scoreNr, String playerName) {
21 | this.scoreNr = scoreNr;
22 | this.playerName = playerName;
23 | this.totalScore = totalScore;
24 | }
25 |
26 | // all getters and setters...
27 |
28 | public float getTotalScore() {
29 | return totalScore;
30 | }
31 |
32 | public void setTotalScore(float totalScore) {
33 | this.totalScore = totalScore;
34 | }
35 |
36 | public int getScoreNr() {
37 | return scoreNr;
38 | }
39 |
40 | public void setScoreNr(int scoreNr) {
41 | this.scoreNr = scoreNr;
42 | }
43 |
44 | public String getPlayerName() {
45 | return playerName;
46 | }
47 |
48 | public void setPlayerName(String playerName) {
49 | this.playerName = playerName;
50 | }
51 | }
--------------------------------------------------------------------------------
/app/src/main/res/layout/tab_fragment_1.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
19 |
20 |
30 |
31 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/menu/bubble.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/menu/scatter.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/menu/candle.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/maddi/fitness/EnterInfoActivity.java:
--------------------------------------------------------------------------------
1 | package com.example.maddi.fitness;
2 |
3 | import android.content.Intent;
4 | import android.os.Bundle;
5 | import android.support.design.widget.CollapsingToolbarLayout;
6 | import android.support.v7.app.AppCompatActivity;
7 | import android.support.v7.widget.Toolbar;
8 |
9 | public class EnterInfoActivity extends AppCompatActivity implements
10 | BasicInfoFragment.OnFloatingButtonClickListener {
11 |
12 | @Override
13 | protected void onCreate(Bundle savedInstanceState) {
14 | super.onCreate(savedInstanceState);
15 | setContentView(R.layout.activity_basicinfo);
16 | if (savedInstanceState == null) {
17 | getSupportFragmentManager().beginTransaction()
18 | .replace(R.id.container, new BasicInfoFragment())
19 | .commit();
20 | }
21 | Toolbar toolbar = findViewById(R.id.toolbar);
22 | setSupportActionBar(toolbar);
23 | CollapsingToolbarLayout collapsingToolbar = findViewById(R.id.collapsing_toolbar);
24 | collapsingToolbar.setTitle("Information");
25 | }
26 |
27 | @Override
28 | public void onFloatingButtonClicked() {
29 | Intent myIntent = new Intent(this, SetGoalActivity.class);
30 | startActivity(myIntent);
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/data/BarLineScatterCandleBubbleDataSet.java:
--------------------------------------------------------------------------------
1 |
2 | package com.github.mikephil.charting.data;
3 |
4 | import android.graphics.Color;
5 |
6 | import com.github.mikephil.charting.interfaces.datasets.IBarLineScatterCandleBubbleDataSet;
7 |
8 | import java.util.List;
9 |
10 | /**
11 | * Baseclass of all DataSets for Bar-, Line-, Scatter- and CandleStickChart.
12 | *
13 | * @author Philipp Jahoda
14 | */
15 | public abstract class BarLineScatterCandleBubbleDataSet extends DataSet implements IBarLineScatterCandleBubbleDataSet {
16 |
17 | /** default highlight color */
18 | protected int mHighLightColor = Color.rgb(255, 187, 115);
19 |
20 | public BarLineScatterCandleBubbleDataSet(List yVals, String label) {
21 | super(yVals, label);
22 | }
23 |
24 | /**
25 | * Sets the color that is used for drawing the highlight indicators. Dont
26 | * forget to resolve the color using getResources().getColor(...) or
27 | * Color.rgb(...).
28 | *
29 | * @param color
30 | */
31 | public void setHighLightColor(int color) {
32 | mHighLightColor = color;
33 | }
34 |
35 | @Override
36 | public int getHighLightColor() {
37 | return mHighLightColor;
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/utils/FSize.java:
--------------------------------------------------------------------------------
1 |
2 | package com.github.mikephil.charting.utils;
3 |
4 | /**
5 | * Immutable class for describing width and height dimensions in some arbitrary
6 | * unit. Replacement for the android.Util.SizeF which is available only on API >= 21.
7 | */
8 | public final class FSize {
9 |
10 | public final float width;
11 | public final float height;
12 |
13 | public FSize(final float width, final float height) {
14 | this.width = width;
15 | this.height = height;
16 | }
17 |
18 | @Override
19 | public boolean equals(final Object obj) {
20 | if (obj == null) {
21 | return false;
22 | }
23 | if (this == obj) {
24 | return true;
25 | }
26 | if (obj instanceof FSize) {
27 | final FSize other = (FSize) obj;
28 | return width == other.width && height == other.height;
29 | }
30 | return false;
31 | }
32 |
33 | @Override
34 | public String toString() {
35 | return width + "x" + height;
36 | }
37 |
38 | /**
39 | * {@inheritDoc}
40 | */
41 | @Override
42 | public int hashCode() {
43 | return Float.floatToIntBits(width) ^ Float.floatToIntBits(height);
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/hyperspace_jump.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
15 |
16 |
26 |
34 |
35 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/menu/pie.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/data/CandleData.java:
--------------------------------------------------------------------------------
1 | package com.github.mikephil.charting.data;
2 |
3 | import com.github.mikephil.charting.interfaces.datasets.ICandleDataSet;
4 |
5 | import java.util.ArrayList;
6 | import java.util.List;
7 |
8 | public class CandleData extends BarLineScatterCandleBubbleData {
9 |
10 | public CandleData() {
11 | super();
12 | }
13 |
14 | public CandleData(List xVals) {
15 | super(xVals);
16 | }
17 |
18 | public CandleData(String[] xVals) {
19 | super(xVals);
20 | }
21 |
22 | public CandleData(List xVals, List dataSets) {
23 | super(xVals, dataSets);
24 | }
25 |
26 | public CandleData(String[] xVals, List dataSets) {
27 | super(xVals, dataSets);
28 | }
29 |
30 | public CandleData(List xVals, ICandleDataSet dataSet) {
31 | super(xVals, toList(dataSet));
32 | }
33 |
34 | public CandleData(String[] xVals, ICandleDataSet dataSet) {
35 | super(xVals, toList(dataSet));
36 | }
37 |
38 | private static List toList(ICandleDataSet dataSet) {
39 | List sets = new ArrayList();
40 | sets.add(dataSet);
41 | return sets;
42 | }
43 | }
44 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/formatter/DefaultYAxisValueFormatter.java:
--------------------------------------------------------------------------------
1 | package com.github.mikephil.charting.formatter;
2 |
3 | import com.github.mikephil.charting.components.YAxis;
4 |
5 | import java.text.DecimalFormat;
6 |
7 | /**
8 | * Created by Philipp Jahoda on 20/09/15.
9 | * Default formatter used for formatting labels of the YAxis. Uses a DecimalFormat with
10 | * pre-calculated number of digits (depending on max and min value).
11 | */
12 | public class DefaultYAxisValueFormatter implements YAxisValueFormatter {
13 |
14 | /** decimalformat for formatting */
15 | private DecimalFormat mFormat;
16 |
17 | /**
18 | * Constructor that specifies to how many digits the value should be
19 | * formatted.
20 | *
21 | * @param digits
22 | */
23 | public DefaultYAxisValueFormatter(int digits) {
24 |
25 | StringBuffer b = new StringBuffer();
26 | for (int i = 0; i < digits; i++) {
27 | if (i == 0)
28 | b.append(".");
29 | b.append("0");
30 | }
31 |
32 | mFormat = new DecimalFormat("###,###,###,##0" + b.toString());
33 | }
34 |
35 | @Override
36 | public String getFormattedValue(float value, YAxis yAxis) {
37 | // avoid memory allocations here (for performance)
38 | return mFormat.format(value);
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #F44336
4 | #E53935
5 | #FF4081
6 | #FFFFFF
7 | #FFEB3B
8 | #FDD835
9 | #000000
10 | #ff0000
11 | #9E9E9E
12 | #26A69A
13 | #D95900
14 | #4A20AB
15 | #F7CA18
16 | #22A7F0
17 | #F22613
18 | #EDD834
19 | #FF7E55
20 | #FADAA3
21 | #72BAAC
22 | #f7f2e5
23 | #0B0080
24 | #3162D7
25 | #002841
26 | #c1beba
27 | #f2f1ef
28 | #fcbc21
29 | #fedc89
30 | #524e4a
31 |
32 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/data/RadarData.java:
--------------------------------------------------------------------------------
1 |
2 | package com.github.mikephil.charting.data;
3 |
4 | import com.github.mikephil.charting.interfaces.datasets.IRadarDataSet;
5 |
6 | import java.util.ArrayList;
7 | import java.util.List;
8 |
9 | /**
10 | * Data container for the RadarChart.
11 | *
12 | * @author Philipp Jahoda
13 | */
14 | public class RadarData extends ChartData {
15 |
16 | public RadarData() {
17 | super();
18 | }
19 |
20 | public RadarData(List xVals) {
21 | super(xVals);
22 | }
23 |
24 | public RadarData(String[] xVals) {
25 | super(xVals);
26 | }
27 |
28 | public RadarData(List xVals, List dataSets) {
29 | super(xVals, dataSets);
30 | }
31 |
32 | public RadarData(String[] xVals, List dataSets) {
33 | super(xVals, dataSets);
34 | }
35 |
36 | public RadarData(List xVals, IRadarDataSet dataSet) {
37 | super(xVals, toList(dataSet));
38 | }
39 |
40 | public RadarData(String[] xVals, IRadarDataSet dataSet) {
41 | super(xVals, toList(dataSet));
42 | }
43 |
44 | private static List toList(IRadarDataSet dataSet) {
45 | List sets = new ArrayList();
46 | sets.add(dataSet);
47 | return sets;
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/menu/bar.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/formatter/PercentFormatter.java:
--------------------------------------------------------------------------------
1 |
2 | package com.github.mikephil.charting.formatter;
3 |
4 | import com.github.mikephil.charting.components.YAxis;
5 | import com.github.mikephil.charting.data.Entry;
6 | import com.github.mikephil.charting.utils.ViewPortHandler;
7 |
8 | import java.text.DecimalFormat;
9 |
10 | /**
11 | * This ValueFormatter is just for convenience and simply puts a "%" sign after
12 | * each value. (Recommeded for PieChart)
13 | *
14 | * @author Philipp Jahoda
15 | */
16 | public class PercentFormatter implements ValueFormatter, YAxisValueFormatter {
17 |
18 | protected DecimalFormat mFormat;
19 |
20 | public PercentFormatter() {
21 | mFormat = new DecimalFormat("###,###,##0.0");
22 | }
23 |
24 | /**
25 | * Allow a custom decimalformat
26 | *
27 | * @param format
28 | */
29 | public PercentFormatter(DecimalFormat format) {
30 | this.mFormat = format;
31 | }
32 |
33 | // ValueFormatter
34 | @Override
35 | public String getFormattedValue(float value, Entry entry, int dataSetIndex, ViewPortHandler viewPortHandler) {
36 | return mFormat.format(value) + " %";
37 | }
38 |
39 | // YAxisValueFormatter
40 | @Override
41 | public String getFormattedValue(float value, YAxis yAxis) {
42 | return mFormat.format(value) + " %";
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/data/LineData.java:
--------------------------------------------------------------------------------
1 |
2 | package com.github.mikephil.charting.data;
3 |
4 | import com.github.mikephil.charting.interfaces.datasets.ILineDataSet;
5 |
6 | import java.util.ArrayList;
7 | import java.util.List;
8 |
9 | /**
10 | * Data object that encapsulates all data associated with a LineChart.
11 | *
12 | * @author Philipp Jahoda
13 | */
14 | public class LineData extends BarLineScatterCandleBubbleData {
15 |
16 | public LineData() {
17 | super();
18 | }
19 |
20 | public LineData(List xVals) {
21 | super(xVals);
22 | }
23 |
24 | public LineData(String[] xVals) {
25 | super(xVals);
26 | }
27 |
28 | public LineData(List xVals, List dataSets) {
29 | super(xVals, dataSets);
30 | }
31 |
32 | public LineData(String[] xVals, List dataSets) {
33 | super(xVals, dataSets);
34 | }
35 |
36 | public LineData(List xVals, ILineDataSet dataSet) {
37 | super(xVals, toList(dataSet));
38 | }
39 |
40 | public LineData(String[] xVals, ILineDataSet dataSet) {
41 | super(xVals, toList(dataSet));
42 | }
43 |
44 | private static List toList(ILineDataSet dataSet) {
45 | List sets = new ArrayList();
46 | sets.add(dataSet);
47 | return sets;
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/formatter/ValueFormatter.java:
--------------------------------------------------------------------------------
1 | package com.github.mikephil.charting.formatter;
2 |
3 | import com.github.mikephil.charting.data.Entry;
4 | import com.github.mikephil.charting.utils.ViewPortHandler;
5 |
6 | /**
7 | * Interface that allows custom formatting of all values inside the chart before they are
8 | * being drawn to the screen. Simply create your own formatting class and let
9 | * it implement ValueFormatter. Then override the getFormattedValue(...) method
10 | * and return whatever you want.
11 | *
12 | * @author Philipp Jahoda
13 | */
14 | public interface ValueFormatter {
15 |
16 | /**
17 | * Called when a value (from labels inside the chart) is formatted
18 | * before being drawn. For performance reasons, avoid excessive calculations
19 | * and memory allocations inside this method.
20 | *
21 | * @param value the value to be formatted
22 | * @param entry the entry the value belongs to - in e.g. BarChart, this is of class BarEntry
23 | * @param dataSetIndex the index of the DataSet the entry in focus belongs to
24 | * @param viewPortHandler provides information about the current chart state (scale, translation, ...)
25 | * @return the formatted label ready for being drawn
26 | */
27 | String getFormattedValue(float value, Entry entry, int dataSetIndex, ViewPortHandler viewPortHandler);
28 | }
29 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/formatter/DefaultFillFormatter.java:
--------------------------------------------------------------------------------
1 | package com.github.mikephil.charting.formatter;
2 |
3 |
4 | import com.github.mikephil.charting.data.LineData;
5 | import com.github.mikephil.charting.interfaces.dataprovider.LineDataProvider;
6 | import com.github.mikephil.charting.interfaces.datasets.ILineDataSet;
7 |
8 | /**
9 | * Default formatter that calculates the position of the filled line.
10 | *
11 | * @author Philipp Jahoda
12 | */
13 | public class DefaultFillFormatter implements FillFormatter {
14 |
15 | @Override
16 | public float getFillLinePosition(ILineDataSet dataSet, LineDataProvider dataProvider) {
17 |
18 | float fillMin = 0f;
19 | float chartMaxY = dataProvider.getYChartMax();
20 | float chartMinY = dataProvider.getYChartMin();
21 |
22 | LineData data = dataProvider.getLineData();
23 |
24 | if (dataSet.getYMax() > 0 && dataSet.getYMin() < 0) {
25 | fillMin = 0f;
26 | } else {
27 |
28 | float max, min;
29 |
30 | if (data.getYMax() > 0)
31 | max = 0f;
32 | else
33 | max = chartMaxY;
34 | if (data.getYMin() < 0)
35 | min = 0f;
36 | else
37 | min = chartMinY;
38 |
39 | fillMin = dataSet.getYMin() >= 0 ? min : max;
40 | }
41 |
42 | return fillMin;
43 | }
44 | }
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_recycler_frag_change_main.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
17 |
18 |
19 |
22 |
23 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/menu/radar.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/layout/activity_scrollview.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
10 |
11 |
16 |
17 |
18 |
19 |
22 |
23 |
27 |
28 |
29 |
30 |
33 |
34 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/formatter/DefaultValueFormatter.java:
--------------------------------------------------------------------------------
1 |
2 | package com.github.mikephil.charting.formatter;
3 |
4 | import com.github.mikephil.charting.data.Entry;
5 | import com.github.mikephil.charting.utils.ViewPortHandler;
6 |
7 | import java.text.DecimalFormat;
8 |
9 | /**
10 | * Default formatter used for formatting values inside the chart. Uses a DecimalFormat with
11 | * pre-calculated number of digits (depending on max and min value).
12 | *
13 | * @author Philipp Jahoda
14 | */
15 | public class DefaultValueFormatter implements ValueFormatter {
16 |
17 | /** decimalformat for formatting */
18 | private DecimalFormat mFormat;
19 |
20 | /**
21 | * Constructor that specifies to how many digits the value should be
22 | * formatted.
23 | *
24 | * @param digits
25 | */
26 | public DefaultValueFormatter(int digits) {
27 |
28 | StringBuffer b = new StringBuffer();
29 | for (int i = 0; i < digits; i++) {
30 | if (i == 0)
31 | b.append(".");
32 | b.append("0");
33 | }
34 |
35 | mFormat = new DecimalFormat("###,###,###,##0" + b.toString());
36 | }
37 |
38 | @Override
39 | public String getFormattedValue(float value, Entry entry, int dataSetIndex, ViewPortHandler viewPortHandler) {
40 |
41 | // put more logic here ...
42 | // avoid memory allocations here (for performance reasons)
43 |
44 | return mFormat.format(value);
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/jobs/ViewPortJob.java:
--------------------------------------------------------------------------------
1 |
2 | package com.github.mikephil.charting.jobs;
3 |
4 | import android.view.View;
5 |
6 | import com.github.mikephil.charting.utils.Transformer;
7 | import com.github.mikephil.charting.utils.ViewPortHandler;
8 |
9 | /**
10 | * Runnable that is used for viewport modifications since they cannot be
11 | * executed at any time. This can be used to delay the execution of viewport
12 | * modifications until the onSizeChanged(...) method of the chart-view is called.
13 | * This is especially important if viewport modifying methods are called on the chart
14 | * directly after initialization.
15 | *
16 | * @author Philipp Jahoda
17 | */
18 | public abstract class ViewPortJob implements Runnable {
19 |
20 | protected float[] pts = new float[2];
21 |
22 | protected ViewPortHandler mViewPortHandler;
23 | protected float xValue = 0f;
24 | protected float yValue = 0f;
25 | protected Transformer mTrans;
26 | protected View view;
27 |
28 | public ViewPortJob(ViewPortHandler viewPortHandler, float xValue, float yValue,
29 | Transformer trans, View v) {
30 |
31 | this.mViewPortHandler = viewPortHandler;
32 | this.xValue = xValue;
33 | this.yValue = yValue;
34 | this.mTrans = trans;
35 | this.view = v;
36 | }
37 |
38 | public float getXValue() {
39 | return xValue;
40 | }
41 |
42 | public float getYValue() {
43 | return yValue;
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/header.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
18 |
19 |
29 |
39 |
40 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/utils/TransformerHorizontalBarChart.java:
--------------------------------------------------------------------------------
1 |
2 | package com.github.mikephil.charting.utils;
3 |
4 | /**
5 | * Transformer class for the HorizontalBarChart.
6 | *
7 | * @author Philipp Jahoda
8 | */
9 | public class TransformerHorizontalBarChart extends Transformer {
10 |
11 | public TransformerHorizontalBarChart(ViewPortHandler viewPortHandler) {
12 | super(viewPortHandler);
13 | }
14 |
15 | /**
16 | * Prepares the matrix that contains all offsets.
17 | *
18 | * @param chart
19 | */
20 | public void prepareMatrixOffset(boolean inverted) {
21 |
22 | mMatrixOffset.reset();
23 |
24 | // offset.postTranslate(mOffsetLeft, getHeight() - mOffsetBottom);
25 |
26 | if (!inverted)
27 | mMatrixOffset.postTranslate(mViewPortHandler.offsetLeft(),
28 | mViewPortHandler.getChartHeight() - mViewPortHandler.offsetBottom());
29 | else {
30 | mMatrixOffset
31 | .setTranslate(
32 | -(mViewPortHandler.getChartWidth() - mViewPortHandler.offsetRight()),
33 | mViewPortHandler.getChartHeight() - mViewPortHandler.offsetBottom());
34 | mMatrixOffset.postScale(-1.0f, 1.0f);
35 | }
36 |
37 | // mMatrixOffset.set(offset);
38 |
39 | // mMatrixOffset.reset();
40 | //
41 | // mMatrixOffset.postTranslate(mOffsetLeft, getHeight() -
42 | // mOffsetBottom);
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/charts/CandleStickChart.java:
--------------------------------------------------------------------------------
1 |
2 | package com.github.mikephil.charting.charts;
3 |
4 | import android.content.Context;
5 | import android.util.AttributeSet;
6 |
7 | import com.github.mikephil.charting.data.CandleData;
8 | import com.github.mikephil.charting.interfaces.dataprovider.CandleDataProvider;
9 | import com.github.mikephil.charting.renderer.CandleStickChartRenderer;
10 |
11 | /**
12 | * Financial chart type that draws candle-sticks (OHCL chart).
13 | *
14 | * @author Philipp Jahoda
15 | */
16 | public class CandleStickChart extends BarLineChartBase implements CandleDataProvider {
17 |
18 | public CandleStickChart(Context context) {
19 | super(context);
20 | }
21 |
22 | public CandleStickChart(Context context, AttributeSet attrs) {
23 | super(context, attrs);
24 | }
25 |
26 | public CandleStickChart(Context context, AttributeSet attrs, int defStyle) {
27 | super(context, attrs, defStyle);
28 | }
29 |
30 | @Override
31 | protected void init() {
32 | super.init();
33 |
34 | mRenderer = new CandleStickChartRenderer(this, mAnimator, mViewPortHandler);
35 | mXChartMin = -0.5f;
36 | }
37 |
38 | @Override
39 | protected void calcMinMax() {
40 | super.calcMinMax();
41 |
42 | mXChartMax += 0.5f;
43 | mDeltaX = Math.abs(mXChartMax - mXChartMin);
44 | }
45 |
46 | @Override
47 | public CandleData getCandleData() {
48 | return mData;
49 | }
50 | }
51 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/layout/activity_barchart_sinus.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
11 |
12 |
24 |
25 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/interfaces/datasets/ILineRadarDataSet.java:
--------------------------------------------------------------------------------
1 | package com.github.mikephil.charting.interfaces.datasets;
2 |
3 | import android.graphics.drawable.Drawable;
4 |
5 | import com.github.mikephil.charting.data.Entry;
6 |
7 | /**
8 | * Created by Philipp Jahoda on 21/10/15.
9 | */
10 | public interface ILineRadarDataSet extends ILineScatterCandleRadarDataSet {
11 |
12 | /**
13 | * Returns the color that is used for filling the line surface area.
14 | *
15 | * @return
16 | */
17 | int getFillColor();
18 |
19 | /**
20 | * Returns the drawable used for filling the area below the line.
21 | *
22 | * @return
23 | */
24 | Drawable getFillDrawable();
25 |
26 | /**
27 | * Returns the alpha value that is used for filling the line surface,
28 | * default: 85
29 | *
30 | * @return
31 | */
32 | int getFillAlpha();
33 |
34 | /**
35 | * Returns the stroke-width of the drawn line
36 | *
37 | * @return
38 | */
39 | float getLineWidth();
40 |
41 | /**
42 | * Returns true if filled drawing is enabled, false if not
43 | *
44 | * @return
45 | */
46 | boolean isDrawFilledEnabled();
47 |
48 | /**
49 | * Set to true if the DataSet should be drawn filled (surface), and not just
50 | * as a line, disabling this will give great performance boost! default:
51 | * false
52 | *
53 | * @param enabled
54 | */
55 | void setDrawFilled(boolean enabled);
56 | }
57 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/interfaces/dataprovider/ChartInterface.java:
--------------------------------------------------------------------------------
1 | package com.github.mikephil.charting.interfaces.dataprovider;
2 |
3 | import android.graphics.PointF;
4 | import android.graphics.RectF;
5 |
6 | import com.github.mikephil.charting.data.ChartData;
7 | import com.github.mikephil.charting.formatter.ValueFormatter;
8 |
9 | /**
10 | * Interface that provides everything there is to know about the dimensions,
11 | * bounds, and range of the chart.
12 | *
13 | * @author Philipp Jahoda
14 | */
15 | public interface ChartInterface {
16 |
17 | /**
18 | * Returns the minimum x-value of the chart, regardless of zoom or translation.
19 | *
20 | * @return
21 | */
22 | float getXChartMin();
23 |
24 | /**
25 | * Returns the maximum x-value of the chart, regardless of zoom or translation.
26 | *
27 | * @return
28 | */
29 | float getXChartMax();
30 |
31 | /**
32 | * Returns the minimum y-value of the chart, regardless of zoom or translation.
33 | *
34 | * @return
35 | */
36 | float getYChartMin();
37 |
38 | /**
39 | * Returns the maximum y-value of the chart, regardless of zoom or translation.
40 | *
41 | * @return
42 | */
43 | float getYChartMax();
44 |
45 | int getXValCount();
46 |
47 | int getWidth();
48 |
49 | int getHeight();
50 |
51 | PointF getCenterOfView();
52 |
53 | PointF getCenterOffsets();
54 |
55 | RectF getContentRect();
56 |
57 | ValueFormatter getDefaultValueFormatter();
58 |
59 | ChartData getData();
60 | }
61 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/layout/activity_performance_linechart.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
12 |
13 |
25 |
26 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartExample/res/menu/line.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/interfaces/datasets/IBarDataSet.java:
--------------------------------------------------------------------------------
1 | package com.github.mikephil.charting.interfaces.datasets;
2 |
3 | import com.github.mikephil.charting.data.BarEntry;
4 |
5 | /**
6 | * Created by philipp on 21/10/15.
7 | */
8 | public interface IBarDataSet extends IBarLineScatterCandleBubbleDataSet {
9 |
10 | /**
11 | * Returns the space between bars as the actual value (0 - 1.0f)
12 | *
13 | * @return
14 | */
15 | float getBarSpace();
16 |
17 | /**
18 | * Returns true if this DataSet is stacked (stacksize > 1) or not.
19 | *
20 | * @return
21 | */
22 | boolean isStacked();
23 |
24 | /**
25 | * Returns the maximum number of bars that can be stacked upon another in
26 | * this DataSet. This should return 1 for non stacked bars, and > 1 for stacked bars.
27 | *
28 | * @return
29 | */
30 | int getStackSize();
31 |
32 | /**
33 | * Returns the color used for drawing the bar-shadows. The bar shadows is a
34 | * surface behind the bar that indicates the maximum value.
35 | *
36 | * @return
37 | */
38 | int getBarShadowColor();
39 |
40 | /**
41 | * Returns the alpha value (transparency) that is used for drawing the
42 | * highlight indicator.
43 | *
44 | * @return
45 | */
46 | int getHighLightAlpha();
47 |
48 |
49 | /**
50 | * Returns the labels used for the different value-stacks in the legend.
51 | * This is only relevant for stacked bar entries.
52 | *
53 | * @return
54 | */
55 | String[] getStackLabels();
56 | }
57 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/jobs/AnimatedViewPortJob.java:
--------------------------------------------------------------------------------
1 | package com.github.mikephil.charting.jobs;
2 |
3 | import android.animation.ObjectAnimator;
4 | import android.animation.ValueAnimator;
5 | import android.annotation.SuppressLint;
6 | import android.view.View;
7 |
8 | import com.github.mikephil.charting.utils.Transformer;
9 | import com.github.mikephil.charting.utils.ViewPortHandler;
10 |
11 | /**
12 | * Created by Philipp Jahoda on 19/02/16.
13 | */
14 | @SuppressLint("NewApi")
15 | public abstract class AnimatedViewPortJob extends ViewPortJob implements ValueAnimator.AnimatorUpdateListener {
16 |
17 | protected ObjectAnimator animator;
18 |
19 | protected float phase;
20 |
21 | protected float xOrigin;
22 | protected float yOrigin;
23 |
24 | public AnimatedViewPortJob(ViewPortHandler viewPortHandler, float xValue, float yValue, Transformer trans, View v, float xOrigin, float yOrigin, long duration) {
25 | super(viewPortHandler, xValue, yValue, trans, v);
26 | this.xOrigin = xOrigin;
27 | this.yOrigin = yOrigin;
28 | animator = ObjectAnimator.ofFloat(this, "phase", 0f, 1f);
29 | animator.setDuration(duration);
30 | animator.addUpdateListener(this);
31 | }
32 |
33 | @SuppressLint("NewApi")
34 | @Override
35 | public void run() {
36 | animator.start();
37 | }
38 |
39 | public float getPhase() {
40 | return phase;
41 | }
42 |
43 | public void setPhase(float phase) {
44 | this.phase = phase;
45 | }
46 |
47 | public float getXOrigin() {
48 | return xOrigin;
49 | }
50 |
51 | public float getYOrigin() {
52 | return yOrigin;
53 | }
54 | }
55 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/layout_viewpager.xml:
--------------------------------------------------------------------------------
1 |
2 |
11 |
12 |
22 |
23 |
24 |
33 |
34 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/data/BubbleData.java:
--------------------------------------------------------------------------------
1 |
2 | package com.github.mikephil.charting.data;
3 |
4 | import com.github.mikephil.charting.interfaces.datasets.IBubbleDataSet;
5 |
6 | import java.util.ArrayList;
7 | import java.util.List;
8 |
9 | public class BubbleData extends BarLineScatterCandleBubbleData {
10 |
11 | public BubbleData() {
12 | super();
13 | }
14 |
15 | public BubbleData(List xVals) {
16 | super(xVals);
17 | }
18 |
19 | public BubbleData(String[] xVals) {
20 | super(xVals);
21 | }
22 |
23 | public BubbleData(List xVals, List dataSets) {
24 | super(xVals, dataSets);
25 | }
26 |
27 | public BubbleData(String[] xVals, List dataSets) {
28 | super(xVals, dataSets);
29 | }
30 |
31 | public BubbleData(List xVals, IBubbleDataSet dataSet) {
32 | super(xVals, toList(dataSet));
33 | }
34 |
35 | public BubbleData(String[] xVals, IBubbleDataSet dataSet) {
36 | super(xVals, toList(dataSet));
37 | }
38 |
39 | private static List toList(IBubbleDataSet dataSet) {
40 | List sets = new ArrayList();
41 | sets.add(dataSet);
42 | return sets;
43 | }
44 |
45 | /**
46 | * Sets the width of the circle that surrounds the bubble when highlighted
47 | * for all DataSet objects this data object contains, in dp.
48 | *
49 | * @param width
50 | */
51 | public void setHighlightCircleWidth(float width) {
52 | for (IBubbleDataSet set : mDataSets) {
53 | set.setHighlightCircleWidth(width);
54 | }
55 | }
56 | }
57 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/data/BubbleEntry.java:
--------------------------------------------------------------------------------
1 |
2 | package com.github.mikephil.charting.data;
3 |
4 | /**
5 | * Subclass of Entry that holds a value for one entry in a BubbleChart. Bubble
6 | * chart implementation: Copyright 2015 Pierre-Marc Airoldi Licensed under
7 | * Apache License 2.0
8 | *
9 | * @author Philipp Jahoda
10 | */
11 | public class BubbleEntry extends Entry {
12 |
13 | /** size value */
14 | private float mSize = 0f;
15 |
16 | /**
17 | * Constructor.
18 | *
19 | * @param xIndex The index on the x-axis.
20 | * @param val The value on the y-axis.
21 | * @param size The size of the bubble.
22 | */
23 | public BubbleEntry(int xIndex, float val, float size) {
24 | super(val, xIndex);
25 |
26 | this.mSize = size;
27 | }
28 |
29 | /**
30 | * Constructor.
31 | *
32 | * @param xIndex The index on the x-axis.
33 | * @param val The value on the y-axis.
34 | * @param size The size of the bubble.
35 | * @param data Spot for additional data this Entry represents.
36 | */
37 | public BubbleEntry(int xIndex, float val, float size, Object data) {
38 | super(val, xIndex, data);
39 |
40 | this.mSize = size;
41 | }
42 |
43 | public BubbleEntry copy() {
44 |
45 | BubbleEntry c = new BubbleEntry(getXIndex(), getVal(), mSize, getData());
46 |
47 | return c;
48 | }
49 |
50 | /**
51 | * Returns the size of this entry (the size of the bubble).
52 | *
53 | * @return
54 | */
55 | public float getSize() {
56 | return mSize;
57 | }
58 |
59 | public void setSize(float size) {
60 | this.mSize = size;
61 | }
62 |
63 | }
64 |
--------------------------------------------------------------------------------
/app/libs/MPAndroidChart-2.2.3/MPAndroidChart-2.2.3/MPChartLib/src/com/github/mikephil/charting/buffer/LineBuffer.java:
--------------------------------------------------------------------------------
1 |
2 | package com.github.mikephil.charting.buffer;
3 |
4 | import com.github.mikephil.charting.data.Entry;
5 | import com.github.mikephil.charting.interfaces.datasets.ILineDataSet;
6 |
7 | public class LineBuffer extends AbstractBuffer {
8 |
9 | public LineBuffer(int size) {
10 | super((size < 4) ? 4 : size);
11 | }
12 |
13 | public void moveTo(float x, float y) {
14 |
15 | if (index != 0)
16 | return;
17 |
18 | buffer[index++] = x;
19 | buffer[index++] = y;
20 |
21 | // in case just one entry, this is overwritten when lineTo is called
22 | buffer[index] = x;
23 | buffer[index + 1] = y;
24 | }
25 |
26 | public void lineTo(float x, float y) {
27 |
28 | if (index == 2) {
29 | buffer[index++] = x;
30 | buffer[index++] = y;
31 | } else {
32 |
33 | float prevX = buffer[index - 2];
34 | float prevY = buffer[index - 1];
35 | buffer[index++] = prevX;
36 | buffer[index++] = prevY;
37 | buffer[index++] = x;
38 | buffer[index++] = y;
39 | }
40 | }
41 |
42 | @Override
43 | public void feed(ILineDataSet data) {
44 | moveTo(data.getEntryForIndex(mFrom).getXIndex(), data.getEntryForIndex(mFrom).getVal() * phaseY);
45 |
46 | int size = (int) Math.ceil((mTo - mFrom) * phaseX + mFrom);
47 | int from = mFrom + 1;
48 |
49 | for (int i = from; i < size; i++) {
50 |
51 | Entry e = data.getEntryForIndex(i);
52 | lineTo(e.getXIndex(), e.getVal() * phaseY);
53 | }
54 |
55 | reset();
56 | }
57 | }
58 |
--------------------------------------------------------------------------------