Home
last modified time | relevance | path

Searched refs:requestCode (Results 1 – 25 of 26) sorted by relevance

12

/development/samples/ApiDemos/src/com/example/android/apis/preference/
DLaunchingPreferences.java82 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
83 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
87 if (requestCode == REQUEST_CODE_PREFERENCES) { in onActivityResult()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DRedirectMain.java61 protected void onActivityResult(int requestCode, int resultCode, in onActivityResult() argument
63 if (requestCode == INIT_TEXT_REQUEST) { in onActivityResult()
76 } else if (requestCode == NEW_TEXT_REQUEST) { in onActivityResult()
DReceiveResult.java108 protected void onActivityResult(int requestCode, int resultCode, in onActivityResult() argument
113 if (requestCode == GET_CODE) { in onActivityResult()
DVoiceRecognition.java138 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
139 if (requestCode == VOICE_RECOGNITION_REQUEST_CODE && resultCode == RESULT_OK) { in onActivityResult()
147 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
DFragmentReceiveResult.java103 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
107 if (requestCode == GET_CODE) { in onActivityResult()
/development/samples/BusinessCard/src/com/example/android/businesscard/
DBusinessCardActivity.java83 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
84 if (requestCode == PICK_CONTACT_REQUEST && resultCode == RESULT_OK) { in onActivityResult()
/development/tutorials/NotepadCodeLab/Notepadv2/src/com/android/demo/notepad2/
DNotepadv2.java115 protected void onActivityResult(int requestCode, int resultCode, Intent intent) { in onActivityResult() argument
116 super.onActivityResult(requestCode, resultCode, intent); in onActivityResult()
/development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/
DNotepadv2.java127 protected void onActivityResult(int requestCode, int resultCode, Intent intent) { in onActivityResult() argument
128 super.onActivityResult(requestCode, resultCode, intent); in onActivityResult()
130 switch(requestCode) { in onActivityResult()
/development/tutorials/NotepadCodeLab/Notepadv3/src/com/android/demo/notepad3/
DNotepadv3.java127 protected void onActivityResult(int requestCode, int resultCode, Intent intent) { in onActivityResult() argument
128 super.onActivityResult(requestCode, resultCode, intent); in onActivityResult()
130 switch(requestCode) { in onActivityResult()
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/
DAddVoicemailActivity.java138 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
139 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
140 switch (requestCode) { in onActivityResult()
145 logger.e("onActivityResult: Unexpected requestCode: " + requestCode); in onActivityResult()
/development/tutorials/NotepadCodeLab/Notepadv3Solution/src/com/android/demo/notepad3/
DNotepadv3.java119 protected void onActivityResult(int requestCode, int resultCode, Intent intent) { in onActivityResult() argument
120 super.onActivityResult(requestCode, resultCode, intent); in onActivityResult()
/development/samples/ApiDemos/src/com/example/android/apis/content/
DInstallApk.java75 public void onActivityResult(int requestCode, int resultCode, Intent intent) { in onActivityResult() argument
76 if (requestCode == REQUEST_INSTALL) { in onActivityResult()
84 } else if (requestCode == REQUEST_UNINSTALL) { in onActivityResult()
DPickContact.java88 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
/development/samples/Support4Demos/src/com/example/android/supportv4/app/
DFragmentReceiveResultSupport.java105 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
109 if (requestCode == GET_CODE) { in onActivityResult()
/development/samples/KeyChainDemo/src/com/example/android/keychain/
DKeyChainDemoActivity.java241 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
242 if (requestCode == INSTALL_KEYCHAIN_CODE) { in onActivityResult()
248 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
/development/samples/MySampleRss/src/com/example/codelab/rssexample/
DMyRssReader3.java134 protected void onActivityResult(int requestCode, int resultCode, Intent data){ in onActivityResult() argument
136 switch (requestCode){ in onActivityResult()
DMyRssReader4.java148 protected void onActivityResult(int requestCode, int resultCode, Intent data){ in onActivityResult() argument
150 switch (requestCode){ in onActivityResult()
DMyRssReader5.java185 protected void onActivityResult(int requestCode, int resultCode, Intent data){ in onActivityResult() argument
187 switch (requestCode){ in onActivityResult()
/development/samples/training/device-management-policy/src/com/example/training/deviceadmin/
DPolicySetupActivity.java100 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
101 if (requestCode == REQ_ACTIVATE_DEVICE_ADMIN && resultCode == RESULT_OK) { in onActivityResult()
105 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
/development/apps/WidgetPreview/src/com/android/widgetpreview/
DWidgetPreviewActivity.java110 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
111 if (requestCode == REQUEST_WIDGET) { in onActivityResult()
127 } else if (requestCode == REQUEST_CONFIGURE) { in onActivityResult()
/development/apps/CustomLocale/src/com/android/customlocale2/
DCustomLocaleActivity.java130 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
131 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
133 if (requestCode == UPDATE_LIST && resultCode == RESULT_OK && data != null) { in onActivityResult()
/development/apps/GestureBuilder/src/com/android/gesture/builder/
DGestureBuilderActivity.java122 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
123 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
126 switch (requestCode) { in onActivityResult()
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/
DBluetoothChat.java290 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
292 switch (requestCode) { in onActivityResult()
/development/apps/FontLab/src/com/android/fontlab/
DFontLab.java254 protected void onActivityResult(int requestCode, int resultCode, in onActivityResult() argument
257 switch (requestCode) { in onActivityResult()
/development/samples/BluetoothHDP/src/com/example/bluetooth/health/
DBluetoothHDPActivity.java245 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
246 switch (requestCode) { in onActivityResult()

12