Home
last modified time | relevance | path

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

123

/frameworks/minikin/include/minikin/
DFontStyle.h44 constexpr explicit FontStyle(Weight weight) : FontStyle(weight, Slant::UPRIGHT) {} in FontStyle()
46 constexpr FontStyle(Weight weight, Slant slant) in FontStyle()
48 constexpr FontStyle(uint16_t weight, Slant slant) : mWeight(weight), mSlant(slant) {} in FontStyle()
50 constexpr uint16_t weight() const { return mWeight; } in weight() function
/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/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()
DFontListParser.java122 int weight = weightStr == null ? 400 : Integer.parseInt(weightStr); in readFont() local
159 int weight; in readAlias() local
/frameworks/ml/nn/common/operations/
DLSHProjection.cpp73 RunTimeOperandInfo* weight = GetInput(operation, operands, kWeightTensor); in Prepare() local
97 int runningSignBit(const RunTimeOperandInfo* input, const RunTimeOperandInfo* weight, float seed) { in runningSignBit()
127 const RunTimeOperandInfo* input, const RunTimeOperandInfo* weight, in SparseLshProjection()
148 const RunTimeOperandInfo* weight, int32_t* out_buf) { in DenseLshProjection()
/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.java104 int weight = style.first.intValue(); in testRegularFonts() local
121 int weight = style.first.intValue(); in testTtcFont() local
137 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/libs/hwui/jni/
DTypeface.cpp51 jint weight, jboolean italic) { in Typeface_createFromTypefaceWithExactStyle()
70 static jlong Typeface_createWeightAlias(JNIEnv* env, jobject, jlong familyHandle, jint weight) { in Typeface_createWeightAlias()
94 int weight, int italic) { in Typeface_createFromArray()
DFontFamily.cpp106 jint weight, jint italic) { in addSkTypeface()
163 jint ttcIndex, jint weight, jint isItalic) { in FontFamily_addFont()
185 jobject font, jint ttcIndex, jint weight, jint isItalic) { in FontFamily_addFontWeightStyle()
/frameworks/base/core/java/android/widget/
DActivityChooserModel.java559 final float weight; in setDefaultActivity() local
805 public final float weight; field in ActivityChooserModel.HistoricalRecord
814 public HistoricalRecord(String activityName, long time, float weight) { in HistoricalRecord()
825 public HistoricalRecord(ComponentName activityName, long time, float weight) { in HistoricalRecord()
894 public float weight; field in ActivityChooserModel.ActivityResolveInfo
1033 final float weight = in readHistoricalDataImpl() local
/frameworks/ml/nn/runtime/test/specs/V1_0/
Dlsh_projection_weights_as_inputs.mod.py25 weight = Input("weight", "TENSOR_FLOAT32", "{%d}" % (num_input)) variable
Dlsh_projection_2.mod.py26 weight = Input("weight", "TENSOR_FLOAT32", "{%d}" % (num_input)) variable
Dlsh_projection.mod.py26 weight = Input("weight", "TENSOR_FLOAT32", "{%d}" % (num_input)) variable
/frameworks/ml/nn/runtime/test/specs/V1_2/
Dlsh_projection_float16.mod.py26 weight = Input("weight", "TENSOR_FLOAT16", "{%d}" % (num_input)) variable
Dlsh_projection_deprecated.mod.py27 weight = Input("weight", "TENSOR_FLOAT32", "{%d}" % (num_input)) variable
Dlsh_projection_3_relaxed.mod.py27 weight = Input("weight", "TENSOR_FLOAT32", "{%d}" % (num_input)) variable
Dlsh_projection_4_relaxed.mod.py27 weight = Input("weight", "TENSOR_FLOAT32", "{%d}" % (num_input)) variable
/frameworks/ml/nn/runtime/test/specs/V1_1/
Dlsh_projection_2_relaxed.mod.py27 weight = Input("weight", "TENSOR_FLOAT32", "{%d}" % (num_input)) variable
Dlsh_projection_relaxed.mod.py27 weight = Input("weight", "TENSOR_FLOAT32", "{%d}" % (num_input)) variable
Dlsh_projection_weights_as_inputs_relaxed.mod.py25 weight = Input("weight", "TENSOR_FLOAT32", "{%d}" % (num_input)) variable
/frameworks/base/core/java/android/gesture/
DInstanceLearner.java60 double weight; in classify() local
/frameworks/base/core/java/android/text/
DFontConfig.java75 int weight, boolean isItalic, String fallbackFor) { in Font()
150 public Alias(@NonNull String name, @NonNull String toName, int weight) { in Alias()

123