Home | History | Annotate | Download | only in libopensles

Lines Matching defs:this

5  * you may not use this file except in compliance with the License.
32 I3DMacroscopic *this = (I3DMacroscopic *) self;
33 interface_lock_exclusive(this);
34 this->mSize.mWidth = width;
35 this->mSize.mHeight = height;
36 this->mSize.mDepth = depth;
37 interface_unlock_exclusive(this);
53 I3DMacroscopic *this = (I3DMacroscopic *) self;
54 interface_lock_shared(this);
55 SLmillimeter width = this->mSize.mWidth;
56 SLmillimeter height = this->mSize.mHeight;
57 SLmillimeter depth = this->mSize.mDepth;
58 interface_unlock_shared(this);
79 I3DMacroscopic *this = (I3DMacroscopic *) self;
80 interface_lock_exclusive(this);
81 this->mOrientationAngles.mHeading = heading;
82 this->mOrientationAngles.mPitch = pitch;
83 this->mOrientationAngles.mRoll = roll;
84 this->mOrientationActive = ANGLES_SET_VECTORS_UNKNOWN;
85 this->mRotatePending = SL_BOOLEAN_FALSE;
86 // ++this->mGeneration;
87 interface_unlock_exclusive(this);
103 I3DMacroscopic *this = (I3DMacroscopic *) self;
107 interface_lock_exclusive(this);
108 this->mOrientationVectors.mFront = front;
109 this->mOrientationVectors.mAbove = above;
110 this->mOrientationVectors.mUp = above; // wrong
111 this->mOrientationActive = ANGLES_UNKNOWN_VECTORS_SET;
112 this->mRotatePending = SL_BOOLEAN_FALSE;
113 interface_unlock_exclusive(this);
131 I3DMacroscopic *this = (I3DMacroscopic *) self;
132 interface_lock_exclusive(this);
133 while (this->mRotatePending)
134 interface_cond_wait(this);
135 this->mTheta = theta;
136 this->mAxis = axis;
137 this->mRotatePending = SL_BOOLEAN_TRUE;
138 interface_unlock_exclusive(this);
154 I3DMacroscopic *this = (I3DMacroscopic *) self;
155 interface_lock_exclusive(this);
157 enum AnglesVectorsActive orientationActive = this->mOrientationActive;
164 SLVec3D front = this->mOrientationVectors.mFront;
165 SLVec3D up = this->mOrientationVectors.mUp;
166 interface_unlock_exclusive(this);
172 this->mOrientationActive = ANGLES_SET_VECTORS_REQUESTED;
177 interface_cond_wait(this);
179 this->mOrientationActive = ANGLES_SET_VECTORS_COMPUTED;
183 interface_unlock_exclusive(this);
213 I3DMacroscopic *this = (I3DMacroscopic *) self;
214 this->mItf = &I3DMacroscopic_Itf;
215 this->mSize.mWidth = 0;
216 this->mSize.mHeight = 0;
217 this->mSize.mDepth = 0;
218 this->mOrientationAngles.mHeading = 0;
219 this->mOrientationAngles.mPitch = 0;
220 this->mOrientationAngles.mRoll = 0;
221 memset(&this->mOrientationVectors, 0x55, sizeof(this->mOrientationVectors));
222 this->mOrientationVectors.mFront.x = 0;
223 this->mOrientationVectors.mFront.y = 0;
224 this->mOrientationVectors.mFront.z = -1000;
225 this->mOrientationVectors.mUp.x = 0;
226 this->mOrientationVectors.mUp.y = 1000;
227 this->mOrientationVectors.mUp.z = 0;
228 this->mOrientationVectors.mAbove.x = 0;
229 this->mOrientationVectors.mAbove.y = 0;
230 this->mOrientationVectors.mAbove.z = 0;
231 this->mOrientationActive = ANGLES_SET_VECTORS_COMPUTED;
232 this->mTheta = 0x55555555;
233 this->mAxis.x = 0x55555555;
234 this->mAxis.y = 0x55555555;
235 this->mAxis.z = 0x55555555;
236 this->mRotatePending = SL_BOOLEAN_FALSE;