コード例 #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);
 }