/developers/samples/android/admin/BasicManagedProfile/Application/src/main/java/com/example/android/basicmanagedprofile/ |
D | BasicManagedProfileFragment.java | 114 Activity activity = getActivity(); in isApplicationEnabled() local 212 Activity activity = getActivity(); in setAppEnabled() local 259 final Activity activity = getActivity(); in setChromeRestrictions() local 311 final Activity activity = getActivity(); in clearChromeRestrictions() local 329 Activity activity = getActivity(); in enableForwarding() local 351 Activity activity = getActivity(); in disableForwarding() local 365 Activity activity = getActivity(); in sendIntent() local 388 Activity activity = getActivity(); in removeProfile() local
|
/developers/build/prebuilts/gradle/BasicManagedProfile/Application/src/main/java/com/example/android/basicmanagedprofile/ |
D | BasicManagedProfileFragment.java | 114 Activity activity = getActivity(); in isApplicationEnabled() local 212 Activity activity = getActivity(); in setAppEnabled() local 259 final Activity activity = getActivity(); in setChromeRestrictions() local 311 final Activity activity = getActivity(); in clearChromeRestrictions() local 329 Activity activity = getActivity(); in enableForwarding() local 351 Activity activity = getActivity(); in disableForwarding() local 365 Activity activity = getActivity(); in sendIntent() local 388 Activity activity = getActivity(); in removeProfile() local
|
/developers/samples/android/connectivity/wifidirect/DirectP2P/Application/src/main/java/com/example/android/wifidirectp2p/ |
D | WiFiDirectBroadcastReceiver.java | 36 private MainActivity activity; field in WiFiDirectBroadcastReceiver 44 MainActivity activity) { in WiFiDirectBroadcastReceiver()
|
/developers/build/prebuilts/gradle/DeviceOwner/Application/src/main/java/com/example/android/deviceowner/ |
D | DeviceOwnerFragment.java | 155 Activity activity = getActivity(); in onResume() local 166 private void retrieveCurrentSettings(Activity activity) { in retrieveCurrentSettings() 247 private static String loadPersistentPreferredLauncher(Activity activity) { in loadPersistentPreferredLauncher() 258 private static void savePersistentPreferredLauncher(Activity activity, String packageName) { in savePersistentPreferredLauncher() 273 Activity activity = getActivity(); in setPreferredLauncher() local 291 Activity activity = getActivity(); in clearPreferredLauncher() local
|
/developers/samples/android/admin/DeviceOwner/Application/src/main/java/com/example/android/deviceowner/ |
D | DeviceOwnerFragment.java | 155 Activity activity = getActivity(); in onResume() local 166 private void retrieveCurrentSettings(Activity activity) { in retrieveCurrentSettings() 247 private static String loadPersistentPreferredLauncher(Activity activity) { in loadPersistentPreferredLauncher() 258 private static void savePersistentPreferredLauncher(Activity activity, String packageName) { in savePersistentPreferredLauncher() 273 Activity activity = getActivity(); in setPreferredLauncher() local 291 Activity activity = getActivity(); in clearPreferredLauncher() local
|
/developers/build/prebuilts/gradle/AppRestrictionEnforcer/Application/src/main/java/com/example/android/apprestrictionenforcer/ |
D | StatusFragment.java | 59 public void onAttach(Activity activity) { in onAttach() 86 private void updateUi(Activity activity) { in updateUi() 130 private void unhideApp(Activity activity) { in unhideApp()
|
D | AppRestrictionEnforcerFragment.java | 240 private void loadRestrictions(Activity activity) { in loadRestrictions() 378 private void saveCanSayHello(Activity activity, boolean allow) { in saveCanSayHello() 391 private void saveMessage(Activity activity, String message) { in saveMessage() 403 private void saveNumber(Activity activity, int number) { in saveNumber() 415 private void saveRank(Activity activity, String rank) { in saveRank() 421 private void addApproval(Activity activity, String approval) { in addApproval() 431 private void removeApproval(Activity activity, String approval) { in removeApproval() 447 private void saveApprovals(Activity activity, String[] approvals) { in saveApprovals() 460 private void saveItems(Activity activity, Map<String, String> items) { in saveItems() 486 private void saveRestrictions(Activity activity) { in saveRestrictions() [all …]
|
/developers/samples/android/admin/AppRestrictionEnforcer/Application/src/main/java/com/example/android/apprestrictionenforcer/ |
D | StatusFragment.java | 59 public void onAttach(Activity activity) { in onAttach() 86 private void updateUi(Activity activity) { in updateUi() 130 private void unhideApp(Activity activity) { in unhideApp()
|
D | AppRestrictionEnforcerFragment.java | 240 private void loadRestrictions(Activity activity) { in loadRestrictions() 378 private void saveCanSayHello(Activity activity, boolean allow) { in saveCanSayHello() 391 private void saveMessage(Activity activity, String message) { in saveMessage() 403 private void saveNumber(Activity activity, int number) { in saveNumber() 415 private void saveRank(Activity activity, String rank) { in saveRank() 421 private void addApproval(Activity activity, String approval) { in addApproval() 431 private void removeApproval(Activity activity, String approval) { in removeApproval() 447 private void saveApprovals(Activity activity, String[] approvals) { in saveApprovals() 460 private void saveItems(Activity activity, Map<String, String> items) { in saveItems() 486 private void saveRestrictions(Activity activity) { in saveRestrictions() [all …]
|
/developers/samples/android/ui/graphics/PdfRendererBasic/Application/src/androidTest/java/com/example/android/pdfrendererbasic/ |
D | PdfRendererBasicTest.java | 45 scenario.onActivity((activity) -> { in integration() argument
|
/developers/samples/android/content/documentsUi/ContentProviderPaging/kotlinApp/app/src/main/kotlin/com.example.android.contentproviderpaging/ |
D | ImageClientFragment.kt | 62 val activity = activity in onViewCreated() constant 98 val activity = this@ImageClientFragment.activity in onCreateLoader() constant 128 val activity = this@ImageClientFragment.activity in onLoadFinished() constant
|
/developers/build/prebuilts/gradle/ContentProviderPaging/kotlinApp/app/src/main/kotlin/com.example.android.contentproviderpaging/ |
D | ImageClientFragment.kt | 62 val activity = activity in onViewCreated() constant 98 val activity = this@ImageClientFragment.activity in onCreateLoader() constant 128 val activity = this@ImageClientFragment.activity in onLoadFinished() constant
|
/developers/samples/android/connectivity/nfc/CardReader/Application/src/main/java/com/example/android/cardreader/ |
D | CardReaderFragment.java | 82 Activity activity = getActivity(); in enableReaderMode() local 91 Activity activity = getActivity(); in disableReaderMode() local
|
/developers/build/prebuilts/gradle/CardReader/Application/src/main/java/com/example/android/cardreader/ |
D | CardReaderFragment.java | 82 Activity activity = getActivity(); in enableReaderMode() local 91 Activity activity = getActivity(); in disableReaderMode() local
|
/developers/build/prebuilts/gradle/ContentProviderPaging/app/src/main/java/com/example/android/contentproviderpaging/ |
D | ImageClientFragment.java | 82 final Activity activity = getActivity(); in onViewCreated() local 124 final Activity activity = ImageClientFragment.this.getActivity(); in onCreateLoader() local 158 Activity activity = ImageClientFragment.this.getActivity(); in onLoadFinished() local
|
/developers/samples/android/content/documentsUi/ContentProviderPaging/app/src/main/java/com/example/android/contentproviderpaging/ |
D | ImageClientFragment.java | 82 final Activity activity = getActivity(); in onViewCreated() local 124 final Activity activity = ImageClientFragment.this.getActivity(); in onCreateLoader() local 158 Activity activity = ImageClientFragment.this.getActivity(); in onLoadFinished() local
|
/developers/samples/android/media/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/ |
D | SampleMediaButtonReceiver.java | 35 public static void setActivity(MainActivity activity) { in setActivity()
|
/developers/build/prebuilts/gradle/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/ |
D | SampleMediaButtonReceiver.java | 35 public static void setActivity(MainActivity activity) { in setActivity()
|
/developers/build/prebuilts/androidtv/visual-game-controller/src/com/example/android/visualgamecontroller/util/ |
D | SystemUiHider.java | 110 public static SystemUiHider getInstance(Activity activity, View anchorView, int flags) { in getInstance() 118 protected SystemUiHider(Activity activity, View anchorView, int flags) { in SystemUiHider()
|
D | SystemUiHiderBase.java | 38 protected SystemUiHiderBase(Activity activity, View anchorView, int flags) { in SystemUiHiderBase()
|
/developers/build/prebuilts/gradle/ScreenCapture/Application/src/main/java/com/example/android/screencapture/ |
D | ScreenCaptureFragment.java | 90 Activity activity = getActivity(); in onActivityCreated() local 128 Activity activity = getActivity(); in onActivityResult() local 164 Activity activity = getActivity(); in startScreenCapture() local
|
/developers/samples/android/media/ScreenCapture/Application/src/main/java/com/example/android/screencapture/ |
D | ScreenCaptureFragment.java | 90 Activity activity = getActivity(); in onActivityCreated() local 128 Activity activity = getActivity(); in onActivityResult() local 164 Activity activity = getActivity(); in startScreenCapture() local
|
/developers/build/prebuilts/gradle/ActivityInstrumentation/Application/tests/src/com/example/android/activityinstrumentation/ |
D | SampleTests.java | 61 Activity activity = getActivity(); in testSpinnerValuePersistedBetweenLaunches() local
|
/developers/samples/android/testing/ActivityInstrumentation/Application/tests/src/com/example/android/activityinstrumentation/ |
D | SampleTests.java | 61 Activity activity = getActivity(); in testSpinnerValuePersistedBetweenLaunches() local
|
/developers/samples/android/common/src/java/com/example/android/common/midi/ |
D | MidiInputPortSelector.java | 44 public MidiInputPortSelector(MidiManager midiManager, Activity activity, in MidiInputPortSelector()
|