INNER CODE UNIT · Java

mNewHourHeight

alamkanak/Android-Week-View · library/src/main/java/com/alamkanak/weekview/WeekView.java:462

                mNewHourHeight = Math.round(mHourHeight * detector.getScaleFactor());
                invalidate();
                return true;
            }
        });
    }

    // fix rotation changes
    @Override
    protected void onSizeChanged(int w, int h, int oldw, int oldh) {
        super.onSizeChanged(w, h, oldw, oldh);
        mAreDimensionsInvalid = true;
    }

    /**
     * Initialize time column width. Calculate value with all possible hours (supposed widest text).
     */
    private void initTextTimeWidth() {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…