Esempio n. 1
0
 /** Notifies each task view of the user interaction. */
 public void onUserInteraction() {
   Log.d(TAG, "onUserInteraction: ");
   // Get the first stack view
   List<TaskStackView> stackViews = getTaskStackViews();
   int stackCount = stackViews.size();
   for (int i = 0; i < stackCount; i++) {
     TaskStackView stackView = stackViews.get(i);
     stackView.onUserInteraction();
   }
 }
 /** Notifies each task view of the user interaction. */
 public void onUserInteraction() {
   // Get the first stack view
   int childCount = getChildCount();
   for (int i = 0; i < childCount; i++) {
     View child = getChildAt(i);
     if (child != mSearchBar) {
       TaskStackView stackView = (TaskStackView) child;
       stackView.onUserInteraction();
     }
   }
 }