Home
last modified time | relevance | path

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

/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.java580 private Rect mRegion; field in Palette.Builder
705 if (mRegion == null) mRegion = new Rect(); in setRegion()
707 mRegion.set(0, 0, mBitmap.getWidth(), mBitmap.getHeight()); in setRegion()
709 if (!mRegion.intersect(left, top, right, bottom)) { in setRegion()
722 mRegion = null; in clearRegion()
772 final Rect region = mRegion; in generate()
855 if (mRegion == null) {
861 final int regionWidth = mRegion.width();
862 final int regionHeight = mRegion.height();
867 System.arraycopy(pixels, ((row + mRegion.top) * bitmapWidth) + mRegion.left,
/frameworks/base/core/java/android/hardware/radio/
DRadioManager.java328 private final int mRegion; field in RadioManager.BandDescriptor
335 mRegion = region; in BandDescriptor()
346 return mRegion; in getRegion()
381 mRegion = in.readInt(); in BandDescriptor()
401 dest.writeInt(mRegion); in writeToParcel()
415 return "BandDescriptor [mRegion=" + mRegion + ", mType=" + mType + ", mLowerLimit=" in toString()
423 result = prime * result + mRegion; in hashCode()
438 if (mRegion != other.getRegion()) in equals()
/frameworks/base/core/java/android/view/animation/
DAnimation.java212 RectF mRegion = new RectF(); field in Animation
272 animation.mRegion = new RectF(); in clone()
1024 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/av/media/libmedia/
DToneGenerator.cpp837 mRegion = ANSI; in ToneGenerator()
839 mRegion = JAPAN; in ToneGenerator()
842 mRegion = UK; in ToneGenerator()
844 mRegion = CEPT; in ToneGenerator()
1490 if (mRegion == CEPT || toneType < FIRST_SUP_TONE || toneType > LAST_SUP_TONE) { in getToneForRegion()
1493 regionTone = (tone_type) sToneMappingTable[mRegion][toneType - FIRST_SUP_TONE]; in getToneForRegion()
1496 ALOGV("getToneForRegion, tone %d, region %d, regionTone %d", toneType, mRegion, regionTone); in getToneForRegion()
/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.h264 unsigned short mRegion; variable
/frameworks/base/core/jni/
Dandroid_hardware_Radio.cpp62 jfieldID mRegion; member
349 (radio_region_t)env->GetIntField(jDescriptor, gRadioBandDescriptorFields.mRegion); in convertBandConfigToNative()
887 gRadioBandDescriptorFields.mRegion = GetFieldIDOrDie(env, bandDescriptorClass, "mRegion", "I"); in register_android_hardware_Radio()
/frameworks/base/libs/hwui/
DDisplayListOp.h581 : ClipOp(op), mRegion(region) {} in ClipRegionOp()
584 renderer.clipRegion(mRegion, mOp); in applyState()
588 SkIRect bounds = mRegion->getBounds(); in output()
596 const SkRegion* mRegion;