예제 #1
0
  public boolean fClick(float x, float y, MixContext ctx, MixState state) {
    boolean evtHandled = false;

    if (isClickValid(x, y)) {
      evtHandled = state.handleEvent(ctx, URL);
      // Log.d("MixView","fClick");
    }
    return evtHandled;
  }
예제 #2
0
 public boolean fClick(
     float x,
     float y,
     MixContext ctx,
     MixState state,
     float w,
     float h,
     float r,
     float barheight) {
   boolean evtHandled = false;
   // Log.d("fClick2","touch :x = "+x+", y = "+y+", w = "+w+", h = "+h);
   Log.d("fClick2", "touch :x = " + x + ", y = " + y);
   String title = "";
   title = getTitle();
   if (isClickValid_radar(x, y, w, h, r, barheight)) {
     evtHandled = state.handleEvent(ctx, URL, title);
     // Log.d("MixView","fClick2");
   }
   return evtHandled;
 }