예제 #1
0
 private void patHair() {
   Log.d(this, "hair patting");
   Intent intent = new Intent(FaceNode.BROADCAST_FACE_PATTING);
   LocalBroadcastManager.getInstance(mContext).sendBroadcast(intent);
 }
예제 #2
0
 /** Действие при тычке в глаз. */
 private void pushEye() {
   Log.d(this, "eye was pushed");
   Intent intent = new Intent(FaceNode.BROADCAST_FACE_PUSH_EYE);
   LocalBroadcastManager.getInstance(mContext).sendBroadcast(intent);
 }