Home | History | Annotate | Download | only in android

Lines Matching refs:tt

54     GLoopTimer*  tt = impl;
55 if (tt->deadline != DURATION_INFINITE) {
56 glooper_delActiveTimer(tt->looper, tt);
57 tt->deadline = DURATION_INFINITE;
64 GLoopTimer* tt = impl;
67 if (tt->deadline != DURATION_INFINITE)
68 glooptimer_stop(tt);
74 tt->deadline = deadline_ms;
75 glooper_addActiveTimer(tt->looper, tt);
81 GLoopTimer* tt = impl;
84 glooptimer_stop(tt);
86 glooptimer_startAbsolute(tt, timeout_ms + glooper_now((Looper*)tt->looper));
93 GLoopTimer* tt = impl;
94 return (tt->deadline != DURATION_INFINITE);
100 GLoopTimer* tt = impl;
102 if (tt->deadline != DURATION_INFINITE)
103 glooptimer_stop(tt);
105 glooper_delTimer(tt->looper, tt);
106 AFREE(tt);
123 GLoopTimer* tt;
125 ANEW0(tt);
127 tt->deadline = DURATION_INFINITE;
128 tt->callback = callback;
129 tt->opaque = opaque;
130 tt->looper = (GLooper*) looper;
132 glooper_addTimer(tt->looper, tt);
134 timer->impl = tt;
277 glooper_addTimer(GLooper* looper, GLoopTimer* tt)
279 arefSet_add(looper->timers, tt);
283 glooper_delTimer(GLooper* looper, GLoopTimer* tt)
285 arefSet_del(looper->timers, tt);
289 glooper_addActiveTimer(GLooper* looper, GLoopTimer* tt)
291 Duration deadline = tt->deadline;
299 tt->activeNext = *pnode;
300 *pnode = tt;
304 glooper_delActiveTimer(GLooper* looper, GLoopTimer* tt)
310 if (*pnode == tt) {
311 *pnode = tt->activeNext;
312 tt->activeNext = NULL;