Home
last modified time | relevance | path

Searched refs:mRegion (Results 1 – 13 of 13) sorted by relevance

/frameworks/minikin/libs/minikin/
DFontLanguage.h51 mRegion(INVALID_CODE), in FontLanguage()
61 mRegion == other.mRegion && mEmojiStyle == other.mEmojiStyle;
87 return ((uint64_t)mLanguage << 49) | ((uint64_t)mScript << 17) | ((uint64_t)mRegion << 2) | in getIdentifier()
104 uint16_t mRegion; member
DFontLanguage.cpp168 mRegion = packLanguageOrRegion(p, componentLength, 'A', '0'); in FontLanguage()
264 if (mRegion != INVALID_CODE) { in getString()
266 i += unpackLanguageOrRegion(mRegion, buf + i, 'A', '0'); in getString()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DClipRegion2Activity.java51 private Region mRegion = new Region(); field in ClipRegion2Activity.RegionView
72 mRegion.set(0, 0, getWidth(), getHeight()); in dispatchDraw()
73 mRegion.op(getWidth() / 4, getHeight() / 4, 3 * getWidth() / 4, 3 * getHeight() / 4, in dispatchDraw()
76 canvas.clipRegion(mRegion); in dispatchDraw()
/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/
DPalette.java608 private Rect mRegion; field in Palette.Builder
733 if (mRegion == null) mRegion = new Rect(); in setRegion()
735 mRegion.set(0, 0, mBitmap.getWidth(), mBitmap.getHeight()); in setRegion()
737 if (!mRegion.intersect(left, top, right, bottom)) { in setRegion()
750 mRegion = null; in clearRegion()
800 final Rect region = mRegion; in generate()
882 if (mRegion == null) {
888 final int regionWidth = mRegion.width();
889 final int regionHeight = mRegion.height();
894 System.arraycopy(pixels, ((row + mRegion.top) * bitmapWidth) + mRegion.left,
/frameworks/base/core/java/com/android/internal/graphics/palette/
DPalette.java614 private Rect mRegion; field in Palette.Builder
740 if (mRegion == null) mRegion = new Rect(); in setRegion()
742 mRegion.set(0, 0, mBitmap.getWidth(), mBitmap.getHeight()); in setRegion()
744 if (!mRegion.intersect(left, top, right, bottom)) { in setRegion()
757 mRegion = null; in clearRegion()
807 final Rect region = mRegion; in generate()
889 if (mRegion == null) {
895 final int regionWidth = mRegion.width();
896 final int regionHeight = mRegion.height();
901 System.arraycopy(pixels, ((row + mRegion.top) * bitmapWidth) + mRegion.left,
/frameworks/base/core/java/android/hardware/radio/
DRadioManager.java330 private final int mRegion; field in RadioManager.BandDescriptor
337 mRegion = region; in BandDescriptor()
348 return mRegion; in getRegion()
383 mRegion = in.readInt(); in BandDescriptor()
403 dest.writeInt(mRegion); in writeToParcel()
417 return "BandDescriptor [mRegion=" + mRegion + ", mType=" + mType + ", mLowerLimit=" in toString()
425 result = prime * result + mRegion; in hashCode()
440 if (mRegion != other.getRegion()) in equals()
/frameworks/av/media/libaudioclient/
DToneGenerator.cpp869 mRegion = ANSI; in ToneGenerator()
871 mRegion = JAPAN; in ToneGenerator()
873 mRegion = GB; in ToneGenerator()
875 mRegion = AUSTRALIA; in ToneGenerator()
877 mRegion = CEPT; in ToneGenerator()
1514 if (mRegion == CEPT || toneType < FIRST_SUP_TONE || toneType > LAST_SUP_TONE) { in getToneForRegion()
1517 regionTone = (tone_type) sToneMappingTable[mRegion][toneType - FIRST_SUP_TONE]; in getToneForRegion()
1520 ALOGV("getToneForRegion, tone %d, region %d, regionTone %d", toneType, mRegion, regionTone); in getToneForRegion()
/frameworks/base/core/java/android/view/animation/
DAnimation.java213 RectF mRegion = new RectF(); field in Animation
273 animation.mRegion = new RectF(); in clone()
1025 final RectF tempRegion = mRegion; in getInvalidateRegion()
/frameworks/base/media/java/android/media/
DWebVttRenderer.java403 TextTrackRegion mRegion; field in TextTrackCue
416 mRegion = null; in TextTrackCue()
1036 cue.mRegion = mRegions.get(cue.mRegionId); in onCueParsed()
1242 final TextTrackRegion region = cue.mRegion; in setActiveCues()
1526 private final TextTrackRegion mRegion; field in WebVttRenderingWidget.RegionLayout
1535 mRegion = region; in RegionLayout()
1567 final TextTrackRegion region = mRegion; in measureForParent()
1614 if (getChildCount() > mRegion.mLines) { in put()
1643 return mRegion; in getRegion()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardEntry.java494 private final String mRegion; field in VCardEntry.PostalData
513 mRegion = region; in PostalData()
583 builder.withValue(StructuredPostal.REGION, mRegion); in constructInsertOperation()
598 mPobox, mExtendedAddress, mStreet, mLocalty, mRegion, mPostalCode, mCountry in getFormattedAddress()
636 && TextUtils.isEmpty(mRegion) in isEmpty()
658 && TextUtils.equals(mRegion, postalData.mRegion) in equals()
670 mLocalty, mRegion, mPostalCode, mCountry}; in hashCode()
682 mLocalty, mRegion, mPostalCode, mCountry); in toString()
707 return mRegion; in getRegion()
/frameworks/av/include/media/
DToneGenerator.h270 unsigned short mRegion; variable
/frameworks/av/media/libaudioclient/include/media/
DToneGenerator.h270 unsigned short mRegion; variable
/frameworks/base/core/jni/
Dandroid_hardware_Radio.cpp62 jfieldID mRegion; member
352 (radio_region_t)env->GetIntField(jDescriptor, gRadioBandDescriptorFields.mRegion); in convertBandConfigToNative()
889 gRadioBandDescriptorFields.mRegion = GetFieldIDOrDie(env, bandDescriptorClass, "mRegion", "I"); in register_android_hardware_Radio()