Searched refs:from (Results 51 - 75 of 511) sorted by last modified time

1234567891011>>

/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
H A DBaseMenuPresenter.java59 mSystemInflater = LayoutInflater.from(context);
67 mInflater = LayoutInflater.from(mContext);
138 * @param parent Parent to filter from
168 * with data from the item parameter.
H A DCascadingMenuPopup.java197 * @param anchor A parent view to get the {@link android.view.View#getWindowToken()} token from.
261 // iterating. Remove from the last added menu so that the callbacks
262 // are received in order from foreground to background.
345 final LayoutInflater inflater = LayoutInflater.from(mContext);
548 // Close all menus starting from the dismissed menu, passing false
657 // Close all menus starting from the root. This will recursively
693 // Gravity resolution may have changed, update from raw gravity.
H A DListMenuItemView.java288 mInflater = LayoutInflater.from(getContext());
H A DListMenuPresenter.java68 mInflater = LayoutInflater.from(mContext);
85 mInflater = LayoutInflater.from(mContext);
89 mInflater = LayoutInflater.from(mContext);
H A DMenuItemImpl.java122 // This is instantiated from the UI thread, so no chance of sync issues
511 * in this item, so this should only be called from methods that will eventually trigger this
620 final LayoutInflater inflater = LayoutInflater.from(context);
H A DStandardMenuPopup.java101 final LayoutInflater inflater = LayoutInflater.from(context);
167 (FrameLayout) LayoutInflater.from(mContext).inflate(
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DActionBarContextView.java130 LayoutInflater inflater = LayoutInflater.from(getContext());
157 LayoutInflater inflater = LayoutInflater.from(getContext());
H A DActivityChooserView.java226 LayoutInflater inflater = LayoutInflater.from(getContext());
723 convertView = LayoutInflater.from(getContext()).inflate(
733 convertView = LayoutInflater.from(getContext()).inflate(
H A DSearchView.java213 // A weak map of drawables we've gotten from other packages, so we don't load them
301 final LayoutInflater inflater = LayoutInflater.from(context);
437 * @param searchable a SearchableInfo can be retrieved from the SearchManager, for a specific
626 * from being displayed.
748 * or if it should depend on the flags set in the individual items retrieved from the
750 * in the query text field with the text from the suggestion. This flag only takes effect
778 * display the suggestions from the suggestions provider associated with the SearchableInfo.
1495 // Get the new query from the suggestion.
1514 * @param position The index of the suggestion to create the intent from.
1543 // If the intent was created from
[all...]
H A DThemedSpinnerAdapter.java112 mInflater = LayoutInflater.from(context);
116 * Should be called from your adapter's
129 mDropDownInflater = LayoutInflater.from(context);
134 * Should be called from your adapter's {@link ThemedSpinnerAdapter#getDropDownViewTheme()},
135 * returning the value returned from this method.
144 * from your {@link SpinnerAdapter#getDropDownView(int, View, ViewGroup)}.
H A DToolbarWidgetWrapper.java133 setCustomView(LayoutInflater.from(mToolbar.getContext()).inflate(customNavId,
H A DViewStubCompat.java115 * @param layoutResource A valid layout resource identifier (different from 0.)
198 factory = LayoutInflater.from(getContext());
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
H A DAlertDialogTest.java221 final LayoutInflater inflater = LayoutInflater.from(context);
237 final LayoutInflater inflater = LayoutInflater.from(context);
290 final LayoutInflater inflater = LayoutInflater.from(context);
321 final LayoutInflater inflater = LayoutInflater.from(context);
H A DLayoutInflaterFactoryTestCase.java57 final LayoutInflater inflater = LayoutInflater.from(getActivity());
69 final LayoutInflater inflater = LayoutInflater.from(getActivity());
85 LayoutInflater inflater = LayoutInflater.from(getActivity());
161 LayoutInflater inflater = LayoutInflater.from(getActivity());
175 LayoutInflater inflater = LayoutInflater.from(getActivity());
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/
H A DTestUtilsMatchers.java118 * from the view and up its ancestor chain matches the specified color.
244 public static Matcher<List<Float>> inRange(final float from, final float to) { argument
260 if ((curr < from) || (curr > to)) {
262 from + " and " + to;
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/
H A DListPopupWindowTest.java473 convertView = LayoutInflater.from(parent.getContext()).inflate(
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
H A DMediaRouteChooserDialog.java251 mInflater = LayoutInflater.from(context);
H A DMediaRouteControllerDialog.java86 * This dialog allows the user to control or disconnect from the currently selected route.
787 // Animate visible items from previous positions to current positions except routes added
1178 v = LayoutInflater.from(mContext).inflate(
1332 * Returns whether a new art image is different from an original art image. Compares
/frameworks/support/v7/palette/src/androidTest/java/android/support/v7/graphics/
H A DBucketTests.java44 Palette.from(sample).generate();
51 Palette p = Palette.from(loadSampleBitmap()).generate();
63 Palette p = Palette.from(swatches);
124 final Palette palette = Palette.from(bitmap).generate();
139 final Palette palette = Palette.from(bitmap)
H A DConsistencyTest.java43 Palette newPalette = Palette.from(bitmap).generate();
H A DMaxColorsTest.java54 Palette newPalette = Palette.from(loadSampleBitmap())
H A DSwatchTests.java43 final Palette p = Palette.from(loadSampleBitmap()).generate();
53 final Palette p = Palette.from(loadSampleBitmap()).generate();
63 final Palette p = Palette.from(loadSampleBitmap()).generate();
/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/
H A DPalette.java40 * A helper class to extract prominent colors from an image.
42 * A number of colors with different profiles are extracted from the image:
51 * These can be retrieved from the appropriate getter method.
63 * Palette p = Palette.from(bitmap).generate();
66 * Palette.from(bitmap).generate(new PaletteAsyncListener() {
99 public static Builder from(Bitmap bitmap) { method in class:Palette
104 * Generate a {@link Palette} from the pre-generated list of {@link Palette.Swatch} swatches.
105 * This is useful for testing, or if you want to resurrect a {@link Palette} instance from a
108 public static Palette from(List<Swatch> swatches) { method in class:Palette
117 return from(bitma
[all...]
H A DTarget.java125 private Target(Target from) { argument
126 System.arraycopy(from.mSaturationTargets, 0, mSaturationTargets, 0,
128 System.arraycopy(from.mLightnessTargets, 0, mLightnessTargets, 0,
130 System.arraycopy(from.mWeights, 0, mWeights, 0, mWeights.length);
136 @FloatRange(from = 0, to = 1)
144 @FloatRange(from = 0, to = 1)
152 @FloatRange(from = 0, to = 1)
160 @FloatRange(from = 0, to = 1)
168 @FloatRange(from = 0, to = 1)
176 @FloatRange(from
[all...]
/frameworks/support/v7/preference/
H A Dbuild.gradle70 from variant.javaCompile.destinationDir
71 from 'LICENSE.txt'
81 from 'build/docs/javadoc'
86 from android.sourceSets.main.java.srcDirs

Completed in 186 milliseconds

1234567891011>>