Home
last modified time | relevance | path

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

123456789

/frameworks/compile/libbcc/lib/Renderscript/
DRSForEachExpand.cpp260 llvm::IRBuilder<> Builder(Begin); in ExpandFunction() local
263 llvm::AllocaInst *AX = Builder.CreateAlloca(Int32Ty, 0, "AX"); in ExpandFunction()
264 Builder.CreateStore(Arg_x1, AX); in ExpandFunction()
274 AIn = Builder.CreateAlloca(InTy, 0, "AIn"); in ExpandFunction()
277 Builder.CreateStore(Builder.CreatePointerCast(Builder.CreateLoad( in ExpandFunction()
278 Builder.CreateStructGEP(Arg_p, 0)), InTy), AIn); in ExpandFunction()
286 AOut = Builder.CreateAlloca(OutTy, 0, "AOut"); in ExpandFunction()
289 Builder.CreateStore(Builder.CreatePointerCast(Builder.CreateLoad( in ExpandFunction()
290 Builder.CreateStructGEP(Arg_p, 1)), OutTy), AOut); in ExpandFunction()
297 UsrData = Builder.CreatePointerCast(Builder.CreateLoad( in ExpandFunction()
[all …]
/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()
182 public static class Builder { class in NotificationCompat
215 public Builder(Context context) { in Builder() method in NotificationCompat.Builder
228 public Builder setWhen(long when) { in setWhen()
244 public Builder setUsesChronometer(boolean b) { in setUsesChronometer()
256 public Builder setSmallIcon(int icon) { in setSmallIcon()
[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.java87 ProgramRaster.Builder builder = new ProgramRaster.Builder(rs); in CULL_BACK()
99 ProgramRaster.Builder builder = new ProgramRaster.Builder(rs); in CULL_FRONT()
111 ProgramRaster.Builder builder = new ProgramRaster.Builder(rs); in CULL_NONE()
121 public static class Builder { class in ProgramRaster
129 public Builder(RenderScript rs) { in Builder() method in ProgramRaster.Builder
138 public Builder setPointSpriteEnabled(boolean enable) { in setPointSpriteEnabled()
146 public Builder setCullMode(CullMode m) { in setCullMode()
DProgramStore.java239 ProgramStore.Builder builder = new ProgramStore.Builder(rs); in BLEND_NONE_DEPTH_TEST()
260 ProgramStore.Builder builder = new ProgramStore.Builder(rs); in BLEND_NONE_DEPTH_NONE()
284 ProgramStore.Builder builder = new ProgramStore.Builder(rs); in BLEND_ALPHA_DEPTH_TEST()
306 ProgramStore.Builder builder = new ProgramStore.Builder(rs); in BLEND_ALPHA_DEPTH_NONE()
321 public static class Builder { class in ProgramStore
333 public Builder(RenderScript rs) { in Builder() method in ProgramStore.Builder
352 public Builder setDepthFunc(DepthFunc func) { in setDepthFunc()
365 public Builder setDepthMaskEnabled(boolean enable) { in setDepthMaskEnabled()
380 public Builder setColorMaskEnabled(boolean r, boolean g, boolean b, boolean a) { in setColorMaskEnabled()
399 public Builder setBlendFunc(BlendSrcFunc src, BlendDstFunc dst) { in setBlendFunc()
[all …]
DSampler.java106 Builder b = new Builder(rs); in CLAMP_NEAREST()
126 Builder b = new Builder(rs); in CLAMP_LINEAR()
146 Builder b = new Builder(rs); in CLAMP_LINEAR_MIP_LINEAR()
166 Builder b = new Builder(rs); in WRAP_NEAREST()
186 Builder b = new Builder(rs); in WRAP_LINEAR()
206 Builder b = new Builder(rs); in WRAP_LINEAR_MIP_LINEAR()
222 public static class Builder { class in Sampler
231 public Builder(RenderScript rs) { in Builder() method in Sampler.Builder
DProgramVertexFixedFunction.java113 public static class Builder { class in ProgramVertexFixedFunction
124 public Builder(RenderScript rs) { in Builder() method in ProgramVertexFixedFunction.Builder
134 public Builder setTextureMatrixEnable(boolean enable) { in setTextureMatrixEnable()
139 Element.Builder b = new Element.Builder(rs); in getConstantInputType()
145 Type.Builder typeBuilder = new Type.Builder(rs, b.create()); in getConstantInputType()
183 Element.Builder b = new Element.Builder(mRS); in create()
222 Type constInputType = ProgramVertexFixedFunction.Builder.getConstantInputType(rs); in Constants()
/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/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 …]
DSceneManager.java91 Type.Builder b = new Type.Builder(rs, Element.RGBA_8888(rs)); in getDefault()
194 ProgramStore.Builder builder = new ProgramStore.Builder(rs); in BLEND_ADD_DEPTH_NONE()
302 Element.Builder b = new Element.Builder(rs); in getDefaultVS()
304 Type.Builder objConstBuilder = new Type.Builder(rs, b.create()); in getDefaultVS()
306 b = new Element.Builder(rs); in getDefaultVS()
308 Type.Builder shaderConstBuilder = new Type.Builder(rs, b.create()); in getDefaultVS()
310 b = new Element.Builder(rs); in getDefaultVS()
331 VertexShader.Builder sb = new VertexShader.Builder(rs); in getDefaultVS()
348 Element.Builder b = new Element.Builder(rs); in getColorFS()
350 Type.Builder objConstBuilder = new Type.Builder(rs, b.create()); in getColorFS()
[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/support/renderscript/v8/java/src/android/support/v8/renderscript/
DSampler.java106 Builder b = new Builder(rs); in CLAMP_NEAREST()
126 Builder b = new Builder(rs); in CLAMP_LINEAR()
146 Builder b = new Builder(rs); in CLAMP_LINEAR_MIP_LINEAR()
166 Builder b = new Builder(rs); in WRAP_NEAREST()
186 Builder b = new Builder(rs); in WRAP_LINEAR()
206 Builder b = new Builder(rs); in WRAP_LINEAR_MIP_LINEAR()
222 public static class Builder { class in Sampler
231 public Builder(RenderScript rs) { in Builder() method in Sampler.Builder
/frameworks/base/core/java/android/net/
DVpnService.java253 public class Builder { class in VpnService
259 public Builder() { in Builder() method in VpnService.Builder
268 public Builder setSession(String session) { in setSession()
278 public Builder setConfigureIntent(PendingIntent intent) { in setConfigureIntent()
290 public Builder setMtu(int mtu) { in setMtu()
325 public Builder addAddress(InetAddress address, int prefixLength) { in addAddress()
344 public Builder addAddress(String address, int prefixLength) { in addAddress()
354 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/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/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.cpp99 Type::Builder::Builder(RenderScript *rs, sp<const Element> e) { in Builder() function in Type::Builder
109 void Type::Builder::setX(uint32_t value) { in setX()
116 void Type::Builder::setY(int value) { in setY()
123 void Type::Builder::setMipmaps(bool value) { in setMipmaps()
127 void Type::Builder::setFaces(bool value) { in setFaces()
131 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/base/voip/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 …]
/frameworks/base/core/java/android/content/
DContentProviderOperation.java56 private ContentProviderOperation(Builder builder) { in ContentProviderOperation()
141 public static Builder newInsert(Uri uri) { in newInsert()
142 return new Builder(TYPE_INSERT, uri); in newInsert()
150 public static Builder newUpdate(Uri uri) { in newUpdate()
151 return new Builder(TYPE_UPDATE, uri); in newUpdate()
159 public static Builder newDelete(Uri uri) { in newDelete()
160 return new Builder(TYPE_DELETE, uri); in newDelete()
168 public static Builder newAssertQuery(Uri uri) { in newAssertQuery()
169 return new Builder(TYPE_ASSERT, uri); in newAssertQuery()
401 public static class Builder { class in ContentProviderOperation
[all …]
/frameworks/base/tests/RenderScriptTests/Balls/src/com/example/android/rs/balls/
DBallsRS.java53 ProgramVertex.Builder sb = new ProgramVertex.Builder(mRS); in createProgramVertex()
79 ProgramStore.Builder builder = new ProgramStore.Builder(rs); in BLEND_ADD_DEPTH_NONE()
91 ProgramFragmentFixedFunction.Builder pfb = new ProgramFragmentFixedFunction.Builder(rs); in init()
93 pfb.setTexture(ProgramFragmentFixedFunction.Builder.EnvMode.MODULATE, in init()
94 ProgramFragmentFixedFunction.Builder.Format.RGBA, 0); in init()
98 pfb = new ProgramFragmentFixedFunction.Builder(rs); in init()

123456789