/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
H A D | UsbDebuggingSecondaryUserActivity.java | 55 private final Activity mActivity; field in class:UsbDebuggingSecondaryUserActivity.UsbDisconnectedReceiver 57 mActivity = activity; 66 mActivity.finish();
|
H A D | UsbDebuggingActivity.java | 85 private final Activity mActivity; field in class:UsbDebuggingActivity.UsbDisconnectedReceiver 87 mActivity = activity; 98 mActivity.finish();
|
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | ViewCaptureTest.java | 52 private Activity mActivity; field in class:ViewCaptureTest 57 mActivity = mActivityRule.getActivity(); 58 mViewToCapture = (ViewGroup) mActivity.findViewById(R.id.capture); 73 Bitmap golden = BitmapFactory.decodeResource(mActivity.getResources(), goldenResId);
|
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/ |
H A D | MainActivityTest.java | 14 private MainActivity mActivity; field in class:MainActivityTest 26 mActivity = getActivity(); 27 mTextView = mActivity.findViewById(R.id.textView); 78 assertEquals(mActivity.getString(R.string.test),
|
/frameworks/rs/java/tests/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/ |
H A D | BlasTest.java | 43 private BlasBenchmark mActivity; field in class:BlasTest 53 mActivity = getActivity(); 71 mActivity.changeTest(mTestName, false); 72 //mResult = mActivity.getBenchmark(); 87 mActivity.runOnUiThread(action);
|
/frameworks/base/core/tests/coretests/src/android/transition/ |
H A D | TransitionTest.java | 32 Activity mActivity; field in class:TransitionTest 39 mActivity = getActivity(); 43 View square1 = mActivity.findViewById(R.id.square1); 44 View square2 = mActivity.findViewById(R.id.square2); 45 View square3 = mActivity.findViewById(R.id.square3);
|
H A D | FadeTransitionTest.java | 36 Activity mActivity; field in class:FadeTransitionTest 43 mActivity = getActivity(); 48 View square1 = mActivity.findViewById(R.id.square1); 74 View square1 = mActivity.findViewById(R.id.square1); 101 final View square1 = mActivity.findViewById(R.id.square1); 134 final ViewGroup sceneRoot = (ViewGroup) mActivity.findViewById(R.id.container);
|
H A D | SlideTransitionTest.java | 36 Activity mActivity; field in class:SlideTransitionTest 44 mActivity = getActivity(); 50 final View square1 = mActivity.findViewById(R.id.square1); 51 final View sceneRoot = mActivity.findViewById(R.id.container); 92 final ViewGroup sceneRoot = (ViewGroup) mActivity.findViewById(R.id.container);
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/ |
H A D | GridTouchVerticalSpacingStackFromBottomTest.java | 32 private GridVerticalSpacingStackFromBottom mActivity; field in class:GridTouchVerticalSpacingStackFromBottomTest 44 mActivity = getActivity(); 46 final Context context = mActivity.getApplicationContext(); 52 assertNotNull(mActivity); 111 (int) (mActivity.getWindowManager().getDefaultDisplay().getHeight() * 0.75f));
|
H A D | GridTouchVerticalSpacingTest.java | 31 private GridVerticalSpacing mActivity; field in class:GridTouchVerticalSpacingTest 42 mActivity = getActivity(); 48 assertNotNull(mActivity);
|
/frameworks/support/v17/tests/src/android/support/v17/leanback/app/ |
H A D | BrowseFragmentTest.java | 52 BrowseFragmentTestActivity mActivity; field in class:BrowseFragmentTest 86 mActivity = getActivity(); 131 mActivity.getBrowseTestFragment().setSelectedPosition(10, true, 145 ListRowPresenter.ViewHolder row = (ListRowPresenter.ViewHolder) mActivity 146 .getBrowseTestFragment().getRowsFragment().getRowViewHolder(mActivity
|
H A D | BrowseSupportFragmentTest.java | 54 BrowseSupportFragmentTestActivity mActivity; field in class:BrowseSupportFragmentTest 88 mActivity = getActivity(); 133 mActivity.getBrowseTestSupportFragment().setSelectedPosition(10, true, 147 ListRowPresenter.ViewHolder row = (ListRowPresenter.ViewHolder) mActivity 148 .getBrowseTestSupportFragment().getRowsSupportFragment().getRowViewHolder(mActivity
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | FocusSearchNavigationTest.java | 82 private Activity mActivity; field in class:FocusSearchNavigationTest 88 mActivity = mActivityRule.getActivity(); 92 mActivity.setContentView(R.layout.focus_search_activity); 93 mActivity.getWindow().getDecorView().setLayoutDirection(mLayoutDir); 94 LinearLayout linearLayout = (LinearLayout) mActivity.findViewById(R.id.root); 96 mRecyclerView = (RecyclerView) mActivity.findViewById(R.id.recycler_view); 98 LinearLayoutManager layout = new LinearLayoutManager(mActivity.getBaseContext()); 110 mBefore = mActivity.findViewById(R.id.before); 111 mAfter = mActivity.findViewById(R.id.after); 137 focused = mActivity [all...] |
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | OpenExternalDirectoryActivity.java | 383 private OpenExternalDirectoryActivity mActivity; field in class:OpenExternalDirectoryActivity.OpenExternalDirectoryDialogFragment 399 mActivity = (OpenExternalDirectoryActivity) getActivity(); 417 if (mActivity != getActivity()) { 419 Log.wtf(TAG, "activity references don't match on onCreateDialog(): mActivity = " 420 + mActivity + " , getActivity() = " + getActivity()); 421 mActivity = (OpenExternalDirectoryActivity) getActivity(); 425 final Context context = mActivity.getApplicationContext(); 432 intent = createGrantedUriPermissionsIntent(mActivity, 433 mActivity.getExternalStorageClient(), mFile); 436 logValidScopedAccessRequest(mActivity, directoryNam [all...] |
H A D | CreateDirectoryFragment.java | 117 private final BaseActivity mActivity; field in class:CreateDirectoryFragment.CreateDirectoryTask 123 mActivity = activity; 130 mActivity.setPending(true); 135 final ContentResolver resolver = mActivity.getContentResolver(); 155 mActivity.onDirectoryCreated(result); 158 Snackbars.makeSnackbar(mActivity, R.string.create_error, Snackbar.LENGTH_SHORT) 162 mActivity.setPending(false);
|
/frameworks/base/core/java/android/app/ |
H A D | ExitTransitionCoordinator.java | 53 private Activity mActivity; field in class:ExitTransitionCoordinator 69 mActivity = activity; 240 ActivityOptions options = ActivityOptions.makeSceneTransitionAnimation(mActivity, this, 242 mActivity.convertToTranslucent(new Activity.TranslucentConversionListener() { 260 if (mIsReturning && mActivity != null) { 264 mActivity.convertToTranslucent(null, null); 457 if (mIsReturning && mExitNotified && mActivity != null && (mSharedElements.isEmpty() || 462 mActivity = null; // don't need it anymore 468 if (mActivity != null) { 469 mActivity [all...] |
H A D | FragmentBreadCrumbs.java | 46 Activity mActivity; field in class:FragmentBreadCrumbs 123 mActivity = a; 177 (FragmentManagerImpl) mActivity.getFragmentManager()); 303 FragmentManager fm = mActivity.getFragmentManager(); 373 mActivity.getFragmentManager().popBackStack(); 375 mActivity.getFragmentManager().popBackStack(bse.getId(), 0);
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/ |
H A D | ListTouchBottomGravityManyTest.java | 35 private ListBottomGravityMany mActivity; field in class:ListTouchBottomGravityManyTest 46 mActivity = getActivity(); 52 assertNotNull(mActivity); 149 (int)(mActivity.getWindowManager().getDefaultDisplay().getHeight() * 0.75f));
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
H A D | PrinterRegistry.java | 38 private final Activity mActivity; field in class:PrinterRegistry 58 mActivity = activity; 114 Loader<?> loader = mActivity.getLoaderManager().getLoader(mLoaderId); 157 return new FusedPrintersProvider(mActivity, args.getInt(null));
|
H A D | PrintPreviewController.java | 47 private final PrintActivity mActivity; field in class:PrintPreviewController 65 mActivity = activity; 72 final int columnCount = mActivity.getResources().getInteger( 75 mLayoutManger = new GridLayoutManager(mActivity, columnCount); 113 final int optionColumnCount = mActivity.getResources().getInteger( 274 mActivity.updateOptionsUi();
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/ |
H A D | PhotoViewController.java | 125 private final ActivityInterface mActivity; field in class:PhotoViewController 207 mActivity = activity; 234 return mActivity; 239 final ActivityManager mgr = (ActivityManager) mActivity.getApplicationContext(). 243 final Intent intent = mActivity.getIntent(); 307 mActivity.setContentView(getContentViewId()); 310 mAdapter = createPhotoPagerAdapter(mActivity.getContext(), 311 mActivity.getSupportFragmentManager(), null, mMaxInitialScale); 312 final Resources resources = mActivity.getResources(); 329 mActivity [all...] |
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | ActionBarDrawerToggle.java | 192 private final Activity mActivity; field in class:ActionBarDrawerToggle 262 mActivity = activity; 343 indicator = ContextCompat.getDrawable(mActivity, resId); 391 mDrawerImage = ContextCompat.getDrawable(mActivity, mDrawerImageResource); 480 return IMPL.getThemeUpIndicator(mActivity); 489 .setActionBarUpIndicator(mSetIndicatorInfo, mActivity, upDrawable, contentDescRes); 498 .setActionBarDescription(mSetIndicatorInfo, mActivity, contentDescRes); 545 mActivity.getWindow().getDecorView()) == ViewCompat.LAYOUT_DIRECTION_RTL;
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/ |
H A D | RenameDocumentFragment.java | 196 private final BaseActivity mActivity; field in class:RenameDocumentFragment.RenameDocumentsTask 200 mActivity = activity; 206 mActivity.setPending(true); 212 final ContentResolver resolver = mActivity.getContentResolver(); 234 Snackbars.makeSnackbar(mActivity, R.string.rename_error, Snackbar.LENGTH_SHORT) 238 mActivity.setPending(false);
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/ |
H A D | ListOfItemsShorterThanScreenTest.java | 31 private ListOfItemsShorterThanScreen mActivity; field in class:ListOfItemsShorterThanScreenTest 40 mActivity = getActivity(); 101 assertEquals(mActivity.getValueAtPosition(lastOnScreenItemIndex + 1), view.getText());
|
/frameworks/base/packages/DocumentsUI/app-perf-tests/src/com/android/documentsui/ |
H A D | FilesAppPerfTest.java | 49 private LauncherActivity mActivity; field in class:FilesAppPerfTest 76 mActivity = launchActivity(getInstrumentation().getTargetContext().getPackageName(),
|