Home
last modified time | relevance | path

Searched refs:mWeight (Results 1 – 19 of 19) sorted by relevance

/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/vo/
DAvgWeightByAge.java28 private float mWeight; field in AvgWeightByAge
36 mWeight = weight; in AvgWeightByAge()
48 return mWeight; in getWeight()
52 mWeight = weight; in setWeight()
59 + ", mWeight=" + mWeight in toString()
78 return Float.compare(that.mWeight, mWeight) == 0; in equals()
84 result = 31 * result + (mWeight != +0.0f ? Float.floatToIntBits(mWeight) : 0); in hashCode()
DUser.java44 private float mWeight; field in User
95 return mWeight; in getWeight()
99 mWeight = weight; in setWeight()
137 if (Float.compare(user.mWeight, mWeight) != 0) return false; in equals()
159 result = 31 * result + (mWeight != +0.0f ? Float.floatToIntBits(mWeight) : 0); in hashCode()
174 + ", mWeight=" + mWeight in toString()
/frameworks/base/core/java/android/hardware/camera2/params/
DMeteringRectangle.java78 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/
DFontConfig.java64 private final int mWeight; field in FontConfig.Font
77 mWeight = weight; in Font()
107 return mWeight; in getWeight()
142 private final int mWeight; field in FontConfig.Alias
147 mWeight = weight; in Alias()
168 return mWeight; in getWeight()
/frameworks/layoutlib/bridge/src/android/graphics/
DFontFamily_Delegate.java98 int mWeight; field in FontFamily_Delegate.FontInfo
110 return mWeight == fontInfo.mWeight && mIsItalic == fontInfo.mIsItalic; in equals()
115 return Objects.hash(mWeight, mIsItalic); in hashCode()
120 return "FontInfo{" + "mWeight=" + mWeight + ", mIsItalic=" + mIsItalic + '}'; in toString()
205 desiredStyle.mWeight = desiredWeight; in getFont()
409 fontInfo.mWeight = font.isBold() ? BOLD_FONT_WEIGHT : DEFAULT_FONT_WEIGHT;
411 fontInfo.mWeight = weight;
489 fontInfo.mWeight = weight;
503 int score = Math.abs(font1.mWeight - font2.mWeight);
520 int desiredWeight = outFont.mWeight;
[all …]
DTypeface_Delegate.java86 private final int mWeight; field in Typeface_Delegate
95 mWeight = weight; in Typeface_Delegate()
127 new Typeface_Delegate(delegate.mFontFamilies, style, delegate.mWeight)); in nativeCreateFromTypeface()
224 return delegate.mWeight; in nativeGetWeight()
395 return new FontsIterator(mFontFamilies, variant, mWeight, mStyle);
/frameworks/minikin/include/minikin/
DFontStyle.h48 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;
DFontFamily.h66 mWeight = style.weight(); in setStyle()
74 mWeight = weight; in setWeight()
90 uint16_t mWeight = static_cast<uint16_t>(FontStyle::Weight::NORMAL); variable
/frameworks/base/graphics/java/android/graphics/
DTypeface.java150 private @IntRange(from = 0, to = MAX_WEIGHT) int mWeight = 0; field in Typeface
172 return mWeight; in getWeight()
351 private int mWeight = RESOLVE_BY_FONT_TABLE; field in Typeface.Builder
422 mWeight = weight; in setWeight()
567 if (mWeight == RESOLVE_BY_FONT_TABLE && mItalic == RESOLVE_BY_FONT_TABLE) { in resolveFallbackTypeface()
571 final int weight = (mWeight == RESOLVE_BY_FONT_TABLE) ? base.mWeight : mWeight; in resolveFallbackTypeface()
590 if (!fontFamily.addFontFromBuffer(buffer, mTtcIndex, mAxes, mWeight, mItalic)) { in build()
598 return createFromFamiliesWithDefault(families, mFallbackFamilyName, mWeight, in build()
605 mAssetManager, mPath, mTtcIndex, mAxes, mWeight, mItalic, in build()
612 true /* isAsset */, mTtcIndex, mWeight, mItalic, mAxes)) { in build()
[all …]
/frameworks/base/libs/hwui/tests/macrobench/
DTestSceneRunner.cpp45 explicit ModifiedMovingAverage(int weight) : mWeight(weight) {} in ModifiedMovingAverage()
51 mAverage = (((mWeight - 1) * mAverage) + today) / mWeight; in add()
60 int mWeight; member in ModifiedMovingAverage
/frameworks/opt/net/voip/src/jni/rtp/
DEchoSuppressor.cpp82 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()
DEchoSuppressor.h55 float mWeight; variable
/frameworks/base/core/tests/coretests/src/android/provider/
DMockFontProvider.java107 mWeight = weight; in Font()
125 return mWeight; in getWeight()
144 private int mWeight; field in MockFontProvider.Font
/frameworks/minikin/libs/minikin/
DFontFamily.cpp43 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/core/java/android/content/res/
DFontResourcesParser.java80 private int mWeight; field in FontResourcesParser.FontFileResourceEntry
89 mWeight = weight; in FontFileResourceEntry()
100 return mWeight; in getWeight()
/frameworks/support/compat/src/androidTest/java/androidx/core/provider/
DMockFontProvider.java75 mWeight = weight; in Font()
94 return mWeight; in getWeight()
117 private final int mWeight; field in MockFontProvider.Font
/frameworks/support/compat/src/main/java/androidx/core/content/res/
DFontResourcesParserCompat.java104 private int mWeight; field in FontResourcesParserCompat.FontFileResourceEntry
113 mWeight = weight; in FontFileResourceEntry()
125 return mWeight; in getWeight()
/frameworks/base/core/java/android/provider/
DFontsContract.java185 private final int mWeight; field in FontsContract.FontInfo
205 mWeight = weight; in FontInfo()
235 return mWeight; in getWeight()
/frameworks/support/compat/src/main/java/androidx/core/provider/
DFontsContractCompat.java330 private final int mWeight; field in FontsContractCompat.FontInfo
350 mWeight = weight; in FontInfo()
373 return mWeight; in getWeight()