Home
last modified time | relevance | path

Searched refs:sp (Results 1 – 25 of 2394) sorted by relevance

12345678910>>...96

/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/utilities/
DAnimatedFloatExpression.java89 int eval(int sp); in eval() argument
101 int sp = -1; in eval() local
105 sp = mOps[fromNaN(v) - OFFSET].eval(sp); in eval()
107 mStack[++sp] = v; in eval()
110 return mStack[sp]; in eval()
124 int sp = -1; in eval() local
128 sp = mOps[fromNaN(v) - OFFSET].eval(sp); in eval()
130 mStack[++sp] = v; in eval()
133 return mStack[sp]; in eval()
145 int sp = -1; in evalDB() local
[all …]
/frameworks/rs/cpp/
DrsCppStructs.h449 sp<const Element> U8;
450 sp<const Element> U8_2;
451 sp<const Element> U8_3;
452 sp<const Element> U8_4;
453 sp<const Element> I8;
454 sp<const Element> I8_2;
455 sp<const Element> I8_3;
456 sp<const Element> I8_4;
457 sp<const Element> U16;
458 sp<const Element> U16_2;
[all …]
DScriptIntrinsics.cpp33 using android::RSC::sp;
35 ScriptIntrinsic::ScriptIntrinsic(sp<RS> rs, int id, sp<const Element> e) in ScriptIntrinsic()
46 sp<ScriptIntrinsic3DLUT> ScriptIntrinsic3DLUT::create(const sp<RS>& rs, const sp<const Element>& e)… in create()
54 ScriptIntrinsic3DLUT::ScriptIntrinsic3DLUT(sp<RS> rs, sp<const Element> e) in ScriptIntrinsic3DLUT()
58 void ScriptIntrinsic3DLUT::forEach(const sp<Allocation>& ain, const sp<Allocation>& aout) { in forEach()
66 void ScriptIntrinsic3DLUT::setLUT(const sp<Allocation>& lut) { in setLUT()
67 sp<const Type> t = lut->getType(); in setLUT()
80 sp<ScriptIntrinsicBlend> ScriptIntrinsicBlend::create(const sp<RS>& rs, const sp<const Element>& e)… in create()
88 ScriptIntrinsicBlend::ScriptIntrinsicBlend(sp<RS> rs, sp<const Element> e) in ScriptIntrinsicBlend()
92 void ScriptIntrinsicBlend::forEachClear(const sp<Allocation>& in, const sp<Allocation>& out) { in forEachClear()
[all …]
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/theme/typography/
DTypeScaleTokens.kt19 import androidx.compose.ui.unit.sp
23 val bodyLargeLineHeight = 24.0.sp
24 val bodyLargeSize = 16.sp
25 val bodyLargeTracking = 0.0.sp
28 val bodyMediumLineHeight = 20.0.sp
29 val bodyMediumSize = 14.sp
30 val bodyMediumTracking = 0.0.sp
33 val bodySmallLineHeight = 16.0.sp
34 val bodySmallSize = 12.sp
35 val bodySmallTracking = 0.1.sp
[all …]
/frameworks/native/libs/gui/include/gui/
DSurfaceComposerClient.h71 SurfaceControlStats(const sp<SurfaceControl>& sc, nsecs_t latchTime, in SurfaceControlStats()
72 std::variant<nsecs_t, sp<Fence>> acquireTimeOrFence, in SurfaceControlStats()
73 const sp<Fence>& presentFence, const sp<Fence>& prevReleaseFence, in SurfaceControlStats()
85 sp<SurfaceControl> surfaceControl;
87 std::variant<nsecs_t, sp<Fence>> acquireTimeOrFence = -1;
88 sp<Fence> presentFence;
89 sp<Fence> previousReleaseFence;
97 const sp<Fence>& /*presentFence*/,
100 std::function<void(nsecs_t /*latchTime*/, const sp<Fence>& /*presentFence*/,
103 std::function<void(const ReleaseCallbackId&, const sp<Fence>& /*releaseFence*/,
[all …]
DSurfaceControl.h50 static status_t readFromParcel(const Parcel& parcel, sp<SurfaceControl>* outSurfaceControl);
54 sp<SurfaceControl>* outSurfaceControl);
55 static status_t writeNullableToParcel(Parcel& parcel, const sp<SurfaceControl>& surfaceControl);
57 static bool isValid(const sp<SurfaceControl>& surface) { in isValid()
66 const sp<SurfaceControl>& lhs, const sp<SurfaceControl>& rhs);
75 const sp<SurfaceControl>& control, Parcel* parcel);
77 sp<Surface> getSurface();
78 sp<Surface> createSurface();
79 sp<IBinder> getHandle() const;
80 sp<IBinder> getLayerStateHandle() const;
[all …]
DStreamSplitter.h50 static status_t createSplitter(const sp<IGraphicBufferConsumer>& inputQueue,
51 sp<StreamSplitter>* outSplitter);
64 status_t addOutput(const sp<IGraphicBufferProducer>& outputQueue);
98 void onBufferReleasedByOutput(const sp<IGraphicBufferProducer>& from);
114 OutputListener(const sp<StreamSplitter>& splitter,
115 const sp<IGraphicBufferProducer>& output);
125 sp<StreamSplitter> mSplitter;
126 sp<IGraphicBufferProducer> mOutput;
131 explicit BufferTracker(const sp<GraphicBuffer>& buffer);
133 const sp<GraphicBuffer>& getBuffer() const { return mBuffer; } in getBuffer()
[all …]
/frameworks/rs/cpp/util/
DStrongPointer.h39 inline bool operator _op_ (const sp<T>& o) const { \
46 inline bool operator _op_ (const sp<U>& o) const { \
64 class sp
67 inline sp() : m_ptr(0) { } in sp() function
69 sp(T* other); // NOLINT, implicit
70 sp(const sp<T>& other);
71 template<typename U> sp(U* other); // NOLINT, implicit
72 template<typename U> sp(const sp<U>& other); // NOLINT, implicit
74 ~sp();
78 sp& operator = (T* other);
[all …]
/frameworks/av/media/libmediaplayerservice/nuplayer/include/nuplayer/
DNuPlayerDecoder.h29 Decoder(const sp<AMessage> &notify,
30 const sp<Source> &source,
33 const sp<Renderer> &renderer = NULL,
34 const sp<Surface> &surface = NULL,
35 const sp<CCDecoder> &ccDecoder = NULL);
37 virtual sp<AMessage> getStats();
40 virtual status_t setVideoSurface(const sp<Surface> &surface);
47 virtual void onMessageReceived(const sp<AMessage> &msg);
49 virtual void onConfigure(const sp<AMessage> &format);
50 virtual void onSetParameters(const sp<AMessage> &params);
[all …]
DNuPlayerDecoderPassThrough.h28 DecoderPassThrough(const sp<AMessage> &notify,
29 const sp<Source> &source,
30 const sp<Renderer> &renderer);
36 virtual void onMessageReceived(const sp<AMessage> &msg);
38 virtual void onConfigure(const sp<AMessage> &format);
39 virtual void onSetParameters(const sp<AMessage> &params);
40 virtual void onSetRenderer(const sp<Renderer> &renderer);
51 sp<Source> mSource;
52 sp<Renderer> mRenderer;
59 sp<ABuffer> mPendingAudioAccessUnit;
[all …]
DNuPlayer.h37 explicit NuPlayer(pid_t pid, const sp<MediaClock> &mediaClock);
43 void setDataSourceAsync(const sp<IStreamSource> &source);
46 const sp<IMediaHTTPService> &httpService,
52 void setDataSourceAsync(const sp<DataSource> &source);
62 const sp<IGraphicBufferProducer> &bufferProducer);
64 void setAudioSink(const sp<MediaPlayerBase::AudioSink> &sink);
92 void getStats(Vector<sp<AMessage> > *trackStats);
94 sp<MetaData> getFileMeta();
112 virtual void onMessageReceived(const sp<AMessage> &msg);
174 const sp<MediaClock> mMediaClock;
[all …]
/frameworks/native/libs/binder/
DRpcState.h69 [[nodiscard]] status_t readNewSessionResponse(const sp<RpcSession::RpcConnection>& connection,
70 const sp<RpcSession>& session, uint32_t* version);
71 [[nodiscard]] status_t sendConnectionInit(const sp<RpcSession::RpcConnection>& connection,
72 const sp<RpcSession>& session);
73 [[nodiscard]] status_t readConnectionInit(const sp<RpcSession::RpcConnection>& connection,
74 const sp<RpcSession>& session);
77 sp<IBinder> getRootObject(const sp<RpcSession::RpcConnection>& connection,
78 const sp<RpcSession>& session);
79 [[nodiscard]] status_t getMaxThreads(const sp<RpcSession::RpcConnection>& connection,
80 const sp<RpcSession>& session, size_t* maxThreadsOut);
[all …]
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/theme/
DSettingsTypography.kt26 import androidx.compose.ui.unit.sp
36 fontSize = 57.sp,
37 lineHeight = 64.sp,
38 letterSpacing = (-0.2).sp,
44 fontSize = 45.sp,
45 lineHeight = 52.sp,
46 letterSpacing = 0.0.sp,
52 fontSize = 36.sp,
53 lineHeight = 44.sp,
54 letterSpacing = 0.0.sp,
[all …]
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaCodec.h131 static sp<MediaCodec> CreateByType(
132 const sp<ALooper> &looper, const AString &mime, bool encoder, status_t *err = NULL,
135 static sp<MediaCodec> CreateByType(
136 const sp<ALooper> &looper, const AString &mime, bool encoder, status_t *err,
137 pid_t pid, uid_t uid, sp<AMessage> format);
139 static sp<MediaCodec> CreateByComponentName(
140 const sp<ALooper> &looper, const AString &name, status_t *err = NULL,
143 static sp<PersistentSurface> CreatePersistentInputSurface();
146 const sp<AMessage> &format,
147 const sp<Surface> &nativeWindow,
[all …]
DACodec.h68 void initiateSetup(const sp<AMessage> &msg);
71 virtual void initiateAllocateComponent(const sp<AMessage> &msg);
72 virtual void initiateConfigureComponent(const sp<AMessage> &msg);
74 virtual void initiateSetInputSurface(const sp<PersistentSurface> &surface);
86 virtual status_t setSurface(const sp<Surface> &surface, uint32_t /*generation*/);
91 virtual void signalSetParameters(const sp<AMessage> &msg);
96 virtual void onMessageReceived(const sp<AMessage> &msg) { in onMessageReceived()
206 sp<MediaCodecBuffer> mData; // the client's buffer; if not using data conversion, this is
208 sp<RefBase> mMemRef; // and a reference to the IMemory, so it does not go away
209 sp<MediaCodecBuffer> mCodecData; // the codec's buffer
[all …]
DMediaCodecSource.h41 static sp<MediaCodecSource> Create(
42 const sp<ALooper> &looper,
43 const sp<AMessage> &format,
44 const sp<MediaSource> &source,
45 const sp<PersistentSurface> &persistentSurface = NULL,
49 sp<IGraphicBufferProducer> getGraphicBufferProducer();
58 virtual sp<MetaData> getFormat();
70 void onMessageReceived(const sp<AMessage> &msg);
95 const sp<ALooper> &looper,
96 const sp<AMessage> &outputFormat,
[all …]
DMediaSync.h75 static sp<MediaSync> create();
79 status_t setSurface(const sp<IGraphicBufferProducer> &output);
83 status_t setAudioTrack(const sp<AudioTrack> &audioTrack);
89 status_t createInputSurface(sp<IGraphicBufferProducer> *outBufferProducer);
105 sp<const MediaClock> getMediaClock();
134 virtual void onMessageReceived(const sp<AMessage> &msg);
146 InputListener(const sp<MediaSync> &sync);
166 sp<MediaSync> mSync;
174 OutputListener(const sp<MediaSync> &sync, const sp<IGraphicBufferProducer> &output);
184 sp<MediaSync> mSync;
[all …]
/frameworks/native/services/inputflinger/tests/
DFocusResolver_test.cpp39 FakeWindowHandle(const std::string& name, const sp<IBinder>& token, bool focusable, in FakeWindowHandle()
58 sp<IBinder> focusableWindowToken = sp<BBinder>::make(); in TEST()
59 sp<IBinder> invisibleWindowToken = sp<BBinder>::make(); in TEST()
60 sp<IBinder> unfocusableWindowToken = sp<BBinder>::make(); in TEST()
61 std::vector<sp<WindowInfoHandle>> windows; in TEST()
62 windows.push_back(sp<FakeWindowHandle>::make("Focusable", focusableWindowToken, in TEST()
64 windows.push_back(sp<FakeWindowHandle>::make("Invisible", invisibleWindowToken, in TEST()
66 windows.push_back(sp<FakeWindowHandle>::make("unfocusable", unfocusableWindowToken, in TEST()
93 sp<IBinder> focusableWindowToken = sp<BBinder>::make(); in TEST()
94 std::vector<sp<WindowInfoHandle>> windows; in TEST()
[all …]
/frameworks/av/media/libstagefright/httplive/
DPlaylistFetcher.h58 const sp<AMessage> &notify,
59 const sp<LiveSession> &session,
67 const sp<AnotherPacketSource> &audioSource,
68 const sp<AnotherPacketSource> &videoSource,
69 const sp<AnotherPacketSource> &subtitleSource,
70 const sp<AnotherPacketSource> &metadataSource,
81 void resumeUntilAsync(const sp<AMessage> &params);
91 virtual void onMessageReceived(const sp<AMessage> &msg);
113 static bool bufferStartsWithTsSyncByte(const sp<ABuffer>& buffer);
114 static bool bufferStartsWithWebVTTMagicSequence(const sp<ABuffer>& buffer);
[all …]
/frameworks/av/media/libstagefright/include/
DACodecBufferChannel.h44 sp<MediaCodecBuffer> mBuffer;
50 const sp<MediaCodecBuffer> &buffer,
52 const sp<IMemory> &sharedEncryptedBuffer);
57 const sp<MediaCodecBuffer> mClientBuffer;
59 const sp<MediaCodecBuffer> mCodecBuffer;
63 const sp<IMemory> mSharedEncryptedBuffer;
67 const sp<AMessage> &inputBufferFilled, const sp<AMessage> &outputBufferDrained,
68 const sp<AMessage> &pollForRenderedBuffers);
72 void setCrypto(const sp<ICrypto> &crypto) override;
73 void setDescrambler(const sp<IDescrambler> &descrambler) override;
[all …]
DFrameDecoder.h45 const sp<MetaData> &trackMeta,
46 const sp<IMediaSource> &source);
50 sp<IMemory> extractFrame(FrameRect *rect = NULL);
52 static sp<IMemory> getMetadataOnly(
53 const sp<MetaData> &trackMeta, int colorFormat,
59 virtual sp<AMessage> onGetFormatAndSeekOptions(
63 sp<Surface> *window) = 0;
68 const sp<MediaCodecBuffer> &codecBuffer,
74 const sp<MediaCodecBuffer> &videoFrameBuffer,
75 const sp<AMessage> &outputFormat,
[all …]
/frameworks/av/media/module/mpeg2ts/include/mpeg2ts/
DESQueue.h69 sp<ABuffer> clearSizes, sp<ABuffer> encSizes);
74 sp<ABuffer> dequeueAccessUnit();
76 sp<MetaData> getFormat();
82 void signalNewSampleAesKey(const sp<AMessage> &keyItem);
97 sp<ABuffer> mClearSizes;
98 sp<ABuffer> mEncSizes;
105 sp<ABuffer> mBuffer;
108 sp<ABuffer> mScrambledBuffer;
113 sp<MetaData> mFormat;
115 sp<SampleDecryptor> mSampleDecryptor;
[all …]
/frameworks/native/libs/binder/tests/unit_fuzzers/
DBpBinderFuzzFunctions.h46 static const std::vector<std::function<void(FuzzedDataProvider*, const sp<BpBinder>&,
47 const sp<IBinder::DeathRecipient>&)>>
49 {[](FuzzedDataProvider* fdp, const sp<BpBinder>& bpbinder,
50 const sp<IBinder::DeathRecipient>& s_recipient) -> void {
62 [](FuzzedDataProvider* fdp, const sp<BpBinder>& bpbinder,
63 const sp<IBinder::DeathRecipient>&) -> void {
70 [](FuzzedDataProvider*, const sp<BpBinder>& bpbinder,
71 const sp<IBinder::DeathRecipient>&) -> void { bpbinder->remoteBinder(); },
72 [](FuzzedDataProvider*, const sp<BpBinder>& bpbinder,
73 const sp<IBinder::DeathRecipient>&) -> void {
[all …]
/frameworks/base/core/java/android/text/method/
DPasswordTransformationMethod.java41 Spannable sp = (Spannable) source; in getTransformation() local
49 ViewReference[] vr = sp.getSpans(0, sp.length(), in getTransformation()
52 sp.removeSpan(vr[i]); in getTransformation()
55 removeVisibleSpans(sp); in getTransformation()
57 sp.setSpan(new ViewReference(view), 0, 0, in getTransformation()
80 Spannable sp = (Spannable) s; in onTextChanged() local
81 ViewReference[] vr = sp.getSpans(0, s.length(), in onTextChanged()
106 removeVisibleSpans(sp); in onTextChanged()
109 sp.setSpan(new Visible(sp, this), start, start + count, in onTextChanged()
126 Spannable sp = (Spannable) sourceText; in onFocusChanged() local
[all …]
/frameworks/av/media/codec2/sfplugin/
DCCodecBuffers.h59 void setFormat(const sp<AMessage> &format);
64 sp<AMessage> dupFormat();
75 virtual void getArray(Vector<sp<MediaCodecBuffer>> *) const {} in getArray()
85 void handleImageData(const sp<Codec2Buffer> &buffer);
102 sp<AMessage> mFormat;
104 sp<ABuffer> mLastImageData;
105 sp<AMessage> mFormatWithImageData;
126 virtual bool requestNewBuffer(size_t *index, sp<MediaCodecBuffer> *buffer) = 0;
134 const sp<MediaCodecBuffer> &buffer,
165 sp<Codec2Buffer> cloneAndReleaseBuffer(const sp<MediaCodecBuffer> &buffer);
[all …]

12345678910>>...96