Searched refs:id (Results 201 - 225 of 1021) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/speech/srec/
H A DWaveHeader.java210 private static void readId(InputStream in, String id) throws IOException { argument
211 for (int i = 0; i < id.length(); i++) {
212 if (id.charAt(i) != in.read()) throw new IOException( id + " tag not present");
253 private static void writeId(OutputStream out, String id) throws IOException { argument
254 for (int i = 0; i < id.length(); i++) out.write(id.charAt(i));
/frameworks/base/core/tests/coretests/src/android/view/
H A DVisibilityCallbackTest.java50 mRefUp = (TextView) a.findViewById(R.id.refUp);
51 mRefDown = (TextView) a.findViewById(R.id.refDown);
52 mVictim = (VisibilityCallback.MonitoredTextView) a.findViewById(R.id.victim);
53 mParent = (ViewGroup) a.findViewById(R.id.parent);
54 mVisible = (Button) a.findViewById(R.id.vis);
55 mInvisible = (Button) a.findViewById(R.id.invis);
56 mGone = (Button) a.findViewById(R.id.gone);
H A DDrawableBgMinSizeTest.java61 mChangeBackgroundsButton = (Button) a.findViewById(R.id.change_backgrounds);
64 mTextView = (TextView) a.findViewById(R.id.text_view);
65 mLinearLayout = (LinearLayout) a.findViewById(R.id.linear_layout);
66 mRelativeLayout = (RelativeLayout) a.findViewById(R.id.relative_layout);
67 mFrameLayout = (FrameLayout) a.findViewById(R.id.frame_layout);
68 mAbsoluteLayout = (AbsoluteLayout) a.findViewById(R.id.absolute_layout);
H A DVisibilityTest.java51 mRefUp = (TextView) a.findViewById(R.id.refUp);
52 mRefDown = (TextView) a.findViewById(R.id.refDown);
53 mVictim = (TextView) a.findViewById(R.id.victim);
54 mVisible = (Button) a.findViewById(R.id.vis);
55 mInvisible = (Button) a.findViewById(R.id.invis);
56 mGone = (Button) a.findViewById(R.id.gone);
/frameworks/base/graphics/java/android/renderscript/
H A DFont.java154 Font(int id, RenderScript rs) { argument
155 super(id, rs);
201 static public Font createFromResource(RenderScript rs, Resources res, int id, float pointSize) { argument
202 String name = "R." + Integer.toString(id);
207 is = res.openRawResource(id);
209 throw new RSRuntimeException("Unable to open resource " + id);
223 throw new RSRuntimeException("Unable to create font from resource " + id);
H A DProgramStore.java84 DepthFunc(int id) { argument
85 mID = id;
109 BlendSrcFunc(int id) { argument
110 mID = id;
134 BlendDstFunc(int id) { argument
135 mID = id;
149 ProgramStore(int id, RenderScript rs) { argument
150 super(id, rs);
424 int id = mRS.nProgramStoreCreate(mColorMaskR, mColorMaskG, mColorMaskB, mColorMaskA,
427 ProgramStore programStore = new ProgramStore(id, mR
[all...]
H A DScriptIntrinsicBlend.java24 ScriptIntrinsicBlend(int id, RenderScript rs) { argument
25 super(id, rs);
38 int id = rs.nScriptIntrinsicCreate(7, e.getID(rs));
39 return new ScriptIntrinsicBlend(id, rs);
43 private void blend(int id, Allocation ain, Allocation aout) { argument
50 forEach(id, ain, aout, null);
H A DType.java77 CubemapFace(int id) { argument
78 mID = id;
193 Type(int id, RenderScript rs) { argument
194 super(id, rs);
339 int id = mRS.nTypeCreate(mElement.getID(mRS),
341 Type t = new Type(id, mRS);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DViewLayerInvalidationActivity.java52 container = (LinearLayout) findViewById(R.id.container);
53 final LinearLayout container1 = (LinearLayout) findViewById(R.id.container1);
54 final LinearLayout container2 = (LinearLayout) findViewById(R.id.container2);
55 final LinearLayout container3 = (LinearLayout) findViewById(R.id.container3);
56 nestedStatusTV = (TextView) findViewById(R.id.nestedStatus);
57 invalidateStatusTV = (TextView) findViewById(R.id.invalidateStatus);
58 final TextView tva = (TextView) findViewById(R.id.textviewa);
H A DViewLayersActivity.java42 setupList(R.id.list1);
43 setupList(R.id.list2);
44 setupList(R.id.list3);
49 final View leftList = findViewById(R.id.list1);
50 final View middleList = findViewById(R.id.list2);
51 final View rightList = findViewById(R.id.list3);
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
H A DLoginActivity.java43 View container = (View) findViewById(R.id.container);
57 slider.addTransition(new Slide().addTarget(R.id.retype).addTarget(R.id.retypeEdit));
58 slider.addTransition(new Recolor().addTarget(R.id.password).
59 addTarget(R.id.passwordEdit));
67 Transition colorizer = new Recolor().addTarget(R.id.password).
68 addTarget(R.id.passwordEdit);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DMenuWrapperICS.java95 public void removeItem(int id) { argument
96 internalRemoveItem(id);
97 mWrappedObject.removeItem(id);
133 public MenuItem findItem(int id) { argument
134 return getMenuItemWrapper(mWrappedObject.findItem(id));
163 public boolean performIdentifierAction(int id, int flags) { argument
164 return mWrappedObject.performIdentifierAction(id, flags);
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Device.h63 Camera3Device(int id);
92 int *id);
95 int *id);
100 int *id,
102 virtual status_t createReprocessStreamFromStream(int outputId, int *id);
104 virtual status_t getStreamInfo(int id,
106 virtual status_t setStreamTransform(int id, int transform);
108 virtual status_t deleteStream(int id);
109 virtual status_t deleteReprocessStream(int id);
121 virtual status_t triggerAutofocus(uint32_t id);
472 InFlightRequest(int id, int numBuffers) argument
[all...]
/frameworks/ex/carousel/test/src/com/android/carouseltest/
H A DTaskSwitcherActivity.java68 int id; field in class:TaskSwitcherActivity.ActivityDescription
83 id = _id;
93 id = -1;
97 private ActivityDescription findActivityDescription(int id) { argument
100 if (item != null && item.id == id) {
119 public DetailTextureParameters getDetailTextureParameters(int id) { argument
173 public void newThumbnail(final int id, final Bitmap bitmap, CharSequence description)
177 Log.v(TAG, "New thumbnail for id=" + id
[all...]
/frameworks/base/core/java/android/os/storage/
H A DIMountService.java252 public int createSecureContainer(String id, int sizeMb, String fstype, String key, argument
259 _data.writeString(id);
280 public int destroySecureContainer(String id, boolean force) throws RemoteException { argument
286 _data.writeString(id);
303 public int finalizeSecureContainer(String id) throws RemoteException { argument
309 _data.writeString(id);
324 public int mountSecureContainer(String id, String key, int ownerUid) argument
331 _data.writeString(id);
348 public int unmountSecureContainer(String id, boolean force) throws RemoteException { argument
354 _data.writeString(id);
369 isSecureContainerMounted(String id) argument
411 getSecureContainerPath(String id) argument
699 getSecureContainerFilesystemPath(String id) argument
720 fixPermissionsSecureContainer(String id, int gid, String filename) argument
1193 createSecureContainer(String id, int sizeMb, String fstype, String key, int ownerUid, boolean external) argument
1201 destroySecureContainer(String id, boolean force) argument
1208 finalizeSecureContainer(String id) argument
1235 getSecureContainerPath(String id) argument
1256 isSecureContainerMounted(String id) argument
1281 mountSecureContainer(String id, String key, int ownerUid) argument
1325 unmountSecureContainer(String id, boolean force) argument
1404 fixPermissionsSecureContainer(String id, int gid, String filename) argument
[all...]
/frameworks/av/media/libstagefright/
H A DTimedEventQueue.cpp149 TimedEventQueue::event_id *id = local
152 if (event->eventID() != *id) {
156 *id = 0;
161 bool TimedEventQueue::cancelEvent(event_id id) { argument
162 if (id == 0) {
166 cancelEvents(&MatchesEventID, &id, true /* stopAfterFirstMatch */);
168 // if MatchesEventID found a match, it will have set id to 0
171 return id == 0;
282 // The event w/ this id may have been cancelled while we're
302 event_id id, boo
301 removeEventFromQueue_l( event_id id, bool *wakeLocked) argument
[all...]
/frameworks/base/media/lib/java/com/android/media/remotedisplay/
H A DRemoteDisplayProvider.java237 * @throws IllegalStateException if there is already a display with the same id.
274 * Finds the remote display with the specified id, returns null if not found.
276 * @param id Id of the remote display.
279 public RemoteDisplay findRemoteDisplay(String id) { argument
280 return mDisplays.get(id);
340 public void connect(String id) { argument
341 mHandler.obtainMessage(MSG_CONNECT, id).sendToTarget();
345 public void disconnect(String id) { argument
346 mHandler.obtainMessage(MSG_DISCONNECT, id).sendToTarget();
350 public void setVolume(String id, in argument
355 adjustVolume(String id, int delta) argument
[all...]
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A DManualActivity.java106 mSoftwareView = (MainView) findViewById(R.id.software_view);
111 mCompareImageView = (ImageView) findViewById(R.id.compare_image_view);
117 mErrorTextView = (TextView) findViewById(R.id.current_error);
118 ((ImageButton) findViewById(R.id.next)).setOnClickListener(new OnClickListener() {
126 ((ImageButton) findViewById(R.id.previous)).setOnClickListener(new OnClickListener() {
134 ((Button) findViewById(R.id.show_hardware_version))
142 ((Button) findViewById(R.id.show_software_version))
150 ((Button) findViewById(R.id.show_error_heatmap)).setOnClickListener(new OnClickListener() {
171 int position, long id) {
186 LinearLayout layout = (LinearLayout) findViewById(R.id
[all...]
/frameworks/native/include/input/
H A DVelocityTracker.h75 // an id that was assigned to a different pointer earlier.
82 // increasing id. Its size should be equal to the number of one bits in idBits.
88 // Gets the velocity of the specified pointer id in position units per second.
91 bool getVelocity(uint32_t id, float* outVx, float* outVy) const;
93 // Gets an estimator for the recent movements of the specified pointer id.
96 bool getEstimator(uint32_t id, Estimator* outEstimator) const;
98 // Gets the active pointer id, or -1 if none.
132 virtual bool getEstimator(uint32_t id, VelocityTracker::Estimator* outEstimator) const = 0;
164 virtual bool getEstimator(uint32_t id, VelocityTracker::Estimator* outEstimator) const;
180 inline const VelocityTracker::Position& getPosition(uint32_t id) cons
[all...]
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
H A DTimeZoneResultAdapter.java42 private static final int VIEW_TAG_TIME_ZONE = R.id.time_zone;
71 vh.timeZone = (TextView) v.findViewById(R.id.time_zone);
72 vh.timeOffset = (TextView) v.findViewById(R.id.time_offset);
73 vh.location = (TextView) v.findViewById(R.id.location);
193 * @param id the ID of the timezone to save
196 public void saveRecentTimezone(String id) { argument
201 recentsString = id;
206 if (!recents.contains(tzId) && !id.equals(tzId)) {
219 recents.add(id);
276 if (v == null || v.findViewById(R.id
308 onItemClick(AdapterView<?> parent, View v, int position, long id) argument
[all...]
/frameworks/base/services/java/com/android/server/media/
H A DRemoteDisplayProviderProxy.java103 public void setSelectedDisplay(String id) { argument
104 if (!Objects.equal(mSelectedDisplayId, id)) {
108 mSelectedDisplayId = id;
109 if (mConnectionReady && id != null) {
110 mActiveConnection.connect(id);
364 public void connect(String id) { argument
366 mProvider.connect(id);
372 public void disconnect(String id) { argument
374 mProvider.disconnect(id);
380 public void setVolume(String id, in argument
388 adjustVolume(String id, int volume) argument
[all...]
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
H A DDownloadManagerBaseTest.java79 long id = intent.getExtras().getLong(DownloadManager.EXTRA_DOWNLOAD_ID);
80 Log.i(LOG_TAG, "Received Notification for download: " + id);
81 if (!downloadIds.contains(id)) {
85 downloadIds.add(id);
90 Cursor cursor = dm.query(new Query().setFilterById(id));
103 Log.i(LOG_TAG, "Notification for id: " + id + " has already been made.");
290 * @param id The download id to query on (wait for)
292 protected void waitForDownloadOrTimeout_skipNotification(long id) throw argument
305 waitForDownloadOrTimeout(long id) argument
319 waitForDownloadOrTimeout(long id, long poll, long timeoutMillis) argument
348 waitForDownloadOrTimeoutNoThrow(long id, long poll, long timeoutMillis) argument
557 getCursor(long id) argument
[all...]
/frameworks/base/core/java/com/android/internal/statusbar/
H A DIStatusBarService.aidl44 void onNotificationClick(String pkg, String tag, int id);
45 void onNotificationError(String pkg, String tag, int id,
48 void onNotificationClear(String pkg, String tag, int id);
/frameworks/base/services/input/
H A DPointerController.h189 uint32_t id; member in struct:android::PointerController::Spot
195 inline Spot(uint32_t id, const sp<Sprite>& sprite) argument
196 : id(id), sprite(sprite), alpha(1.0f), scale(1.0f),
254 Spot* getSpotLocked(uint32_t id);
255 Spot* createAndAddSpotLocked(uint32_t id);
/frameworks/rs/cpp/
H A DType.cpp69 Type::Type(void *id, sp<RS> rs) : BaseObj(id, rs) { argument
103 void * id = RS::dispatch->TypeCreate(rs->getContext(), e->getID(), dimX, dimY, dimZ, false, false, 0); local
104 Type *t = new Type(id, rs);
203 void * id = RS::dispatch->TypeCreate(mRS->getContext(), mElement->getID(), mDimX, mDimY, mDimZ, local
205 Type *t = new Type(id, mRS);

Completed in 691 milliseconds

1234567891011>>