Java 类com.google.zxing.client.android.history.HistoryItem 实例源码

项目:weex-3d-map    文件:CaptureActivity.java   
@Override
public void onActivityResult(int requestCode, int resultCode, Intent intent) {
    if (resultCode == RESULT_OK && requestCode == HISTORY_REQUEST_CODE
            && historyManager != null) {
        int itemNumber = intent
                .getIntExtra(Intents.History.ITEM_NUMBER, -1);
        if (itemNumber >= 0) {
            HistoryItem historyItem = historyManager
                    .buildHistoryItem(itemNumber);
            decodeOrStoreSavedBitmap(null, historyItem.getResult());
        }
    }
}
项目:PortraitZXing    文件:CaptureActivity.java   
@Override
public void onActivityResult(int requestCode, int resultCode, Intent intent) {
    if (resultCode == RESULT_OK && requestCode == HISTORY_REQUEST_CODE && historyManager != null) {
        int itemNumber = intent.getIntExtra(Intents.History.ITEM_NUMBER, -1);
        if (itemNumber >= 0) {
            HistoryItem historyItem = historyManager.buildHistoryItem(itemNumber);
            decodeOrStoreSavedBitmap(null, historyItem.getResult());
        }
    }
}
项目:PortraitZXing    文件:CaptureActivity.java   
@Override
public void onActivityResult(int requestCode, int resultCode, Intent intent) {
    if (resultCode == RESULT_OK && requestCode == HISTORY_REQUEST_CODE && historyManager != null) {
        int itemNumber = intent.getIntExtra(Intents.History.ITEM_NUMBER, -1);
        if (itemNumber >= 0) {
            HistoryItem historyItem = historyManager.buildHistoryItem(itemNumber);
            decodeOrStoreSavedBitmap(null, historyItem.getResult());
        }
    }
}
项目:PortraitZXing    文件:CaptureActivity.java   
@Override
public void onActivityResult(int requestCode, int resultCode, Intent intent) {
    if (resultCode == RESULT_OK && requestCode == HISTORY_REQUEST_CODE && historyManager != null) {
        int itemNumber = intent.getIntExtra(Intents.History.ITEM_NUMBER, -1);
        if (itemNumber >= 0) {
            HistoryItem historyItem = historyManager.buildHistoryItem(itemNumber);
            decodeOrStoreSavedBitmap(null, historyItem.getResult());
        }
    }
}
项目:PortraitZXing    文件:CaptureActivity.java   
@Override
public void onActivityResult(int requestCode, int resultCode, Intent intent) {
    if (resultCode == RESULT_OK && requestCode == HISTORY_REQUEST_CODE && historyManager != null) {
        int itemNumber = intent.getIntExtra(Intents.History.ITEM_NUMBER, -1);
        if (itemNumber >= 0) {
            HistoryItem historyItem = historyManager.buildHistoryItem(itemNumber);
            decodeOrStoreSavedBitmap(null, historyItem.getResult());
        }
    }
}
项目:weex-analyzer-android    文件:CaptureActivity.java   
@Override
public void onActivityResult(int requestCode, int resultCode, Intent intent) {
    if (resultCode == RESULT_OK && requestCode == HISTORY_REQUEST_CODE
            && historyManager != null) {
        int itemNumber = intent
                .getIntExtra(Intents.History.ITEM_NUMBER, -1);
        if (itemNumber >= 0) {
            HistoryItem historyItem = historyManager
                    .buildHistoryItem(itemNumber);
            decodeOrStoreSavedBitmap(null, historyItem.getResult());
        }
    }
}
项目:weex-3d-map    文件:CaptureActivity.java   
@Override
public void onActivityResult(int requestCode, int resultCode, Intent intent) {
    if (resultCode == RESULT_OK && requestCode == HISTORY_REQUEST_CODE
            && historyManager != null) {
        int itemNumber = intent
                .getIntExtra(Intents.History.ITEM_NUMBER, -1);
        if (itemNumber >= 0) {
            HistoryItem historyItem = historyManager
                    .buildHistoryItem(itemNumber);
            decodeOrStoreSavedBitmap(null, historyItem.getResult());
        }
    }
}
项目:Weex-TestDemo    文件:CaptureActivity.java   
@Override
public void onActivityResult(int requestCode, int resultCode, Intent intent) {
    if (resultCode == RESULT_OK && requestCode == HISTORY_REQUEST_CODE
            && historyManager != null) {
        int itemNumber = intent
                .getIntExtra(Intents.History.ITEM_NUMBER, -1);
        if (itemNumber >= 0) {
            HistoryItem historyItem = historyManager
                    .buildHistoryItem(itemNumber);
            decodeOrStoreSavedBitmap(null, historyItem.getResult());
        }
    }
}
项目:weex    文件:CaptureActivity.java   
@Override
public void onActivityResult(int requestCode, int resultCode, Intent intent) {
    if (resultCode == RESULT_OK && requestCode == HISTORY_REQUEST_CODE
            && historyManager != null) {
        int itemNumber = intent
                .getIntExtra(Intents.History.ITEM_NUMBER, -1);
        if (itemNumber >= 0) {
            HistoryItem historyItem = historyManager
                    .buildHistoryItem(itemNumber);
            decodeOrStoreSavedBitmap(null, historyItem.getResult());
        }
    }
}
项目:sres-app    文件:CaptureActivity.java   
@Override
public void onActivityResult(int requestCode, int resultCode, Intent intent) {
  if (resultCode == RESULT_OK) {
    if (requestCode == HISTORY_REQUEST_CODE) {
      int itemNumber = intent.getIntExtra(Intents.History.ITEM_NUMBER, -1);
      if (itemNumber >= 0) {
        HistoryItem historyItem = historyManager.buildHistoryItem(itemNumber);
        decodeOrStoreSavedBitmap(null, historyItem.getResult());
      }
    }
  }
}
项目:faims-android    文件:CaptureActivity.java   
@Override
public void onActivityResult(int requestCode, int resultCode, Intent intent) {
  if (resultCode == RESULT_OK) {
    if (requestCode == HISTORY_REQUEST_CODE) {
      int itemNumber = intent.getIntExtra(Intents.History.ITEM_NUMBER, -1);
      if (itemNumber >= 0) {
        HistoryItem historyItem = historyManager.buildHistoryItem(itemNumber);
        decodeOrStoreSavedBitmap(null, historyItem.getResult());
      }
    }
  }
}
项目:Discounty    文件:CaptureActivity.java   
@Override
public void onActivityResult(int requestCode, int resultCode, Intent intent) {
    if (resultCode == RESULT_OK) {
        if (requestCode == HISTORY_REQUEST_CODE) {
            int itemNumber = intent.getIntExtra(Intents.History.ITEM_NUMBER, -1);
            if (itemNumber >= 0) {
                HistoryItem historyItem = historyManager.buildHistoryItem(itemNumber);
                decodeOrStoreSavedBitmap(null, historyItem.getResult());
            }
        }
    }
}
项目:reacteu-app    文件:CaptureActivity.java   
@Override
public void onActivityResult(int requestCode, int resultCode, Intent intent) {
  if (resultCode == RESULT_OK) {
    if (requestCode == HISTORY_REQUEST_CODE) {
      int itemNumber = intent.getIntExtra(Intents.History.ITEM_NUMBER, -1);
      if (itemNumber >= 0) {
        HistoryItem historyItem = historyManager.buildHistoryItem(itemNumber);
        decodeOrStoreSavedBitmap(null, historyItem.getResult());
      }
    }
  }
}
项目:CordovaDemo    文件:CaptureActivity.java   
@Override
public void onActivityResult(int requestCode, int resultCode, Intent intent) {
  if (resultCode == RESULT_OK) {
    if (requestCode == HISTORY_REQUEST_CODE) {
      int itemNumber = intent.getIntExtra(Intents.History.ITEM_NUMBER, -1);
      if (itemNumber >= 0) {
        HistoryItem historyItem = historyManager.buildHistoryItem(itemNumber);
        decodeOrStoreSavedBitmap(null, historyItem.getResult());
      }
    }
  }
}
项目:ng-cordova-demo    文件:CaptureActivity.java   
@Override
public void onActivityResult(int requestCode, int resultCode, Intent intent) {
  if (resultCode == RESULT_OK) {
    if (requestCode == HISTORY_REQUEST_CODE) {
      int itemNumber = intent.getIntExtra(Intents.History.ITEM_NUMBER, -1);
      if (itemNumber >= 0) {
        HistoryItem historyItem = historyManager.buildHistoryItem(itemNumber);
        decodeOrStoreSavedBitmap(null, historyItem.getResult());
      }
    }
  }
}
项目:ngCordova-demo    文件:CaptureActivity.java   
@Override
public void onActivityResult(int requestCode, int resultCode, Intent intent) {
  if (resultCode == RESULT_OK) {
    if (requestCode == HISTORY_REQUEST_CODE) {
      int itemNumber = intent.getIntExtra(Intents.History.ITEM_NUMBER, -1);
      if (itemNumber >= 0) {
        HistoryItem historyItem = historyManager.buildHistoryItem(itemNumber);
        decodeOrStoreSavedBitmap(null, historyItem.getResult());
      }
    }
  }
}
项目:CordovaW8BarcodeDemo    文件:CaptureActivity.java   
@Override
public void onActivityResult(int requestCode, int resultCode, Intent intent) {
  if (resultCode == RESULT_OK) {
    if (requestCode == HISTORY_REQUEST_CODE) {
      int itemNumber = intent.getIntExtra(Intents.History.ITEM_NUMBER, -1);
      if (itemNumber >= 0) {
        HistoryItem historyItem = historyManager.buildHistoryItem(itemNumber);
        decodeOrStoreSavedBitmap(null, historyItem.getResult());
      }
    }
  }
}
项目:zxing-android-portrait    文件:CaptureActivity.java   
@Override
public void onActivityResult(int requestCode, int resultCode, Intent intent) {
  if (resultCode == RESULT_OK) {
    if (requestCode == HISTORY_REQUEST_CODE) {
      int itemNumber = intent.getIntExtra(Intents.History.ITEM_NUMBER, -1);
      if (itemNumber >= 0) {
        HistoryItem historyItem = historyManager.buildHistoryItem(itemNumber);
        decodeOrStoreSavedBitmap(null, historyItem.getResult());
      }
    }
  }
}
项目:cordova-template    文件:CaptureActivity.java   
@Override
public void onActivityResult(int requestCode, int resultCode, Intent intent) {
  if (resultCode == RESULT_OK) {
    if (requestCode == HISTORY_REQUEST_CODE) {
      int itemNumber = intent.getIntExtra(Intents.History.ITEM_NUMBER, -1);
      if (itemNumber >= 0) {
        HistoryItem historyItem = historyManager.buildHistoryItem(itemNumber);
        decodeOrStoreSavedBitmap(null, historyItem.getResult());
      }
    }
  }
}
项目:oxPush    文件:CaptureActivity.java   
@Override
public void onActivityResult(int requestCode, int resultCode, Intent intent) {
  if (resultCode == RESULT_OK) {
    if (requestCode == HISTORY_REQUEST_CODE) {
      int itemNumber = intent.getIntExtra(Intents.History.ITEM_NUMBER, -1);
      if (itemNumber >= 0) {
        HistoryItem historyItem = historyManager.buildHistoryItem(itemNumber);
        decodeOrStoreSavedBitmap(null, historyItem.getResult());
      }
    }
  }
}
项目:hive-ios    文件:CaptureActivity.java   
@Override
public void onActivityResult(int requestCode, int resultCode, Intent intent) {
  if (resultCode == RESULT_OK) {
    if (requestCode == HISTORY_REQUEST_CODE) {
      int itemNumber = intent.getIntExtra(Intents.History.ITEM_NUMBER, -1);
      if (itemNumber >= 0) {
        HistoryItem historyItem = historyManager.buildHistoryItem(itemNumber);
        decodeOrStoreSavedBitmap(null, historyItem.getResult());
      }
    }
  }
}
项目:AndroidMultiChannelMiddleware    文件:CaptureActivity.java   
@Override
public void onActivityResult(int requestCode, int resultCode, Intent intent) {
    if (resultCode == RESULT_OK) {
        if (requestCode == HISTORY_REQUEST_CODE) {
            int itemNumber = intent.getIntExtra(Intents.History.ITEM_NUMBER, -1);
            if (itemNumber >= 0) {
                HistoryItem historyItem = historyManager.buildHistoryItem(itemNumber);
                decodeOrStoreSavedBitmap(null, historyItem.getResult());
            }
        }
    }
}