Home
last modified time | relevance | path

Searched refs:args (Results 1 – 25 of 366) sorted by relevance

12345678910>>...15

/developers/samples/android/media/HdrViewfinder/Application/src/main/java/com/example/android/hdrviewfinder/
DMessageDialogFragment.java32 Bundle args = new Bundle(); in newInstance() local
33 args.putInt(ARG_MESSAGE_INT, message); in newInstance()
34 fragment.setArguments(args); in newInstance()
40 Bundle args = new Bundle(); in newInstance() local
41 args.putString(ARG_MESSAGE_STRING, message); in newInstance()
42 fragment.setArguments(args); in newInstance()
51 Bundle args = getArguments(); in onCreateDialog() local
52 if (args.containsKey(ARG_MESSAGE_INT)) { in onCreateDialog()
53 builder.setMessage(args.getInt(ARG_MESSAGE_INT)); in onCreateDialog()
54 } else if (args.containsKey(ARG_MESSAGE_STRING)) { in onCreateDialog()
[all …]
/developers/build/prebuilts/gradle/HdrViewfinder/Application/src/main/java/com/example/android/hdrviewfinder/
DMessageDialogFragment.java32 Bundle args = new Bundle(); in newInstance() local
33 args.putInt(ARG_MESSAGE_INT, message); in newInstance()
34 fragment.setArguments(args); in newInstance()
40 Bundle args = new Bundle(); in newInstance() local
41 args.putString(ARG_MESSAGE_STRING, message); in newInstance()
42 fragment.setArguments(args); in newInstance()
51 Bundle args = getArguments(); in onCreateDialog() local
52 if (args.containsKey(ARG_MESSAGE_INT)) { in onCreateDialog()
53 builder.setMessage(args.getInt(ARG_MESSAGE_INT)); in onCreateDialog()
54 } else if (args.containsKey(ARG_MESSAGE_STRING)) { in onCreateDialog()
[all …]
/developers/samples/android/ui/transition/FragmentTransition/Application/src/main/java/com/example/android/fragmenttransition/
DDetailFragment.java60 Bundle args = new Bundle(); in newInstance() local
61 args.putInt(ARG_RESOURCE_ID, resourceId); in newInstance()
62 args.putString(ARG_TITLE, title); in newInstance()
63 args.putInt(ARG_X, x); in newInstance()
64 args.putInt(ARG_Y, y); in newInstance()
65 args.putInt(ARG_WIDTH, width); in newInstance()
66 args.putInt(ARG_HEIGHT, height); in newInstance()
67 fragment.setArguments(args); in newInstance()
91 Bundle args = getArguments(); in onViewCreated() local
93 if (args != null) { in onViewCreated()
[all …]
/developers/samples/android/connectivity/network/BasicNetworking/Application/src/main/java/com/example/android/basicnetworking/
DSimpleTextFragment.java89 Bundle args = getArguments(); in processArguments() local
90 if (args.containsKey(TEXT_KEY)) { in processArguments()
91 mText = args.getString(TEXT_KEY); in processArguments()
93 } else if (args.containsKey(TEXT_ID_KEY)) { in processArguments()
94 mTextId = args.getInt(TEXT_ID_KEY); in processArguments()
/developers/build/prebuilts/gradle/BasicNetworking/Application/src/main/java/com/example/android/basicnetworking/
DSimpleTextFragment.java89 Bundle args = getArguments(); in processArguments() local
90 if (args.containsKey(TEXT_KEY)) { in processArguments()
91 mText = args.getString(TEXT_KEY); in processArguments()
93 } else if (args.containsKey(TEXT_ID_KEY)) { in processArguments()
94 mTextId = args.getInt(TEXT_ID_KEY); in processArguments()
/developers/build/prebuilts/gradle/SlidingTabsColors/Application/src/main/java/com/example/android/slidingtabscolors/
DContentFragment.java63 Bundle args = getArguments(); in onViewCreated() local
65 if (args != null) { in onViewCreated()
67 title.setText("Title: " + args.getCharSequence(KEY_TITLE)); in onViewCreated()
69 int indicatorColor = args.getInt(KEY_INDICATOR_COLOR); in onViewCreated()
74 int dividerColor = args.getInt(KEY_DIVIDER_COLOR); in onViewCreated()
/developers/samples/android/ui/views/SlidingTabs/SlidingTabsColors/Application/src/main/java/com/example/android/slidingtabscolors/
DContentFragment.java63 Bundle args = getArguments(); in onViewCreated() local
65 if (args != null) { in onViewCreated()
67 title.setText("Title: " + args.getCharSequence(KEY_TITLE)); in onViewCreated()
69 int indicatorColor = args.getInt(KEY_INDICATOR_COLOR); in onViewCreated()
74 int dividerColor = args.getInt(KEY_DIVIDER_COLOR); in onViewCreated()
/developers/samples/android/ui/views/EffectiveNavigation/app/src/main/java/com/example/android/effectivenavigation/
DCollectionDemoActivity.java82 Bundle args = new Bundle(); in getItem() local
83 args.putInt(DemoObjectFragment.ARG_OBJECT, i + 1); // Our object is just an integer :-P in getItem()
84 fragment.setArguments(args); in getItem()
111 Bundle args = getArguments(); in onCreateView() local
113 String.format(Locale.US, "%d", args.getInt(ARG_OBJECT))); in onCreateView()
DMainActivity.java97 Bundle args = new Bundle(); in getItem() local
98 args.putInt(DummySectionFragment.ARG_SECTION_NUMBER, i + 1); in getItem()
99 fragment.setArguments(args); in getItem()
169 Bundle args = getArguments(); in onCreateView() local
171 getString(R.string.dummy_section_text, args.getInt(ARG_SECTION_NUMBER))); in onCreateView()
/developers/build/prebuilts/gradle/PermissionRequest/Application/src/main/java/com/example/android/permissionrequest/
DMessageDialogFragment.java36 Bundle args = new Bundle(); in newInstance() local
37 args.putInt(ARG_MESSAGE_RES_ID, message); in newInstance()
38 fragment.setArguments(args); in newInstance()
DConfirmationDialogFragment.java42 Bundle args = new Bundle(); in newInstance() local
43 args.putStringArray(ARG_RESOURCES, resources); in newInstance()
44 fragment.setArguments(args); in newInstance()
/developers/samples/android/content/webview/PermissionRequest/Application/src/main/java/com/example/android/permissionrequest/
DMessageDialogFragment.java36 Bundle args = new Bundle(); in newInstance() local
37 args.putInt(ARG_MESSAGE_RES_ID, message); in newInstance()
38 fragment.setArguments(args); in newInstance()
DConfirmationDialogFragment.java42 Bundle args = new Bundle(); in newInstance() local
43 args.putStringArray(ARG_RESOURCES, resources); in newInstance()
44 fragment.setArguments(args); in newInstance()
/developers/build/prebuilts/gradle/SkeletonWearableApp/Wearable/src/main/java/com/example/android/google/wearable/app/
DGridExampleActivity.java107 Bundle args = new Bundle(); in newInstance() local
108 args.putString(CardFragment.KEY_TITLE, "Row:" + rowNum); in newInstance()
109 args.putString(CardFragment.KEY_TEXT, "Col:" + colNum); in newInstance()
111 f.setArguments(args); in newInstance()
/developers/samples/android/deprecated/wearable/wear/SkeletonWearableApp/Wearable/src/main/java/com/example/android/google/wearable/app/
DGridExampleActivity.java107 Bundle args = new Bundle(); in newInstance() local
108 args.putString(CardFragment.KEY_TITLE, "Row:" + rowNum); in newInstance()
109 args.putString(CardFragment.KEY_TEXT, "Col:" + colNum); in newInstance()
111 f.setArguments(args); in newInstance()
/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/ui/
DImageDetailFragment.java52 final Bundle args = new Bundle(); in newInstance() local
53 args.putString(IMAGE_DATA_EXTRA, imageUrl); in newInstance()
54 f.setArguments(args); in newInstance()
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/ui/
DImageDetailFragment.java52 final Bundle args = new Bundle(); in newInstance() local
53 args.putString(IMAGE_DATA_EXTRA, imageUrl); in newInstance()
54 f.setArguments(args); in newInstance()
/developers/build/prebuilts/gradle/AutofillFramework/Application/src/main/java/com/example/android/autofill/app/edgecases/
DAbstractMultipleStepsActivity.java167 protected void debug(String fmt, Object... args) { in debug() argument
168 Log.d(TAG, getLocalClassName() + "." + String.format(fmt, args)); in debug()
171 protected void warn(String fmt, Object... args) { in warn() argument
172 Log.w(TAG, getLocalClassName() + "." + String.format(fmt, args)); in warn()
/developers/build/prebuilts/gradle/HorizontalPaging/Application/src/main/java/com/example/android/horizontalpaging/
DMainActivity.java152 Bundle args = new Bundle(); in getItem() local
153 args.putInt(DummySectionFragment.ARG_SECTION_NUMBER, position + 1); in getItem()
154 fragment.setArguments(args); in getItem()
/developers/samples/android/ui/views/HorizontalPaging/Application/src/main/java/com/example/android/horizontalpaging/
DMainActivity.java152 Bundle args = new Bundle(); in getItem() local
153 args.putInt(DummySectionFragment.ARG_SECTION_NUMBER, position + 1); in getItem()
154 fragment.setArguments(args); in getItem()
/developers/samples/android/input/autofill/AutofillFramework/Application/src/main/java/com/example/android/autofill/app/edgecases/
DAbstractMultipleStepsActivity.java172 protected void debug(String fmt, Object... args) { in debug() argument
173 Log.d(TAG, getLocalClassName() + "." + String.format(fmt, args)); in debug()
176 protected void warn(String fmt, Object... args) { in warn() argument
177 Log.w(TAG, getLocalClassName() + "." + String.format(fmt, args)); in warn()
/developers/build/prebuilts/gradle/ContentProviderPaging/kotlinApp/app/src/main/kotlin/com.example.android.contentproviderpaging/
DImageClientFragment.kt97 override fun onCreateLoader(id: Int, args: Bundle?): Loader<Cursor> { in onCreateLoader()
152 val args = Bundle() in newInstance() constant
155 fragment.arguments = args in newInstance()
/developers/samples/android/content/documentsUi/ContentProviderPaging/kotlinApp/app/src/main/kotlin/com.example.android.contentproviderpaging/
DImageClientFragment.kt97 override fun onCreateLoader(id: Int, args: Bundle?): Loader<Cursor> { in onCreateLoader()
152 val args = Bundle() in newInstance() constant
155 fragment.arguments = args in newInstance()
/developers/build/prebuilts/gradle/MidiScope/
Dgradlew137 eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
139 eval `echo args$i`="\"$arg\""
/developers/build/prebuilts/gradle/NotificationChannels/kotlinApp/
Dgradlew137 eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
139 eval `echo args$i`="\"$arg\""

12345678910>>...15