Searched defs:sp (Results 1 - 20 of 20) sorted by relevance

/frameworks/rs/cpp/util/
H A DStrongPointer.h38 inline bool operator _op_ (const sp<T>& o) const { \
45 inline bool operator _op_ (const sp<U>& o) const { \
63 class sp class in namespace:android::RSC
66 inline sp() : m_ptr(0) { } function in class:android::RSC::sp
68 sp(T* other); // NOLINT, implicit
69 sp(const sp<T>& other);
70 template<typename U> sp(U* other); // NOLINT, implicit
71 template<typename U> sp(const sp<
141 sp<T>::sp(const sp<U>& other) function in class:android::RSC::sp
[all...]
/frameworks/av/include/mediadrm/
H A DCrypto.h54 const sp<IMemory> &source, size_t offset,
58 virtual void setHeap(const sp<IMemoryHeap>&) {} argument
59 virtual void unsetHeap(const sp<IMemoryHeap>&) {} argument
65 sp<SharedLibrary> mLibrary;
/frameworks/av/media/libmedia/include/media/
H A DCrypto.h54 const sp<IMemory> &source, size_t offset,
58 virtual void setHeap(const sp<IMemoryHeap>&) {} argument
59 virtual void unsetHeap(const sp<IMemoryHeap>&) {} argument
65 sp<SharedLibrary> mLibrary;
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DConfigurableTexts.java50 final int sp = (int)(px / fontScale / density);
51 mTexts.put(text, sp);
59 setTextSizeH(text, sp);
63 return sp;
71 private void setTextSizeH(TextView text, int sp) { argument
72 text.setTextSize(TypedValue.COMPLEX_UNIT_SP, sp);
/frameworks/base/cmds/statsd/src/anomaly/
H A DAlarmMonitor.cpp29 const std::function<void(const sp<IStatsCompanionService>&, int64_t)>& updateAlarm,
30 const std::function<void(const sp<IStatsCompanionService>&)>& cancelAlarm)
37 void AlarmMonitor::setStatsCompanionService(sp<IStatsCompanionService> statsCompanionService) {
39 sp<IStatsCompanionService> tmpForLock = mStatsCompanionService;
46 const sp<const InternalAlarm> top = mPq.top();
52 void AlarmMonitor::add(sp<const InternalAlarm> alarm) {
72 void AlarmMonitor::remove(sp<const InternalAlarm> alarm) {
95 unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>> AlarmMonitor::popSoonerThan(
98 unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>> oldAlarms;
101 for (sp<cons
27 AlarmMonitor( uint32_t minDiffToUpdateRegisteredAlarmTimeSec, const std::function<void(const sp<IStatsCompanionService>&, int64_t)>& updateAlarm, const std::function<void(const sp<IStatsCompanionService>&)>& cancelAlarm) argument
[all...]
/frameworks/native/services/inputflinger/tests/
H A DInputDispatcher_test.cpp55 virtual nsecs_t notifyANR(const sp<InputApplicationHandle>&, argument
56 const sp<InputWindowHandle>&,
61 virtual void notifyInputChannelBroken(const sp<InputWindowHandle>&) { argument
78 virtual nsecs_t interceptKeyBeforeDispatching(const sp<InputWindowHandle>&, argument
83 virtual bool dispatchUnhandledKey(const sp<InputWindowHandle>&, argument
104 sp<FakeInputDispatcherPolicy> mFakePolicy;
105 sp<InputDispatcher> mDispatcher;
H A DInputReader_test.cpp133 KeyedVector<int32_t, sp<FakePointerController> > mPointerControllers;
179 void setPointerController(int32_t deviceId, const sp<FakePointerController>& controller) {
230 virtual sp<PointerControllerInterface> obtainPointerController(int32_t deviceId) {
238 virtual sp<KeyCharacterMap> getKeyboardLayoutOverlay(const InputDeviceIdentifier&) {
783 virtual sp<KeyCharacterMap> getKeyCharacterMap(int32_t) const {
787 virtual bool setKeyboardLayoutOverlay(int32_t, const sp<KeyCharacterMap>&) { argument
818 sp<EventHubInterface> mEventHub;
819 sp<InputReaderPolicyInterface> mPolicy;
820 sp<InputListenerInterface> mListener;
826 FakeInputReaderContext(const sp<EventHubInterfac
[all...]
/frameworks/av/media/libstagefright/webm/
H A DWebmWriter.h43 virtual status_t addSource(const sp<MediaSource> &source);
75 List<sp<WebmElement> > mCuePoints;
86 sp<WebmElement> (*mMakeTrack)(const sp<MetaData>&);
88 sp<MediaSource> mSource;
89 sp<WebmElement> mTrackEntry;
90 sp<WebmFrameSourceThread> mThread;
91 LinkedBlockingQueue<const sp<WebmFrame> > mSink;
99 WebmStream(int type, const char *name, sp<WebmElement> (*makeTrack)(const sp<MetaDat argument
[all...]
/frameworks/base/core/java/android/text/method/
H A DPasswordTransformationMethod.java39 Spannable sp = (Spannable) source;
47 ViewReference[] vr = sp.getSpans(0, sp.length(),
50 sp.removeSpan(vr[i]);
53 removeVisibleSpans(sp);
55 sp.setSpan(new ViewReference(view), 0, 0,
78 Spannable sp = (Spannable) s;
79 ViewReference[] vr = sp.getSpans(0, s.length(),
104 removeVisibleSpans(sp);
107 sp
131 removeVisibleSpans(Spannable sp) argument
239 Visible(Spannable sp, PasswordTransformationMethod ptm) argument
[all...]
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
H A DCaptivePortalLoginActivity.java348 // dp/sp = (px/sp) / (px/dp) = (1/sp) / (1/dp)
407 // Convert Android scaled-pixels (sp) to HTML size.
408 private String sp(int sp) { argument
409 // Convert sp to dp's.
410 float dp = sp * mDpPerSp;
422 + "div.warn { font-size:" + sp(16) + "; margin-top:" + dp(16) + "; "
424 + "div.example { font-size:" + sp(1
[all...]
/frameworks/base/tests/JankBench/app/src/main/jni/
H A DBench.cpp225 void ** sp = (void **)mMemSrc; local
239 while ((sp[ni] != NULL) || (ni == lastIdx)) {
246 // __android_log_print(ANDROID_LOG_INFO, "bench", "gen ct = %i %i %i %p %p", (int)ct, lastIdx, ni, &sp[lastIdx], &sp[ni]);
247 sp[lastIdx] = &sp[ni];
250 sp[lastIdx] = 0;
257 volatile void *p = sp[0];
/frameworks/av/services/camera/libcameraservice/common/
H A DCamera2ClientBase.cpp47 const sp<CameraService>& cameraService,
48 const sp<TCamCallbacks>& remoteCallback,
83 status_t Camera2ClientBase<TClientBase>::initialize(sp<CameraProviderManager> manager,
162 sp<CameraDeviceBase> device = mDevice;
216 const sp<TCamCallbacks>& client) {
348 const sp<CameraDeviceBase>& Camera2ClientBase<TClientBase>::getCameraDevice() {
353 const sp<CameraService>& Camera2ClientBase<TClientBase>::getCameraService() {
374 const sp<TCamCallbacks>&client) :
382 const sp<TCamCallbacks>&client) {
373 SharedCameraCallbacks( const sp<TCamCallbacks>&client) argument
381 operator =( const sp<TCamCallbacks>&client) argument
/frameworks/base/packages/CaptivePortalLogin/src/com/android/captiveportallogin/
H A DCaptivePortalLoginActivity.java390 // dp/sp = (px/sp) / (px/dp) = (1/sp) / (1/dp)
452 // Convert Android scaled-pixels (sp) to HTML size.
453 private String sp(int sp) { argument
454 // Convert sp to dp's.
455 float dp = sp * mDpPerSp;
502 " font-size:" + sp(16) + ";",
508 " font-size:" + sp(1
[all...]
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DDnsManager.java298 public DnsManager(Context ctx, INetworkManagementService nms, MockableSystemProperties sp) { argument
302 mSystemProperties = sp;
/frameworks/av/media/libaudioprocessing/
H A DAudioResamplerFirGen.h472 double sp = 0; local
475 sc = static_cast<double>(*coef++) + dcos*sc - sp;
476 sp = tmp;
479 // again on the sc and sp sequences returned here.
480 accum += cc.valueAdvance() * sc - cp.valueAdvance() * sp;
/frameworks/native/libs/math/include/math/
H A DTMatHelpers.h567 T sp = std::sin(pitch); local
576 r[0][2] = -sp;
577 r[1][0] = sp * sc - cs;
578 r[1][1] = sp * ss + cc;
580 r[2][0] = sp * cc + ss;
581 r[2][1] = sp * cs - sc;
/frameworks/base/core/java/android/text/
H A DTextUtils.java684 Spanned sp = (Spanned) cs;
685 Object[] os = sp.getSpans(0, cs.length(), Object.class);
710 writeWhere(p, sp, o);
726 private static void writeWhere(Parcel p, Spanned sp, Object o) { argument
727 p.writeInt(sp.getSpanStart(o));
728 p.writeInt(sp.getSpanEnd(o));
729 p.writeInt(sp.getSpanFlags(o));
750 SpannableString sp = new SpannableString(string);
760 readSpan(p, sp, new AlignmentSpan.Standard(p));
764 readSpan(p, sp, ne
1064 readSpan(Parcel p, Spannable sp, Object o) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_util_Process.cpp173 SchedPolicy sp = (SchedPolicy) grp; local
174 int res = set_sched_policy(tid, sp);
183 SchedPolicy sp = (SchedPolicy) grp; local
184 int res = set_sched_policy(tid, sp);
190 res = set_cpuset_policy(tid, sp);
213 SchedPolicy sp = (SchedPolicy) grp; local
229 if (sp == SP_BACKGROUND) {
273 int err = set_cpuset_policy(t_pid, sp);
286 err = set_cpuset_policy(t_pid, sp);
293 err = set_sched_policy(t_pid, sp);
305 SchedPolicy sp; local
415 SchedPolicy sp; local
[all...]
/frameworks/opt/setupwizard/tools/docs/
H A Ddoclava.jar ... .IOException org.xml.sax.SAXException int sp int size java.io.Reader r org. ...
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 132 milliseconds