Home
last modified time | relevance | path

Searched refs:Builder (Results 1 – 25 of 287) sorted by relevance

12345678910>>...12

/frameworks/support/v4/java/android/support/v4/app/
DNotificationCompat.java82 public Notification build(Builder b); in build()
86 public Notification build(Builder b) { in build()
99 public Notification build(Builder b) { in build()
107 public Notification build(Builder b) { in build()
116 public Notification build(Builder b) { in build()
184 public static class Builder { class in NotificationCompat
217 public Builder(Context context) { in Builder() method in NotificationCompat.Builder
230 public Builder setWhen(long when) { in setWhen()
246 public Builder setUsesChronometer(boolean b) { in setUsesChronometer()
258 public Builder setSmallIcon(int icon) { in setSmallIcon()
[all …]
/frameworks/compile/libbcc/lib/Renderscript/
DRSForEachExpand.cpp216 llvm::IRBuilder<> Builder(Begin); in createEmptyExpandedFunction() local
217 Builder.CreateRetVoid(); in createEmptyExpandedFunction()
239 llvm::BasicBlock *createLoop(llvm::IRBuilder<> &Builder, in createLoop() argument
249 CondBB = Builder.GetInsertBlock(); in createLoop()
250 AfterBB = llvm::SplitBlock(CondBB, Builder.GetInsertPoint(), this); in createLoop()
258 Builder.SetInsertPoint(CondBB); in createLoop()
259 Cond = Builder.CreateICmpULT(LowerBound, UpperBound); in createLoop()
260 Builder.CreateCondBr(Cond, HeaderBB, AfterBB); in createLoop()
268 Builder.SetInsertPoint(HeaderBB); in createLoop()
269 IV = Builder.CreatePHI(LowerBound->getType(), 2, "X"); in createLoop()
[all …]
/frameworks/base/core/java/android/app/
DAlertDialog.java352 public static class Builder { class in AlertDialog
359 public Builder(Context context) { in Builder() method in AlertDialog.Builder
374 public Builder(Context context, int theme) { in Builder() method in AlertDialog.Builder
397 public Builder setTitle(int titleId) { in setTitle()
407 public Builder setTitle(CharSequence title) { in setTitle()
423 public Builder setCustomTitle(View customTitleView) { in setCustomTitle()
433 public Builder setMessage(int messageId) { in setMessage()
443 public Builder setMessage(CharSequence message) { in setMessage()
453 public Builder setIcon(int iconId) { in setIcon()
463 public Builder setIcon(Drawable icon) { in setIcon()
[all …]
/frameworks/base/graphics/java/android/renderscript/
DProgramRaster.java88 ProgramRaster.Builder builder = new ProgramRaster.Builder(rs); in CULL_BACK()
100 ProgramRaster.Builder builder = new ProgramRaster.Builder(rs); in CULL_FRONT()
112 ProgramRaster.Builder builder = new ProgramRaster.Builder(rs); in CULL_NONE()
122 public static class Builder { class in ProgramRaster
130 public Builder(RenderScript rs) { in Builder() method in ProgramRaster.Builder
139 public Builder setPointSpriteEnabled(boolean enable) { in setPointSpriteEnabled()
147 public Builder setCullMode(CullMode m) { in setCullMode()
DSampler.java112 Builder b = new Builder(rs); in CLAMP_NEAREST()
132 Builder b = new Builder(rs); in CLAMP_LINEAR()
152 Builder b = new Builder(rs); in CLAMP_LINEAR_MIP_LINEAR()
172 Builder b = new Builder(rs); in WRAP_NEAREST()
192 Builder b = new Builder(rs); in WRAP_LINEAR()
212 Builder b = new Builder(rs); in WRAP_LINEAR_MIP_LINEAR()
232 Builder b = new Builder(rs); in MIRRORED_REPEAT_NEAREST()
252 Builder b = new Builder(rs); in MIRRORED_REPEAT_LINEAR()
272 Builder b = new Builder(rs); in MIRRORED_REPEAT_LINEAR_MIP_LINEAR()
286 public static class Builder { class in Sampler
[all …]
DProgramStore.java240 ProgramStore.Builder builder = new ProgramStore.Builder(rs); in BLEND_NONE_DEPTH_TEST()
261 ProgramStore.Builder builder = new ProgramStore.Builder(rs); in BLEND_NONE_DEPTH_NONE()
285 ProgramStore.Builder builder = new ProgramStore.Builder(rs); in BLEND_ALPHA_DEPTH_TEST()
307 ProgramStore.Builder builder = new ProgramStore.Builder(rs); in BLEND_ALPHA_DEPTH_NONE()
322 public static class Builder { class in ProgramStore
334 public Builder(RenderScript rs) { in Builder() method in ProgramStore.Builder
353 public Builder setDepthFunc(DepthFunc func) { in setDepthFunc()
366 public Builder setDepthMaskEnabled(boolean enable) { in setDepthMaskEnabled()
381 public Builder setColorMaskEnabled(boolean r, boolean g, boolean b, boolean a) { in setColorMaskEnabled()
400 public Builder setBlendFunc(BlendSrcFunc src, BlendDstFunc dst) { in setBlendFunc()
[all …]
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DSampler.java114 Builder b = new Builder(rs); in CLAMP_NEAREST()
134 Builder b = new Builder(rs); in CLAMP_LINEAR()
154 Builder b = new Builder(rs); in CLAMP_LINEAR_MIP_LINEAR()
174 Builder b = new Builder(rs); in WRAP_NEAREST()
194 Builder b = new Builder(rs); in WRAP_LINEAR()
214 Builder b = new Builder(rs); in WRAP_LINEAR_MIP_LINEAR()
234 Builder b = new Builder(rs); in MIRRORED_REPEAT_NEAREST()
254 Builder b = new Builder(rs); in MIRRORED_REPEAT_LINEAR()
268 public static class Builder { class in Sampler
277 public Builder(RenderScript rs) { in Builder() method in Sampler.Builder
[all …]
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/
DEngineParameters.java100 public static class Builder { class in EngineParameters
118 public Builder maxPlayBufferCount(int maxPlayBufferCount) { in maxPlayBufferCount()
123 public Builder windowDuration(int windowDuration) { in windowDuration()
128 public Builder windowOverlapDuration(int windowOverlapDuration) { in windowOverlapDuration()
133 public Builder initialRate(float initialRate) { in initialRate()
138 public Builder decodeBufferInitialSize(int decodeBufferInitialSize) { in decodeBufferInitialSize()
143 public Builder decodeBufferMaxSize(int decodeBufferMaxSize) { in decodeBufferMaxSize()
148 public Builder startPositionMillis(int startPositionMillis) { in startPositionMillis()
153 public Builder audioStreamType(int audioStreamType) { in audioStreamType()
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaRouteDescriptor.java234 public static final class Builder { class in MediaRouteDescriptor
244 public Builder(String id, String name) { in Builder() method in MediaRouteDescriptor.Builder
254 public Builder(MediaRouteDescriptor descriptor) { in Builder() method in MediaRouteDescriptor.Builder
275 public Builder setId(String id) { in setId()
287 public Builder setName(String name) { in setName()
299 public Builder setDescription(String description) { in setDescription()
311 public Builder setEnabled(boolean enabled) { in setEnabled()
320 public Builder setConnecting(boolean connecting) { in setConnecting()
328 public Builder addControlFilter(IntentFilter filter) { in addControlFilter()
345 public Builder addControlFilters(Collection<IntentFilter> filters) { in addControlFilters()
[all …]
DMediaItemStatus.java313 public static final class Builder { class in MediaItemStatus
322 public Builder(int playbackState) { in Builder() method in MediaItemStatus.Builder
332 public Builder(MediaItemStatus status) { in Builder() method in MediaItemStatus.Builder
344 public Builder setTimestamp(long elapsedRealtimeTimestamp) { in setTimestamp()
352 public Builder setPlaybackState(int playbackState) { in setPlaybackState()
361 public Builder setContentPosition(long positionMilliseconds) { in setContentPosition()
370 public Builder setContentDuration(long durationMilliseconds) { in setContentDuration()
380 public Builder setExtras(Bundle extras) { in setExtras()
DMediaSessionStatus.java175 public static final class Builder { class in MediaSessionStatus
184 public Builder(int sessionState) { in Builder() method in MediaSessionStatus.Builder
194 public Builder(MediaSessionStatus status) { in Builder() method in MediaSessionStatus.Builder
206 public Builder setTimestamp(long elapsedRealtimeTimestamp) { in setTimestamp()
214 public Builder setSessionState(int sessionState) { in setSessionState()
222 public Builder setQueuePaused(boolean queuePaused) { in setQueuePaused()
232 public Builder setExtras(Bundle extras) { in setExtras()
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
DVertexShader.java33 public static class Builder { class in VertexShader
35 ProgramVertex.Builder mBuilder;
37 public Builder(RenderScriptGL rs) { in Builder() method in VertexShader.Builder
39 mBuilder = new ProgramVertex.Builder(rs); in Builder()
42 public Builder setShader(Resources resources, int resourceID) { in setShader()
47 public Builder setShader(String code) { in setShader()
52 public Builder setObjectConst(Type type) { in setObjectConst()
57 public Builder setShaderConst(Type type) { in setShaderConst()
62 public Builder addInput(Element e) { in addInput()
DFragmentShader.java26 import android.renderscript.ProgramFragment.Builder;
36 public static class Builder { class in FragmentShader
39 ProgramFragment.Builder mBuilder;
41 public Builder(RenderScriptGL rs) { in Builder() method in FragmentShader.Builder
43 mBuilder = new ProgramFragment.Builder(rs); in Builder()
46 public Builder setShader(Resources resources, int resourceID) { in setShader()
51 public Builder setShader(String code) { in setShader()
56 public Builder setObjectConst(Type type) { in setObjectConst()
61 public Builder setShaderConst(Type type) { in setShaderConst()
66 public Builder addShaderTexture(Program.TextureType texType, String name) { in addShaderTexture()
[all …]
/frameworks/base/core/java/android/content/
DSyncRequest.java200 protected SyncRequest(SyncRequest.Builder b) { in SyncRequest()
206 mIsPeriodic = (b.mSyncType == Builder.SYNC_TYPE_PERIODIC); in SyncRequest()
207 mIsAuthority = (b.mSyncTarget == Builder.SYNC_TARGET_ADAPTER); in SyncRequest()
222 public static class Builder { class in SyncRequest
301 public Builder() { in Builder() method in SyncRequest.Builder
312 public Builder syncOnce() { in syncOnce()
358 public Builder syncPeriodic(long pollFrequency, long beforeSeconds) { in syncPeriodic()
385 public Builder setTransferSize(long rxBytes, long txBytes) { in setTransferSize()
396 public Builder setDisallowMetered(boolean disallow) { in setDisallowMetered()
407 public Builder setSyncAdapter(Account account, String authority) { in setSyncAdapter()
[all …]
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/
DFBOTestRS.java26 import android.renderscript.Type.Builder;
79 ProgramStore.Builder b = new ProgramStore.Builder(mRS); in initPFS()
90 Sampler.Builder bs = new Sampler.Builder(mRS); in initPF()
97 ProgramFragmentFixedFunction.Builder b = new ProgramFragmentFixedFunction.Builder(mRS); in initPF()
98 b.setTexture(ProgramFragmentFixedFunction.Builder.EnvMode.REPLACE, in initPF()
99 ProgramFragmentFixedFunction.Builder.Format.RGBA, 0); in initPF()
107 ProgramVertexFixedFunction.Builder pvb = new ProgramVertexFixedFunction.Builder(mRS); in initPV()
175 Type.Builder b = new Type.Builder(mRS, Element.RGBA_8888(mRS)); in initRS()
183 b = new Type.Builder(mRS, in initRS()
DFBOSyncRS.java26 import android.renderscript.Type.Builder;
80 ProgramStore.Builder b = new ProgramStore.Builder(mRS); in initPFS()
91 Sampler.Builder bs = new Sampler.Builder(mRS); in initPF()
98 ProgramFragmentFixedFunction.Builder b = new ProgramFragmentFixedFunction.Builder(mRS); in initPF()
99 b.setTexture(ProgramFragmentFixedFunction.Builder.EnvMode.REPLACE, in initPF()
100 ProgramFragmentFixedFunction.Builder.Format.RGBA, 0); in initPF()
108 ProgramVertexFixedFunction.Builder pvb = new ProgramVertexFixedFunction.Builder(mRS); in initPV()
176 Type.Builder b = new Type.Builder(mRS, Element.RGBA_8888(mRS)); in initRS()
191 b = new Type.Builder(mRS, in initRS()
/frameworks/ex/common/java/com/android/common/content/
DProjectionMap.java28 public static class Builder { class in ProjectionMap
32 public Builder add(String column) { in add()
37 public Builder add(String alias, String expression) { in add()
42 public Builder addAll(String[] columns) { in addAll()
49 public Builder addAll(ProjectionMap map) { in addAll()
68 public static Builder builder() { in builder()
69 return new Builder(); in builder()
/frameworks/base/core/java/android/net/
DVpnService.java255 public class Builder { class in VpnService
261 public Builder() { in Builder() method in VpnService.Builder
270 public Builder setSession(String session) { in setSession()
280 public Builder setConfigureIntent(PendingIntent intent) { in setConfigureIntent()
292 public Builder setMtu(int mtu) { in setMtu()
327 public Builder addAddress(InetAddress address, int prefixLength) { in addAddress()
345 public Builder addAddress(String address, int prefixLength) { in addAddress()
355 public Builder addRoute(InetAddress address, int prefixLength) { in addRoute()
379 public Builder addRoute(String address, int prefixLength) { in addRoute()
390 public Builder addDnsServer(InetAddress address) { in addDnsServer()
[all …]
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/
DShadersTestRS.java36 import android.renderscript.Type.Builder;
86 ProgramStore.Builder b = new ProgramStore.Builder(mRS); in initPFS()
103 ProgramFragmentFixedFunction.Builder b = new ProgramFragmentFixedFunction.Builder(mRS); in initPF()
104 b.setTexture(ProgramFragmentFixedFunction.Builder.EnvMode.REPLACE, in initPF()
105 ProgramFragmentFixedFunction.Builder.Format.RGBA, 0); in initPF()
113 ProgramFragment.Builder fs; in initPF()
115 fs = new ProgramFragment.Builder(mRS); in initPF()
125 ProgramVertexFixedFunction.Builder pvb = new ProgramVertexFixedFunction.Builder(mRS); in initPV()
189 Builder b; in initBuffers()
190 b = new Builder(mRS, Element.RGBA_8888(mRS)); in initBuffers()
[all …]
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
DTorusTest.java163 ProgramVertex.Builder pvbCustom = new ProgramVertex.Builder(mRS); in initCustomShaders()
174 ProgramFragment.Builder pfbCustom = new ProgramFragment.Builder(mRS); in initCustomShaders()
185 pvbCustom = new ProgramVertex.Builder(mRS); in initCustomShaders()
192 pvbCustom = new ProgramVertex.Builder(mRS); in initCustomShaders()
199 pfbCustom = new ProgramFragment.Builder(mRS); in initCustomShaders()
206 pfbCustom = new ProgramFragment.Builder(mRS); in initCustomShaders()
213 … ProgramFragmentFixedFunction.Builder colBuilder = new ProgramFragmentFixedFunction.Builder(mRS); in initCustomShaders()
217 … ProgramFragmentFixedFunction.Builder texBuilder = new ProgramFragmentFixedFunction.Builder(mRS); in initCustomShaders()
218 texBuilder.setTexture(ProgramFragmentFixedFunction.Builder.EnvMode.REPLACE, in initCustomShaders()
219 ProgramFragmentFixedFunction.Builder.Format.RGBA, 0); in initCustomShaders()
[all …]
DUiTest.java211 … ProgramFragmentFixedFunction.Builder colBuilder = new ProgramFragmentFixedFunction.Builder(mRS); in initUiScript()
213 … ProgramFragmentFixedFunction.Builder texBuilder = new ProgramFragmentFixedFunction.Builder(mRS); in initUiScript()
214 texBuilder.setTexture(ProgramFragmentFixedFunction.Builder.EnvMode.REPLACE, in initUiScript()
215 ProgramFragmentFixedFunction.Builder.Format.RGBA, 0); in initUiScript()
217 ProgramVertexFixedFunction.Builder pvb = new ProgramVertexFixedFunction.Builder(mRS); in initUiScript()
238 ProgramStore.Builder psb = new ProgramStore.Builder(mRS); in initUiScript()
246 … ProgramFragmentFixedFunction.Builder builder = new ProgramFragmentFixedFunction.Builder(mRS); in initUiScript()
247 builder.setTexture(ProgramFragmentFixedFunction.Builder.EnvMode.REPLACE, in initUiScript()
248 ProgramFragmentFixedFunction.Builder.Format.RGB, 0); in initUiScript()
253 builder = new ProgramFragmentFixedFunction.Builder(mRS); in initUiScript()
[all …]
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/
DRsRenderStatesRS.java132 ProgramStore.Builder builder = new ProgramStore.Builder(rs); in BLEND_ADD_DEPTH_NONE()
176 ProgramStore.Builder builder = new ProgramStore.Builder(mRS); in initProgramStore()
194 … ProgramFragmentFixedFunction.Builder texBuilder = new ProgramFragmentFixedFunction.Builder(mRS); in initProgramFragment()
195 texBuilder.setTexture(ProgramFragmentFixedFunction.Builder.EnvMode.REPLACE, in initProgramFragment()
196 ProgramFragmentFixedFunction.Builder.Format.RGBA, 0); in initProgramFragment()
200 … ProgramFragmentFixedFunction.Builder colBuilder = new ProgramFragmentFixedFunction.Builder(mRS); in initProgramFragment()
209 ProgramVertexFixedFunction.Builder pvb = new ProgramVertexFixedFunction.Builder(mRS); in initProgramVertex()
233 ProgramVertex.Builder pvbCustom = new ProgramVertex.Builder(mRS); in initCustomShaders()
244 ProgramFragment.Builder pfbCustom = new ProgramFragment.Builder(mRS); in initCustomShaders()
255 pvbCustom = new ProgramVertex.Builder(mRS); in initCustomShaders()
[all …]
/frameworks/rs/cpp/
DType.cpp118 Type::Builder::Builder(sp<RS> rs, sp<const Element> e) { in Builder() function in Type::Builder
128 void Type::Builder::setX(uint32_t value) { in setX()
135 void Type::Builder::setY(uint32_t value) { in setY()
142 void Type::Builder::setZ(uint32_t value) { in setZ()
149 void Type::Builder::setYuvFormat(RSYuvFormat format) { in setYuvFormat()
163 void Type::Builder::setMipmaps(bool value) { in setMipmaps()
167 void Type::Builder::setFaces(bool value) { in setFaces()
171 sp<const Type> Type::Builder::create() { in create()
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
DSimpleModelRS.java78 ProgramStore.Builder b = new ProgramStore.Builder(mRS); in initPFS()
89 Sampler.Builder bs = new Sampler.Builder(mRS); in initPF()
96 ProgramFragmentFixedFunction.Builder b = new ProgramFragmentFixedFunction.Builder(mRS); in initPF()
97 b.setTexture(ProgramFragmentFixedFunction.Builder.EnvMode.REPLACE, in initPF()
98 ProgramFragmentFixedFunction.Builder.Format.RGBA, 0); in initPF()
106 ProgramVertexFixedFunction.Builder pvb = new ProgramVertexFixedFunction.Builder(mRS); in initPV()
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipProfile.java79 public static class Builder { class in SipProfile
98 public Builder(SipProfile profile) { in Builder() method in SipProfile.Builder
119 public Builder(String uriString) throws ParseException { in Builder() method in SipProfile.Builder
141 public Builder(String username, String serverDomain) in Builder() method in SipProfile.Builder
163 public Builder setAuthUserName(String name) { in setAuthUserName()
174 public Builder setProfileName(String name) { in setProfileName()
185 public Builder setPassword(String password) { in setPassword()
197 public Builder setPort(int port) throws IllegalArgumentException { in setPort()
213 public Builder setProtocol(String protocol) in setProtocol()
233 public Builder setOutboundProxy(String outboundProxy) { in setOutboundProxy()
[all …]

12345678910>>...12