Lines Matching refs:requestCode
620 int requestCode, Intent intent, int appWidgetId, PendingRequestArgs info) { in completeAdd() argument
628 switch (requestCode) { in completeAdd()
659 final int requestCode, final int resultCode, final Intent data) { in handleActivityResult() argument
662 mPendingActivityResult = new ActivityResultInfo(requestCode, resultCode, data); in handleActivityResult()
683 if (requestCode == REQUEST_BIND_APPWIDGET) { in handleActivityResult()
700 boolean isWidgetDrop = (requestCode == REQUEST_PICK_APPWIDGET || in handleActivityResult()
701 requestCode == REQUEST_CREATE_APPWIDGET); in handleActivityResult()
753 if (requestCode == REQUEST_RECONFIGURE_APPWIDGET in handleActivityResult()
754 || requestCode == REQUEST_BIND_PENDING_APPWIDGET) { in handleActivityResult()
757 completeAdd(requestCode, data, pendingAddWidgetId, requestArgs); in handleActivityResult()
763 if (requestCode == REQUEST_CREATE_SHORTCUT) { in handleActivityResult()
766 completeAdd(requestCode, data, -1, requestArgs); in handleActivityResult()
780 final int requestCode, final int resultCode, final Intent data) { in onActivityResult() argument
782 handleActivityResult(requestCode, resultCode, data); in onActivityResult()
784 mLauncherCallbacks.onActivityResult(requestCode, resultCode, data); in onActivityResult()
789 public void onRequestPermissionsResult(int requestCode, String[] permissions, in onRequestPermissionsResult() argument
792 if (requestCode == REQUEST_PERMISSION_CALL_PHONE && pendingArgs != null in onRequestPermissionsResult()
813 mLauncherCallbacks.onRequestPermissionsResult(requestCode, permissions, in onRequestPermissionsResult()
1496 public void startActivityForResult(Intent intent, int requestCode, Bundle options) { in startActivityForResult() argument
1497 if (requestCode != -1) { in startActivityForResult()
1498 mPendingActivityRequestCode = requestCode; in startActivityForResult()
1500 if (requestCode == -1 in startActivityForResult()
1501 || !UiFactory.startActivityForResult(this, intent, requestCode, options)) { in startActivityForResult()
1502 super.startActivityForResult(intent, requestCode, options); in startActivityForResult()
1507 public void startIntentSenderForResult(IntentSender intent, int requestCode, in startIntentSenderForResult() argument
1509 if (requestCode != -1) { in startIntentSenderForResult()
1510 mPendingActivityRequestCode = requestCode; in startIntentSenderForResult()
1512 if (requestCode == -1 || !UiFactory.startIntentSenderForResult(this, intent, requestCode, in startIntentSenderForResult()
1515 super.startIntentSenderForResult(intent, requestCode, in startIntentSenderForResult()
2310 handleActivityResult(mPendingActivityResult.requestCode, in finishBindingItems()