/packages/apps/LegacyCamera/tests/src/com/android/camera/stress/ |
SwitchPreview.java | 58 getActivity(); 65 getActivity().finish(); 103 getActivity().startActivity(intent); 109 getActivity().startActivity(intent);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
LiteFragment.java | 29 public Activity getActivity();
|
/cts/tests/tests/app/src/android/app/cts/ |
ApplyOverrideConfigurationTest.java | 49 final Configuration config = getActivity().getResources().getConfiguration(); 55 getActivity().watchForSingleOnConfigurationChangedCallback(); 62 final Configuration newConfig = getActivity().getResources().getConfiguration();
|
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/ |
LeanbackDetailsFragment.java | 73 BackgroundManager backgroundManager = BackgroundManager.getInstance(getActivity()); 74 backgroundManager.attach(getActivity().getWindow()); 80 getActivity().getWindowManager().getDefaultDisplay().getMetrics(mMetrics); 82 selectedMovie = (Movie) getActivity().getIntent().getSerializableExtra("Movie"); 98 Bitmap poster = Picasso.with(getActivity()) 100 .resize(Utils.dpToPx(DETAIL_THUMB_WIDTH, getActivity() 102 Utils.dpToPx(DETAIL_THUMB_HEIGHT, getActivity() 106 row.setImageBitmap(getActivity(), poster); 131 Intent intent = new Intent(getActivity(), PlayerActivity.class); 137 Toast.makeText(getActivity(), action.toString(), Toast.LENGTH_SHORT).show() [all...] |
MainFragment.java | 81 BackgroundManager backgroundManager = BackgroundManager.getInstance(getActivity()); 82 backgroundManager.attach(getActivity().getWindow()); 86 getActivity().getWindowManager().getDefaultDisplay().getMetrics(mMetrics); 90 // setBadgeDrawable(getActivity().getResources().getDrawable(R.drawable.videos_by_google_banner)); 101 VideoProvider.setContext(getActivity()); 102 mVideosUrl = getActivity().getResources().getString(R.string.catalog_url); 111 Intent intent = new Intent(getActivity(), SearchActivity.class); 128 return new VideoItemLoader(getActivity(), mVideosUrl); 197 Intent intent = new Intent(getActivity(), DetailsActivity.class); 203 Intent intent = new Intent(getActivity(), VerticalGridActivity.class) [all...] |
/developers/build/prebuilts/gradle/ActivityInstrumentation/Application/tests/src/com/example/android/activityinstrumentation/ |
SampleTests.java | 39 * copy of the application under inspection. Calling getActivity() will return a 61 Activity activity = getActivity(); 87 activity = this.getActivity(); 115 activity = this.getActivity();
|
/developers/build/prebuilts/gradle/BasicGestureDetect/Application/src/main/java/com/example/android/basicgesturedetect/ |
BasicGestureDetectFragment.java | 40 View gestureView = getActivity().findViewById(R.id.sample_output); 49 final GestureDetector gd = new GestureDetector(getActivity(), gestureListener); 77 LogFragment logFragment = ((LogFragment) getActivity().getSupportFragmentManager()
|
/developers/build/prebuilts/gradle/BasicImmersiveMode/Application/src/main/java/com/example/android/basicimmersivemode/ |
BasicImmersiveModeFragment.java | 38 final View decorView = getActivity().getWindow().getDecorView(); 64 int uiOptions = getActivity().getWindow().getDecorView().getSystemUiVisibility(); 85 getActivity().getWindow().getDecorView().setSystemUiVisibility(newUiOptions);
|
/developers/build/prebuilts/gradle/ImmersiveMode/Application/src/main/java/com/example/android/immersivemode/ |
ImmersiveModeFragment.java | 39 final View decorView = getActivity().getWindow().getDecorView(); 66 int uiOptions = getActivity().getWindow().getDecorView().getSystemUiVisibility(); 100 getActivity().getWindow().getDecorView().setSystemUiVisibility(newUiOptions);
|
/developers/samples/android/input/gestures/BasicGestureDetect/Application/src/main/java/com/example/android/basicgesturedetect/ |
BasicGestureDetectFragment.java | 40 View gestureView = getActivity().findViewById(R.id.sample_output); 49 final GestureDetector gd = new GestureDetector(getActivity(), gestureListener); 77 LogFragment logFragment = ((LogFragment) getActivity().getSupportFragmentManager()
|
/developers/samples/android/testing/ActivityInstrumentation/Application/tests/src/com/example/android/activityinstrumentation/ |
SampleTests.java | 39 * copy of the application under inspection. Calling getActivity() will return a 61 Activity activity = getActivity(); 87 activity = this.getActivity(); 115 activity = this.getActivity();
|
/developers/samples/android/ui/window/BasicImmersiveMode/Application/src/main/java/com/example/android/basicimmersivemode/ |
BasicImmersiveModeFragment.java | 38 final View decorView = getActivity().getWindow().getDecorView(); 64 int uiOptions = getActivity().getWindow().getDecorView().getSystemUiVisibility(); 85 getActivity().getWindow().getDecorView().setSystemUiVisibility(newUiOptions);
|
/developers/samples/android/ui/window/ImmersiveMode/Application/src/main/java/com/example/android/immersivemode/ |
ImmersiveModeFragment.java | 39 final View decorView = getActivity().getWindow().getDecorView(); 66 int uiOptions = getActivity().getWindow().getDecorView().getSystemUiVisibility(); 100 getActivity().getWindow().getDecorView().setSystemUiVisibility(newUiOptions);
|
/development/samples/browseable/BasicGestureDetect/src/com.example.android.basicgesturedetect/ |
BasicGestureDetectFragment.java | 40 View gestureView = getActivity().findViewById(R.id.sample_output); 49 final GestureDetector gd = new GestureDetector(getActivity(), gestureListener); 77 LogFragment logFragment = ((LogFragment) getActivity().getSupportFragmentManager()
|
/development/samples/browseable/BasicImmersiveMode/src/com.example.android.basicimmersivemode/ |
BasicImmersiveModeFragment.java | 38 final View decorView = getActivity().getWindow().getDecorView(); 64 int uiOptions = getActivity().getWindow().getDecorView().getSystemUiVisibility(); 85 getActivity().getWindow().getDecorView().setSystemUiVisibility(newUiOptions);
|
/development/samples/browseable/ImmersiveMode/src/com.example.android.immersivemode/ |
ImmersiveModeFragment.java | 39 final View decorView = getActivity().getWindow().getDecorView(); 66 int uiOptions = getActivity().getWindow().getDecorView().getSystemUiVisibility(); 100 getActivity().getWindow().getDecorView().setSystemUiVisibility(newUiOptions);
|
/frameworks/base/core/tests/coretests/src/android/animation/ |
AnimatorInflaterTest.java | 45 StateListAnimator sla1 = AnimatorInflater.loadStateListAnimator(getActivity(), 47 sla1.setTarget(getActivity().mAnimatingButton); 48 StateListAnimator sla2 = AnimatorInflater.loadStateListAnimator(getActivity(),
|
/frameworks/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/ |
MultiPageTextWithPaddingTest.java | 44 mScrollView = getActivity().getScrollView(); 45 mTextView = getActivity().getContentChildAt(0); 66 getActivity().getLinearLayout().getHeight()
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/ |
BaseBasicsTestCase.java | 63 assertNotNull("ActionBar is not null", getActivity().getSupportActionBar()); 68 assertEquals(getActivity().getTitle(), getActivity().getSupportActionBar().getTitle()); 77 getActivity().setTitle(newTitle); 79 newTitle, getActivity().getSupportActionBar().getTitle()); 86 final A activity = getActivity(); 107 (FitWindowsContentLayout) getActivity().findViewById(R.id.test_content); 120 final View content = getActivity().findViewById(R.id.test_content); 140 final A activity = getActivity(); 164 final A activity = getActivity(); [all...] |
/packages/apps/Dialer/src/com/android/dialer/settings/ |
SoundSettingsFragment.java | 83 return getActivity(); 92 Context context = getActivity(); 113 (TelephonyManager) getActivity().getSystemService(Context.TELEPHONY_SERVICE); 135 getActivity().onBackPressed(); 165 Settings.System.putInt(getActivity().getContentResolver(), 170 Settings.System.putInt(getActivity().getContentResolver(), 189 Settings.System.putInt(getActivity().getContentResolver(), 201 getActivity(), 215 int vibrateWhenRingingSetting = Settings.System.getInt(getActivity().getContentResolver(), 225 int dtmfToneSetting = Settings.System.getInt(getActivity().getContentResolver() [all...] |
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
DeletionHelperSettings.java | 77 mAppBackend = new AppDeletionType(getActivity().getApplication(), checkedApplications); 83 mProvider = FeatureFactory.getFactory(getActivity()).getDeletionHelperFeatureProvider(); 95 Activity activity = getActivity(); 118 mDownloadsDeletion = new DownloadsDeletionType(getActivity(), uncheckedFiles); 130 if (getActivity().checkSelfPermission( 176 mPhotoVideoDeletion.clearFreeableData(getActivity()); 178 mDownloadsDeletion.clearFreeableData(getActivity()); 179 mAppBackend.clearFreeableData(getActivity()); 193 getActivity().finish(); 211 Activity activity = getActivity(); [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/name/ |
DeviceNameSetCustomFragment.java | 50 .title(DeviceManager.getDeviceName(getActivity())) 59 DeviceManager.setDeviceName(getActivity(), name.toString()); 60 getActivity().finish();
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/settings/ |
ClearPictureApprovalsDialogFragment.java | 49 return new AlertDialog.Builder(getActivity()) 61 final MailPrefs mailPrefs = MailPrefs.get(getActivity()); 63 Toast.makeText(getActivity(), R.string.sender_whitelist_cleared, Toast.LENGTH_SHORT)
|
/developers/build/prebuilts/gradle/LNotifications/Application/src/main/java/com/example/android/lnotifications/ |
OtherMetadataFragment.java | 110 mNotificationManager = (NotificationManager) getActivity().getSystemService(Context 135 ArrayAdapter<Category> categoryArrayAdapter = new ArrayAdapter<Category>(getActivity(), 141 ArrayAdapter<Priority> priorityArrayAdapter = new ArrayAdapter<Priority>(getActivity(), 182 Notification.Builder notificationBuilder = new Notification.Builder(getActivity()) 213 Toast.makeText(getActivity(), "Show Notification clicked", Toast.LENGTH_SHORT).show(); 232 Cursor cursor = getActivity().getContentResolver().query(contactUri, null, null, null, 241 result = MediaStore.Images.Media.getBitmap(getActivity().getContentResolver() 247 Drawable defaultContactDrawable = getActivity().getResources().getDrawable(R 261 Cursor cursor = getActivity().getContentResolver().query(contactUri, null, null, null, 271 ImageView contactPhoto = (ImageView) getActivity().findViewById(R.id.contact_photo) [all...] |
/developers/samples/android/notification/LNotifications/Application/src/main/java/com/example/android/lnotifications/ |
OtherMetadataFragment.java | 110 mNotificationManager = (NotificationManager) getActivity().getSystemService(Context 135 ArrayAdapter<Category> categoryArrayAdapter = new ArrayAdapter<Category>(getActivity(), 141 ArrayAdapter<Priority> priorityArrayAdapter = new ArrayAdapter<Priority>(getActivity(), 182 Notification.Builder notificationBuilder = new Notification.Builder(getActivity()) 213 Toast.makeText(getActivity(), "Show Notification clicked", Toast.LENGTH_SHORT).show(); 232 Cursor cursor = getActivity().getContentResolver().query(contactUri, null, null, null, 241 result = MediaStore.Images.Media.getBitmap(getActivity().getContentResolver() 247 Drawable defaultContactDrawable = getActivity().getResources().getDrawable(R 261 Cursor cursor = getActivity().getContentResolver().query(contactUri, null, null, null, 271 ImageView contactPhoto = (ImageView) getActivity().findViewById(R.id.contact_photo) [all...] |