Project

General

Profile

« Previous | Next » 

Revision 6f3024ae

Added by Leszek Koltunski over 7 years ago

Fix a lot of Lint warnings in the apps.

View differences:

src/main/java/org/distorted/examples/matrix3d/Matrix3DActivity.java
142 142

  
143 143
    }
144 144

  
145
///////////////////////////////////////////////////////////////////////////////////////////////////
146

  
147
  public static boolean supportsRegion()
148
    {
149
    return false;
150
    }
151

  
152 145
///////////////////////////////////////////////////////////////////////////////////////////////////
153 146

  
154 147
  public static void setSupportsCenter(boolean supports)
......
156 149
    mSupportsCenter = supports;
157 150
    }
158 151

  
159
///////////////////////////////////////////////////////////////////////////////////////////////////
160

  
161
  public static boolean supportsCenter()
162
    {
163
    return mSupportsCenter;
164
    }
165

  
166 152
///////////////////////////////////////////////////////////////////////////////////////////////////
167 153

  
168 154
  public Bitmap getBitmap()
......
216 202
    return r.getWidth();
217 203
    }
218 204

  
219
///////////////////////////////////////////////////////////////////////////////////////////////////
220

  
221
  public int getScreenHeight()
222
    {
223
    Matrix3DRenderer r = ((Matrix3DSurfaceView)findViewById(R.id.matrix3dSurfaceView)).getRenderer();
224
    return r.getHeight();
225
    }
226

  
227
///////////////////////////////////////////////////////////////////////////////////////////////////
205
//////////////////////////////////////////////////////////////////////////////////
228 206

  
229 207
  public void onItemSelected(AdapterView<?> parent, View view, int pos, long id)
230 208
    {

Also available in: Unified diff