Home
last modified time | relevance | path

Searched refs:new (Results 1 – 25 of 1048) sorted by relevance

12345678910>>...42

/frameworks/compile/slang/tests/P_reduce_general_accumulator/
DScriptC_reduce_general_accumulator.java.expect49 int[] outArray = new int[1];
85 throw new RSIllegalArgumentException("Array \"in1\" is null!");
92 result.mTempIns = new Allocation[]{ain1};
105 throw new RSRuntimeException("Type mismatch with I32!");
109 reduce(mExportReduceIdx_my_half, new Allocation[]{ain1}, aout, sc);
110 return new result_int(aout);
118 throw new RSIllegalArgumentException("Array \"in1\" is null!");
125 result.mTempIns = new Allocation[]{ain1};
138 throw new RSRuntimeException("Type mismatch with I32!");
142 reduce(mExportReduceIdx_my_half2, new Allocation[]{ain1}, aout, sc);
[all …]
/frameworks/compile/slang/tests/P_reduce_general_input/
DScriptC_reduce_general_input.java.expect117 int[] outArray = new int[1];
153 throw new RSIllegalArgumentException("Array \"in1\" is null!");
160 result.mTempIns = new Allocation[]{ain1};
173 throw new RSRuntimeException("Type mismatch with F16!");
177 reduce(mExportReduceIdx_my_half_0, new Allocation[]{ain1}, aout, sc);
178 return new result_int(aout);
186 throw new RSIllegalArgumentException("Array \"in1\" is null!");
193 result.mTempIns = new Allocation[]{ain1};
206 throw new RSRuntimeException("Type mismatch with F16!");
210 reduce(mExportReduceIdx_my_half_1, new Allocation[]{ain1}, aout, sc);
[all …]
DScriptField_MyStruct.java.expect43 …private static java.lang.ref.WeakReference<Element> mElementCache = new java.lang.ref.WeakReferenc…
45 Element.Builder eb = new Element.Builder(rs);
73 ScriptField_MyStruct obj = new ScriptField_MyStruct(rs);
87 ScriptField_MyStruct obj = new ScriptField_MyStruct(rs);
88 Type.Builder b = new Type.Builder(rs, obj.mElement);
98 return new Type.Builder(rs, e);
102 ScriptField_MyStruct obj = new ScriptField_MyStruct(rs);
105 … throw new RSIllegalArgumentException("Type.Builder did not match expected element type.");
118 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co…
124 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
[all …]
/frameworks/support/buildSrc/
DstudioCompat.gradle33 new ApiModule("donut",4),
34 new ApiModule("eclair",5),
35 new ApiModule("eclair-mr1", 7),
36 new ApiModule("froyo",8),
37 new ApiModule("gingerbread",9),
38 new ApiModule("honeycomb",11),
39 new ApiModule("honeycomb_mr1",12),
40 new ApiModule("honeycomb_mr2",13),
41 new ApiModule("ics",14),
42 new ApiModule("ics-mr1",15),
[all …]
/frameworks/support/
Dsettings.gradle3 project(':support-annotations').projectDir = new File(rootDir, 'annotations')
6 project(':support-v4').projectDir = new File(rootDir, 'v4')
9 project(':support-appcompat-v7').projectDir = new File(rootDir, 'v7/appcompat')
12 project(':support-gridlayout-v7').projectDir = new File(rootDir, 'v7/gridlayout')
15 project(':support-mediarouter-v7').projectDir = new File(rootDir, 'v7/mediarouter')
18 project(':support-palette-v7').projectDir = new File(rootDir, 'v7/palette')
21 project(':support-recyclerview-v7').projectDir = new File(rootDir, 'v7/recyclerview')
24 project(':support-cardview-v7').projectDir = new File(rootDir, 'v7/cardview')
27 project(':support-preference-v7').projectDir = new File(rootDir, 'v7/preference')
30 project(':support-preference-v14').projectDir = new File(rootDir, 'v14/preference')
[all …]
/frameworks/compile/slang/tests/P_reduce_general_inputs/
DScriptC_reduce_general_inputs.java.expect89 int[] outArray = new int[1];
126 throw new RSIllegalArgumentException("Array \"in1\" is null!");
133 throw new RSIllegalArgumentException("Array \"in2\" is null!");
137 … throw new RSRuntimeException("Array length mismatch between parameters \"in1\" and \"in2\"!");
144 result.mTempIns = new Allocation[]{ain1, ain2};
160 throw new RSRuntimeException("Type mismatch with F16!");
164 throw new RSRuntimeException("Type mismatch with F16!");
175 throw new RSRuntimeException("Dimension mismatch between parameters ain1 and ain2!");
180 reduce(mExportReduceIdx_my_half_half_0, new Allocation[]{ain1, ain2}, aout, sc);
181 return new result_int(aout);
[all …]
DScriptField_MyStruct.java.expect43 …private static java.lang.ref.WeakReference<Element> mElementCache = new java.lang.ref.WeakReferenc…
45 Element.Builder eb = new Element.Builder(rs);
73 ScriptField_MyStruct obj = new ScriptField_MyStruct(rs);
87 ScriptField_MyStruct obj = new ScriptField_MyStruct(rs);
88 Type.Builder b = new Type.Builder(rs, obj.mElement);
98 return new Type.Builder(rs, e);
102 ScriptField_MyStruct obj = new ScriptField_MyStruct(rs);
105 … throw new RSIllegalArgumentException("Type.Builder did not match expected element type.");
118 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co…
124 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
[all …]
/frameworks/compile/slang/tests/P_reduce_general_result/
DScriptC_reduce_general_result.java.expect115 byte[] outArray = new byte[7];
117 boolean[] result = new boolean[7];
156 byte[] outArray = new byte[7];
192 byte[] outArray = new byte[14];
194 Byte2[] result = new Byte2[7];
196 result[Idx] = new Byte2(outArray[2*Idx+0], outArray[2*Idx+1]);
233 byte[] outArray = new byte[28];
235 Byte4[] result = new Byte4[7];
237 …result[Idx] = new Byte4(outArray[4*Idx+0], outArray[4*Idx+1], outArray[4*Idx+2], outArray[4*Idx+3]…
274 double[] outArray = new double[7];
[all …]
DScriptField_MyStruct.java.expect43 …private static java.lang.ref.WeakReference<Element> mElementCache = new java.lang.ref.WeakReferenc…
45 Element.Builder eb = new Element.Builder(rs);
73 ScriptField_MyStruct obj = new ScriptField_MyStruct(rs);
87 ScriptField_MyStruct obj = new ScriptField_MyStruct(rs);
88 Type.Builder b = new Type.Builder(rs, obj.mElement);
98 return new Type.Builder(rs, e);
102 ScriptField_MyStruct obj = new ScriptField_MyStruct(rs);
105 … throw new RSIllegalArgumentException("Type.Builder did not match expected element type.");
118 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co…
124 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
[all …]
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/
DScriptC_reduce_general_examples_backward.java.expect57 int[] outArray = new int[256];
59 long[] result = new long[256];
98 float[] outArray = new float[1];
134 int[] outArray = new int[1];
170 int[] outArray = new int[2];
172 mResult = new Int2(outArray[0], outArray[1]);
206 throw new RSIllegalArgumentException("Array \"in1\" is null!");
213 result.mTempIns = new Allocation[]{ain1};
226 throw new RSRuntimeException("Type mismatch with I32!");
230 reduce(mExportReduceIdx_addint, new Allocation[]{ain1}, aout, sc);
[all …]
/frameworks/compile/slang/tests/P_reduce_general_examples/
DScriptC_reduce_general_examples.java.expect57 int[] outArray = new int[256];
59 long[] result = new long[256];
98 float[] outArray = new float[1];
134 int[] outArray = new int[1];
170 int[] outArray = new int[2];
172 mResult = new Int2(outArray[0], outArray[1]);
206 throw new RSIllegalArgumentException("Array \"in1\" is null!");
213 result.mTempIns = new Allocation[]{ain1};
226 throw new RSRuntimeException("Type mismatch with I32!");
230 reduce(mExportReduceIdx_addint, new Allocation[]{ain1}, aout, sc);
[all …]
/frameworks/compile/slang/tests/P_reduce_general_examples_explicit/
DScriptC_reduce_general_examples_explicit.java.expect55 int[] outArray = new int[256];
57 long[] result = new long[256];
96 float[] outArray = new float[1];
132 int[] outArray = new int[1];
168 throw new RSIllegalArgumentException("Array \"in1\" is null!");
175 result.mTempIns = new Allocation[]{ain1};
188 throw new RSRuntimeException("Type mismatch with I32!");
192 reduce(mExportReduceIdx_addint_init, new Allocation[]{ain1}, aout, sc);
193 return new result_int(aout);
201 throw new RSIllegalArgumentException("Array \"in1\" is null!");
[all …]
/frameworks/opt/setupwizard/tools/gradle/
Dsettings.gradle2 project(':setup-wizard-lib').projectDir = new File(rootDir, 'frameworks/opt/setupwizard/library')
5 File supportLibsRoot = new File(rootDir, "prebuilts/fullsdk/linux/platforms/android-22/support")
7 supportLibsRoot = new File(rootDir, "prebuilts/fullsdk/darwin/platforms/android-22/support")
11 project(':support-v4').projectDir = new File(supportLibsRoot, 'v4')
14 project(':support-appcompat-v7').projectDir = new File(supportLibsRoot, 'appcompat')
17 project(':support-recyclerview-v7').projectDir = new File(supportLibsRoot, 'recyclerview')
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPolicyConfig.h109 mDefaultOutputDevices = new DeviceDescriptor(AUDIO_DEVICE_OUT_SPEAKER); in setDefault()
111 sp<DeviceDescriptor> defaultInputDevice = new DeviceDescriptor(AUDIO_DEVICE_IN_BUILTIN_MIC); in setDefault()
115 module = new HwModule("primary"); in setDefault()
118 outProfile = new OutputProfile(String8("primary")); in setDefault()
121 new AudioProfile(AUDIO_FORMAT_PCM_16_BIT, AUDIO_CHANNEL_OUT_STEREO, 44100)); in setDefault()
127 inProfile = new InputProfile(String8("primary")); in setDefault()
130 new AudioProfile(AUDIO_FORMAT_PCM_16_BIT, AUDIO_CHANNEL_IN_MONO, 8000)); in setDefault()
/frameworks/data-binding/developmentPlugins/localizeMavenPlugin/src/main/groovy/android/databinding/
DLocalizeDependenciesTask.groovy45 private Set<String> ids = new HashSet<>();
47 private Set<String> fetchTestDependencies = new HashSet<>();
50 private Set<String> wildCard = new HashSet<>();
55 List<Artifact> artifactsToResolve = new LinkedList<>();
57 Set<String> resolvedArtifacts = new HashSet<>();
59 Set<String> failed = new HashSet<>();
61 HashMap<String, Object> licenses = new HashMap<>();
63 Set<String> missingLicenses = new HashSet<>();
86 throw new RuntimeException("Missing licenses for $missingLicenses")
88 println("List of new licenses:")
[all …]
/frameworks/compile/slang/tests/P_reduce_general_examples_halter/
DScriptC_reduce_general_examples_halter.java.expect51 int[] outArray = new int[1];
87 int[] outArray = new int[2];
89 mResult = new Int2(outArray[0], outArray[1]);
123 throw new RSIllegalArgumentException("Array \"in1\" is null!");
130 result.mTempIns = new Allocation[]{ain1};
143 throw new RSRuntimeException("Type mismatch with I32!");
147 reduce(mExportReduceIdx_fz, new Allocation[]{ain1}, aout, sc);
148 return new result_int(aout);
156 throw new RSIllegalArgumentException("Array \"in1\" is null!");
163 result.mTempIns = new Allocation[]{ain1};
[all …]
/frameworks/base/docs/html-intl/intl/ja/training/tv/playback/
Ddetails.jd87 ClassPresenterSelector selector = new ClassPresenterSelector();
90 new DetailsOverviewRowPresenter(new DetailsDescriptionPresenter());
94 new ListRowPresenter());
95 mRowsAdapter = new ArrayObjectAdapter(selector);
98 DetailsOverviewRow detailsOverview = new DetailsOverviewRow(
103 detailsOverview.addAction(new Action(1, "Buy $9.99"));
104 detailsOverview.addAction(new Action(2, "Rent $2.99"));
108 ArrayObjectAdapter listRowAdapter = new ArrayObjectAdapter(
109 new StringPresenter());
113 HeaderItem header = new HeaderItem(0, "Related Items", null);
[all …]
Dbrowse.jd98 TextView textView = new TextView(parent.getContext());
103 return new ViewHolder(textView);
132 mRowsAdapter = new ArrayObjectAdapter(new ListRowPresenter());
135 ArrayObjectAdapter listRowAdapter = new ArrayObjectAdapter(
136 new StringPresenter());
140 HeaderItem header = new HeaderItem(i, "Category " + i, null);
141 mRowsAdapter.add(new ListRow(header, listRowAdapter));
178 return new OnItemViewSelectedListener() {
/frameworks/compile/slang/tests/P_reduce_general_duplicate_array/
DScriptC_reduce_general_duplicate_array.java.expect49 int[] outArray = new int[4];
85 throw new RSIllegalArgumentException("Array \"in1\" is null!");
92 result.mTempIns = new Allocation[]{ain1};
105 throw new RSRuntimeException("Type mismatch with I32!");
109 reduce(mExportReduceIdx_sumDec, new Allocation[]{ain1}, aout, sc);
110 return new resultArray4_int(aout);
118 throw new RSIllegalArgumentException("Array \"in1\" is null!");
125 result.mTempIns = new Allocation[]{ain1};
138 throw new RSRuntimeException("Type mismatch with I32!");
142 reduce(mExportReduceIdx_sumInc, new Allocation[]{ain1}, aout, sc);
[all …]
/frameworks/av/media/libstagefright/rtsp/
DMyTransmitter.h81 mConn(new ARTSPConnection), in MyTransmitter()
104 sp<AMessage> reply = new AMessage('conn', this); in MyTransmitter()
111 sp<MediaSource> source = new VideoSource(width, height); in MyTransmitter()
113 sp<AMessage> encMeta = new AMessage; in MyTransmitter()
121 sp<ALooper> encLooper = new ALooper; in MyTransmitter()
235 sp<AMessage> reply = new AMessage('anno', this); in issueAnnounce()
356 (new AMessage('quit', this))->post(); in onMessageReceived()
387 (new AMessage('quit', this))->post(); in onMessageReceived()
397 (new AMessage('quit', this))->post(); in onMessageReceived()
420 sp<AMessage> reply = new AMessage('setu', this); in onMessageReceived()
[all …]
DMyHandler.h121 mNetLooper(new ALooper), in mNotify()
122 mConn(new ARTSPConnection(mUIDValid, mUID)), in mNotify()
123 mRTPConn(new ARTPConnection), in mNotify()
177 sp<AMessage> notify = new AMessage('biny', this); in connect()
180 sp<AMessage> reply = new AMessage('conn', this); in connect()
188 sp<AMessage> notify = new AMessage('biny', this); in loadSDP()
191 sp<AMessage> reply = new AMessage('sdpl', this); in loadSDP()
218 (new AMessage('abor', this))->post(); in disconnect()
222 sp<AMessage> msg = new AMessage('seek', this); in seek()
229 sp<AMessage> msg = new AMessage('see1', this); in continueSeekAfterPause()
[all …]
/frameworks/data-binding/
Dsettings.gradle2 project(':dataBinding:baseLibrary').projectDir = new File("baseLibrary")
4 project(':dataBinding:compiler').projectDir = new File("compiler")
6 project(':dataBinding:compilationTests').projectDir = new File("compilationTests")
8 project(':dataBinding:compilerCommon').projectDir = new File("compilerCommon")
/frameworks/native/libs/gui/tests/
DSurfaceTextureGL.h42 mST = new GLConsumer(mConsumer, TEX_ID, GLConsumer::TEXTURE_EXTERNAL, in SetUp()
44 mSTC = new Surface(producer); in SetUp()
46 mTextureRenderer = new TextureRenderer(TEX_ID, mST); in SetUp()
48 mFW = new FrameWaiter; in SetUp()
/frameworks/base/docs/html/guide/topics/graphics/
Dindex.jd15 <p>Earlier this year, Android 3.0 launched with a new 2D rendering pipeline designed to
16 support hardware acceleration on tablets. With this new pipeline, all drawing operations performed
24 <p>This new animation system makes it easy to animate any kind of property on any object,
25 including the new properties added to the View class in 3.0. In the 3.1 release, we added a small
32 <p>Hardware accelerated graphics is nothing new to the Android platform, it has always been
33 used for windows composition or OpenGL games for instance, but with this new rendering pipeline
/frameworks/base/docs/html/training/tv/playback/
Dcard.jd54 mRowsAdapter = new ArrayObjectAdapter(new ListRowPresenter());
55 CardPresenter cardPresenter = new CardPresenter();
60 ArrayObjectAdapter listRowAdapter = new ArrayObjectAdapter(cardPresenter);
66 HeaderItem header = new HeaderItem(i, entry.getKey(), null);
68 mRowsAdapter.add(new ListRow(header, listRowAdapter));
71 HeaderItem gridHeader = new HeaderItem(i, getString(R.string.more_samples),
74 GridItemPresenter gridPresenter = new GridItemPresenter();
75 ArrayObjectAdapter gridRowAdapter = new ArrayObjectAdapter(gridPresenter);
79 mRowsAdapter.add(new ListRow(gridHeader, gridRowAdapter));
124 ImageCardView cardView = new ImageCardView(mContext) {
[all …]

12345678910>>...42