Lines Matching refs:thiz

29         I3DLocation *thiz = (I3DLocation *) self;
31 interface_lock_exclusive(thiz);
32 thiz->mLocationCartesian = locationCartesian;
33 thiz->mLocationActive = CARTESIAN_SET_SPHERICAL_UNKNOWN;
34 interface_unlock_exclusive(thiz);
52 I3DLocation *thiz = (I3DLocation *) self;
53 interface_lock_exclusive(thiz);
54 thiz->mLocationSpherical.mAzimuth = azimuth;
55 thiz->mLocationSpherical.mElevation = elevation;
56 thiz->mLocationSpherical.mDistance = distance;
57 thiz->mLocationActive = CARTESIAN_UNKNOWN_SPHERICAL_SET;
58 interface_unlock_exclusive(thiz);
73 I3DLocation *thiz = (I3DLocation *) self;
75 interface_lock_exclusive(thiz);
77 enum CartesianSphericalActive locationActive = thiz->mLocationActive;
83 thiz->mLocationCartesian.x += movementCartesian.x;
84 thiz->mLocationCartesian.y += movementCartesian.y;
85 thiz->mLocationCartesian.z += movementCartesian.z;
86 thiz->mLocationActive = CARTESIAN_SET_SPHERICAL_UNKNOWN;
89 thiz->mLocationActive = CARTESIAN_REQUESTED_SPHERICAL_SET;
94 interface_cond_wait(thiz);
96 thiz->mLocationActive = CARTESIAN_COMPUTED_SPHERICAL_SET;
105 interface_unlock_exclusive(thiz);
120 I3DLocation *thiz = (I3DLocation *) self;
121 interface_lock_exclusive(thiz);
123 enum CartesianSphericalActive locationActive = thiz->mLocationActive;
130 SLVec3D locationCartesian = thiz->mLocationCartesian;
131 interface_unlock_exclusive(thiz);
136 thiz->mLocationActive = CARTESIAN_REQUESTED_SPHERICAL_SET;
141 interface_cond_wait(thiz);
143 thiz->mLocationActive = CARTESIAN_COMPUTED_SPHERICAL_SET;
148 interface_unlock_exclusive(thiz);
174 I3DLocation *thiz = (I3DLocation *) self;
175 interface_lock_exclusive(thiz);
176 thiz->mOrientationVectors.mFront = front;
177 thiz->mOrientationVectors.mAbove = above;
178 thiz->mOrientationActive = ANGLES_UNKNOWN_VECTORS_SET;
179 thiz->mRotatePending = SL_BOOLEAN_FALSE;
180 interface_unlock_exclusive(thiz);
198 I3DLocation *thiz = (I3DLocation *) self;
199 interface_lock_exclusive(thiz);
200 thiz->mOrientationAngles.mHeading = heading;
201 thiz->mOrientationAngles.mPitch = pitch;
202 thiz->mOrientationAngles.mRoll = roll;
203 thiz->mOrientationActive = ANGLES_SET_VECTORS_UNKNOWN;
204 thiz->mRotatePending = SL_BOOLEAN_FALSE;
205 interface_unlock_exclusive(thiz);
222 I3DLocation *thiz = (I3DLocation *) self;
223 interface_lock_exclusive(thiz);
224 while (thiz->mRotatePending)
226 interface_cond_wait(thiz);
230 thiz->mTheta = theta;
231 thiz->mAxis = axis;
232 thiz->mRotatePending = SL_BOOLEAN_TRUE;
233 interface_unlock_exclusive(thiz);
249 I3DLocation *thiz = (I3DLocation *) self;
250 interface_lock_shared(thiz);
251 SLVec3D front = thiz->mOrientationVectors.mFront;
252 SLVec3D up = thiz->mOrientationVectors.mUp;
253 interface_unlock_shared(thiz);
276 I3DLocation *thiz = (I3DLocation *) self;
277 thiz->mItf = &I3DLocation_Itf;
278 thiz->mLocationCartesian.x = 0;
279 thiz->mLocationCartesian.y = 0;
280 thiz->mLocationCartesian.z = 0;
281 memset(&thiz->mLocationSpherical, 0x55, sizeof(thiz->mLocationSpherical));
282 thiz->mLocationActive = CARTESIAN_SET_SPHERICAL_UNKNOWN;
283 thiz->mOrientationAngles.mHeading = 0;
284 thiz->mOrientationAngles.mPitch = 0;
285 thiz->mOrientationAngles.mRoll = 0;
286 memset(&thiz->mOrientationVectors, 0x55, sizeof(thiz->mOrientationVectors));
287 thiz->mOrientationActive = ANGLES_SET_VECTORS_UNKNOWN;
288 thiz->mTheta = 0x55555555;
289 thiz->mAxis.x = 0x55555555;
290 thiz->mAxis.y = 0x55555555;
291 thiz->mAxis.z = 0x55555555;
292 thiz->mRotatePending = SL_BOOLEAN_FALSE;