Searched refs:fragments (Results 1 - 16 of 16) sorted by relevance

/frameworks/base/core/java/android/net/
H A DNetworkConfig.java65 String fragments[] = init.split(",");
66 name = fragments[0].trim().toLowerCase(Locale.ROOT);
67 type = Integer.parseInt(fragments[1]);
68 radio = Integer.parseInt(fragments[2]);
69 priority = Integer.parseInt(fragments[3]);
70 restoreTime = Integer.parseInt(fragments[4]);
71 dependencyMet = Boolean.parseBoolean(fragments[5]);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DGsmSmsTest.java253 ArrayList<String> fragments = android.telephony.SmsMessage.fragmentText(text);
254 assertEquals(1, fragments.size());
268 ArrayList<String> fragments = android.telephony.SmsMessage.fragmentText(text);
269 assertEquals(2, fragments.size());
270 assertEquals(text, fragments.get(0) + fragments.get(1));
271 assertEquals(153, fragments.get(0).length());
272 assertEquals(8, fragments.get(1).length());
295 ArrayList<String> fragments = android.telephony.SmsMessage.fragmentText(text);
296 assertEquals(1, fragments
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/
H A DPhotoViewCallbacks.java9 import com.android.ex.photo.fragments.PhotoViewFragment;
H A DIntents.java26 import com.android.ex.photo.fragments.PhotoViewFragment;
H A DPhotoViewController.java42 import com.android.ex.photo.fragments.PhotoViewFragment;
323 // We are not running the scale up animation. Just let the fragments
/frameworks/support/v4/java/android/support/v4/app/
H A DFragmentActivity.java73 * if you change fragments between the state save and the activity being stopped.
83 static final String FRAGMENTS_TAG = "android:support:fragments";
123 List<Fragment> fragments; field in class:FragmentActivity.NonConfigurationInstances
226 * Dispatch configuration change to all fragments.
235 * Perform initialization of all fragments and loaders.
251 mFragments.restoreAllState(p, nc != null ? nc.fragments : null);
282 * Destroy all fragments and loaders.
312 * Dispatch onLowMemory() to all fragments.
321 * Dispatch context and options menu to fragments.
342 * Call onOptionsMenuClosed() on fragments
[all...]
H A DBackStackRecord.java745 private static void setFirstOut(SparseArray<Fragment> fragments, Fragment fragment) { argument
749 fragment.getView() != null && fragments.get(containerId) == null) {
750 fragments.put(containerId, fragment);
755 private void setLastIn(SparseArray<Fragment> fragments, Fragment fragment) { argument
759 fragments.put(containerId, fragment);
765 * Finds the first removed fragment and last added fragments when going forward.
766 * If none of the fragments have transitions, then both lists will be empty.
768 * @param firstOutFragments The list of first fragments to be removed, keyed on the
770 * @param lastInFragments The list of last fragments to be added, keyed on the
823 * Finds the first removed fragment and last added fragments whe
[all...]
H A DFragmentManager.java143 * This is because the framework takes care of saving your current fragments
172 * searches through fragments that are currently added to the manager's
173 * activity; if no such fragment is found, then all fragments currently
182 * searches through fragments that are currently added to the manager's
183 * activity; if no such fragment is found, then all fragments currently
308 * Get a list of all fragments that have been added to the fragment manager.
310 * @return The list of all fragments or null if none.
326 * <li>The saved state can not contain dependencies on other fragments --
402 * Container for fragments associated with an activity.
937 // For fragments tha
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
H A DPhotoPagerAdapter.java28 import com.android.ex.photo.fragments.PhotoViewFragment;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
H A DCdmaSmsTest.java925 ArrayList<String> fragments = android.telephony.SmsMessage.fragmentText(text1);
926 assertEquals(fragments.size(), 1);
945 ArrayList<String> fragments = android.telephony.SmsMessage.fragmentText(text2);
946 assertEquals(fragments.size(), 1);
952 // results in three fragments of 16-bit encoding.
961 ArrayList<String> fragments = android.telephony.SmsMessage.fragmentText(text2);
962 assertEquals(3, fragments.size());
967 encodeDecodeAssertEquals(fragments.get(i), header, -1);
968 encodeDecodeAssertEquals(fragments.get(i), header2, -1);
979 ArrayList<String> fragments
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DLocationManagerService.java568 String fragments[] = testProviderString.split(",");
569 String name = fragments[0].trim();
574 Boolean.parseBoolean(fragments[1]) /* requiresNetwork */,
575 Boolean.parseBoolean(fragments[2]) /* requiresSatellite */,
576 Boolean.parseBoolean(fragments[3]) /* requiresCell */,
577 Boolean.parseBoolean(fragments[4]) /* hasMonetaryCost */,
578 Boolean.parseBoolean(fragments[5]) /* supportsAltitude */,
579 Boolean.parseBoolean(fragments[6]) /* supportsSpeed */,
580 Boolean.parseBoolean(fragments[7]) /* supportsBearing */,
581 Integer.parseInt(fragments[
[all...]
/frameworks/base/core/java/android/app/
H A DBackStackRecord.java801 private static void setFirstOut(SparseArray<Fragment> fragments, Fragment fragment) { argument
805 fragment.getView() != null && fragments.get(containerId) == null) {
806 fragments.put(containerId, fragment);
811 private void setLastIn(SparseArray<Fragment> fragments, Fragment fragment) { argument
815 fragments.put(containerId, fragment);
821 * Finds the first removed fragment and last added fragments when going forward.
822 * If none of the fragments have transitions, then both lists will be empty.
824 * @param firstOutFragments The list of first fragments to be removed, keyed on the
826 * @param lastInFragments The list of last fragments to be added, keyed on the
879 * Finds the first removed fragment and last added fragments whe
[all...]
H A DActivity.java685 static final String FRAGMENTS_TAG = "android:fragments";
734 List<Fragment> fragments; field in class:Activity.NonConfigurationInstances
919 ? mLastNonConfigurationInstances.fragments : null);
1887 List<Fragment> fragments = mFragments.retainNonConfig();
1889 if (activity == null && children == null && fragments == null && loaders == null
1897 nci.fragments = fragments;
1919 * Return the FragmentManager for interacting with fragments associated
5548 * This implementation handles <fragment> tags to embed fragments inside
H A DFragmentManager.java60 * <p>For more information about using fragments, read the
61 * <a href="{@docRoot}guide/topics/fundamentals/fragments.html">Fragments</a> developer guide.</p>
68 * <a href="http://android-developers.blogspot.com/2011/03/fragments-for-all.html">
142 * This is because the framework takes care of saving your current fragments
171 * searches through fragments that are currently added to the manager's
172 * activity; if no such fragment is found, then all fragments currently
181 * searches through fragments that are currently added to the manager's
182 * activity; if no such fragment is found, then all fragments currently
316 * <li>The saved state can not contain dependencies on other fragments --
398 * Container for fragments associate
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/
H A DPhotoViewFragment.java18 package com.android.ex.photo.fragments;
86 "com.android.mail.photo.fragments.PhotoViewFragment.INTENT";
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java42 import com.android.ex.photo.fragments.PhotoViewFragment.HorizontallyScrollable;

Completed in 8675 milliseconds