Home
last modified time | relevance | path

Searched refs:fragments (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/base/core/java/android/net/
DNetworkConfig.java65 String fragments[] = init.split(","); in NetworkConfig() local
66 name = fragments[0].trim().toLowerCase(Locale.ROOT); in NetworkConfig()
67 type = Integer.parseInt(fragments[1]); in NetworkConfig()
68 radio = Integer.parseInt(fragments[2]); in NetworkConfig()
69 priority = Integer.parseInt(fragments[3]); in NetworkConfig()
70 restoreTime = Integer.parseInt(fragments[4]); in NetworkConfig()
71 dependencyMet = Boolean.parseBoolean(fragments[5]); in NetworkConfig()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmSmsTest.java253 ArrayList<String> fragments = android.telephony.SmsMessage.fragmentText(text); in testFragmentText() local
254 assertEquals(1, fragments.size()); in testFragmentText()
268 ArrayList<String> fragments = android.telephony.SmsMessage.fragmentText(text); in testFragmentText() local
269 assertEquals(2, fragments.size()); in testFragmentText()
270 assertEquals(text, fragments.get(0) + fragments.get(1)); in testFragmentText()
271 assertEquals(153, fragments.get(0).length()); in testFragmentText()
272 assertEquals(8, fragments.get(1).length()); in testFragmentText()
295 ArrayList<String> fragments = android.telephony.SmsMessage.fragmentText(text); in testFragmentTurkishText() local
296 assertEquals(1, fragments.size()); in testFragmentTurkishText()
297 assertEquals(text, fragments.get(0)); in testFragmentTurkishText()
[all …]
/frameworks/support/fragment/java/android/support/v4/app/
DFragmentTransition.java194 int containerId, FragmentContainerTransition fragments, in configureTransitionsReordered() argument
203 final Fragment inFragment = fragments.lastIn; in configureTransitionsReordered()
204 final Fragment outFragment = fragments.firstOut; in configureTransitionsReordered()
205 final boolean inIsPop = fragments.lastInIsPop; in configureTransitionsReordered()
206 final boolean outIsPop = fragments.firstOutIsPop; in configureTransitionsReordered()
214 nonExistentView, nameOverrides, fragments, sharedElementsOut, sharedElementsIn, in configureTransitionsReordered()
289 int containerId, FragmentContainerTransition fragments, in configureTransitionsOrdered() argument
298 final Fragment inFragment = fragments.lastIn; in configureTransitionsOrdered()
299 final Fragment outFragment = fragments.firstOut; in configureTransitionsOrdered()
300 final boolean inIsPop = fragments.lastInIsPop; in configureTransitionsOrdered()
[all …]
DFragmentManagerNonConfig.java37 FragmentManagerNonConfig(List<Fragment> fragments, in FragmentManagerNonConfig() argument
39 mFragments = fragments; in FragmentManagerNonConfig()
DFragmentActivity.java121 FragmentManagerNonConfig fragments; field in FragmentActivity.NonConfigurationInstances
287 mFragments.restoreAllState(p, nc != null ? nc.fragments : null); in onCreate()
500 FragmentManagerNonConfig fragments = mFragments.retainNestedNonConfig(); in onRetainNonConfigurationInstance() local
503 if (fragments == null && loaders == null && custom == null) { in onRetainNonConfigurationInstance()
509 nci.fragments = fragments; in onRetainNonConfigurationInstance()
DFragmentManager.java930 ArrayList<Fragment> fragments = new ArrayList<>(count); in getActiveFragments() local
932 fragments.add(mActive.valueAt(i)); in getActiveFragments()
934 return fragments; in getActiveFragments()
2405 private void makeRemovedFragmentsInvisible(ArraySet<Fragment> fragments) { in makeRemovedFragmentsInvisible() argument
2406 final int numAdded = fragments.size(); in makeRemovedFragmentsInvisible()
2408 final Fragment fragment = fragments.valueAt(i); in makeRemovedFragmentsInvisible()
2780 List<Fragment> fragments = nonConfig.getFragments(); in setRetaining() local
2781 if (fragments != null) { in setRetaining()
2782 for (Fragment fragment : fragments) { in setRetaining()
2795 ArrayList<Fragment> fragments = null; in saveNonConfig() local
[all …]
/frameworks/base/core/java/android/app/
DFragmentTransition.java193 int containerId, FragmentContainerTransition fragments, in configureTransitionsReordered() argument
202 final Fragment inFragment = fragments.lastIn; in configureTransitionsReordered()
203 final Fragment outFragment = fragments.firstOut; in configureTransitionsReordered()
204 final boolean inIsPop = fragments.lastInIsPop; in configureTransitionsReordered()
205 final boolean outIsPop = fragments.firstOutIsPop; in configureTransitionsReordered()
213 nonExistentView, nameOverrides, fragments, sharedElementsOut, sharedElementsIn, in configureTransitionsReordered()
265 int containerId, FragmentContainerTransition fragments, in configureTransitionsOrdered() argument
274 final Fragment inFragment = fragments.lastIn; in configureTransitionsOrdered()
275 final Fragment outFragment = fragments.firstOut; in configureTransitionsOrdered()
276 final boolean inIsPop = fragments.lastInIsPop; in configureTransitionsOrdered()
[all …]
DFragmentManagerNonConfig.java35 FragmentManagerNonConfig(List<Fragment> fragments, in FragmentManagerNonConfig() argument
37 mFragments = fragments; in FragmentManagerNonConfig()
DFragmentManager.java2229 private void makeRemovedFragmentsInvisible(ArraySet<Fragment> fragments) { in makeRemovedFragmentsInvisible() argument
2230 final int numAdded = fragments.size(); in makeRemovedFragmentsInvisible()
2232 final Fragment fragment = fragments.valueAt(i); in makeRemovedFragmentsInvisible()
2579 List<Fragment> fragments = nonConfig.getFragments(); in setRetaining() local
2580 if (fragments != null) { in setRetaining()
2581 for (Fragment fragment : fragments) { in setRetaining()
2594 ArrayList<Fragment> fragments = null; in saveNonConfig() local
2601 if (fragments == null) { in saveNonConfig()
2602 fragments = new ArrayList<>(); in saveNonConfig()
2604 fragments.add(f); in saveNonConfig()
[all …]
/frameworks/support/fragment/tests/java/android/support/v4/app/
DFragmentTransactionTest.java321 Collection<Fragment> fragments = fm.getFragments(); in getFragmentsOffThread() local
322 assertEquals(1, fragments.size()); in getFragmentsOffThread()
323 assertTrue(fragments.contains(fragment)); in getFragmentsOffThread()
349 fragments = fm.getFragments(); in getFragmentsOffThread()
350 assertEquals(1, fragments.size()); in getFragmentsOffThread()
351 assertTrue(fragments.contains(fragment)); in getFragmentsOffThread()
355 fragments = fm.getFragments(); in getFragmentsOffThread()
356 assertEquals(1, fragments.size()); in getFragmentsOffThread()
357 assertTrue(fragments.contains(fragment)); in getFragmentsOffThread()
DFragmentTestUtil.java143 public static void assertChildren(ViewGroup container, Fragment... fragments) { in assertChildren() argument
144 final int numFragments = fragments == null ? 0 : fragments.length; in assertChildren()
149 fragments[i].getView()); in assertChildren()
DFragmentViewTests.java1015 private void assertChildren(ViewGroup container, Fragment... fragments) { in assertChildren() argument
1016 final int numFragments = fragments == null ? 0 : fragments.length; in assertChildren()
1021 fragments[i].getView()); in assertChildren()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/app/
DToolbarFragmentPagerMenu.java64 public PagerAdapter(FragmentManager fm, Fragment... fragments) { in PagerAdapter() argument
68 for (Fragment fragment : fragments) { in PagerAdapter()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationsQuickSettingsContainer.java32 import com.android.systemui.fragments.FragmentHostManager;
33 import com.android.systemui.fragments.FragmentHostManager.FragmentListener;
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewCallbacks.java9 import com.android.ex.photo.fragments.PhotoViewFragment;
DIntents.java26 import com.android.ex.photo.fragments.PhotoViewFragment;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
DCdmaSmsTest.java925 ArrayList<String> fragments = android.telephony.SmsMessage.fragmentText(text1); in testFragmentText() local
926 assertEquals(fragments.size(), 1); in testFragmentText()
961 ArrayList<String> fragments = android.telephony.SmsMessage.fragmentText(text2); in testFragmentText() local
962 assertEquals(3, fragments.size()); in testFragmentText()
967 encodeDecodeAssertEquals(fragments.get(i), header, -1); in testFragmentText()
968 encodeDecodeAssertEquals(fragments.get(i), header2, -1); in testFragmentText()
979 ArrayList<String> fragments = android.telephony.SmsMessage.fragmentText(text3); in testFragmentText() local
980 assertEquals(3, fragments.size()); in testFragmentText()
985 encodeDecodeAssertEquals(fragments.get(i), header, -1); in testFragmentText()
986 encodeDecodeAssertEquals(fragments.get(i), header2, -1); in testFragmentText()
/frameworks/base/packages/SystemUI/src/com/android/systemui/fragments/
DPluginFragmentListener.java15 package com.android.systemui.fragments;
DFragmentService.java15 package com.android.systemui.fragments;
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
DPhotoPagerAdapter.java28 import com.android.ex.photo.fragments.PhotoViewFragment;
/frameworks/base/services/core/java/com/android/server/
DLocationManagerService.java722 String fragments[] = testProviderString.split(","); in loadProvidersLocked() local
723 String name = fragments[0].trim(); in loadProvidersLocked()
728 Boolean.parseBoolean(fragments[1]) /* requiresNetwork */, in loadProvidersLocked()
729 Boolean.parseBoolean(fragments[2]) /* requiresSatellite */, in loadProvidersLocked()
730 Boolean.parseBoolean(fragments[3]) /* requiresCell */, in loadProvidersLocked()
731 Boolean.parseBoolean(fragments[4]) /* hasMonetaryCost */, in loadProvidersLocked()
732 Boolean.parseBoolean(fragments[5]) /* supportsAltitude */, in loadProvidersLocked()
733 Boolean.parseBoolean(fragments[6]) /* supportsSpeed */, in loadProvidersLocked()
734 Boolean.parseBoolean(fragments[7]) /* supportsBearing */, in loadProvidersLocked()
735 Integer.parseInt(fragments[8]) /* powerRequirement */, in loadProvidersLocked()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerActivity.java30 import com.android.systemui.fragments.FragmentService;
DRadioListPreference.java33 import com.android.systemui.fragments.FragmentHostManager;
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSystemUIApplication.java33 import com.android.systemui.fragments.FragmentService;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
DCarStatusBar.java40 import com.android.systemui.fragments.FragmentHostManager;

12