Searched defs:axes (Results 1 - 25 of 34) sorted by relevance

12

/frameworks/support/core-ui/java/android/support/v4/view/
H A DNestedScrollingParentHelper.java62 @ScrollAxis int axes) {
63 onNestedScrollAccepted(child, target, axes, ViewCompat.TYPE_TOUCH);
75 @ScrollAxis int axes, @NestedScrollType int type) {
76 mNestedScrollAxes = axes;
80 * Return the current axes of nested scrolling for this ViewGroup.
61 onNestedScrollAccepted(@onNull View child, @NonNull View target, @ScrollAxis int axes) argument
74 onNestedScrollAccepted(@onNull View child, @NonNull View target, @ScrollAxis int axes, @NestedScrollType int type) argument
H A DNestedScrollingChildHelper.java123 * @param axes Supported nested scroll axes.
127 public boolean startNestedScroll(@ScrollAxis int axes) { argument
128 return startNestedScroll(axes, TYPE_TOUCH);
138 * @param axes Supported nested scroll axes.
143 public boolean startNestedScroll(@ScrollAxis int axes, @NestedScrollType int type) { argument
152 if (ViewParentCompat.onStartNestedScroll(p, child, mView, axes, type)) {
154 ViewParentCompat.onNestedScrollAccepted(p, child, mView, axes, type);
/frameworks/support/compat/java/android/support/v4/view/
H A DNestedScrollingChild2.java44 * Begin a nestable scroll operation along the given axes, for the given input type.
72 * @param axes Flags consisting of a combination of {@link ViewCompat#SCROLL_AXIS_HORIZONTAL}
82 boolean startNestedScroll(@ScrollAxis int axes, @NestedScrollType int type); argument
H A DNestedScrollingChild.java73 * Begin a nestable scroll operation along the given axes.
101 * @param axes Flags consisting of a combination of {@link ViewCompat#SCROLL_AXIS_HORIZONTAL}
110 boolean startNestedScroll(@ScrollAxis int axes); argument
H A DNestedScrollingParent.java59 * @param axes Flags consisting of {@link ViewCompat#SCROLL_AXIS_HORIZONTAL},
63 boolean onStartNestedScroll(@NonNull View child, @NonNull View target, @ScrollAxis int axes); argument
76 * @param axes Flags consisting of {@link ViewCompat#SCROLL_AXIS_HORIZONTAL},
81 void onNestedScrollAccepted(@NonNull View child, @NonNull View target, @ScrollAxis int axes); argument
186 * Return the current axes of nested scrolling for this NestedScrollingParent.
192 * @return Flags indicating the current axes of nested scrolling
H A DNestedScrollingParent2.java59 * @param axes Flags consisting of {@link ViewCompat#SCROLL_AXIS_HORIZONTAL},
64 boolean onStartNestedScroll(@NonNull View child, @NonNull View target, @ScrollAxis int axes, argument
78 * @param axes Flags consisting of {@link ViewCompat#SCROLL_AXIS_HORIZONTAL},
84 void onNestedScrollAccepted(@NonNull View child, @NonNull View target, @ScrollAxis int axes, argument
/frameworks/base/core/java/com/android/internal/widget/
H A DNestedScrollingChild.java70 * Begin a nestable scroll operation along the given axes.
98 * @param axes Flags consisting of a combination of {@link ViewCompat#SCROLL_AXIS_HORIZONTAL}
107 boolean startNestedScroll(int axes); argument
H A DActionBarOverlayLayout.java521 public boolean onStartNestedScroll(View child, View target, int axes) { argument
522 if ((axes & SCROLL_AXIS_VERTICAL) == 0 || mActionBarTop.getVisibility() != VISIBLE) {
529 public void onNestedScrollAccepted(View child, View target, int axes) { argument
530 super.onNestedScrollAccepted(child, target, axes);
H A DResolverDrawerLayout.java630 public void onNestedScrollAccepted(View child, View target, int axes) { argument
631 super.onNestedScrollAccepted(child, target, axes);
/frameworks/base/graphics/java/android/graphics/fonts/
H A DFontVariationAxis.java177 * @param axes an array of FontVariationAxis.
180 public static @NonNull String toFontVariationSettings(@Nullable FontVariationAxis[] axes) { argument
181 if (axes == null || axes.length == 0) {
184 return TextUtils.join(",", axes);
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/test/
H A DNestedScrollingParent2Adapter.java29 @ViewCompat.ScrollAxis int axes, @ViewCompat.NestedScrollType int type) {
35 @ViewCompat.ScrollAxis int axes, @ViewCompat.NestedScrollType int type) {
58 public void onNestedScrollAccepted(View child, View target, int axes) { argument
59 onNestedScrollAccepted(child, target, axes, ViewCompat.TYPE_TOUCH);
28 onStartNestedScroll(@onNull View child, @NonNull View target, @ViewCompat.ScrollAxis int axes, @ViewCompat.NestedScrollType int type) argument
34 onNestedScrollAccepted(@onNull View child, @NonNull View target, @ViewCompat.ScrollAxis int axes, @ViewCompat.NestedScrollType int type) argument
/frameworks/base/graphics/java/android/graphics/
H A DFontFamily.java92 public boolean addFont(String path, int ttcIndex, FontVariationAxis[] axes, int weight, argument
101 if (axes != null) {
102 for (FontVariationAxis axis : axes) {
113 public boolean addFontFromBuffer(ByteBuffer font, int ttcIndex, FontVariationAxis[] axes, argument
118 if (axes != null) {
119 for (FontVariationAxis axis : axes) {
140 FontVariationAxis[] axes) {
144 if (axes != null) {
145 for (FontVariationAxis axis : axes) {
138 addFontFromAssetManager(AssetManager mgr, String path, int cookie, boolean isAsset, int ttcIndex, int weight, int isItalic, FontVariationAxis[] axes) argument
H A DTypeface.java169 mgr, path, 0 /* ttcIndex */, null /* axes */,
178 RESOLVE_BY_FONT_TABLE /* italic */, null /* axes */)) {
236 fontFile.getWeight(), fontFile.getItalic(), null /* axes */)) {
248 null /* axes */, RESOLVE_BY_FONT_TABLE /* weight */,
263 final String key = Builder.createAssetUid(mgr, path, 0 /* ttcIndex */, null /* axes */,
450 * @param axes An array of font variation axis tag-value pairs.
452 public Builder setFontVariationSettings(@Nullable FontVariationAxis[] axes) { argument
460 mAxes = axes;
497 * @param axes The font variation settings.
501 @Nullable FontVariationAxis[] axes, in
500 createAssetUid(final AssetManager mgr, String path, int ttcIndex, @Nullable FontVariationAxis[] axes, int weight, int italic) argument
728 createFromTypefaceWithVariation(@ullable Typeface family, @NonNull List<FontVariationAxis> axes) argument
1066 nativeCreateFromTypefaceWithVariation( long native_instance, List<FontVariationAxis> axes) argument
[all...]
/frameworks/base/libs/hwui/hwui/
H A DMinikinSkia.cpp28 int ttcIndex, const std::vector<minikin::FontVariation>& axes) :
30 mFontSize(fontSize), mTtcIndex(ttcIndex), mAxes(axes) {
27 MinikinFontSkia(sk_sp<SkTypeface> typeface, const void* fontData, size_t fontSize, int ttcIndex, const std::vector<minikin::FontVariation>& axes) argument
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DTypeface_Delegate.java167 List<FontVariationAxis> axes) {
179 // nativeCreateFromTypefaceWithVariation is not supported so we do not keep the axes
166 nativeCreateFromTypefaceWithVariation(long native_instance, List<FontVariationAxis> axes) argument
H A DFontFamily_Delegate.java254 FontVariationAxis[] axes, int weight, int italic) {
253 addFont(FontFamily thisFontFamily, String path, int ttcIndex, FontVariationAxis[] axes, int weight, int italic) argument
/frameworks/minikin/libs/minikin/
H A DFontUtils.cpp47 void analyzeAxes(const uint8_t* fvar_data, size_t fvar_size, std::unordered_set<uint32_t>* axes) { argument
54 axes->clear();
74 axes->insert(tag);
/frameworks/base/core/java/android/text/
H A DFontConfig.java71 public Font(@NonNull String fontName, int ttcIndex, @NonNull FontVariationAxis[] axes, argument
75 mAxes = axes;
95 * Returns the list of axes associated to this font.
/frameworks/base/core/jni/android/graphics/
H A DFontFamily.cpp51 std::vector<minikin::FontVariation> axes; member in struct:android::NativeFamilyBuilder
101 for (const auto& axis : builder->axes) {
117 builder->axes.clear();
122 builder->axes);
143 builder->axes.clear();
177 builder->axes.clear();
183 builder->axes.clear();
199 builder->axes.clear();
205 builder->axes.clear();
227 builder->axes
[all...]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DTestedFrameLayout.java139 public void onNestedScrollAccepted(View child, View target, int axes) { argument
140 onNestedScrollAccepted(child, target, axes, ViewCompat.TYPE_TOUCH);
169 @ViewCompat.ScrollAxis int axes, @ViewCompat.NestedScrollType int type) {
171 && mNestedScrollingDelegate.onStartNestedScroll(child, target, axes, type);
176 @ViewCompat.ScrollAxis int axes, @ViewCompat.NestedScrollType int type) {
178 mNestedScrollingDelegate.onNestedScrollAccepted(child, target, axes, type);
168 onStartNestedScroll(@onNull View child, @NonNull View target, @ViewCompat.ScrollAxis int axes, @ViewCompat.NestedScrollType int type) argument
175 onNestedScrollAccepted(@onNull View child, @NonNull View target, @ViewCompat.ScrollAxis int axes, @ViewCompat.NestedScrollType int type) argument
/frameworks/base/core/java/android/provider/
H A DFontsContract.java193 * @param axes If providing a variation font, the settings for it. May be null.
200 @Nullable FontVariationAxis[] axes, @IntRange(from = 1, to = 1000) int weight,
204 mAxes = axes;
225 * Returns the list of axes associated to this font.
806 FontVariationAxis[] axes =
808 result.add(new FontInfo(fileUri, ttcIndex, axes, weight, italic, resultCode));
199 FontInfo(@onNull Uri uri, @IntRange(from = 0) int ttcIndex, @Nullable FontVariationAxis[] axes, @IntRange(from = 1, to = 1000) int weight, boolean italic, int resultCode) argument
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DActionBarOverlayLayout.java467 public boolean onStartNestedScroll(View child, View target, int axes) { argument
468 if ((axes & SCROLL_AXIS_VERTICAL) == 0 || mActionBarTop.getVisibility() != VISIBLE) {
475 public void onNestedScrollAccepted(View child, View target, int axes) { argument
476 mParentHelper.onNestedScrollAccepted(child, target, axes);
/frameworks/base/core/java/android/widget/
H A DScrollView.java1702 public void onNestedScrollAccepted(View child, View target, int axes) { argument
1703 super.onNestedScrollAccepted(child, target, axes);
/frameworks/support/core-ui/java/android/support/v4/widget/
H A DNestedScrollView.java225 public boolean startNestedScroll(int axes) { argument
226 return mChildHelper.startNestedScroll(axes);
230 public boolean startNestedScroll(int axes, int type) { argument
231 return mChildHelper.startNestedScroll(axes, type);
H A DSwipeRefreshLayout.java756 public void onNestedScrollAccepted(View child, View target, int axes) { argument
758 mNestedScrollingParentHelper.onNestedScrollAccepted(child, target, axes);
760 startNestedScroll(axes & ViewCompat.SCROLL_AXIS_VERTICAL);
848 public boolean startNestedScroll(int axes) { argument
849 return mNestedScrollingChildHelper.startNestedScroll(axes);

Completed in 4159 milliseconds

12