/developers/samples/android/common/src/java/com/example/android/common/play/ |
D | GoogleServicesConnectionFailedHelper.java | 34 FragmentActivity mActivity; field in GoogleServicesConnectionFailedHelper 37 public GoogleServicesConnectionFailedHelper(FragmentActivity mActivity, int requestCode) { in GoogleServicesConnectionFailedHelper() argument 38 this.mActivity = mActivity; in GoogleServicesConnectionFailedHelper() 54 connectionResult.startResolutionForResult(mActivity, mRequestCode); in onConnectionFailed() 69 fragment.setDialog(new Dialog(mActivity)); in onConnectionFailed() 70 fragment.show(mActivity.getSupportFragmentManager(), null); in onConnectionFailed()
|
/developers/build/prebuilts/gradle/PdfRendererBasic/Application/tests/src/com/example/android/pdfrendererbasic/tests/ |
D | PdfRendererBasicFragmentTests.java | 35 private MainActivity mActivity; field in PdfRendererBasicFragmentTests 48 mActivity = getActivity(); in setUp() 49 mFragment = (PdfRendererBasicFragment) mActivity.getFragmentManager() in setUp() 56 String expectedActivityTitle = mActivity.getString(R.string.app_name_with_index, 1, in testActivityTitle() 58 assertEquals(expectedActivityTitle, mActivity.getTitle()); in testActivityTitle() 86 String expectedActivityTitle = mActivity.getString(R.string.app_name_with_index, in testButtons_nextDisabledLastPage() 88 assertEquals(expectedActivityTitle, mActivity.getTitle()); in testButtons_nextDisabledLastPage() 97 mActivity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); in testOrientationChangePreserveState() 101 String expectedActivityTitle = mActivity.getString(R.string.app_name_with_index, in testOrientationChangePreserveState() 103 assertEquals(expectedActivityTitle, mActivity.getTitle()); in testOrientationChangePreserveState() [all …]
|
/developers/build/prebuilts/gradle/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/ |
D | SampleMediaButtonReceiver.java | 33 private static MainActivity mActivity; field in SampleMediaButtonReceiver 36 mActivity = activity; in setActivity() 41 if (mActivity != null && Intent.ACTION_MEDIA_BUTTON.equals(intent.getAction())) { in onReceive() 42 mActivity.handleMediaKey( in onReceive()
|
/developers/samples/android/media/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/ |
D | SampleMediaButtonReceiver.java | 33 private static MainActivity mActivity; field in SampleMediaButtonReceiver 36 mActivity = activity; in setActivity() 41 if (mActivity != null && Intent.ACTION_MEDIA_BUTTON.equals(intent.getAction())) { in onReceive() 42 mActivity.handleMediaKey( in onReceive()
|
/developers/samples/android/ui/views/CardView/Application/tests/src/com/example/android/cardview/ |
D | SampleTests.java | 25 private CardViewActivity mActivity; field in SampleTests 35 mActivity = getActivity(); in setUp() 36 mFragment = (CardViewFragment) mActivity.getFragmentManager().findFragmentById(R.id in setUp() 42 mActivity); in testPreconditions()
|
/developers/build/prebuilts/gradle/CardView/Application/tests/src/com/example/android/cardview/ |
D | SampleTests.java | 25 private CardViewActivity mActivity; field in SampleTests 35 mActivity = getActivity(); in setUp() 36 mFragment = (CardViewFragment) mActivity.getFragmentManager().findFragmentById(R.id in setUp() 42 mActivity); in testPreconditions()
|
/developers/build/prebuilts/androidtv/visual-game-controller/src/com/example/android/visualgamecontroller/util/ |
D | SystemUiHiderBase.java | 45 mActivity.getWindow().setFlags( in setup() 61 mActivity.getWindow().setFlags( in hide() 72 mActivity.getWindow().setFlags( in show()
|
D | SystemUiHiderHoneycomb.java | 119 mActivity.getActionBar().hide(); 120 mActivity.getWindow().setFlags( 135 mActivity.getActionBar().show(); 136 mActivity.getWindow().setFlags(
|
D | SystemUiHider.java | 75 protected Activity mActivity; field in SystemUiHider 119 mActivity = activity; in SystemUiHider()
|
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/ |
D | ManualFieldPickerActivity.java | 115 private final Activity mActivity; field in ManualFieldPickerActivity.FieldsAdapter 119 mActivity = activity; in FieldsAdapter() 126 .inflate(R.layout.dataset_field, parent, false), mActivity); in onCreateViewHolder() 144 private final Activity mActivity; field in ManualFieldPickerActivity.FieldViewHolder 150 mActivity = activity; in FieldViewHolder() 156 ((ManualFieldPickerActivity) mActivity).onSelectedDataset(field); in bind()
|
D | ManualActivity.java | 265 private final Activity mActivity; field in ManualActivity.AutofillDatasetsAdapter 272 mActivity = activity; in AutofillDatasetsAdapter() 277 return DatasetViewHolder.newInstance(parent, mActivity); in onCreateViewHolder() 299 private final Activity mActivity; field in ManualActivity.DatasetViewHolder 306 mActivity = activity; in DatasetViewHolder() 340 Intent intent = ManualFieldPickerActivity.getIntent(mActivity, datasetId); in bind() 341 mActivity.startActivityForResult(intent, RC_SELECT_FIELD); in bind()
|
/developers/build/prebuilts/gradle/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/ |
D | ManualFieldPickerActivity.java | 115 private final Activity mActivity; field in ManualFieldPickerActivity.FieldsAdapter 119 mActivity = activity; in FieldsAdapter() 126 .inflate(R.layout.dataset_field, parent, false), mActivity); in onCreateViewHolder() 144 private final Activity mActivity; field in ManualFieldPickerActivity.FieldViewHolder 150 mActivity = activity; in FieldViewHolder() 156 ((ManualFieldPickerActivity) mActivity).onSelectedDataset(field); in bind()
|
D | ManualActivity.java | 265 private final Activity mActivity; field in ManualActivity.AutofillDatasetsAdapter 272 mActivity = activity; in AutofillDatasetsAdapter() 277 return DatasetViewHolder.newInstance(parent, mActivity); in onCreateViewHolder() 299 private final Activity mActivity; field in ManualActivity.DatasetViewHolder 306 mActivity = activity; in DatasetViewHolder() 340 Intent intent = ManualFieldPickerActivity.getIntent(mActivity, datasetId); in bind() 341 mActivity.startActivityForResult(intent, RC_SELECT_FIELD); in bind()
|
/developers/samples/android/security/FingerprintDialog/Application/src/main/java/com/example/android/fingerprintdialog/ |
D | FingerprintAuthenticationDialogFragment.java | 57 private MainActivity mActivity; field in FingerprintAuthenticationDialogFragment 105 mActivity.getSystemService(FingerprintManager.class), in onCreateView() 139 mActivity = (MainActivity) getActivity(); in onAttach() 184 mActivity.createKey(MainActivity.DEFAULT_KEY_NAME, true); in verifyPassword() 189 mActivity.onPurchased(false /* without Fingerprint */, null); in verifyPassword() 246 mActivity.onPurchased(true /* withFingerprint */, mCryptoObject); in onAuthenticated()
|
/developers/build/prebuilts/gradle/FingerprintDialog/Application/src/main/java/com/example/android/fingerprintdialog/ |
D | FingerprintAuthenticationDialogFragment.java | 57 private MainActivity mActivity; field in FingerprintAuthenticationDialogFragment 105 mActivity.getSystemService(FingerprintManager.class), in onCreateView() 139 mActivity = (MainActivity) getActivity(); in onAttach() 184 mActivity.createKey(MainActivity.DEFAULT_KEY_NAME, true); in verifyPassword() 189 mActivity.onPurchased(false /* without Fingerprint */, null); in verifyPassword() 246 mActivity.onPurchased(true /* withFingerprint */, mCryptoObject); in onAuthenticated()
|
/developers/build/prebuilts/gradle/ScopedDirectoryAccess/Application/src/main/java/com/example/android/scopeddirectoryaccess/ |
D | ScopedDirectoryAccessFragment.java | 60 private Activity mActivity; field in ScopedDirectoryAccessFragment 81 mActivity = getActivity(); in onAttach() 82 mStorageManager = mActivity.getSystemService(StorageManager.class); in onAttach() 128 LinearLayout containerVolumes = (LinearLayout) mActivity in onViewCreated() 131 String volumeDescription = volume.getDescription(mActivity); in onViewCreated() 140 LinearLayout volumeArea = (LinearLayout) mActivity.getLayoutInflater() in onViewCreated()
|
/developers/samples/android/security/AsymmetricFingerprintDialog/Application/src/main/java/com/example/android/asymmetricfingerprintdialog/ |
D | FingerprintAuthenticationDialogFragment.java | 74 private MainActivity mActivity; field in FingerprintAuthenticationDialogFragment 163 mActivity = (MainActivity) getActivity(); in onAttach() 233 mActivity.createKeyPair(); in verifyPassword() 238 mActivity.onPurchased(null); in verifyPassword() 296 mActivity.onPurchased(sigBytes); in onAuthenticated() 299 mActivity.onPurchaseFailed(); in onAuthenticated()
|
/developers/build/prebuilts/gradle/AsymmetricFingerprintDialog/Application/src/main/java/com/example/android/asymmetricfingerprintdialog/ |
D | FingerprintAuthenticationDialogFragment.java | 74 private MainActivity mActivity; field in FingerprintAuthenticationDialogFragment 163 mActivity = (MainActivity) getActivity(); in onAttach() 233 mActivity.createKeyPair(); in verifyPassword() 238 mActivity.onPurchased(null); in verifyPassword() 296 mActivity.onPurchased(sigBytes); in onAuthenticated() 299 mActivity.onPurchaseFailed(); in onAuthenticated()
|
/developers/samples/android/common/src/java/com/example/android/common/actionbarcompat/ |
D | MultiSelectionUtil.java | 66 private final AppCompatActivity mActivity; field in MultiSelectionUtil.Controller 89 mActivity = activity; in Controller() 168 mActionMode = mActivity.startSupportActionMode(mCallbacks); in tryRestoreInstanceState() 275 mActionMode = mActivity.startSupportActionMode(this); in onItemLongClick()
|
/developers/samples/android/background/JobScheduler/Application/src/main/java/com/example/android/jobscheduler/ |
D | MainActivity.java | 197 private WeakReference<MainActivity> mActivity; field in MainActivity.IncomingMessageHandler 201 this.mActivity = new WeakReference<>(activity); in IncomingMessageHandler() 206 MainActivity mainActivity = mActivity.get(); in handleMessage() 255 TextView paramsTextView = (TextView) mActivity.get().findViewById(R.id.task_params); in updateParamsTextView() 265 return mActivity.get().getResources().getColor(color); in getColor()
|
/developers/build/prebuilts/gradle/JobScheduler/Application/src/main/java/com/example/android/jobscheduler/ |
D | MainActivity.java | 197 private WeakReference<MainActivity> mActivity; field in MainActivity.IncomingMessageHandler 201 this.mActivity = new WeakReference<>(activity); in IncomingMessageHandler() 206 MainActivity mainActivity = mActivity.get(); in handleMessage() 255 TextView paramsTextView = (TextView) mActivity.get().findViewById(R.id.task_params); in updateParamsTextView() 265 return mActivity.get().getResources().getColor(color); in getColor()
|
/developers/samples/android/content/documentsUi/ScopedDirectoryAccess/Application/src/main/java/com/example/android/scopeddirectoryaccess/ |
D | ScopedDirectoryAccessFragment.java | 65 private Activity mActivity; field in ScopedDirectoryAccessFragment 89 mActivity = getActivity(); in onAttach() 90 mStorageManager = mActivity.getSystemService(StorageManager.class); in onAttach() 155 LinearLayout containerVolumes = (LinearLayout) mActivity in onViewCreated() 158 String volumeDescription = volume.getDescription(mActivity); in onViewCreated() 167 LinearLayout volumeArea = (LinearLayout) mActivity.getLayoutInflater() in onViewCreated()
|
/developers/samples/android/common/src/java/com/example/android/common/midi/ |
D | MidiPortSelector.java | 43 protected Activity mActivity; field in MidiPortSelector 57 mActivity = activity; in MidiPortSelector() 139 + ", activity = " + mActivity.getPackageName() in onDeviceStatusChanged()
|
/developers/build/prebuilts/gradle/MidiScope/Application/src/main/java/com/example/android/common/midi/ |
D | MidiPortSelector.java | 43 protected Activity mActivity; field in MidiPortSelector 57 mActivity = activity; in MidiPortSelector() 139 + ", activity = " + mActivity.getPackageName() in onDeviceStatusChanged()
|
/developers/build/prebuilts/gradle/MidiSynth/Application/src/main/java/com/example/android/common/midi/ |
D | MidiPortSelector.java | 43 protected Activity mActivity; field in MidiPortSelector 57 mActivity = activity; in MidiPortSelector() 139 + ", activity = " + mActivity.getPackageName() in onDeviceStatusChanged()
|