HomeSort by relevance Sort by last modified time
    Searched full:fragment (Results 101 - 125 of 1999) sorted by null

1 2 3 45 6 7 8 91011>>

  /development/samples/Support13Demos/res/values/
strings.xml 26 <string name="fragment_pager_support">Fragment/Pager</string>
30 <string name="fragment_state_pager_support">Fragment/State Pager</string>
32 <string name="action_bar_tabs_pager">Fragment/Action Bar Tabs Pager</string>
  /development/sdk/
support_README.txt 14 - Fragment API. New in API 11 (3.0 - Honeycomb). http://developer.android.com/reference/android/app/Fragment.html
26 - FragmentPagerAdapter: Implementation of PagerAdapter that represents each page as a Fragment.
  /external/webkit/Source/WebCore/editing/mac/
EditorMac.mm 71 RefPtr<DocumentFragment> fragment = pasteboard->documentFragment(m_frame, range, allowPlainText, choosePlainText);
72 if (fragment && shouldInsertFragment(fragment, range, EditorInsertActionPasted))
73 pasteAsFragment(fragment, canSmartReplaceWithPasteboard(pasteboard), false);
76 // We want to avoid creating the fragment twice.
79 RefPtr<DocumentFragment> fragment = pasteboard->documentFragment(m_frame, range, allowPlainText, choosePlainText);
80 if (fragment)
81 pasteAsFragment(fragment, canSmartReplaceWithPasteboard(pasteboard), false);
84 RefPtr<DocumentFragment>fragment = pasteboard->documentFragment(m_frame, range, allowPlainText, choosePlainText);
85 if (fragment && shouldInsertFragment(fragment, range, EditorInsertActionPasted)
    [all...]
  /external/webkit/Source/WebCore/rendering/svg/
SVGTextChunkBuilder.cpp 226 SVGTextFragment& fragment = fragments[i]; local
229 fragment.y += textLengthShift * atCharacter;
231 fragment.x += textLengthShift * atCharacter;
233 atCharacter += fragment.length;
241 SVGTextFragment& fragment = fragments[i]; local
244 fragment.y += textAnchorShift;
246 fragment.x += textAnchorShift;
250 void SVGTextChunkBuilder::buildSpacingAndGlyphsTransform(bool isVerticalText, float scale, const SVGTextFragment& fragment, AffineTransform& spacingAndGlyphsTransform)
252 spacingAndGlyphsTransform.translate(fragment.x, fragment.y)
    [all...]
  /packages/apps/Contacts/res/layout/
contact_detail_activity.xml 22 <!-- This fragment is an invisible worker fragment that loads the contact details. -->
23 <fragment
fragment_test.xml 21 <!-- Placeholder to load the fragment under test. -->
22 <fragment android:id="@+id/fragment"
  /packages/apps/Contacts/src/com/android/contacts/test/
EmptyFragment.java 19 import android.app.Fragment;
27 * Empty fragment used for testing.
29 public class EmptyFragment extends Fragment {
  /frameworks/base/core/java/android/app/
DialogFragment.java 32 * A fragment that displays a dialog window, floating on top of its
33 * activity's window. This fragment contains a Dialog object, which it
34 * displays as appropriate based on the fragment's state. Control of
55 * <p>DialogFragment does various things to keep the fragment's lifecycle
61 * <p>DialogFragment needs to ensure that what is happening with the Fragment
73 * fragment's view hierarchy. A simple implementation may look like this:
98 * to display standard alerts to the user that are managed by a fragment.
104 * <p>The activity creating this fragment may have the following methods to
110 * <p>Note that in this case the fragment is not placed on the back stack, it
111 * is just added as an indefinitely running fragment. Because dialogs normall
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/app/
_index.html 5 <li><a href="#Fragment">Fragment</a></li>
89 <h3 id="Fragment">Fragment</h3>
91 <dt><a href="FragmentAlertDialog.html">Fragment Alert Dialog</a></dt>
95 <dt><a href="FragmentArguments.html">Fragment Arguments</a></dt>
96 <dd>Demonstrates how a fragment can be initialized with arguments,
98 in a &lt;fragment> tag.</dd>
100 <dt><a href="FragmentContextMenu.html">Fragment Context Menu</a></dt>
102 display from a fragment's view hierarchy.</dd
    [all...]
FragmentLayout.java 23 import android.app.Fragment;
74 // During initial setup, plug in the details fragment.
84 * This is the "top-level" fragment, showing a list of items that the
102 // fragment directly in the containing UI.
132 * displaying a fragment in-place in the current UI, or starting a
143 // Check what fragment is currently shown, replace if needed.
147 // Make new fragment to show this selection.
150 // Execute a transaction, replacing any existing fragment
160 // the dialog fragment with selected text.
171 * This is the secondary fragment, displaying the details of a particula
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/activities/
ContactSelectionActivity.java 38 import android.app.Fragment;
96 public void onAttachFragment(Fragment fragment) {
97 if (fragment instanceof ContactEntryListFragment<?>) {
98 mListFragment = (ContactEntryListFragment<?>) fragment;
308 * Creates the fragment based on the current request.
313 ContactPickerFragment fragment = new ContactPickerFragment(); local
314 fragment.setEditMode(true);
315 fragment.setDirectorySearchMode(DirectoryListLoader.SEARCH_MODE_NONE);
316 mListFragment = fragment;
321 ContactPickerFragment fragment = new ContactPickerFragment(); local
328 ContactPickerFragment fragment = new ContactPickerFragment(); local
334 ContactPickerFragment fragment = new ContactPickerFragment(); local
341 PhoneNumberPickerFragment fragment = new PhoneNumberPickerFragment(); local
352 PhoneNumberPickerFragment fragment = new PhoneNumberPickerFragment(); local
360 PhoneNumberPickerFragment fragment = new PhoneNumberPickerFragment(); local
368 PostalAddressPickerFragment fragment = new PostalAddressPickerFragment(); local
    [all...]
  /packages/apps/Settings/res/xml/
wireless_settings.xml 27 android:fragment="com.android.settings.vpn2.VpnSettings"
32 android:fragment="com.android.settings.TetherSettings"
53 android:fragment="com.android.settings.nfc.AndroidBeam"
63 android:fragment="com.android.settings.wifi.p2p.WifiP2pSettings"
80 android:fragment="com.android.settings.ProxySelector"
  /packages/apps/Email/src/com/android/email/activity/
UiUtilities.java 22 import android.app.Fragment;
129 * Used by an {@link Fragment} to install itself to the host activity.
133 public static void installFragment(Fragment fragment) {
134 final Activity a = fragment.getActivity();
136 ((FragmentInstallable) a).onInstallFragment(fragment);
141 * Used by an {@link Fragment} to uninstall itself from the host activity.
145 public static void uninstallFragment(Fragment fragment) {
146 final Activity a = fragment.getActivity()
    [all...]
UIControllerOnePane.java 20 import android.app.Fragment;
42 * One one-pane, only at most one fragment can be installed at a time.
44 * Note: Always use {@link #commitFragmentTransaction} to operate fragment transactions,
55 private Fragment mPreviousFragment;
374 * @return currently installed {@link Fragment} (1-pane has only one at most), or null if none
377 private Fragment getInstalledFragment() {
405 * Push the installed fragment into our custom back stack (or optionally
406 * {@link FragmentTransaction#remove} it) and {@link FragmentTransaction#add} {@code fragment}.
408 * @param fragment {@link Fragment} to be added
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/interactions/
ContactDeletionInteraction.java 28 import android.app.Fragment;
49 public class ContactDeletionInteraction extends Fragment
79 /** This is a wrapper around the fragment's loader manager to be used only during testing. */
119 ContactDeletionInteraction fragment = local
121 if (fragment == null) {
122 fragment = new ContactDeletionInteraction();
123 fragment.setTestLoaderManager(testLoaderManager);
124 fragment.setContactUri(contactUri);
125 fragment.setFinishActivityWhenDone(finishActivityWhenDone);
126 fragmentManager.beginTransaction().add(fragment, FRAGMENT_TAG
    [all...]
  /frameworks/base/docs/html/guide/practices/
tablets-and-handsets.jd 55 android.app.Fragment} APIs. Fragments allow you to separate distinct behavioral components of your
82 <p>A {@link android.app.Fragment} represents a behavior or a portion of user interface in an
83 activity. You can think of a fragment as a modular section of an activity (a "fragment" of an
119 provide different fragment combinations for "tablets" and "handsets", it's still necessary that
130 3.0. Additionally, you can even implement the fragment design patterns and remain
182 one activity; on a handset, use separate activities to host each fragment. For example,
184 supply an alternative layout that includes just the first fragment. When running on a handset and
186 hosts the second fragment.</li>
191 and dynamically add each fragment as appropriate&mdash;rather than declare the fragment
    [all...]
  /frameworks/base/tests/BiDiTests/src/com/android/bidi/
BiDiTestActivity.java 25 import android.app.Fragment;
54 Fragment fragment = getFragmentManager().findFragmentById(fragmentId); local
55 if (fragment == null) {
58 Class<? extends Fragment> clazz = (Class<? extends Fragment>) map.get(KEY_CLASS);
59 fragment = clazz.newInstance();
61 // Replace the old test fragment with the new one
63 ft.replace(R.id.testframe, fragment);
91 Class<? extends Fragment> clazz, int fragmentId)
    [all...]
  /development/samples/Support4Demos/src/com/example/android/supportv4/app/
FragmentLayoutSupport.java 22 import android.support.v4.app.Fragment;
75 // During initial setup, plug in the details fragment.
86 * This is the "top-level" fragment, showing a list of items that the
105 // fragment directly in the containing UI.
135 * displaying a fragment in-place in the current UI, or starting a
146 // Check what fragment is currently shown, replace if needed.
150 // Make new fragment to show this selection.
153 // Execute a transaction, replacing any existing fragment
163 // the dialog fragment with selected text.
174 * This is the secondary fragment, displaying the details of a particula
    [all...]
  /external/webkit/Source/WebCore/platform/gtk/
PasteboardGtk.cpp 133 RefPtr<DocumentFragment> fragment = createFragmentFromMarkup(frame->document(), dataObject->markup(), "", FragmentScriptingNotAllowed); local
134 if (fragment)
135 return fragment.release();
143 RefPtr<DocumentFragment> fragment = createFragmentFromText(context.get(), dataObject->text()); local
144 if (fragment)
145 return fragment.release();
  /packages/apps/Contacts/src/com/android/contacts/
ContactsActivity.java 22 import android.app.Fragment;
96 * an exception if the fragment doesn't exist.
99 public <T extends Fragment> T getFragment(int id) {
102 throw new IllegalArgumentException("fragment 0x" + Integer.toHexString(id)
122 protected static void showFragment(FragmentTransaction ft, Fragment f) {
126 protected static void hideFragment(FragmentTransaction ft, Fragment f) {
  /cts/tests/tests/preference2/res/xml/
preference_headers.xml 19 <header android:fragment=
25 <header android:fragment=
31 arguments to its fragment. -->
  /development/samples/ApiDemos/res/xml/
preference_headers.xml 22 <header android:fragment="com.example.android.apis.preference.PreferenceWithHeaders$Prefs1Fragment"
27 <header android:fragment="com.example.android.apis.preference.PreferenceWithHeaders$Prefs2Fragment"
32 arguments to its fragment. -->
  /development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/
WiFiDirectActivity.java 146 final DeviceListFragment fragment = (DeviceListFragment) getFragmentManager() local
148 fragment.onInitiateDiscovery();
171 DeviceDetailFragment fragment = (DeviceDetailFragment) getFragmentManager() local
173 fragment.showDetails(device);
196 final DeviceDetailFragment fragment = (DeviceDetailFragment) getFragmentManager() local
198 fragment.resetViews();
209 fragment.getView().setVisibility(View.GONE);
239 final DeviceListFragment fragment = (DeviceListFragment) getFragmentManager() local
241 if (fragment.getDevice() == null
242 || fragment.getDevice().status == WifiP2pDevice.CONNECTED)
    [all...]
  /development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/
ArticleFragment.java 20 import android.support.v4.app.Fragment;
27 * Fragment that displays a news article.
29 public class ArticleFragment extends Fragment {
  /packages/apps/Contacts/src/com/android/contacts/util/
EmptyLoader.java 25 * A {@link Loader} only used to make use of the {@link android.app.Fragment#setStartDeferred}
26 * feature from an old-style fragment which doesn't use {@link Loader}s to load data.
28 * This loader never delivers results. A caller fragment must destroy it when deferred fragments

Completed in 557 milliseconds

1 2 3 45 6 7 8 91011>>