• Home
  • Raw
  • Download

Lines Matching refs:other

249 bool PointerCoords::operator==(const PointerCoords& other) const {  in operator ==()
250 if (bits != other.bits) { in operator ==()
255 if (values[i] != other.values[i]) { in operator ==()
262 void PointerCoords::copyFrom(const PointerCoords& other) { in copyFrom() argument
263 bits = other.bits; in copyFrom()
266 values[i] = other.values[i]; in copyFrom()
273 bool PointerProperties::operator==(const PointerProperties& other) const { in operator ==()
274 return id == other.id in operator ==()
275 && toolType == other.toolType; in operator ==()
278 void PointerProperties::copyFrom(const PointerProperties& other) { in copyFrom() argument
279 id = other.id; in copyFrom()
280 toolType = other.toolType; in copyFrom()
321 void MotionEvent::copyFrom(const MotionEvent* other, bool keepHistory) { in copyFrom() argument
322 InputEvent::initialize(other->mDeviceId, other->mSource); in copyFrom()
323 mAction = other->mAction; in copyFrom()
324 mFlags = other->mFlags; in copyFrom()
325 mEdgeFlags = other->mEdgeFlags; in copyFrom()
326 mMetaState = other->mMetaState; in copyFrom()
327 mButtonState = other->mButtonState; in copyFrom()
328 mXOffset = other->mXOffset; in copyFrom()
329 mYOffset = other->mYOffset; in copyFrom()
330 mXPrecision = other->mXPrecision; in copyFrom()
331 mYPrecision = other->mYPrecision; in copyFrom()
332 mDownTime = other->mDownTime; in copyFrom()
333 mPointerProperties = other->mPointerProperties; in copyFrom()
336 mSampleEventTimes = other->mSampleEventTimes; in copyFrom()
337 mSamplePointerCoords = other->mSamplePointerCoords; in copyFrom()
340 mSampleEventTimes.push(other->getEventTime()); in copyFrom()
342 size_t pointerCount = other->getPointerCount(); in copyFrom()
343 size_t historySize = other->getHistorySize(); in copyFrom()
344 mSamplePointerCoords.appendArray(other->mSamplePointerCoords.array() in copyFrom()