Home | History | Annotate | Download | only in util

Lines Matching refs:heightRatio

73         protected ViewFactoryBase(float heightRatio) {
74 mHeightRatio = heightRatio;
97 * @param heightRatio The view's height will be this * the screen height.
99 public Params addTextView(final String text, float heightRatio) {
100 mViewFactories.add(new ViewFactoryBase(heightRatio) {
114 * @param heightRatio The view's height will be this * the screen height.
116 public Params addTextViews(int numViews, String textPrefix, float heightRatio) {
118 addTextView(textPrefix + i, heightRatio);
126 * @param heightRatio The view's height will be this * the screen height.
128 public Params addButton(final String text, float heightRatio) {
129 mViewFactories.add(new ViewFactoryBase(heightRatio) {
143 * @param heightRatio The view's height will be this * the screen height.
145 public Params addButtons(int numButtons, String textPrefix, float heightRatio) {
147 addButton(textPrefix + i, heightRatio);
155 * @param heightRatio The view's height will be this * the screen height.
157 public Params addInternalSelectionView(final int numRows, float heightRatio) {
158 mViewFactories.add(new ViewFactoryBase(heightRatio) {
169 * @param heightRatio The layout's height will be this * the screen height.
171 public Params addVerticalLLOfButtons(final String prefix, final int numButtons, float heightRatio) {
172 mViewFactories.add(new ViewFactoryBase(heightRatio) {