/external/webrtc/webrtc/base/ |
ratetracker_unittest.cc | 27 RateTrackerForTest tracker; local 30 tracker.AddSamples(1); 31 tracker.AdvanceTime(33); 33 tracker.AdvanceTime(1); 36 EXPECT_DOUBLE_EQ(30.0, tracker.ComputeRateForInterval(50000u)); 40 RateTrackerForTest tracker; local 43 tracker.AddSamples(1); 44 tracker.AdvanceTime(16); 46 tracker.AdvanceTime(1); 49 EXPECT_DOUBLE_EQ(60.0, tracker.ComputeRateForInterval(1000u)) 53 RateTrackerForTest tracker; local 120 RateTrackerForTest tracker; local 134 RateTrackerForTest tracker; local 156 RateTrackerForTest tracker; local [all...] |
/frameworks/support/compat/java/android/support/v4/view/ |
VelocityTrackerCompat.java | 30 public float getXVelocity(VelocityTracker tracker, int pointerId); 31 public float getYVelocity(VelocityTracker tracker, int pointerId); 39 public float getXVelocity(VelocityTracker tracker, int pointerId) { 40 return tracker.getXVelocity(); 43 public float getYVelocity(VelocityTracker tracker, int pointerId) { 44 return tracker.getYVelocity(); 53 public float getXVelocity(VelocityTracker tracker, int pointerId) { 54 return VelocityTrackerCompatHoneycomb.getXVelocity(tracker, pointerId); 57 public float getYVelocity(VelocityTracker tracker, int pointerId) { 58 return VelocityTrackerCompatHoneycomb.getYVelocity(tracker, pointerId) [all...] |
/packages/apps/Email/tests/src/com/android/emailcommon/utility/ |
EmailAsyncTaskTests.java | 30 final EmailAsyncTask.Tracker tracker = new EmailAsyncTask.Tracker(); local 33 assertEquals(0, tracker.getTaskCountForTest()); 36 final MyTask task1 = new MyTask(tracker); 37 assertEquals(1, tracker.getTaskCountForTest()); 39 final MyTask task2 = new MyTask(tracker); 40 assertEquals(2, tracker.getTaskCountForTest()); 42 final MyTask task3 = new MyTask(tracker); 43 assertEquals(3, tracker.getTaskCountForTest()) 89 final EmailAsyncTask.Tracker tracker = new EmailAsyncTask.Tracker(); local [all...] |
/frameworks/support/compat/honeycomb/android/support/v4/view/ |
VelocityTrackerCompatHoneycomb.java | 22 * Implementation of velocity tracker compatibility that can call Honeycomb APIs. 25 public static float getXVelocity(VelocityTracker tracker, int pointerId) { 26 return tracker.getXVelocity(pointerId); 28 public static float getYVelocity(VelocityTracker tracker, int pointerId) { 29 return tracker.getYVelocity(pointerId);
|
/external/libchrome/base/trace_event/ |
heap_profiler_allocation_context_tracker.cc | 36 auto tracker = local 39 if (!tracker) { 40 tracker = new AllocationContextTracker(); 41 g_tls_alloc_ctx_tracker.Set(tracker); 44 return tracker; 61 auto tracker = AllocationContextTracker::GetThreadLocalTracker(); local 65 DCHECK_LT(tracker->pseudo_stack_.size(), 128u); 66 tracker->pseudo_stack_.push_back(frame); 71 auto tracker = AllocationContextTracker::GetThreadLocalTracker(); local 76 if (tracker->pseudo_stack_.empty() 90 AllocationContextTracker* tracker = GetThreadLocalTracker(); local [all...] |
/ndk/sources/cxx-stl/gabi++/src/ |
pbase_type_info.cc | 61 unsigned tracker) const { 79 if (tracker == first_time_init && 80 (tracker & keep_constness) != keep_constness && 81 (tracker & after_gap) != after_gap) { 82 tracker |= keep_constness; 84 tracker &= ~first_time_init; 87 if ((tracker & first_time_init) != first_time_init && 88 (tracker & after_gap) == after_gap) { 93 tracker |= after_gap; 96 return can_catch_ptr(thrown_type, adjustedPtr, tracker); [all...] |
pointer_type_info.cc | 40 unsigned tracker, 43 if ((tracker & first_time_init) == first_time_init &&
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
TimerProxy.java | 39 * @param tracker the {@link PointerTracker} that points the key to be repeated. 43 public void startKeyRepeatTimerOf(@Nonnull PointerTracker tracker, int repeatCount, int delay); 47 * If a key pointed by <code>tracker</code> is a shift key, start another timer to detect 49 * @param tracker the {@link PointerTracker} that starts long pressing. 52 public void startLongPressTimerOf(@Nonnull PointerTracker tracker, int delay); 56 * @param tracker cancel long press timers of this {@link PointerTracker}. 58 public void cancelLongPressTimersOf(@Nonnull PointerTracker tracker); 67 * @param tracker the {@link PointerTracker} that starts timers to be canceled. 69 public void cancelKeyTimersOf(@Nonnull PointerTracker tracker); 88 * Start a timer to fire updating batch input while <code>tracker</code> is on hold [all...] |
TimerHandler.java | 86 public void startKeyRepeatTimerOf(@Nonnull final PointerTracker tracker, final int repeatCount, 88 final Key key = tracker.getKey(); 93 obtainMessage(MSG_REPEAT_KEY, key.getCode(), repeatCount, tracker), delay); 96 private void cancelKeyRepeatTimerOf(final PointerTracker tracker) { 97 removeMessages(MSG_REPEAT_KEY, tracker); 110 public void startLongPressTimerOf(@Nonnull final PointerTracker tracker, final int delay) { 111 final Key key = tracker.getKey(); 119 sendMessageDelayed(obtainMessage(messageId, tracker), delay); 123 public void cancelLongPressTimersOf(@Nonnull final PointerTracker tracker) { 124 removeMessages(MSG_LONGPRESS_KEY, tracker); [all...] |
DrawingProxy.java | 44 * @param tracker the {@link PointerTracker} that detects this long pressing. 49 public MoreKeysPanel showMoreKeysKeyboard(@Nonnull Key key, @Nonnull PointerTracker tracker); 62 * @param tracker the {@link PointerTracker} that is currently doing the sliding-key input. 65 public void showSlidingKeyInputPreview(@Nullable PointerTracker tracker); 69 * @param tracker the {@link PointerTracker} whose gesture trail will be shown. 71 * with this <code>tracker</code>'s trail. 73 public void showGestureTrail(@Nonnull PointerTracker tracker, boolean showsFloatingPreviewText);
|
/external/apache-http/src/org/apache/http/impl/conn/ |
AbstractPoolEntry.java | 92 protected volatile RouteTracker tracker; field in class:AbstractPoolEntry 111 this.tracker = null; 154 if ((this.tracker != null) && this.tracker.isConnected()) { 166 this.tracker = new RouteTracker(route); 175 RouteTracker localTracker = tracker; // capture volatile 177 // If this tracker was reset while connecting, 212 if ((this.tracker == null) || !this.tracker.isConnected()) { 215 if (this.tracker.isTunnelled()) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
PlatformVelocityTracker.java | 35 PlatformVelocityTracker tracker = sPool.acquire(); local 36 if (tracker == null) { 37 tracker = new PlatformVelocityTracker(); 39 tracker.setTracker(VelocityTracker.obtain()); 40 return tracker; 43 public void setTracker(VelocityTracker tracker) { 44 mTracker = tracker;
|
VelocityTrackerFactory.java | 32 String tracker = ctx.getResources().getString(R.string.velocity_tracker_impl); local 33 switch (tracker) { 39 throw new IllegalStateException("Invalid tracker: " + tracker);
|
/external/v8/src/heap/ |
array-buffer-tracker.cc | 5 #include "src/heap/array-buffer-tracker.h" 6 #include "src/heap/array-buffer-tracker-inl.h" 52 LocalArrayBufferTracker* tracker = target_page->local_tracker(); local 53 if (tracker == nullptr) { 55 tracker = target_page->local_tracker(); 57 DCHECK_NOT_NULL(tracker); 58 tracker->Add(new_buffer, it->second); 88 LocalArrayBufferTracker* tracker = page->local_tracker(); local 89 if (tracker == nullptr) return; 91 tracker->Free<LocalArrayBufferTracker::kFreeDead>() 98 LocalArrayBufferTracker* tracker = page->local_tracker(); local 107 LocalArrayBufferTracker* tracker = page->local_tracker(); local 129 LocalArrayBufferTracker* tracker = page->local_tracker(); local [all...] |
array-buffer-tracker-inl.h | 6 #include "src/heap/array-buffer-tracker.h" 21 LocalArrayBufferTracker* tracker = page->local_tracker(); local 22 if (tracker == nullptr) { 24 tracker = page->local_tracker(); 26 DCHECK_NOT_NULL(tracker); 27 tracker->Add(buffer, std::make_pair(data, length)); 43 LocalArrayBufferTracker* tracker = page->local_tracker(); local 44 DCHECK_NOT_NULL(tracker); 45 length = tracker->Remove(buffer).second;
|
/external/mesa3d/src/gallium/state_trackers/xa/ |
README | 30 The XA state tracker is intended as a versioned interface to gallium for 32 composite / video work for the Xorg state tracker. 34 The motivation behind this state tracker is that the Xorg state tracker has 42 Since Gallium3D is not versioned, the Xorg state tracker needs to be compiled 46 Therefore the xa state tracker is intended to supply the following 59 should investigate sharing the loadig mechanism with the EGL state tracker.
|
/external/chromium-trace/catapult/third_party/closure_linter/closure_linter/ |
testutil.py | 64 """Run the tokenizer and tracker and return comments and functions found. 75 tracker = javascriptstatetracker.JavaScriptStateTracker() 77 tracker.DocFlagPass(start_token, error_handler) 82 tracker.HandleToken(token, tracker.GetLastNonSpaceToken()) 84 function = tracker.GetFunction() 88 comment = tracker.GetDocComment() 92 tracker.HandleAfterToken(token)
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
CdmaSMSDispatcher.java | 88 SmsTracker tracker = deliveryPendingList.get(i); local 89 if (tracker.mMessageRef == sms.mMessageRef) { 93 tracker.updateSentMessageStatus(mContext, Sms.STATUS_COMPLETE); 95 PendingIntent intent = tracker.mDeliveryIntent; 102 break; // Only expect to see one tracker matching this message. 115 SmsTracker tracker = getSmsTracker(map, sentIntent, deliveryIntent, getFormat(), local 122 DataSmsSender smsSender = new DataSmsSender(tracker); 126 sendSubmitPdu(tracker); 149 SmsTracker tracker = getSmsTracker(map, sentIntent, deliveryIntent, getFormat(), local 155 TextSmsSender smsSender = new TextSmsSender(tracker); [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
GsmSMSDispatcher.java | 127 SmsTracker tracker = deliveryPendingList.get(i); local 128 if (tracker.mMessageRef == messageRef) { 133 tracker.updateSentMessageStatus(mContext, tpStatus); 135 PendingIntent intent = tracker.mDeliveryIntent; 143 // Only expect to see one tracker matching this messageref 159 SmsTracker tracker = getSmsTracker(map, sentIntent, deliveryIntent, getFormat(), local 166 DataSmsSender smsSender = new DataSmsSender(tracker); 170 sendRawPdu(tracker); 187 SmsTracker tracker = getSmsTracker(map, sentIntent, deliveryIntent, getFormat(), local 194 TextSmsSender smsSender = new TextSmsSender(tracker); [all...] |
/external/chromium-trace/catapult/third_party/gsutil/gslib/ |
tracker_file.py | 15 """Helper functions for tracker file functionality.""" 31 # operating systems, so we always ensure that tracker files are less 37 'Couldn\'t write tracker file (%s): %s. This can happen if gsutil is ' 38 'configured to save tracker files to an unwritable directory)') 77 """Looks up or creates the gsutil tracker file directory. 80 tracker files. This function creates it if it doesn't already exist. 83 The pathname to the tracker directory. 87 os.path.join(GetGsutilStateDir(), 'tracker-files')) 94 """Gets the tracker file name described by the arguments. 104 File path to tracker file [all...] |
/packages/apps/TV/src/com/android/tv/analytics/ |
SendConfigInfoRunnable.java | 29 private final Tracker mTracker; 32 public SendConfigInfoRunnable(Tracker tracker, TvInputManagerHelper tvInputManagerHelper) { 33 this.mTracker = tracker;
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/ |
ActionServiceSystemTest.java | 58 final ResultTracker tracker = (ResultTracker) data; local 59 tracker.completionResult = result; 60 synchronized(tracker) { 61 tracker.notifyAll(); 70 final ResultTracker tracker = (ResultTracker) data; local 71 tracker.completionResult = result; 72 synchronized(tracker) { 73 tracker.notifyAll(); 82 final ResultTracker tracker = (ResultTracker) data; local 83 tracker.executionResult = result 91 final ResultTracker tracker = new ResultTracker(); local 144 final ResultTracker tracker = new ResultTracker(); local 233 final ResultTracker tracker = new ResultTracker(); local [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
SmsBroadcastUndelivered.java | 161 InboundSmsTracker tracker; local 163 tracker = TelephonyComponentFactory.getInstance().makeInboundSmsTracker(cursor, 170 if (tracker.getMessageCount() == 1) { 172 broadcastSms(tracker); 174 SmsReferenceKey reference = new SmsReferenceKey(tracker); 178 if (tracker.getTimestamp() < 185 if (newCount == tracker.getMessageCount()) { 186 // looks like we've got all the pieces; send a single tracker 189 broadcastSms(tracker); 222 * Send tracker to appropriate (3GPP or 3GPP2) inbound SMS handler for broadcast [all...] |
/external/opencv3/samples/python2/ |
feature_homography.py | 40 self.tracker = PlaneTracker() 46 self.tracker.clear() 47 self.tracker.add_target(self.frame, rect) 61 if len(self.tracker.targets) > 0: 62 target = self.tracker.targets[0] 69 tracked = self.tracker.track(self.frame) 75 draw_keypoints(vis, self.tracker.frame_points)
|
/frameworks/base/services/core/java/com/android/server/ |
LockSettingsStrongAuth.java | 56 private void handleAddStrongAuthTracker(IStrongAuthTracker tracker) { 58 if (mStrongAuthTrackers.get(i).asBinder() == tracker.asBinder()) { 62 mStrongAuthTrackers.add(tracker); 68 tracker.onStrongAuthRequiredChanged(value, key); 75 private void handleRemoveStrongAuthTracker(IStrongAuthTracker tracker) { 77 if (mStrongAuthTrackers.get(i).asBinder() == tracker.asBinder()) { 128 public void registerStrongAuthTracker(IStrongAuthTracker tracker) { 129 mHandler.obtainMessage(MSG_REGISTER_TRACKER, tracker).sendToTarget(); 132 public void unregisterStrongAuthTracker(IStrongAuthTracker tracker) { 133 mHandler.obtainMessage(MSG_UNREGISTER_TRACKER, tracker).sendToTarget() [all...] |