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

/frameworks/base/core/java/android/net/
H A DNetworkConfig.java66 String fragments[] = init.split(",");
67 name = fragments[0].trim().toLowerCase(Locale.ROOT);
68 type = Integer.parseInt(fragments[1]);
69 radio = Integer.parseInt(fragments[2]);
70 priority = Integer.parseInt(fragments[3]);
71 restoreTime = Integer.parseInt(fragments[4]);
72 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.java25 import com.android.ex.photo.fragments.PhotoViewFragment;
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
H A DPhotoPagerAdapter.java27 import com.android.ex.photo.fragments.PhotoViewFragment;
/frameworks/support/v4/java/android/support/v4/app/
H A DFragmentActivity.java70 * if you change fragments between the state save and the activity being stopped.
78 static final String FRAGMENTS_TAG = "android:support:fragments";
130 ArrayList<Fragment> fragments; field in class:FragmentActivity.NonConfigurationInstances
185 * Dispatch configuration change to all fragments.
194 * Perform initialization of all fragments and loaders.
213 mFragments.restoreAllState(p, nc != null ? nc.fragments : null);
327 * Destroy all fragments and loaders.
359 * Dispatch onLowMemory() to all fragments.
368 * Dispatch context and options menu to fragments.
389 * Call onOptionsMenuClosed() on fragments
[all...]
H A DFragmentManager.java133 * This is because the framework takes care of saving your current fragments
162 * searches through fragments that are currently added to the manager's
163 * activity; if no such fragment is found, then all fragments currently
172 * searches through fragments that are currently added to the manager's
173 * activity; if no such fragment is found, then all fragments currently
298 * Get a list of all fragments that have been added to the fragment manager.
300 * @return The list of all fragments or null if none.
316 * <li>The saved state can not contain dependencies on other fragments --
393 * Container for fragments associated with an activity.
843 // For fragments tha
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/loaders/
H A DPhotoBitmapLoader.java27 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/core/java/android/app/
H A DFragmentManager.java53 * <p>For more information about using fragments, read the
54 * <a href="{@docRoot}guide/topics/fundamentals/fragments.html">Fragments</a> developer guide.</p>
61 * <a href="http://android-developers.blogspot.com/2011/03/fragments-for-all.html">
135 * This is because the framework takes care of saving your current fragments
164 * searches through fragments that are currently added to the manager's
165 * activity; if no such fragment is found, then all fragments currently
174 * searches through fragments that are currently added to the manager's
175 * activity; if no such fragment is found, then all fragments currently
309 * <li>The saved state can not contain dependencies on other fragments --
398 * Container for fragments associate
[all...]
H A DActivity.java659 static final String FRAGMENTS_TAG = "android:fragments";
705 ArrayList<Fragment> fragments; field in class:Activity.NonConfigurationInstances
900 ? mLastNonConfigurationInstances.fragments : null);
1652 ArrayList<Fragment> fragments = mFragments.retainNonConfig();
1672 if (activity == null && children == null && fragments == null && !retainLoaders) {
1679 nci.fragments = fragments;
1697 * Return the FragmentManager for interacting with fragments associated
4736 * This implementation handles <fragment> tags to embed fragments inside
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/
H A DPhotoViewFragment.java18 package com.android.ex.photo.fragments;
89 "com.android.mail.photo.fragments.PhotoViewFragment.INTENT";
/frameworks/opt/photoviewer/activity/src/com/android/ex/photo/
H A DPhotoViewActivity.java57 import com.android.ex.photo.fragments.PhotoViewFragment;
256 // We are not running the scale up animation. Just let the fragments
/frameworks/opt/photoviewer/appcompat/src/com/android/ex/photo/
H A DPhotoViewActivity.java56 import com.android.ex.photo.fragments.PhotoViewFragment;
255 // We are not running the scale up animation. Just let the fragments
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java41 import com.android.ex.photo.fragments.PhotoViewFragment.HorizontallyScrollable;
/frameworks/base/services/java/com/android/server/
H A DConnectivityService.java427 String fragments[] = init.split(",");
428 mType = Integer.parseInt(fragments[0]);
429 mSimultaneity = Integer.parseInt(fragments[1]);

Completed in 457 milliseconds