List of usage examples for java.lang Float MIN_VALUE
float MIN_VALUE
To view the source code for java.lang Float MIN_VALUE.
Click Source Link
From source file:android.support.v71.widget.RecyclerView.java
/** * Ported from View.getVerticalScrollFactor. *//*from w w w .j a v a 2 s . co m*/ private float getScrollFactor() { if (mScrollFactor == Float.MIN_VALUE) { TypedValue outValue = new TypedValue(); if (getContext().getTheme().resolveAttribute(android.R.attr.listPreferredItemHeight, outValue, true)) { mScrollFactor = outValue.getDimension(getContext().getResources().getDisplayMetrics()); } else { return 0; //listPreferredItemHeight is not defined, no generic scrolling } } return mScrollFactor; }
From source file:cn.ismartv.tvrecyclerview.widget.RecyclerView.java
/** * Ported from View.getVerticalScrollFactor. */// w ww . j a v a 2 s. c om private float getScrollFactor() { if (mScrollFactor == Float.MIN_VALUE) { TypedValue outValue = new TypedValue(); if (getContext().getTheme().resolveAttribute(android.R.attr.listPreferredItemHeight, outValue, true)) { mScrollFactor = outValue.getDimension(getContext().getResources().getDisplayMetrics()); } else { return 0; //listPreferredItemHeight is not defined, no generic scrolling } } return mScrollFactor; }
From source file:com.sonymobile.android.media.internal.ISOBMFFParser.java
@Override public float getFloat(String key) { if (mMetaDataValues.containsKey(key)) { Float val = (Float) (mMetaDataValues.get(key)); return val.floatValue(); }//from w w w . j a v a 2 s .c o m return Float.MIN_VALUE; }