Home
last modified time | relevance | path

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

12345678910>>...37

/frameworks/rs/cpp/
DrsCppStructs.h163 sp<RS> mRS;
166 BaseObj(void *id, sp<RS> rs);
169 static void * getObjID(sp<const BaseObj> o);
182 android::sp<const Type> mType;
184 android::sp<Allocation> mAdaptedAllocation;
203 void updateCacheInfo(sp<const Type> t);
205 Allocation(void *id, sp<RS> rs, sp<const Type> t, uint32_t usage);
218 android::sp<const Type> getType() { in getType()
229 void copy1DRangeFrom(uint32_t off, size_t count, sp<const Allocation> data, uint32_t dataOff);
243 sp<const Allocation> data, uint32_t dataXoff, uint32_t dataYoff);
[all …]
DScriptIntrinsics.cpp26 ScriptIntrinsic::ScriptIntrinsic(sp<RS> rs, int id, sp<const Element> e) in ScriptIntrinsic()
31 ScriptIntrinsicBlend::ScriptIntrinsicBlend(sp<RS> rs, sp<const Element> e) in ScriptIntrinsicBlend()
36 void ScriptIntrinsicBlend::blendClear(sp<Allocation> in, sp<Allocation> out) { in blendClear()
40 void ScriptIntrinsicBlend::blendSrc(sp<Allocation> in, sp<Allocation> out) { in blendSrc()
44 void ScriptIntrinsicBlend::blendDst(sp<Allocation> in, sp<Allocation> out) { in blendDst()
48 void ScriptIntrinsicBlend::blendSrcOver(sp<Allocation> in, sp<Allocation> out) { in blendSrcOver()
52 void ScriptIntrinsicBlend::blendDstOver(sp<Allocation> in, sp<Allocation> out) { in blendDstOver()
56 void ScriptIntrinsicBlend::blendSrcIn(sp<Allocation> in, sp<Allocation> out) { in blendSrcIn()
60 void ScriptIntrinsicBlend::blendDstIn(sp<Allocation> in, sp<Allocation> out) { in blendDstIn()
64 void ScriptIntrinsicBlend::blendSrcOut(sp<Allocation> in, sp<Allocation> out) { in blendSrcOut()
[all …]
/frameworks/rs/server/
DStrongPointer.h37 inline bool operator _op_ (const sp<T>& o) const { \
44 inline bool operator _op_ (const sp<U>& o) const { \
62 class sp
65 inline sp() : m_ptr(0) { } in sp() function
67 sp(T* other);
68 sp(const sp<T>& other);
69 template<typename U> sp(U* other);
70 template<typename U> sp(const sp<U>& other);
72 ~sp();
76 sp& operator = (T* other);
[all …]
/frameworks/native/include/utils/
DStrongPointer.h37 inline bool operator _op_ (const sp<T>& o) const { \
44 inline bool operator _op_ (const sp<U>& o) const { \
62 class sp
65 inline sp() : m_ptr(0) { } in sp() function
67 sp(T* other);
68 sp(const sp<T>& other);
69 template<typename U> sp(U* other);
70 template<typename U> sp(const sp<U>& other);
72 ~sp();
76 sp& operator = (T* other);
[all …]
/frameworks/native/include/gui/
DSurfaceComposerClient.h59 sp<IBinder> connection() const;
65 status_t linkToComposerDeath(const sp<IBinder::DeathRecipient>& recipient,
69 static status_t getDisplayInfo(const sp<IBinder>& display, DisplayInfo* info);
72 static void blankDisplay(const sp<IBinder>& display);
75 static void unblankDisplay(const sp<IBinder>& display);
81 sp<SurfaceControl> createSurface(
90 static sp<IBinder> createDisplay(const String8& displayName, bool secure);
94 static sp<IBinder> getBuiltInDisplay(int32_t id);
112 status_t hide(const sp<IBinder>& id);
113 status_t show(const sp<IBinder>& id);
[all …]
/frameworks/av/include/media/stagefright/
DMediaCodec.h47 static sp<MediaCodec> CreateByType(
48 const sp<ALooper> &looper, const char *mime, bool encoder);
50 static sp<MediaCodec> CreateByComponentName(
51 const sp<ALooper> &looper, const char *name);
54 const sp<AMessage> &format,
55 const sp<Surface> &nativeWindow,
56 const sp<ICrypto> &crypto,
59 status_t createInputSurface(sp<IGraphicBufferProducer>* bufferProducer);
108 status_t getOutputFormat(sp<AMessage> *format) const;
110 status_t getInputBuffers(Vector<sp<ABuffer> > *buffers) const;
[all …]
DACodec.h54 void setNotificationMessage(const sp<AMessage> &msg);
55 void initiateSetup(const sp<AMessage> &msg);
60 void signalSetParameters(const sp<AMessage> &msg);
63 void initiateAllocateComponent(const sp<AMessage> &msg);
64 void initiateConfigureComponent(const sp<AMessage> &msg);
73 sp<ABuffer> bufferAt(size_t index) const;
79 Vector<sp<ABuffer> > mBuffers;
82 void addBuffer(IOMX::buffer_id id, const sp<ABuffer> &buffer);
142 sp<ABuffer> mData;
143 sp<GraphicBuffer> mGraphicBuffer;
[all …]
DCameraSource.h78 static CameraSource *CreateFromCamera(const sp<ICamera> &camera,
79 const sp<ICameraRecordingProxy> &proxy,
85 const sp<IGraphicBufferProducer>& surface,
110 virtual sp<MetaData> getFormat();
127 ProxyListener(const sp<CameraSource>& source);
129 const sp<IMemory> &data);
132 sp<CameraSource> mSource;
154 sp<Camera> mCamera;
155 sp<ICameraRecordingProxy> mCameraRecordingProxy;
156 sp<DeathNotifier> mDeathNotifier;
[all …]
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp77 /*static*/ sp<ISurfaceComposer> ComposerService::getComposerService() { in getComposerService()
132 const sp<SurfaceComposerClient>& client, const sp<IBinder>& id);
134 DisplayState& getDisplayStateLocked(const sp<IBinder>& token);
137 sp<IBinder> createDisplay(const String8& displayName, bool secure);
138 sp<IBinder> getBuiltInDisplay(int32_t id);
140 status_t setPosition(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id,
142 status_t setSize(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id,
144 status_t setLayer(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id,
146 status_t setFlags(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id,
149 const sp<SurfaceComposerClient>& client, const sp<IBinder>& id,
[all …]
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.h93 status_t postMessageAsync(const sp<MessageBase>& msg, nsecs_t reltime = 0,
97 status_t postMessageSync(const sp<MessageBase>& msg, nsecs_t reltime = 0,
104 sp<const DisplayDevice> getDefaultDisplayDevice() const { in getDefaultDisplayDevice()
122 const Vector< sp<Layer> >& getLayerSortedByZForHwcDisplay(int id);
137 class LayerVector : public SortedVector< sp<Layer> > {
151 sp<IGraphicBufferProducer> surface;
175 virtual sp<ISurfaceComposerClient> createConnection();
176 virtual sp<IGraphicBufferAlloc> createGraphicBufferAlloc();
177 virtual sp<IBinder> createDisplay(const String8& displayName, bool secure);
178 virtual sp<IBinder> getBuiltInDisplay(int32_t id);
[all …]
/frameworks/base/core/java/android/text/method/
DPasswordTransformationMethod.java40 Spannable sp = (Spannable) source; in getTransformation() local
48 ViewReference[] vr = sp.getSpans(0, sp.length(), in getTransformation()
51 sp.removeSpan(vr[i]); in getTransformation()
54 removeVisibleSpans(sp); in getTransformation()
56 sp.setSpan(new ViewReference(view), 0, 0, in getTransformation()
79 Spannable sp = (Spannable) s; in onTextChanged() local
80 ViewReference[] vr = sp.getSpans(0, s.length(), in onTextChanged()
105 removeVisibleSpans(sp); in onTextChanged()
108 sp.setSpan(new Visible(sp, this), start, start + count, in onTextChanged()
125 Spannable sp = (Spannable) sourceText; in onFocusChanged() local
[all …]
/frameworks/av/camera/
DCamera.cpp43 sp<Camera> Camera::create(const sp<ICamera>& camera) in create()
51 sp<Camera> c = new Camera(-1); in create()
71 sp<Camera> Camera::connect(int cameraId, const String16& clientPackageName, in connect()
80 sp <ICamera> c = mCamera; in reconnect()
87 sp <ICamera> c = mCamera; in lock()
94 sp <ICamera> c = mCamera; in unlock()
100 status_t Camera::setPreviewTexture(const sp<IGraphicBufferProducer>& bufferProducer) in setPreviewTexture()
103 sp <ICamera> c = mCamera; in setPreviewTexture()
113 sp <ICamera> c = mCamera; in startPreview()
122 sp <ICamera> c = mCamera; in storeMetaDataInBuffers()
[all …]
/frameworks/av/media/libstagefright/wifi-display/source/
DConverter.h37 const sp<AMessage> &notify,
38 const sp<ALooper> &codecLooper,
39 const sp<AMessage> &format,
46 sp<AMessage> getOutputFormat() const;
49 void feedAccessUnit(const sp<ABuffer> &accessUnit);
80 virtual void onMessageReceived(const sp<AMessage> &msg);
84 sp<AMessage> mNotify;
85 sp<ALooper> mCodecLooper;
86 sp<AMessage> mInputFormat;
89 sp<AMessage> mOutputFormat;
[all …]
DPlaybackSession.cpp56 Track(const sp<AMessage> &notify,
57 const sp<ALooper> &pullLooper,
58 const sp<ALooper> &codecLooper,
59 const sp<MediaPuller> &mediaPuller,
60 const sp<Converter> &converter);
62 Track(const sp<AMessage> &notify, const sp<AMessage> &format);
64 void setRepeaterSource(const sp<RepeaterSource> &source);
66 sp<AMessage> getFormat();
69 const sp<Converter> &converter() const;
70 const sp<RepeaterSource> &repeaterSource() const;
[all …]
DWifiDisplaySource.h40 const sp<ANetworkSession> &netSession,
41 const sp<IRemoteDisplayClient> &client,
52 virtual void onMessageReceived(const sp<AMessage> &msg);
99 int32_t sessionID, const sp<ParsedMessage> &msg);
118 sp<ANetworkSession> mNetSession;
119 sp<IRemoteDisplayClient> mClient;
145 sp<PlaybackSession> mPlaybackSession;
159 sp<IHDCP> mHDCP;
160 sp<HDCPObserver> mHDCPObserver;
187 int32_t sessionID, const sp<ParsedMessage> &msg);
[all …]
/frameworks/av/media/libstagefright/wifi-display/
DMediaSender.h49 const sp<ANetworkSession> &netSession,
50 const sp<AMessage> &notify);
52 status_t setHDCP(const sp<IHDCP> &hdcp);
57 ssize_t addTrack(const sp<AMessage> &format, uint32_t flags);
70 size_t trackIndex, const sp<ABuffer> &accessUnit);
73 virtual void onMessageReceived(const sp<AMessage> &msg);
88 sp<AMessage> mFormat;
90 sp<RTPSender> mSender;
91 List<sp<ABuffer> > mAccessUnits;
96 sp<ANetworkSession> mNetSession;
[all …]
/frameworks/av/services/audioflinger/
DThreads.h34 ThreadBase(const sp<AudioFlinger>& audioFlinger, audio_io_handle_t id,
152 sp<EffectHandle> createEffect_l(
153 const sp<AudioFlinger::Client>& client,
154 const sp<IEffectClient>& effectClient,
160 void disconnectEffect(const sp< EffectModule>& effect,
173 sp<EffectChain> getEffectChain(int sessionId);
175 sp<EffectChain> getEffectChain_l(int sessionId) const;
177 virtual status_t addEffectChain_l(const sp<EffectChain>& chain) = 0;
179 virtual size_t removeEffectChain_l(const sp<EffectChain>& chain) = 0;
184 void lockEffectChains_l(Vector< sp<EffectChain> >& effectChains);
[all …]
/frameworks/base/services/input/
DInputManager.h70 virtual sp<InputReaderInterface> getReader() = 0;
73 virtual sp<InputDispatcherInterface> getDispatcher() = 0;
82 const sp<EventHubInterface>& eventHub,
83 const sp<InputReaderPolicyInterface>& readerPolicy,
84 const sp<InputDispatcherPolicyInterface>& dispatcherPolicy);
88 const sp<InputReaderInterface>& reader,
89 const sp<InputDispatcherInterface>& dispatcher);
94 virtual sp<InputReaderInterface> getReader();
95 virtual sp<InputDispatcherInterface> getDispatcher();
98 sp<InputReaderInterface> mReader;
[all …]
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoder.h30 Decoder(const sp<AMessage> &notify,
31 const sp<NativeWindowWrapper> &nativeWindow = NULL);
33 void configure(const sp<AMessage> &format);
42 virtual void onMessageReceived(const sp<AMessage> &msg);
49 sp<AMessage> mNotify;
50 sp<NativeWindowWrapper> mNativeWindow;
52 sp<ACodec> mCodec;
53 sp<ALooper> mCodecLooper;
55 Vector<sp<ABuffer> > mCSD;
58 sp<AMessage> makeFormat(const sp<MetaData> &meta);
[all …]
DRTSPSource.h36 const sp<AMessage> &notify,
51 virtual status_t dequeueAccessUnit(bool audio, sp<ABuffer> *accessUnit);
56 void onMessageReceived(const sp<AMessage> &msg);
61 virtual sp<MetaData> getFormatMeta(bool audio);
83 sp<AnotherPacketSource> mSource;
102 sp<ALooper> mLooper;
103 sp<AHandlerReflector<RTSPSource> > mReflector;
104 sp<MyHandler> mHandler;
105 sp<SDPLoader> mSDPLoader;
108 sp<AnotherPacketSource> mAudioTrack;
[all …]
/frameworks/av/services/camera/libcameraservice/
DCameraClient.h37 virtual status_t connect(const sp<ICameraClient>& client);
40 virtual status_t setPreviewDisplay(const sp<Surface>& surface);
41 virtual status_t setPreviewTexture(const sp<IGraphicBufferProducer>& bufferProducer);
50 virtual void releaseRecordingFrame(const sp<IMemory>& mem);
59 CameraClient(const sp<CameraService>& cameraService,
60 const sp<ICameraClient>& cameraClient,
97 static void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr,
99 …static void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory…
102 void handlePreviewData(int32_t msgType, const sp<IMemory>& mem,
104 void handlePostview(const sp<IMemory>& mem);
[all …]
DCameraService.h73 virtual sp<ICamera> connect(const sp<ICameraClient>& cameraClient, int cameraId,
75 virtual sp<IProCameraUser> connect(const sp<IProCameraCallbacks>& cameraCb,
78 virtual status_t addListener(const sp<ICameraServiceListener>& listener);
80 const sp<ICameraServiceListener>& listener);
123 BasicClient(const sp<CameraService>& cameraService,
124 const sp<IBinder>& remoteCallback,
141 sp<CameraService> mCameraService; // immutable after constructor
171 sp<OpsCallback> mOpsCallback;
187 virtual status_t connect(const sp<ICameraClient>& client) = 0;
190 virtual status_t setPreviewDisplay(const sp<Surface>& surface) = 0;
[all …]
/frameworks/av/media/libstagefright/rtsp/
DARTSPConnection.h32 sp<ABuffer> mContent;
38 void connect(const char *url, const sp<AMessage> &reply);
39 void disconnect(const sp<AMessage> &reply);
41 void sendRequest(const char *request, const sp<AMessage> &reply);
43 void observeBinaryData(const sp<AMessage> &reply);
51 virtual void onMessageReceived(const sp<AMessage> &msg);
90 KeyedVector<int32_t, sp<AMessage> > mPendingRequests;
92 sp<AMessage> mObserveBinaryMessage;
96 void onConnect(const sp<AMessage> &msg);
97 void onDisconnect(const sp<AMessage> &msg);
[all …]
/frameworks/av/services/camera/libcameraservice/camera2/
DCaptureSequencer.h68 void onCaptureAvailable(nsecs_t timestamp, sp<MemoryBase> captureBuffer);
94 sp<MemoryBase> mCaptureBuffer;
109 sp<BurstCapture> mBurstCapture;
131 typedef CaptureState (CaptureSequencer::*StateManager)(sp<Camera2Client> &client);
147 CaptureState manageIdle(sp<Camera2Client> &client);
148 CaptureState manageStart(sp<Camera2Client> &client);
150 CaptureState manageZslStart(sp<Camera2Client> &client);
151 CaptureState manageZslWaiting(sp<Camera2Client> &client);
152 CaptureState manageZslReprocessing(sp<Camera2Client> &client);
154 CaptureState manageStandardStart(sp<Camera2Client> &client);
[all …]
/frameworks/wilhelm/src/android/
Dandroid_GenericMediaPlayer.h63 MediaPlayerDeathNotifier(const sp<MediaPlayerNotificationClient> playerClient) : in MediaPlayerDeathNotifier()
75 const sp<MediaPlayerNotificationClient> mPlayerClient;
92 virtual void setVideoSurfaceTexture(const sp<IGraphicBufferProducer> &bufferProducer);
103 virtual void onSeek(const sp<AMessage> &msg);
104 virtual void onLoop(const sp<AMessage> &msg);
107 virtual void onBufferingUpdate(const sp<AMessage> &msg);
108 virtual void onAttachAuxEffect(const sp<AMessage> &msg);
109 virtual void onSetAuxEffectSendLevel(const sp<AMessage> &msg);
114 sp<IGraphicBufferProducer> mVideoSurfaceTexture;
117 sp<IMediaPlayer> mPlayer;
[all …]

12345678910>>...37