Home
last modified time | relevance | path

Searched defs:weight (Results 1 – 25 of 59) 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.cpp37 static Typeface::Style computeAPIStyle(int weight, bool italic) { in computeAPIStyle()
46 static minikin::FontStyle computeMinikinStyle(int weight, bool italic) { in computeMinikinStyle()
53 int weight = baseWeight; in computeRelativeStyle() local
80 Typeface* Typeface::createAbsolute(Typeface* base, int weight, bool italic) { in createAbsolute()
113 Typeface* Typeface::createWithDifferentBaseWeight(Typeface* src, int weight) { in createWithDifferentBaseWeight()
126 int weight, int italic) { in createFromFamilies()
/frameworks/base/graphics/java/android/graphics/
DFontFamily.java132 public boolean addFont(String path, int ttcIndex, FontVariationAxis[] axes, int weight, in addFont()
158 int weight, int italic) { in addFontFromBuffer()
186 boolean isAsset, int ttcIndex, int weight, int isItalic, in addFontFromAssetManager()
218 int weight, int isItalic); in nAddFont()
220 int ttcIndex, int weight, int isItalic); in nAddFontWeightStyle()
222 String path, int cookie, boolean isAsset, int ttcIndex, int weight, int isItalic); in nAddFontFromAssetManager()
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()
338 private final int weight; field in Typeface_Delegate.FontsIterator
346 @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/core/jni/android/graphics/
DTypeface.cpp56 jint weight, jboolean italic) { in Typeface_createFromTypefaceWithExactStyle()
75 static jlong Typeface_createWeightAlias(JNIEnv* env, jobject, jlong familyHandle, jint weight) { in Typeface_createWeightAlias()
99 int weight, int italic) { in Typeface_createFromArray()
DFontFamily.cpp111 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()
221 jint weight, jint isItalic) { in FontFamily_addFontFromAssetManager()
/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.mod.py26 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_weights_as_inputs.mod.py25 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_4_relaxed.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
/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/services/core/java/com/android/server/display/whitebalance/
DAmbientFilter.java214 final float weight = weights[i]; in filter() local
236 final float weight = calculateIntegral(previousTime, currentTime); in getWeights() local

123