Changeset 14830
- Timestamp:
- 05/01/13 10:08:42 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/mobile/android/ISSM_APP/src/gov/nasa/jpl/issm/ISSM.java
r14823 r14830 241 241 { 242 242 mapName= "greenland"; 243 colorBar.setVisibility(View.INVISIBLE); 243 244 244 defaultMap.setImageResource(R.drawable.greenland_button); 245 245 if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) … … 247 247 defaultMap.setScaleX(1.12f); 248 248 defaultMap.setScaleY(0.92f); 249 } 249 defaultMap.setAlpha(1.0f); 250 } 251 else 252 { 253 defaultMap.setAlpha(1); 254 } 255 colorBar.setVisibility(View.INVISIBLE); 250 256 viewflipper.setInAnimation(inFromRightAnimation()); 251 257 viewflipper.setOutAnimation(outToLeftAnimation()); 252 258 viewflipper.showNext(); 253 defaultMap.setVisibility(View.VISIBLE);254 defaultMap.setAlpha(1.0f);255 onSimulationScreen = true;256 //create FemModel in native code and return the size of the model257 this.createModel();258 break;259 }260 case R.id.antarctica:261 {262 mapName= "antarctica";263 colorBar.setVisibility(View.INVISIBLE);264 defaultMap.setImageResource(R.drawable.antarctica_button);265 viewflipper.setInAnimation(inFromRightAnimation());266 viewflipper.setOutAnimation(outToLeftAnimation());267 viewflipper.showNext();268 defaultMap.setAlpha(1.0f);269 259 defaultMap.setVisibility(View.VISIBLE); 270 260 onSimulationScreen = true; … … 273 263 break; 274 264 } 265 case R.id.antarctica: 266 { 267 mapName= "antarctica"; 268 defaultMap.setImageResource(R.drawable.antarctica_button); 269 if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) 270 { 271 defaultMap.setAlpha(1.0f); 272 } 273 else 274 { 275 defaultMap.setAlpha(1); 276 } 277 colorBar.setVisibility(View.INVISIBLE); 278 viewflipper.setInAnimation(inFromRightAnimation()); 279 viewflipper.setOutAnimation(outToLeftAnimation()); 280 viewflipper.showNext(); 281 defaultMap.setVisibility(View.VISIBLE); 282 onSimulationScreen = true; 283 //create FemModel in native code and return the size of the model 284 this.createModel(); 285 break; 286 } 287 275 288 /*case R.id.back: 276 289 {
Note:
See TracChangeset
for help on using the changeset viewer.