Code example for TimeZone

Methods: getDisplayName

0
 
    private void init(Context c) {
    	tz = TimeZone.getDefault();
        mListContext = c;
        mTracker  = VelocityTracker.obtain();
        mTempTime = new Time(tz.getDisplayName());
        if (mScale == 0) {
            mScale = c.getResources().getDisplayMetrics().density;
            if (mScale != 1) {
                MIN_VELOCITY_FOR_FLING *= mScale;
                MULTIPLE_MONTH_VELOCITY_THRESHOLD *= mScale;
                FLING_VELOCITY_DIVIDER *= mScale;
            } 
        } 
    } 
 
    @Override 
    public boolean onTouchEvent(MotionEvent ev) {
        return processEvent(ev) || super.onTouchEvent(ev);
    }