Home
last modified time | relevance | path

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

123

/frameworks/base/libs/hwui/hwui/
DTypeface.cpp40 static Typeface::Style computeAPIStyle(int weight, bool italic) { in computeAPIStyle()
49 static minikin::FontStyle computeMinikinStyle(int weight, bool italic) { in computeMinikinStyle()
56 int weight = baseWeight; in computeRelativeStyle() local
83 Typeface* Typeface::createAbsolute(Typeface* base, int weight, bool italic) { in createAbsolute()
116 Typeface* Typeface::createWithDifferentBaseWeight(Typeface* src, int weight) { in createWithDifferentBaseWeight()
129 int weight, int italic, const Typeface* fallback) { in createFromFamilies()
/frameworks/minikin/include/minikin/
DFontStyle.h48 constexpr explicit FontStyle(Weight weight) : FontStyle(weight, Slant::UPRIGHT) {} in FontStyle()
50 constexpr FontStyle(Weight weight, Slant slant) in FontStyle()
52 constexpr FontStyle(uint16_t weight, Slant slant) : mWeight(weight), mSlant(slant) {} in FontStyle()
63 constexpr uint16_t weight() const { return mWeight; } in weight() function
/frameworks/base/graphics/java/android/graphics/
DFontFamily.java143 public boolean addFont(String path, int ttcIndex, FontVariationAxis[] axes, int weight, in addFont()
169 int weight, int italic) { in addFontFromBuffer()
198 boolean isAsset, int ttcIndex, int weight, int isItalic, in addFontFromAssetManager()
225 int weight, int isItalic); in nAddFont()
227 int ttcIndex, int weight, int isItalic); in nAddFontWeightStyle()
DTypeface.java631 @Nullable FontVariationAxis[] axes, int weight, int italic, String fallback) { in createAssetUid()
671 final int weight = (mWeight == RESOLVE_BY_FONT_TABLE) ? base.mWeight : mWeight; in resolveFallbackTypeface() local
702 final int weight = mWeight == RESOLVE_BY_FONT_TABLE in build() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/
DComplicationLayoutParams.java115 @Direction int direction, int weight) { in ComplicationLayoutParams()
133 @Direction int direction, int weight, int directionalSpacing) { in ComplicationLayoutParams()
154 @Direction int direction, int weight, int directionalSpacing, int constraint) { in ComplicationLayoutParams()
175 @Direction int direction, int weight, boolean snapToGuide) { in ComplicationLayoutParams()
201 @Direction int direction, int weight, int directionalSpacing, int constraint, in ComplicationLayoutParams()
/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.cpp115 jint weight, jint italic) { in addSkTypeface()
172 jint ttcIndex, jint weight, jint isItalic) { in FontFamily_addFont()
194 jobject font, jint ttcIndex, jint weight, jint isItalic) { in FontFamily_addFontWeightStyle()
DPathIterator.cpp60 float weight = iterator->conicWeight(); in next() local
DTypeface.cpp67 jint weight, jboolean italic) { in Typeface_createFromTypefaceWithExactStyle()
86 static jlong Typeface_createWeightAlias(JNIEnv* env, jobject, jlong familyHandle, jint weight) { in Typeface_createWeightAlias()
110 jlong fallbackPtr, int weight, int italic) { in Typeface_createFromArray()
/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/core/java/android/gesture/
DInstanceLearner.java60 double weight; in classify() local
/frameworks/av/services/camera/libcameraservice/device3/
DRotateAndCropMapper.cpp169 int32_t weight = entry.data.i32[i + 4]; in updateCaptureRequest() local
298 int32_t weight = entry.data.i32[i + 4]; in updateCaptureResult() local
/frameworks/av/services/camera/virtualcamera/util/
DMetadataUtil.h59 int32_t weight = 0; member
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DColorfulnessFilter.java69 float weight = (float) Math.pow(2, r); in onProcess() 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/base/core/java/android/content/res/
DFontResourcesParser.java97 public FontFileResourceEntry(@NonNull String fileName, int weight, int italic, in FontFileResourceEntry()
236 int weight = array.getInt(R.styleable.FontFamilyFont_fontWeight, in readFont() local
/frameworks/base/packages/EasterEgg/src/com/android/egg/landroid/
DRandomness.kt49 for ((weight, result) in pairs) { in roll() variable
/frameworks/base/graphics/java/android/graphics/fonts/
DFontStyle.java211 public FontStyle(int weight, @FontSlant int slant) { in FontStyle()
/frameworks/minikin/libs/minikin/
DFontUtils.cpp34 bool analyzeStyle(const uint8_t* os2_data, size_t os2_size, int* weight, bool* italic) { in analyzeStyle()
/frameworks/minikin/tests/util/
DFontTestUtils.cpp76 uint16_t weight = atoi((const char*)(xmlGetProp(fontNode, (const xmlChar*)"weight"))); in getFontFamilies() local
/frameworks/base/core/java/com/android/internal/widget/
DConversationHeaderLinearLayout.java92 final float weight = ((LayoutParams) child.getLayoutParams()).weight; in onMeasure() local

123