Esempio n. 1
0
 public void setAdapter(int paramInt) {
   this.mDots.clear();
   int i = 0;
   int k;
   for (int j = 0; i < paramInt; j = k) {
     Dot localDot = new Dot();
     k = j + 1;
     localDot.id = j;
     this.mDots.add(localDot);
     i++;
   }
   initDotsCoordinates();
 }
Esempio n. 2
0
 @Override
 protected void onSizeChanged(int w, int h, int oldw, int oldh) {
   super.onSizeChanged(w, h, oldw, oldh);
   initDotsCoordinates();
 }