Searched refs:axes (Results 1 - 25 of 39) sorted by relevance

12

/frameworks/minikin/libs/minikin/
H A DFontUtils.h25 void analyzeAxes(const uint8_t* fvar_data, size_t fvar_size, std::unordered_set<uint32_t>* axes);
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/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/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 DFontListParser.java110 List<FontVariationAxis> axes = new ArrayList<FontVariationAxis>();
122 axes.add(readAxis(parser));
129 axes.toArray(new FontVariationAxis[axes.size()]), weight, isItalic);
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/support/compat/java/android/support/v4/view/
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
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 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 DViewCompat.java815 public boolean startNestedScroll(View view, int axes) { argument
817 return ((NestedScrollingChild) view).startNestedScroll(axes);
1271 public boolean startNestedScroll(View view, int axes) { argument
1272 return view.startNestedScroll(axes);
3047 * Begin a nestable scroll operation along the given axes.
3052 * @param axes Flags consisting of a combination of {@link ViewCompat#SCROLL_AXIS_HORIZONTAL}
3057 public static boolean startNestedScroll(@NonNull View view, @ScrollAxis int axes) { argument
3058 return IMPL.startNestedScroll(view, axes);
3131 * Begin a nestable scroll operation along the given axes.
3159 * @param axes Flag
3169 startNestedScroll(@onNull View view, @ScrollAxis int axes, @NestedScrollType int type) argument
[all...]
/frameworks/base/tools/velocityplot/
H A Dvelocityplot.py133 axes = self.fig.add_axes([0.1, top, 0.8, height],
140 axes.text(0.02, 0.02, title, transform=axes.transAxes, fontsize=10, fontweight='bold')
141 axes.set_xlabel('time (s)', fontsize=10, fontweight='bold')
142 axes.set_ylabel(ylabel, fontsize=10, fontweight='bold')
143 axes.set_xticks(range(0, timespan + 1, timeticks))
144 axes.set_yticks(yticks)
145 axes.grid(True)
147 for label in axes.get_xticklabels():
149 for label in axes
[all...]
/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/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);
/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/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/tools/orientationplot/
H A Dorientationplot.py207 axes = self.fig.add_axes([0.1, top, 0.8, height],
214 axes.text(0.02, 0.02, title, transform=axes.transAxes, fontsize=10, fontweight='bold')
215 axes.set_xlabel('time (s)', fontsize=10, fontweight='bold')
216 axes.set_ylabel(ylabel, fontsize=10, fontweight='bold')
217 axes.set_xticks(range(0, timespan + 1, timeticks))
218 axes.set_yticks(yticks)
219 axes.grid(True)
221 for label in axes.get_xticklabels():
223 for label in axes
[all...]
/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/libs/hwui/hwui/
H A DMinikinSkia.h32 int ttcIndex, const std::vector<minikin::FontVariation>& axes);
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/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/support/core-ui/java/android/support/v4/widget/
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 3953 milliseconds

12