Color function ( final long arg0 , final long arg1 ) { if ( arg1 != 0 ) { return computeColorFromDeviation ( arg1 - arg0 ) ; } else { return Color . decode ( "srini_string" ) ; } }
returns the status color to be used , depending on whether the vehicle is running early , late , ontime , or if we do n't have real-time info i.e. , scheduled concode_field_sep String MINUTES_AGO concode_elem_sep String ROUTE concode_elem_sep String MINUTE_EARLY concode_elem_sep int ms_in_mins concode_elem_sep Color mColor concode_elem_sep String MINUTES concode_elem_sep boolean mPredicted concode_elem_sep long mEta concode_elem_sep String DEPARTED concode_elem_sep String MINUTE_AGO concode_elem_sep ObaArrivalInfo mInfo concode_elem_sep String SCHEDULED_ARRIVAL concode_elem_sep String MINUTES_EARLY concode_elem_sep String MINUTE_DELAY concode_elem_sep String IS_NOW_ARRIVING concode_elem_sep String ON_TIME concode_elem_sep String IS_ARRIVING_IN concode_elem_sep String SPACE concode_elem_sep String SCHEDULED_DEPARTURE concode_elem_sep String DEPARTED concode_elem_sep String mStatusText concode_elem_sep long mDisplayTime concode_elem_sep String mLongDescription concode_elem_sep String BASED_ON_SCHEDULE concode_elem_sep String MINUTE concode_field_sep int compare concode_elem_sep ObaArrivalInfo getInfo concode_elem_sep ArrayList<ArrivalInfo> convertObaArrivalInfo concode_elem_sep String computeLongDescription concode_elem_sep String getLongDescription concode_elem_sep Color getColor concode_elem_sep String computeArrivalLabelFromDelay concode_elem_sep int findFirstNonNegativeArrival concode_elem_sep long getEta concode_elem_sep boolean getPredicted concode_elem_sep Color computeColorFromDeviation concode_elem_sep long getDisplayTime concode_elem_sep String getStatusText concode_elem_sep String computeStatusLabel