/frameworks/support/compat/src/main/java/androidx/core/view/ |
H A D | NestedScrollingParentHelper.java | 63 @ScrollAxis int axes) { 64 onNestedScrollAccepted(child, target, axes, ViewCompat.TYPE_TOUCH); 76 @ScrollAxis int axes, @NestedScrollType int type) { 77 mNestedScrollAxes = axes; 81 * Return the current axes of nested scrolling for this ViewGroup. 62 onNestedScrollAccepted(@onNull View child, @NonNull View target, @ScrollAxis int axes) argument 75 onNestedScrollAccepted(@onNull View child, @NonNull View target, @ScrollAxis int axes, @NestedScrollType int type) argument
|
H A D | NestedScrollingParent.java | 60 * @param axes Flags consisting of {@link ViewCompat#SCROLL_AXIS_HORIZONTAL}, 64 boolean onStartNestedScroll(@NonNull View child, @NonNull View target, @ScrollAxis int axes); argument 77 * @param axes Flags consisting of {@link ViewCompat#SCROLL_AXIS_HORIZONTAL}, 82 void onNestedScrollAccepted(@NonNull View child, @NonNull View target, @ScrollAxis int axes); argument 187 * Return the current axes of nested scrolling for this NestedScrollingParent. 193 * @return Flags indicating the current axes of nested scrolling
|
H A D | NestedScrollingParent2.java | 59 * @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 D | NestedScrollingChild.java | 74 * Begin a nestable scroll operation along the given axes. 102 * @param axes Flags consisting of a combination of {@link ViewCompat#SCROLL_AXIS_HORIZONTAL} 111 boolean startNestedScroll(@ScrollAxis int axes); argument
|
H A D | NestedScrollingChild2.java | 45 * Begin a nestable scroll operation along the given axes, for the given input type. 73 * @param axes Flags consisting of a combination of {@link ViewCompat#SCROLL_AXIS_HORIZONTAL} 83 boolean startNestedScroll(@ScrollAxis int axes, @NestedScrollType int type); argument
|
H A D | NestedScrollingChildHelper.java | 124 * @param axes Supported nested scroll axes. 128 public boolean startNestedScroll(@ScrollAxis int axes) { argument 129 return startNestedScroll(axes, TYPE_TOUCH); 139 * @param axes Supported nested scroll axes. 144 public boolean startNestedScroll(@ScrollAxis int axes, @NestedScrollType int type) { argument 153 if (ViewParentCompat.onStartNestedScroll(p, child, mView, axes, type)) { 155 ViewParentCompat.onNestedScrollAccepted(p, child, mView, axes, type);
|
/frameworks/minikin/libs/minikin/ |
H A D | FontUtils.h | 26 bool analyzeAxes(const uint8_t* fvar_data, size_t fvar_size, std::unordered_set<uint32_t>* axes);
|
H A D | FontUtils.cpp | 48 bool analyzeAxes(const uint8_t* fvar_data, size_t fvar_size, std::unordered_set<uint32_t>* axes) { argument 55 axes->clear(); 78 axes->insert(tag);
|
/frameworks/minikin/tests/unittest/ |
H A D | FontUtilsTest.cpp | 63 head = writeU16(HEADER_SIZE, out.data(), head); // axes array offset 65 head = writeU16(fvars.size(), out.data(), head); // count of axes 88 std::unordered_set<uint32_t> axes; local 89 ASSERT_TRUE(analyzeAxes(fvarTable.data(), fvarTable.size(), &axes)); 90 ASSERT_EQ(2u, axes.size()); 91 EXPECT_EQ(1u, axes.count(MakeTag('w', 'd', 't', 'h'))); 92 EXPECT_EQ(1u, axes.count(MakeTag('w', 'g', 'h', 't'))); 93 EXPECT_EQ(0u, axes.count(MakeTag('s', 'l', 'n', 't'))); 98 std::unordered_set<uint32_t> axes; local 99 ASSERT_FALSE(analyzeAxes(fvarTable.data(), fvarTable.size(), &axes)); 111 std::unordered_set<uint32_t> axes; local [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | FontFamily.java | 104 public boolean addFont(String path, int ttcIndex, FontVariationAxis[] axes, int weight, argument 113 if (axes != null) { 114 for (FontVariationAxis axis : axes) { 125 public boolean addFontFromBuffer(ByteBuffer font, int ttcIndex, FontVariationAxis[] axes, argument 130 if (axes != null) { 131 for (FontVariationAxis axis : axes) { 152 FontVariationAxis[] axes) { 156 if (axes != null) { 157 for (FontVariationAxis axis : axes) { 150 addFontFromAssetManager(AssetManager mgr, String path, int cookie, boolean isAsset, int ttcIndex, int weight, int isItalic, FontVariationAxis[] axes) argument
|
H A D | FontListParser.java | 108 List<FontVariationAxis> axes = new ArrayList<FontVariationAxis>(); 121 axes.add(readAxis(parser)); 128 axes.toArray(new FontVariationAxis[axes.size()]), weight, isItalic, fallbackFor);
|
H A D | Typeface.java | 198 mgr, path, 0 /* ttcIndex */, null /* axes */, 208 RESOLVE_BY_FONT_TABLE /* italic */, null /* axes */)) { 275 null /* axes */, RESOLVE_BY_FONT_TABLE /* weight */, 288 final String key = Builder.createAssetUid(mgr, path, 0 /* ttcIndex */, null /* axes */, 476 * @param axes An array of font variation axis tag-value pairs. 478 public Builder setFontVariationSettings(@Nullable FontVariationAxis[] axes) { argument 486 mAxes = axes; 523 * @param axes The font variation settings. 527 @Nullable FontVariationAxis[] axes, int weight, int italic, String fallback) { 547 if (axes ! 526 createAssetUid(final AssetManager mgr, String path, int ttcIndex, @Nullable FontVariationAxis[] axes, int weight, int italic, String fallback) argument 808 createFromTypefaceWithVariation(@ullable Typeface family, @NonNull List<FontVariationAxis> axes) argument 1198 nativeCreateFromTypefaceWithVariation( long native_instance, List<FontVariationAxis> axes) argument [all...] |
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/test/ |
H A D | NestedScrollingParent2Adapter.java | 29 @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/tools/velocityplot/ |
H A D | velocityplot.py | 133 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 D | FontFamily.cpp | 51 std::vector<minikin::FontVariation> axes; member in struct:android::NativeFamilyBuilder 112 for (const auto& axis : builder->axes) { 128 builder->axes.clear(); 133 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 D | NestedScrollingChild.java | 70 * 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 D | ActionBarOverlayLayout.java | 531 public boolean onStartNestedScroll(View child, View target, int axes) { argument 532 if ((axes & SCROLL_AXIS_VERTICAL) == 0 || mActionBarTop.getVisibility() != VISIBLE) { 539 public void onNestedScrollAccepted(View child, View target, int axes) { argument 540 super.onNestedScrollAccepted(child, target, axes);
|
/frameworks/base/tools/orientationplot/ |
H A D | orientationplot.py | 207 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/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
H A D | TestedFrameLayout.java | 180 public void onNestedScrollAccepted(View child, View target, int axes) { argument 181 onNestedScrollAccepted(child, target, axes, ViewCompat.TYPE_TOUCH); 210 @ViewCompat.ScrollAxis int axes, @ViewCompat.NestedScrollType int type) { 212 && mNestedScrollingDelegate.onStartNestedScroll(child, target, axes, type); 217 @ViewCompat.ScrollAxis int axes, @ViewCompat.NestedScrollType int type) { 219 mNestedScrollingDelegate.onNestedScrollAccepted(child, target, axes, type); 209 onStartNestedScroll(@onNull View child, @NonNull View target, @ViewCompat.ScrollAxis int axes, @ViewCompat.NestedScrollType int type) argument 216 onNestedScrollAccepted(@onNull View child, @NonNull View target, @ViewCompat.ScrollAxis int axes, @ViewCompat.NestedScrollType int type) argument
|
/frameworks/base/core/java/android/text/ |
H A D | FontConfig.java | 72 public Font(@NonNull String fontName, int ttcIndex, @NonNull FontVariationAxis[] axes, argument 76 mAxes = axes; 97 * Returns the list of axes associated to this font.
|
/frameworks/base/libs/hwui/hwui/ |
H A D | MinikinSkia.h | 32 int ttcIndex, const std::vector<minikin::FontVariation>& axes);
|
H A D | MinikinSkia.cpp | 28 int ttcIndex, const std::vector<minikin::FontVariation>& axes) 34 , 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 D | FontsContract.java | 193 * @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. 814 FontVariationAxis[] axes = 816 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/main/java/androidx/appcompat/widget/ |
H A D | ActionBarOverlayLayout.java | 468 public boolean onStartNestedScroll(View child, View target, int axes) { argument 469 if ((axes & SCROLL_AXIS_VERTICAL) == 0 || mActionBarTop.getVisibility() != VISIBLE) { 476 public void onNestedScrollAccepted(View child, View target, int axes) { argument 477 mParentHelper.onNestedScrollAccepted(child, target, axes);
|
/frameworks/support/compat/src/main/java/androidx/core/graphics/ |
H A D | TypefaceCompatApi26Impl.java | 135 * boolean isAsset, int ttcIndex, int weight, int isItalic, FontVariationAxis[] axes) 138 int ttcIndex, int weight, int style, @Nullable FontVariationAxis[] axes) { 142 weight, style, axes); 150 * Call FontFamily#addFontFromBuffer(ByteBuffer font, int ttcIndex, FontVariationAxis[] axes, 157 buffer, ttcIndex, null /* axes */, weight, style); 290 RESOLVE_BY_FONT_TABLE /* italic */, null /* axes */)) { 137 addFontFromAssetManager(Context context, Object family, String fileName, int ttcIndex, int weight, int style, @Nullable FontVariationAxis[] axes) argument
|