Lines Matching refs:requestCode
151 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
153 int index = requestCode>>16;
158 + Integer.toHexString(requestCode));
164 + Integer.toHexString(requestCode));
166 frag.onActivityResult(requestCode&0xffff, resultCode, data);
171 super.onActivityResult(requestCode, resultCode, data);
832 * This imposes a restriction that requestCode be <= 0xffff.
835 public void startActivityForResult(Intent intent, int requestCode) {
836 if (requestCode != -1 && (requestCode&0xffff0000) != 0) {
837 throw new IllegalArgumentException("Can only use lower 16 bits for requestCode");
839 super.startActivityForResult(intent, requestCode);
846 int requestCode) {
847 if (requestCode == -1) {
851 if ((requestCode&0xffff0000) != 0) {
852 throw new IllegalArgumentException("Can only use lower 16 bits for requestCode");
854 super.startActivityForResult(intent, ((fragment.mIndex+1)<<16) + (requestCode&0xffff));