Searched refs:fragment (Results 26 - 47 of 47) sorted by relevance

12

/frameworks/base/libs/hwui/
H A DProgram.cpp32 Program::Program(const ProgramDescription& description, const char* vertex, const char* fragment) { argument
42 mFragmentShader = buildShader(fragment, GL_FRAGMENT_SHADER);
H A DProgram.h100 * determine the generation of both the vertex and fragment shaders.
207 * the fragment shader. When this method returns true, the program should
217 * the fragment shader. When this method returns true, the program should
302 * A program holds a vertex and a fragment shader. It offers several utility
313 * Creates a new program with the specified vertex and fragment
316 Program(const ProgramDescription& description, const char* vertex, const char* fragment);
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DProgram.cpp28 Program::Program(const ProgramCache::Key& needs, const char* vertex, const char* fragment) argument
31 GLuint fragmentId = buildShader(fragment, GL_FRAGMENT_SHADER);
/frameworks/base/core/java/android/preference/
H A DPreferenceActivity.java117 * fragment, the Prefs1FragmentInner implemented here. This allows the user
119 * fragment off the stack to return to the previous preferences.
137 * string to specify which fragment should be initially displayed.
139 * will call isValidFragment() to confirm that the fragment class name is valid for this
147 * to that fragment when it is instantiated during the initial creation
155 * that fragment.
162 * that fragment.
171 * the activity to display a specific fragment that the user has navigated
192 // --- State for new mode when showing a list of headers + prefs fragment
238 if (header != null && header.fragment !
380 public String fragment; field in class:PreferenceActivity.Header
1276 startPreferenceFragment(Fragment fragment, boolean push) argument
[all...]
H A DPreferenceManager.java170 * Sets the owning preference fragment
172 void setFragment(PreferenceFragment fragment) { argument
173 mFragment = fragment;
177 * Returns the owning preference fragment, if any.
H A DPreference.java349 * Sets the class name of a fragment to be shown when this Preference is clicked.
351 * @param fragment The class name of the fragment associated with this Preference.
353 public void setFragment(String fragment) { argument
354 mFragment = fragment;
358 * Return the fragment class name associated with this Preference.
360 * @return The fragment class name last set via {@link #setFragment} or XML.
/frameworks/opt/photoviewer/activity/src/com/android/ex/photo/
H A DPhotoViewActivity.java160 // "loading..." progress until the fragment takes over and shows it's own "loading..."
283 // for the fragment to be initialized.
367 public boolean isFragmentFullScreen(Fragment fragment) { argument
371 return mFullScreen || (mViewPager.getCurrentItem() != mAdapter.getItemPosition(fragment));
518 public boolean isFragmentActive(Fragment fragment) { argument
522 return mViewPager.getCurrentItem() == mAdapter.getItemPosition(fragment);
526 public void onFragmentVisible(PhotoViewFragment fragment) { argument
755 public void onFragmentPhotoLoadComplete(PhotoViewFragment fragment, boolean success) { argument
757 TextUtils.equals(fragment.getPhotoUri(), mCurrentPhotoUri)) {
759 // The fragment fo
779 onCursorChanged(PhotoViewFragment fragment, Cursor cursor) argument
[all...]
/frameworks/opt/photoviewer/appcompat/src/com/android/ex/photo/
H A DPhotoViewActivity.java159 // "loading..." progress until the fragment takes over and shows it's own "loading..."
282 // for the fragment to be initialized.
366 public boolean isFragmentFullScreen(Fragment fragment) { argument
370 return mFullScreen || (mViewPager.getCurrentItem() != mAdapter.getItemPosition(fragment));
517 public boolean isFragmentActive(Fragment fragment) { argument
521 return mViewPager.getCurrentItem() == mAdapter.getItemPosition(fragment);
525 public void onFragmentVisible(PhotoViewFragment fragment) { argument
754 public void onFragmentPhotoLoadComplete(PhotoViewFragment fragment, boolean success) { argument
756 TextUtils.equals(fragment.getPhotoUri(), mCurrentPhotoUri)) {
758 // The fragment fo
778 onCursorChanged(PhotoViewFragment fragment, Cursor cursor) argument
[all...]
/frameworks/av/media/libstagefright/mp4/
H A DFragmentedMP4Parser.cpp810 TrackInfo *info, sp<TrackFragment> *fragment, SampleInfo *sampleInfo) {
821 *fragment = *info->mFragments.begin();
823 status_t err = (*fragment)->getSample(sampleInfo);
831 // Really, end of this fragment...
841 sp<TrackFragment> fragment; local
843 status_t err = getSample(info, &fragment, &sampleInfo);
877 fragment->advance();
891 sp<TrackFragment> fragment; local
893 err = getSample(info, &fragment, &sampleInfo);
1114 const sp<TrackFragment> &fragment local
809 getSample( TrackInfo *info, sp<TrackFragment> *fragment, SampleInfo *sampleInfo) argument
1962 const sp<TrackFragment> &fragment = *--info->mFragments.end(); local
[all...]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DRootsFragment.java68 final RootsFragment fragment = new RootsFragment();
69 fragment.setArguments(args);
72 ft.replace(R.id.container_roots, fragment);
H A DRecentsCreateFragment.java78 final RecentsCreateFragment fragment = new RecentsCreateFragment();
80 ft.replace(R.id.container_directory, fragment);
H A DDirectoryFragment.java167 final DirectoryFragment fragment = new DirectoryFragment();
168 fragment.setArguments(args);
170 ft.replace(R.id.container_directory, fragment);
602 private static State getDisplayState(Fragment fragment) { argument
603 return ((DocumentsActivity) fragment.getActivity()).getDisplayState();
H A DDocumentsActivity.java1208 public static DocumentsActivity get(Fragment fragment) { argument
1209 return (DocumentsActivity) fragment.getActivity();
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DGLTextureViewActivity.java280 private static int buildProgram(String vertex, String fragment) { argument
284 int fragmentShader = buildShader(fragment, GL_FRAGMENT_SHADER);
/frameworks/av/media/libstagefright/include/
H A DFragmentedMP4Parser.h256 sp<TrackFragment> *fragment,
/frameworks/base/docs/html/reference/renderscript/
H A Ddoxygen.css138 .fragment {
143 pre.fragment {
935 pre.fragment
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java537 private int buildProgram(String vertex, String fragment) { argument
541 int fragmentShader = buildShader(fragment, GL_FRAGMENT_SHADER);
/frameworks/base/core/java/android/app/
H A DSearchManager.java796 .fragment(""); // TODO: Remove, workaround for a bug in Uri.writeToParcel()
H A DFragment.java114 "Instantiated fragment " + mInstance);
164 * The framework will often re-instantiate a fragment class when needed,
201 * <p>The core series of lifecycle methods that are called to bring a fragment
205 * <li> {@link #onAttach} called once the fragment is associated with its activity.
206 * <li> {@link #onCreate} called to do initial creation of the fragment.
208 * with the fragment.
209 * <li> {@link #onActivityCreated} tells the fragment that its activity has
211 * <li> {@link #onViewStateRestored} tells the fragment that all of the saved
213 * <li> {@link #onStart} makes the fragment visible to the user (based on its
215 * <li> {@link #onResume} makes the fragment interactin
736 setTargetFragment(Fragment fragment, int requestCode) argument
[all...]
/frameworks/rs/
H A Drs_hal.h254 } fragment; member in struct:android::renderscript::__anon1649
/frameworks/support/v4/java/android/support/v4/app/
H A DFragment.java114 "Instantiated fragment " + mInstance);
176 // Non-null if the fragment's view hierarchy is currently animating away,
189 // Index into active fragment array.
192 // Internal unique name for this fragment;
198 // Target fragment.
201 // For use when retaining a fragment: this is the index of the last mTarget.
207 // True if the fragment is in the list of added fragments.
210 // If set this fragment is being removed from its activity.
213 // True if the fragment is in the resumed state.
216 // Set to true if this fragment wa
570 setTargetFragment(Fragment fragment, int requestCode) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSuggestionsAdapter.java720 .fragment(""); // TODO: Remove, workaround for a bug in Uri.writeToParcel()

Completed in 4723 milliseconds

12