/frameworks/base/graphics/java/android/graphics/fonts/ |
D | FontStyle.java | 125 private final @IntRange(from = 0, to = 1000) int mWeight; field in FontStyle 130 mWeight = FONT_WEIGHT_NORMAL; in FontStyle() 212 mWeight = weight; in FontStyle() 224 return mWeight; in getWeight() 255 return fontStyle.mWeight == mWeight && fontStyle.mSlant == mSlant; in equals() 260 return Objects.hash(mWeight, mSlant); in hashCode() 265 return "FontStyle { weight=" + mWeight + ", slant=" + mSlant + "}"; in toString()
|
D | Font.java | 67 private @IntRange(from = -1, to = 1000) int mWeight = NOT_SPECIFIED; field in Font.Builder 342 mWeight = weight; in setWeight() 406 if (mWeight == NOT_SPECIFIED || mItalic == NOT_SPECIFIED) { in build() 409 if (mWeight == NOT_SPECIFIED) { in build() 410 mWeight = FontFileUtil.unpackWeight(packed); in build() 416 mWeight = 400; in build() 420 mWeight = Math.max(FontStyle.FONT_WEIGHT_MIN, in build() 421 Math.min(FontStyle.FONT_WEIGHT_MAX, mWeight)); in build() 433 final long ptr = nBuild(builderPtr, readonlyBuffer, filePath, mWeight, italic, in build() 436 new FontStyle(mWeight, slant), mTtcIndex, mAxes, mLocaleList); in build()
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | MeteringRectangle.java | 78 private final int mWeight; field in MeteringRectangle 96 mWeight = checkArgumentInRange( in MeteringRectangle() 120 mWeight = checkArgumentNonnegative(meteringWeight, "meteringWeight must be nonnegative"); in MeteringRectangle() 141 mWeight = checkArgumentNonnegative(meteringWeight, "meteringWeight must be nonnegative"); in MeteringRectangle() 186 return mWeight; in getMeteringWeight() 247 && mWeight == other.mWeight); in equals() 255 return HashCodeHelpers.hashCode(mX, mY, mWidth, mHeight, mWeight); in hashCode() 267 return String.format("(x:%d, y:%d, w:%d, h:%d, wt:%d)", mX, mY, mWidth, mHeight, mWeight); in toString()
|
/frameworks/base/core/java/android/text/ |
D | FontConfig.java | 66 private final int mWeight; field in FontConfig.Font 79 mWeight = weight; in Font() 112 return mWeight; in getWeight() 148 private final int mWeight; field in FontConfig.Alias 153 mWeight = weight; in Alias() 174 return mWeight; in getWeight()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | FontFamily_Delegate.java | 96 public int mWeight; field in FontFamily_Delegate.FontInfo 108 return mWeight == fontInfo.mWeight && mIsItalic == fontInfo.mIsItalic; in equals() 113 return Objects.hash(mWeight, mIsItalic); in hashCode() 118 return "FontInfo{" + "mWeight=" + mWeight + ", mIsItalic=" + mIsItalic + '}'; in toString() 204 desiredStyle.mWeight = desiredWeight; in getFont() 410 fontInfo.mWeight = weight; 424 int score = Math.abs(font1.mWeight / 100 - font2.mWeight / 100); 440 int desiredWeight = outFont.mWeight; 441 int srcWeight = srcFont.mWeight; 464 outFont.mWeight = srcWeight;
|
D | Typeface_Delegate.java | 86 private final int mWeight; field in Typeface_Delegate 97 mWeight = weight; in Typeface_Delegate() 118 delegate.mWeight)); in nativeCreateFromTypeface() 232 return delegate.mWeight; in nativeGetWeight() 333 return new FontsIterator(mFontFamilies, mFontFamilyBuilders, variant, mWeight, mStyle); in getFonts()
|
/frameworks/minikin/include/minikin/ |
D | FontStyle.h | 48 constexpr FontStyle(uint16_t weight, Slant slant) : mWeight(weight), mSlant(slant) {} in FontStyle() 50 constexpr uint16_t weight() const { return mWeight; } in weight() 62 uint16_t mWeight;
|
D | Font.h | 71 mWeight = style.weight(); in setStyle() 79 mWeight = weight; in setWeight() 95 uint16_t mWeight = static_cast<uint16_t>(FontStyle::Weight::NORMAL); variable
|
/frameworks/base/libs/hwui/tests/macrobench/ |
D | TestSceneRunner.cpp | 46 explicit ModifiedMovingAverage(int weight) : mWeight(weight) {} in ModifiedMovingAverage() 52 mAverage = (((mWeight - 1) * mAverage) + today) / mWeight; in add() 61 int mWeight; member in ModifiedMovingAverage
|
/frameworks/opt/net/voip/src/jni/rtp/ |
D | EchoSuppressor.cpp | 82 mWeight = 1.0f / (mRecordLength * mWindowSize); in EchoSuppressor() 167 float varY = mY2Sum - mWeight * mYSum * mYSum; in run() 169 float cov = mXYSums[i] - mWeight * mXSums[i] * mYSum; in run() 171 float varXi = mX2Sums[i] - mWeight * mXSums[i] * mXSums[i]; in run()
|
D | EchoSuppressor.h | 55 float mWeight; variable
|
/frameworks/base/graphics/java/android/graphics/ |
D | Typeface.java | 167 private @IntRange(from = 0, to = FontStyle.FONT_WEIGHT_MAX) int mWeight = 0; field in Typeface 195 return mWeight; in getWeight() 370 private int mWeight = RESOLVE_BY_FONT_TABLE; field in Typeface.Builder 451 mWeight = weight; in setWeight() 576 if (mWeight == RESOLVE_BY_FONT_TABLE && mItalic == RESOLVE_BY_FONT_TABLE) { in resolveFallbackTypeface() 580 final int weight = (mWeight == RESOLVE_BY_FONT_TABLE) ? base.mWeight : mWeight; in resolveFallbackTypeface() 599 mWeight, mItalic, in build() 611 final int weight = mWeight == RESOLVE_BY_FONT_TABLE in build() 612 ? font.getStyle().getWeight() : mWeight; in build() 1098 mWeight = nativeGetWeight(ni);
|
/frameworks/layoutlib/bridge/src/android/graphics/fonts/ |
D | FontFamily_Builder_Delegate.java | 94 familyBuilder.addFont(font, fontBuilder.mWeight, fontBuilder.mItalic); in nAddFont() 128 desiredStyle.mWeight = desiredWeight; 176 fontInfo.mWeight = weight;
|
D | Font_Builder_Delegate.java | 54 protected int mWeight; field in Font_Builder_Delegate 96 font.mWeight = weight; in nBuild()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | MockFontProvider.java | 103 mWeight = weight; in Font() 121 return mWeight; in getWeight() 140 private int mWeight; field in MockFontProvider.Font
|
/frameworks/base/core/java/android/content/res/ |
D | FontResourcesParser.java | 84 private int mWeight; field in FontResourcesParser.FontFileResourceEntry 93 mWeight = weight; in FontFileResourceEntry() 104 return mWeight; in getWeight()
|
/frameworks/minikin/libs/minikin/ |
D | FontFamily.cpp | 43 return Font(std::move(mTypeface), FontStyle(mWeight, mSlant), prepareFont(mTypeface)); in build() 49 mWeight = styleFromFont.weight(); in build() 54 return Font(std::move(mTypeface), FontStyle(mWeight, mSlant), std::move(font)); in build()
|
/frameworks/base/native/android/ |
D | system_fonts.cpp | 68 uint16_t mWeight; member 137 out->mWeight = weightStr ? in copyFont() 272 result->mWeight = font->style().weight(); in AFontMatcher_match() 353 return font->mWeight; in AFont_getWeight()
|
/frameworks/base/core/java/android/provider/ |
D | FontsContract.java | 182 private final int mWeight; field in FontsContract.FontInfo 202 mWeight = weight; in FontInfo() 232 return mWeight; in getWeight()
|