Home
last modified time | relevance | path

Searched defs:weight (Results 1 – 25 of 53) sorted by relevance

123

/frameworks/base/libs/hwui/hwui/
DTypeface.cpp39 static Typeface::Style computeAPIStyle(int weight, bool italic) { in computeAPIStyle()
48 static minikin::FontStyle computeMinikinStyle(int weight, bool italic) { in computeMinikinStyle()
55 int weight = baseWeight; in computeRelativeStyle() local
82 Typeface* Typeface::createAbsolute(Typeface* base, int weight, bool italic) { in createAbsolute()
115 Typeface* Typeface::createWithDifferentBaseWeight(Typeface* src, int weight) { in createWithDifferentBaseWeight()
128 int weight, int italic) { in createFromFamilies()
/frameworks/minikin/include/minikin/
DFontStyle.h46 constexpr explicit FontStyle(Weight weight) : FontStyle(weight, Slant::UPRIGHT) {} in FontStyle()
48 constexpr FontStyle(Weight weight, Slant slant) in FontStyle()
50 constexpr FontStyle(uint16_t weight, Slant slant) : mWeight(weight), mSlant(slant) {} in FontStyle()
61 constexpr uint16_t weight() const { return mWeight; } in weight() function
/frameworks/base/graphics/java/android/graphics/
DFontFamily.java139 public boolean addFont(String path, int ttcIndex, FontVariationAxis[] axes, int weight, in addFont()
165 int weight, int italic) { in addFontFromBuffer()
194 boolean isAsset, int ttcIndex, int weight, int isItalic, in addFontFromAssetManager()
221 int weight, int isItalic); in nAddFont()
223 int ttcIndex, int weight, int isItalic); in nAddFontWeightStyle()
DTypeface.java619 @Nullable FontVariationAxis[] axes, int weight, int italic, String fallback) { in createAssetUid()
659 final int weight = (mWeight == RESOLVE_BY_FONT_TABLE) ? base.mWeight : mWeight; in resolveFallbackTypeface() local
690 final int weight = mWeight == RESOLVE_BY_FONT_TABLE in build() local
DFontListParser.java229 int weight = weightStr == null ? FontStyle.FONT_WEIGHT_NORMAL : Integer.parseInt(weightStr); in readFont() local
318 int weight; in readAlias() local
/frameworks/layoutlib/bridge/src/android/graphics/
DTypeface_Delegate.java93 int weight) { in Typeface_Delegate()
122 /*package*/ static long nativeCreateFromTypefaceWithExactStyle(long native_instance, int weight, in nativeCreateFromTypefaceWithExactStyle()
158 /*package*/ static long nativeCreateWeightAlias(long native_instance, int weight) { in nativeCreateWeightAlias()
174 /*package*/ static synchronized long nativeCreateFromArray(long[] familyArray, int weight, in nativeCreateFromArray()
339 private final int weight; field in Typeface_Delegate.FontsIterator
347 @NonNull FontVariant variant, int weight, int style) { in FontsIterator()
DTypeface_Builder_Delegate.java39 @Nullable FontVariationAxis[] axes, int weight, int italic, String fallback) { in createAssetUid()
/frameworks/base/core/tests/coretests/src/android/graphics/
DFontFileUtilTest.java108 int weight = style.first.intValue(); in testRegularFonts() local
125 int weight = style.first.intValue(); in testTtcFont() local
141 int weight = style.first.intValue(); in testVariationFont() local
DFontTestUtil.java184 public static int getTtcIndexFromStyle(int weight, boolean italic) { in getTtcIndexFromStyle()
191 public static String getVarSettingsFromStyle(int weight, boolean italic) { in getVarSettingsFromStyle()
198 public static String getFontPathFromStyle(int weight, boolean italic) { in getFontPathFromStyle()
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryableMeteringRectangle.java47 int weight = value.getMeteringWeight(); in marshal() local
62 int weight = buffer.getInt(); in unmarshal() local
/frameworks/base/apct-tests/perftests/core/src/android/text/
DVariableFontPerfTest.java107 int weight = random.nextInt(1000); in testDraw_SetDifferentVariationEachDraw() local
126 int weight = random.nextInt(1000); in testSetFontVariationSettings() local
/frameworks/base/core/java/android/widget/
DActivityChooserModel.java561 final float weight; in setDefaultActivity() local
807 public final float weight; field in ActivityChooserModel.HistoricalRecord
816 public HistoricalRecord(String activityName, long time, float weight) { in HistoricalRecord()
827 public HistoricalRecord(ComponentName activityName, long time, float weight) { in HistoricalRecord()
896 public float weight; field in ActivityChooserModel.ActivityResolveInfo
1035 final float weight = in readHistoricalDataImpl() local
/frameworks/base/libs/hwui/jni/
DFontFamily.cpp113 jint weight, jint italic) { in addSkTypeface()
170 jint ttcIndex, jint weight, jint isItalic) { in FontFamily_addFont()
192 jobject font, jint ttcIndex, jint weight, jint isItalic) { in FontFamily_addFontWeightStyle()
DTypeface.cpp64 jint weight, jboolean italic) { in Typeface_createFromTypefaceWithExactStyle()
83 static jlong Typeface_createWeightAlias(JNIEnv* env, jobject, jlong familyHandle, jint weight) { in Typeface_createWeightAlias()
107 jlong fallbackPtr, int weight, int italic) { in Typeface_createFromArray()
/frameworks/base/core/java/android/gesture/
DInstanceLearner.java60 double weight; in classify() local
/frameworks/base/services/core/java/com/android/server/display/utils/
DAmbientFilter.java211 final float weight = weights[i]; in filter() local
233 final float weight = calculateIntegral(previousTime, currentTime); in getWeights() local
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DColorfulnessFilter.java69 float weight = (float) Math.pow(2, r); in onProcess() local
/frameworks/av/services/camera/libcameraservice/device3/
DRotateAndCropMapper.cpp166 int32_t weight = entry.data.i32[i + 4]; in updateCaptureRequest() local
295 int32_t weight = entry.data.i32[i + 4]; in updateCaptureResult() local
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DButtonBarLayout.java90 Float weight = (Float) child.getTag(R.id.suw_original_weight); in setStacked() local
/frameworks/minikin/libs/minikin/
DFont.cpp106 int weight; in analyzeStyle() local
DFontUtils.cpp34 bool analyzeStyle(const uint8_t* os2_data, size_t os2_size, int* weight, bool* italic) { in analyzeStyle()
/frameworks/base/graphics/java/android/graphics/fonts/
DFontStyle.java207 public FontStyle(int weight, @FontSlant int slant) { in FontStyle()
/frameworks/base/core/java/android/content/res/
DFontResourcesParser.java97 public FontFileResourceEntry(@NonNull String fileName, int weight, int italic, in FontFileResourceEntry()
235 int weight = array.getInt(R.styleable.FontFamilyFont_fontWeight, in readFont() local
/frameworks/layoutlib/bridge/src/android/graphics/fonts/
DFont_Builder_Delegate.java91 /*package*/ static long nBuild(long builderPtr, ByteBuffer buffer, String filePath, int weight, in nBuild()
/frameworks/layoutlib/bridge/src/android/graphics/animation/
DNativeInterpolatorFactory_Delegate.java125 float weight = lutpos - ipart; in getInterpolation() local

123