/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | MenuPopupHelper.java | 154 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | PasswordEntryKeyboardHelper.java | 121 mQwertyKeyboard = new PasswordEntryKeyboard(mContext, mLayouts[QWERTY], R.id.mode_normal, 126 R.id.mode_normal, width, height); 141 mQwertyKeyboard = new PasswordEntryKeyboard(mContext, mLayouts[QWERTY], R.id.mode_normal); 145 R.id.mode_normal); 227 * Sets and enables vibrate pattern. If id is 0 (or can't be loaded), vibrate is disabled. 228 * @param id resource id for array containing vibrate pattern. 230 public void setVibratePattern(int id) { argument 233 tmpArray = mContext.getResources().getIntArray(id); 235 if (id ! [all...] |
H A D | ScrollingTabContainerView.java | 353 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
|
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/ |
H A D | DownloadManagerBaseTest.java | 79 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/graphics/java/android/renderscript/ |
H A D | ProgramStore.java | 83 DepthFunc(int id) { argument 84 mID = id; 108 BlendSrcFunc(int id) { argument 109 mID = id; 133 BlendDstFunc(int id) { argument 134 mID = id; 148 ProgramStore(int id, RenderScript rs) { argument 149 super(id, rs); 423 int id = mRS.nProgramStoreCreate(mColorMaskR, mColorMaskG, mColorMaskB, mColorMaskA, 426 ProgramStore programStore = new ProgramStore(id, mR [all...] |
/frameworks/base/include/androidfw/ |
H A D | InputTransport.h | 98 return pointers[index].properties.id; 361 uint32_t id = msg->body.motion.pointers[i].properties.id; local 362 idBits.markBit(id); 363 idToIndex[id] = i; 368 const PointerCoords& getPointerById(uint32_t id) const { 369 return pointers[idToIndex[id]];
|
/frameworks/base/services/input/ |
H A D | PointerController.cpp | 248 uint32_t id = idBits.firstMarkedBit(); local 249 idBits.clearBit(id); 250 const PointerCoords& c = spotCoords[spotIdToIndex[id]]; 251 ALOGD(" spot %d: position=(%0.3f, %0.3f), pressure=%0.3f", id, 264 uint32_t id = idBits.clearFirstMarkedBit(); local 265 const PointerCoords& c = spotCoords[spotIdToIndex[id]]; 271 Spot* spot = getSpotLocked(id); 273 spot = createAndAddSpotLocked(id); 282 if (spot->id != Spot::INVALID_ID 283 && !spotIdBits.hasBit(spot->id)) { 506 getSpotLocked(uint32_t id) argument 516 createAndAddSpotLocked(uint32_t id) argument [all...] |
/frameworks/base/services/java/com/android/server/am/ |
H A D | ServiceRecord.java | 108 final int id; field in class:ServiceRecord.StartItem 122 id = _id; 151 .append(" id=").append(id).append('}'); 166 pw.print(" id="); pw.print(si.id); 329 public StartItem findDeliveredStart(int id, boolean remove) { argument 333 if (si.id == id) {
|
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
H A D | WebViewEventSender.java | 294 public void cancelTouchPoint(int id) { argument 295 TouchPoint tp = mTouchPoints.get(id); 305 int id; 307 id = 0; 309 id = mTouchPoints.get(numPoints - 1).getId() + 1; 312 mTouchPoints.add(new TouchPoint(id, contentsToWindowX(x), contentsToWindowY(y))); 342 public void releaseTouchPoint(int id) { argument 343 TouchPoint tp = mTouchPoints.get(id); 380 public TouchPoint(int id, int x, int y) { argument 381 mId = id; [all...] |
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
H A D | FrameworkPerfActivity.java | 164 mFgSpinner = (Spinner) findViewById(R.id.fgspinner); 170 mBgSpinner = (Spinner) findViewById(R.id.bgspinner); 176 mLimitSpinner = (Spinner) findViewById(R.id.limitspinner); 183 mTestTime = (TextView)findViewById(R.id.testtime); 184 mLimitLabel = (TextView)findViewById(R.id.limitlabel); 186 mStartButton = (Button)findViewById(R.id.start); 192 mStopButton = (Button)findViewById(R.id.stop); 199 mLocalCheckBox = (CheckBox)findViewById(R.id.local); 201 mLog = (TextView)findViewById(R.id.log); 209 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { argument [all...] |
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/ |
H A D | RsRenderStatesRS.java | 298 private Allocation loadTextureRGB(int id) { argument 299 return Allocation.createFromBitmapResource(mRS, mRes, id, 304 private Allocation loadTextureARGB(int id) { argument 305 Bitmap b = BitmapFactory.decodeResource(mRes, id, mOptionsARGB);
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
H A D | SceneManager.java | 181 public static Allocation loadCubemap(int id, RenderScriptGL rs, Resources res) { argument 182 return createFromBitmap(BitmapFactory.decodeResource(res, id), rs, true); 189 public static Allocation loadTexture2D(int id, RenderScriptGL rs, Resources res) { argument 190 return createFromBitmap(BitmapFactory.decodeResource(res, id), rs, false);
|
/frameworks/compile/libbcc/include/bcc/Renderscript/ |
H A D | RSInfo.h | 83 StringIndexTy id; member in struct:bcc::rsinfo::DependencyTableItem
|
/frameworks/ex/carousel/java/com/android/ex/carousel/ |
H A D | CarouselViewHelper.java | 99 int id = msg.arg1; 100 if (id >= mCarouselView.getCardCount()) { 101 Log.e(TAG, "Index out of range for get, card:" + id); 105 Log.e(TAG, "Unknown message: " + id); 110 final Bitmap bitmap = getTexture(id); 112 mSyncHandler.obtainMessage(SET_TEXTURE_N, id, 0, bitmap).sendToTarget(); 115 TextureParameters params = getTextureParameters(id); 117 mSyncHandler.obtainMessage(SET_MATRIX_N, id, 0, 122 final Bitmap bitmap = getDetailTexture(id); 124 mSyncHandler.obtainMessage(SET_DETAIL_TEXTURE_N, id, 178 getTexture(int id) argument 190 getDetailTexture(int id) argument 202 getGeometry(int id) argument 214 getTextureParameters(int id) argument 226 getDetailTextureParameters(int id) argument 230 onRequestTexture(int id) argument 237 onInvalidateTexture(final int id) argument 242 onRequestGeometry(int id) argument 248 onInvalidateGeometry(int id) argument 253 onRequestDetailTexture(int id) argument 260 onInvalidateDetailTexture(int id) argument [all...] |
/frameworks/ex/photoviewer/src/com/android/ex/photo/fragments/ |
H A D | PhotoViewFragment.java | 186 mPhotoView = (PhotoView) view.findViewById(R.id.photo_view); 191 mPhotoPreviewAndProgress = view.findViewById(R.id.photo_preview); 192 mPhotoPreviewImage = (ImageView) view.findViewById(R.id.photo_preview_image); 194 (ProgressBar) view.findViewById(R.id.indeterminate_progress); 196 (ProgressBar) view.findViewById(R.id.determinate_progress); 198 mEmptyText = (TextView) view.findViewById(R.id.empty_text); 199 mRetryButton = (ImageView) view.findViewById(R.id.retry_button); 247 public Loader<Bitmap> onCreateLoader(int id, Bundle args) { argument 248 switch (id) { 265 final int id [all...] |
/frameworks/native/libs/utils/ |
H A D | Threads.cpp | 232 static bool doCreateThread(android_thread_func_t fn, void* arg, android_thread_id_t *id) 261 if (id != NULL) { 262 *id = (android_thread_id_t)thrdaddr; 295 int androidCreateThreadGetID(android_thread_func_t fn, void *arg, android_thread_id_t *id) argument 298 PRIORITY_DEFAULT, 0, id);
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace_context.cpp | 118 int id = __sync_fetch_and_add(&mTraceContextIds, 1); local 122 GLTraceContext *traceContext = new GLTraceContext(id, version, this, stream); 132 GLTraceContext::GLTraceContext(int id, int version, GLTraceState *state, argument 134 mId(id),
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/ |
H A D | PhotoViewFragment.java | 192 mPhotoView = (PhotoView) view.findViewById(R.id.photo_view); 198 mPhotoPreviewAndProgress = view.findViewById(R.id.photo_preview); 199 mPhotoPreviewImage = (ImageView) view.findViewById(R.id.photo_preview_image); 201 (ProgressBar) view.findViewById(R.id.indeterminate_progress); 203 (ProgressBar) view.findViewById(R.id.determinate_progress); 205 mEmptyText = (TextView) view.findViewById(R.id.empty_text); 206 mRetryButton = (ImageView) view.findViewById(R.id.retry_button); 254 public Loader<Bitmap> onCreateLoader(int id, Bundle args) { argument 258 switch (id) { 275 final int id [all...] |
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | LoaderManager.java | 47 * @param id The ID whose loader is to be created. 51 public Loader<D> onCreateLoader(int id, Bundle args); argument 118 * @param id A unique identifier for this loader. Can be whatever you want. 126 public abstract <D> Loader<D> initLoader(int id, Bundle args, argument 133 * If a loader with the same id has previously been 138 * @param id A unique identifier for this loader. Can be whatever you want. 144 public abstract <D> Loader<D> restartLoader(int id, Bundle args, argument 153 public abstract void destroyLoader(int id); argument 156 * Return the Loader with the given id or null if no matching Loader 159 public abstract <D> Loader<D> getLoader(int id); argument 228 LoaderInfo(int id, Bundle args, LoaderManager.LoaderCallbacks<Object> callbacks) argument 487 createLoader(int id, Bundle args, LoaderManager.LoaderCallbacks<Object> callback) argument 495 createAndInstallLoader(int id, Bundle args, LoaderManager.LoaderCallbacks<Object> callback) argument 542 initLoader(int id, Bundle args, LoaderManager.LoaderCallbacks<D> callback) argument 592 restartLoader(int id, Bundle args, LoaderManager.LoaderCallbacks<D> callback) argument 657 destroyLoader(int id) argument 685 getLoader(int id) argument [all...] |
/frameworks/wilhelm/src/ |
H A D | sles.c | 60 SLuint32 id = clazz->mSLObjectID; local 61 if (!id) { 62 id = clazz->mXAObjectID; 64 return id;
|
/frameworks/av/media/libmedia/ |
H A D | IAudioPolicyService.cpp | 291 int id) 299 data.writeInt32(id); 304 virtual status_t unregisterEffect(int id) argument 308 data.writeInt32(id); 313 virtual status_t setEffectEnabled(int id, bool enabled) argument 317 data.writeInt32(id); 573 int id = data.readInt32(); local 578 id))); 584 int id = data.readInt32(); local 585 reply->writeInt32(static_cast <int32_t>(unregisterEffect(id))); 287 registerEffect(const effect_descriptor_t *desc, audio_io_handle_t io, uint32_t strategy, int session, int id) argument 591 int id = data.readInt32(); local [all...] |
/frameworks/av/media/libstagefright/codecs/avc/common/include/ |
H A D | avcapi_common.h | 137 uint32 id; member in struct:tagAVCFrameIO
|
/frameworks/av/media/libstagefright/omx/ |
H A D | OMXNodeInstance.cpp | 725 void OMXNodeInstance::addActiveBuffer(OMX_U32 portIndex, OMX::buffer_id id) { argument 728 active.mID = id; 733 OMX_U32 portIndex, OMX::buffer_id id) { 737 && mActiveBuffers[i].mID == id) { 732 removeActiveBuffer( OMX_U32 portIndex, OMX::buffer_id id) argument
|
/frameworks/av/media/libstagefright/wifi-display/sink/ |
H A D | RTPSink.cpp | 270 sp<AMessage> rtpNotify = new AMessage(kWhatRTPNotify, id()); 271 sp<AMessage> rtcpNotify = new AMessage(kWhatRTCPNotify, id()); 402 sp<AMessage> msg = new AMessage(kWhatInject, id()); 515 sp<AMessage> notifyLost = new AMessage(kWhatPacketLost, id()); 523 new AMessage(TunnelRenderer::kWhatQueueBuffer, mRenderer->id()); 616 uint32_t id = U32_AT(&data[4]); local 629 uint32_t id = U32_AT(&data[4]); local 634 id, ntpTime, rtpTime); 674 (new AMessage(kWhatSendRR, id()))->post(2000000ll);
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | WifiDisplaySource.cpp | 71 sp<AMessage> msg = new AMessage(kWhatStart, id()); 89 sp<AMessage> msg = new AMessage(kWhatStop, id()); 138 sp<AMessage> notify = new AMessage(kWhatRTSPNotify, id()); 263 (new AMessage(kWhatTeardownTriggerTimedOut, id()))->post( 415 (new AMessage(kWhatFinishStop2, id()))->post(300000ll); 444 ResponseID id; local 445 id.mSessionID = sessionID; 446 id.mCSeq = cseq; 447 mResponseHandlers.add(id, func); 840 (new AMessage(kWhatReapDeadClients, id())) 879 ResponseID id; local [all...] |