Searched defs:other (Results 51 - 75 of 260) sorted by last modified time

1234567891011

/frameworks/native/libs/input/
H A DInputTransport.cpp736 const History* other; local
743 other = &future;
754 // So other->eventTime <= current->eventTime <= sampleTime.
755 other = touchState.getHistory(1);
756 nsecs_t delta = current->eventTime - other->eventTime;
794 if (other->idBits.hasBit(id)
796 const PointerCoords& otherCoords = other->getPointerById(id);
804 "other (%0.3f, %0.3f), alpha %0.3f",
H A DKeyCharacterMap.cpp94 KeyCharacterMap::KeyCharacterMap(const KeyCharacterMap& other) : argument
95 RefBase(), mType(other.mType), mKeysByScanCode(other.mKeysByScanCode),
96 mKeysByUsageCode(other.mKeysByUsageCode) {
97 for (size_t i = 0; i < other.mKeys.size(); i++) {
98 mKeys.add(other.mKeys.keyAt(i), new Key(*other.mKeys.valueAt(i)));
689 KeyCharacterMap::Key::Key(const Key& other) : argument
690 label(other.label), number(other
710 Behavior(const Behavior& other) argument
[all...]
/frameworks/native/libs/ui/
H A DHdrCapabilities.cpp27 HdrCapabilities::HdrCapabilities(HdrCapabilities&& other) = default; member in class:android::HdrCapabilities
28 HdrCapabilities& HdrCapabilities::operator=(HdrCapabilities&& other) = default; member in class:android::HdrCapabilities
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
H A Dbufferhub_rpc.h106 NativeBufferHandle(NativeBufferHandle&& other) = default; member in class:android::dvr::NativeBufferHandle
107 NativeBufferHandle& operator=(NativeBufferHandle&& other) = default; member in class:android::dvr::NativeBufferHandle
177 BufferDescription(BufferDescription&& other) = default; member in class:android::dvr::BufferDescription
178 BufferDescription& operator=(BufferDescription&& other) = default; member in class:android::dvr::BufferDescription
/frameworks/native/libs/vr/libbufferhub/
H A Dion_buffer.cpp52 IonBuffer::IonBuffer(IonBuffer&& other) : IonBuffer() { argument
53 *this = std::move(other);
56 IonBuffer& IonBuffer::operator=(IonBuffer&& other) { argument
57 ALOGD_IF(TRACE, "IonBuffer::operator=: handle_=%p other.handle_=%p", handle(),
58 other.handle());
60 if (this != &other) {
61 buffer_ = other.buffer_;
62 other.FreeHandle();
161 int IonBuffer::Duplicate(const IonBuffer* other) { argument
162 if (!other
[all...]
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
H A Dpose.h41 void ComposeInPlace(const Pose& other) { argument
42 position_ = position_ + rotation_ * other.position_;
43 rotation_ = rotation_ * other.rotation_;
47 Pose Compose(const Pose& other) const {
49 result.ComposeInPlace(other);
61 Pose& operator*=(const Pose& other) { argument
62 ComposeInPlace(other);
66 Pose operator*(const Pose& other) const { return Compose(other); }
H A Dring_buffer.h25 RingBuffer(const RingBuffer& other) = default; member in class:android::dvr::RingBuffer
26 RingBuffer(RingBuffer&& other) = default; member in class:android::dvr::RingBuffer
27 RingBuffer& operator=(const RingBuffer& other) = default; member in class:android::dvr::RingBuffer
28 RingBuffer& operator=(RingBuffer&& other) = default; member in class:android::dvr::RingBuffer
/frameworks/native/libs/vr/libpdx/private/pdx/
H A Dchannel_handle.h53 ChannelHandle(ChannelHandle&& other) : ChannelHandleBase{other.value_} { argument
54 other.value_ = kEmptyHandle;
60 ChannelHandle& operator=(ChannelHandle&& other) { argument
61 value_ = other.value_;
62 other.value_ = kEmptyHandle;
77 ChannelHandle(ChannelHandle&& other) argument
78 : ChannelHandleBase{other.value_}, manager_{other.manager_} {
79 other
83 operator =(ChannelHandle&& other) argument
[all...]
H A Dfile_handle.h45 // other FileHandle object empty.
46 FileHandle(FileHandle&& other) { argument
47 fd_ = other.fd_;
48 other.fd_ = kEmptyFileHandle;
64 // descriptor, leaving the other FileHandle object empty.
65 FileHandle& operator=(FileHandle&& other) { argument
66 if (this != &other) {
67 Reset(other.fd_);
68 other.fd_ = kEmptyFileHandle;
H A Dstatus.h41 // Copy/move constructors. Move constructor leaves |other| object in empty
43 Status(const Status& other) = default; member in class:android::pdx::Status
44 Status(Status&& other) argument
45 : value_{std::move(other.value_)}, error_{other.error_} {
46 other.error_ = -1;
50 Status& operator=(const Status& other) = default; member in class:android::pdx::Status
51 Status& operator=(Status&& other) { argument
52 error_ = other.error_;
53 value_ = std::move(other
74 PropagateError(const Status<U>& other) argument
144 PropagateError(const Status<U>& other) argument
[all...]
H A Dutility.h22 ByteBuffer(const ByteBuffer& other) { argument
23 resize(other.size());
24 if (other.size())
25 memcpy(data_, other.data(), other.size());
29 ByteBuffer& operator=(const ByteBuffer& other) { argument
30 resize(other.size());
31 if (other.size())
32 memcpy(data_, other.data(), other
36 operator =(ByteBuffer&& other) argument
214 Payload(const Payload& other) argument
220 operator =(const Payload& other) argument
[all...]
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
H A Darray_wrapper.h40 ArrayWrapper(const ArrayWrapper& other) { *this = other; } argument
42 ArrayWrapper(ArrayWrapper&& other) { *this = std::move(other); } argument
44 ArrayWrapper& operator=(const ArrayWrapper& other) { argument
45 if (&other == this) {
48 buffer_ = other.buffer_;
49 capacity_ = other.capacity_;
50 end_ = other.end_;
56 ArrayWrapper& operator=(ArrayWrapper&& other) { argument
[all...]
H A Dbuffer_wrapper.h40 BufferWrapper(const BufferWrapper& other) { *this = other; } argument
42 BufferWrapper(BufferWrapper&& other) { *this = std::move(other); } argument
44 BufferWrapper& operator=(const BufferWrapper& other) { argument
45 if (&other == this) {
48 buffer_ = other.buffer_;
49 capacity_ = other.capacity_;
50 end_ = other.end_;
56 BufferWrapper& operator=(BufferWrapper&& other) { argument
[all...]
H A Dstring_wrapper.h45 StringWrapper(const StringWrapper& other) { *this = other; } argument
47 StringWrapper(StringWrapper&& other) { *this = std::move(other); } argument
49 StringWrapper& operator=(const StringWrapper& other) { argument
50 if (&other == this) {
53 buffer_ = other.buffer_;
54 capacity_ = other.capacity_;
55 end_ = other.end_;
61 StringWrapper& operator=(StringWrapper&& other) { argument
[all...]
H A Dvariant.h149 Union(const Union& other, std::int32_t index) { argument
151 new (&first_) Type(other.first_);
153 Union(Union&& other, std::int32_t index) { argument
155 new (&first_) Type(std::move(other.first_));
252 Union(const Union& other, std::int32_t index) { argument
254 new (&first_) First(other.first_);
256 new (&rest_) Union<Rest...>(other.rest_, index - 1);
258 Union(Union&& other, std::int32_t index) { argument
260 new (&first_) First(std::move(other.first_));
262 new (&rest_) Union<Rest...>(std::move(other
448 Variant(const Variant& other) argument
450 Variant(Variant&& other) argument
456 Variant(const Variant<OtherTypes...>& other) argument
460 Variant(Variant<OtherTypes...>&& other) argument
464 operator =(const Variant& other) argument
468 operator =(Variant&& other) argument
506 operator =(const Variant<OtherTypes...>& other) argument
511 operator =(Variant<OtherTypes...>&& other) argument
[all...]
/frameworks/native/libs/vr/libpdx/
H A Dservice.cpp34 Message::Message(Message&& other) { *this = std::move(other); } argument
36 Message& Message::operator=(Message&& other) { argument
41 std::swap(service_, other.service_);
42 std::swap(channel_, other.channel_);
43 std::swap(info_, other.info_);
44 std::swap(state_, other.state_);
45 std::swap(replied_, other.replied_);
H A Dvariant_tests.cpp48 InstrumentType(const InstrumentType& other) : value_(other.value_) { argument
51 InstrumentType(InstrumentType&& other) : value_(std::move(other.value_)) { argument
54 InstrumentType(const TestType<T>& other) : value_(other.get()) { argument
57 InstrumentType(TestType<T>&& other) : value_(other.take()) { argument
62 InstrumentType& operator=(const InstrumentType& other) { argument
64 value_ = other
67 operator =(InstrumentType&& other) argument
73 operator =(const TestType<T>& other) argument
78 operator =(TestType<T>&& other) argument
[all...]
/frameworks/native/libs/vr/libvrflinger/
H A Dacquired_buffer.cpp34 AcquiredBuffer::AcquiredBuffer(AcquiredBuffer&& other) { argument
35 *this = std::move(other);
40 AcquiredBuffer& AcquiredBuffer::operator=(AcquiredBuffer&& other) { argument
41 if (this != &other) {
45 swap(buffer_, other.buffer_);
46 swap(acquire_fence_, other.acquire_fence_);
47 swap(slot_, other.slot_);
H A Dhardware_composer.cpp878 // insulate VrFlinger and HWC z-order semantics from each other.
888 // The bottom layer is opaque, other layers blend.
1099 Layer::Layer(Layer&& other) { *this = std::move(other); } argument
1101 Layer& Layer::operator=(Layer&& other) { argument
1102 if (this != &other) {
1105 swap(hardware_composer_layer_, other.hardware_composer_layer_);
1106 swap(z_order_, other.z_order_);
1107 swap(blending_, other.blending_);
1108 swap(transform_, other
[all...]
/frameworks/native/opengl/libagl/
H A DTokenizer.cpp32 Tokenizer::Tokenizer(const Tokenizer& other) argument
33 : mRanges(other.mRanges)
H A Dlight.cpp767 GLfixed* other=0; local
775 other = c->lighting.front.diffuse.v;
789 if (other) {
790 other[0] = what[0];
791 other[1] = what[1];
792 other[2] = what[2];
793 other[3] = what[3];
807 GLfixed* other=0; local
815 other = c->lighting.front.diffuse.v;
829 if (other) {
[all...]
/frameworks/native/opengl/libs/EGL/
H A Degl_display.h145 // egl_display_ptr(egl_display_ptr&& other) {
146 // mDpy = other.mDpy;
147 // other.mDpy = NULL;
150 egl_display_ptr(const egl_display_ptr& other): mDpy(other.mDpy) {} argument
/frameworks/native/services/inputflinger/
H A DInputDispatcher.cpp275 // been pressed. When it expires, we preempt dispatch and drop all other pending events.
440 // the touch into the other window.
1718 // Unlike key events, generic motion events don't tend to transfer focus to other
2091 // Notify other system components and prepare to start the next dispatch cycle.
2114 // Notify other system components.
3693 // The fallback keycode cannot change at any other point in the lifecycle.
4083 * by synthesizing a key down but that will cause other problems.
4154 // other value and we need to track the motion so we can send cancellation events for
4310 void InputDispatcher::InputState::copyPointerStateTo(InputState& other) const {
4314 for (size_t j = 0; j < other
4465 copyFrom(const TouchState& other) argument
[all...]
H A DInputListener.cpp34 const NotifyConfigurationChangedArgs& other) :
35 eventTime(other.eventTime) {
54 NotifyKeyArgs::NotifyKeyArgs(const NotifyKeyArgs& other) : argument
55 eventTime(other.eventTime), deviceId(other.deviceId), source(other.source),
56 policyFlags(other.policyFlags),
57 action(other.action), flags(other.flags),
58 keyCode(other
33 NotifyConfigurationChangedArgs( const NotifyConfigurationChangedArgs& other) argument
86 NotifyMotionArgs(const NotifyMotionArgs& other) argument
112 NotifySwitchArgs(const NotifySwitchArgs& other) argument
128 NotifyDeviceResetArgs(const NotifyDeviceResetArgs& other) argument
[all...]
H A DInputReader.cpp1669 void RawPointerData::copyFrom(const RawPointerData& other) { argument
1670 pointerCount = other.pointerCount;
1671 hoveringIdBits = other.hoveringIdBits;
1672 touchingIdBits = other.touchingIdBits;
1675 pointers[i] = other.pointers[i];
1678 idToIndex[id] = other.idToIndex[id];
1712 void CookedPointerData::copyFrom(const CookedPointerData& other) { argument
1713 pointerCount = other.pointerCount;
1714 hoveringIdBits = other.hoveringIdBits;
1715 touchingIdBits = other
[all...]

Completed in 258 milliseconds

1234567891011