/frameworks/base/core/java/com/android/internal/view/ |
H A D | InputConnectionWrapper.java | 332 public boolean performContextMenuAction(int id) { argument 334 mIInputContext.performContextMenuAction(id);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | PasswordEntryKeyboardHelper.java | 119 mQwertyKeyboard = new PasswordEntryKeyboard(mContext, mLayouts[QWERTY], R.id.mode_normal, 124 R.id.mode_normal, width, height); 139 mQwertyKeyboard = new PasswordEntryKeyboard(mContext, mLayouts[QWERTY], R.id.mode_normal); 143 R.id.mode_normal); 225 * Sets and enables vibrate pattern. If id is 0 (or can't be loaded), vibrate is disabled. 226 * @param id resource id for array containing vibrate pattern. 228 public void setVibratePattern(int id) { argument 231 tmpArray = mContext.getResources().getIntArray(id); 233 if (id ! [all...] |
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/ |
H A D | DownloadManagerBaseTest.java | 141 long id = intent.getExtras().getLong(DownloadManager.EXTRA_DOWNLOAD_ID); 142 Log.i(LOG_TAG, "Received Notification for download: " + id); 144 if(!mFinishedDownloads.contains(id)) { 145 mFinishedDownloads.add(id); 149 String.format("Notification for %d was already received", id)); 184 * @param id id of the download to wait for. 189 public boolean waitForDownloadToFinish(long id, long timeout) throws InterruptedException { argument 192 while (!mFinishedDownloads.contains(id)) { 194 Log.i(LOG_TAG, String.format("Timeout while waiting for %d to finish", id)); 358 waitForDownload(long id, long timeoutMillis) argument 373 hasDownloadFinished(long id) argument 472 waitToReceiveData(long id, long bytesToReceive) argument 484 getBytesDownloaded(long id) argument 539 getCursor(long id) argument [all...] |
/frameworks/base/libs/input/ |
H A D | PointerController.cpp | 251 uint32_t id = idBits.firstMarkedBit(); local 252 idBits.clearBit(id); 253 const PointerCoords& c = spotCoords[spotIdToIndex[id]]; 254 ALOGD(" spot %d: position=(%0.3f, %0.3f), pressure=%0.3f", id, 267 uint32_t id = idBits.clearFirstMarkedBit(); local 268 const PointerCoords& c = spotCoords[spotIdToIndex[id]]; 274 Spot* spot = getSpotLocked(id); 276 spot = createAndAddSpotLocked(id); 285 if (spot->id != Spot::INVALID_ID 286 && !spotIdBits.hasBit(spot->id)) { 509 getSpotLocked(uint32_t id) argument 519 createAndAddSpotLocked(uint32_t id) argument [all...] |
/frameworks/base/media/java/android/service/media/ |
H A D | MediaBrowserService.java | 233 public void addSubscription(final String id, final IMediaBrowserServiceCallbacks callbacks) { argument 242 Log.w(TAG, "addSubscription for callback that isn't registered id=" 243 + id); 247 MediaBrowserService.this.addSubscription(id, connection); 253 public void removeSubscription(final String id, argument 262 Log.w(TAG, "removeSubscription for callback that isn't registered id=" 263 + id); 266 if (!connection.subscriptions.remove(id)) { 267 Log.w(TAG, "removeSubscription called for " + id 311 * to access browse media information before returning the root id; i 454 addSubscription(String id, ConnectionRecord connection) argument [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaProfiles.cpp | 177 android_media_MediaProfiles_native_get_camcorder_profile(JNIEnv *env, jobject /* thiz */, jint id, argument 180 ALOGV("native_get_camcorder_profile: %d %d", id, quality); 187 int duration = sProfiles->getCamcorderProfileParamByName("duration", id, q); 188 int fileFormat = sProfiles->getCamcorderProfileParamByName("file.format", id, q); 189 int videoCodec = sProfiles->getCamcorderProfileParamByName("vid.codec", id, q); 190 int videoBitRate = sProfiles->getCamcorderProfileParamByName("vid.bps", id, q); 191 int videoFrameRate = sProfiles->getCamcorderProfileParamByName("vid.fps", id, q); 192 int videoFrameWidth = sProfiles->getCamcorderProfileParamByName("vid.width", id, q); 193 int videoFrameHeight = sProfiles->getCamcorderProfileParamByName("vid.height", id, q); 194 int audioCodec = sProfiles->getCamcorderProfileParamByName("aud.codec", id, 227 android_media_MediaProfiles_native_has_camcorder_profile(JNIEnv* , jobject , jint id, jint quality) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/ |
H A D | TaskStack.java | 177 // The task offset to apply to a task id as a group affiliation 180 public final int id; field in class:TaskStack 195 id = stackId; 320 /** Finds the task with the specified task id. */ 326 if (task.key.id == taskId) { 416 int affiliation = IndividualTaskIdOffset + t.key.id; 463 IndividualTaskIdOffset + t.key.id;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | UserSwitcherController.java | 154 r.info == null || mForcePictureLoadForUserId.get(r.info.id)) { 157 bitmaps.put(r.info.id, r.picture); 178 boolean isCurrent = currentId == info.id; 184 Bitmap picture = bitmaps.get(info.id); 186 picture = mUserManager.getUserIcon(info.id); 265 int id; 275 id = guest.id; 280 id = record.info.id; 293 switchToUserId(int id) argument 302 showExitGuestDialog(int id) argument 318 exitGuest(int id) argument [all...] |
/frameworks/base/rs/java/android/renderscript/ |
H A D | ProgramStore.java | 81 DepthFunc(int id) { argument 82 mID = id; 106 BlendSrcFunc(int id) { argument 107 mID = id; 131 BlendDstFunc(int id) { argument 132 mID = id; 146 ProgramStore(long id, RenderScript rs) { argument 147 super(id, rs); 421 long id = mRS.nProgramStoreCreate(mColorMaskR, mColorMaskG, mColorMaskB, mColorMaskA, 424 ProgramStore programStore = new ProgramStore(id, mR [all...] |
H A D | Script.java | 39 KernelID(long id, RenderScript rs, Script s, int slot, int sig) { argument 40 super(id, rs); 58 long id = mRS.nScriptKernelIDCreate(getID(mRS), slot, sig); 59 if (id == 0) { 63 k = new KernelID(id, mRS, this, slot, sig); 79 InvokeID(long id, RenderScript rs, Script s, int slot) { argument 80 super(id, rs); 96 long id = mRS.nScriptInvokeIDCreate(getID(mRS), slot); 97 if (id == 0) { 101 i = new InvokeID(id, mR 117 FieldID(long id, RenderScript rs, Script s, int slot) argument 288 Script(long id, RenderScript rs) argument [all...] |
/frameworks/base/services/core/java/com/android/server/audio/ |
H A D | PlayerRecord.java | 185 protected RemotePlaybackState(int id, int vol, int volMax) { argument 186 mRccId = id; 206 " -- id: " + mRccId +
|
/frameworks/base/services/core/java/com/android/server/media/ |
H A D | RemoteDisplayProviderProxy.java | 102 public void setSelectedDisplay(String id) { argument 103 if (!Objects.equals(mSelectedDisplayId, id)) { 107 mSelectedDisplayId = id; 108 if (mConnectionReady && id != null) { 109 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/services/core/java/com/android/server/notification/ |
H A D | ConditionProviders.java | 98 final String countdownDesc = CountdownConditionProvider.tryParseDescription(r.id); 192 final Uri id = conditions[i].id; 193 if (!Condition.isValidId(id, pkg)) { 194 Slog.w(TAG, "Ignoring condition from " + pkg + " for invalid id: " + id); 197 if (valid.containsKey(id)) { 198 Slog.w(TAG, "Ignoring condition from " + pkg + " for duplicate id: " + id); 201 valid.put(id, condition 212 getRecordLocked(Uri id, ComponentName component, boolean create) argument 383 public final Uri id; field in class:ConditionProviders.ConditionRecord 389 ConditionRecord(Uri id, ComponentName component) argument 406 onConditionChanged(Uri id, Condition condition) argument [all...] |
H A D | NotificationRecord.java | 205 static String idDebugString(Context baseContext, String packageName, int id) { argument 220 return r.getResourceName(id); 229 "NotificationRecord(0x%08x: pkg=%s user=%s id=%d tag=%s score=%d key=%s: %s)",
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | KeySetManagerService.java | 73 public PublicKeyHandle(long id, PublicKey key) { argument 74 mId = id; 82 private PublicKeyHandle(long id, int refCount, PublicKey key) { argument 83 mId = id; 137 long id = getIdByKeySetLPr(ks); 138 if (id == KEYSET_NOT_FOUND) { 142 ArraySet<Long> testKeys = mKeySetMapping.get(id); 165 long id = getIdByKeySetLPr(ks); 166 if (id == KEYSET_NOT_FOUND) { 170 ArraySet<Long> testKeys = mKeySetMapping.get(id); 340 isIdValidKeySetId(long id) argument 351 getPublicKeysFromKeySetLPr(long id) argument 436 decrementKeySetLPw(long id) argument 457 decrementPublicKeyLPw(long id) argument [all...] |
/frameworks/base/telecomm/java/android/telecom/ |
H A D | ParcelableCall.java | 61 String id, 83 mId = id; 268 String id = source.readString(); 295 id, 60 ParcelableCall( String id, int state, DisconnectCause disconnectCause, List<String> cannedSmsResponses, int capabilities, int properties, long connectTimeMillis, Uri handle, int handlePresentation, String callerDisplayName, int callerDisplayNamePresentation, GatewayInfo gatewayInfo, PhoneAccountHandle accountHandle, boolean isVideoCallProviderChanged, IVideoProvider videoCallProvider, String parentCallId, List<String> childCallIds, StatusHints statusHints, int videoState, List<String> conferenceableCallIds, Bundle intentExtras, Bundle extras) argument
|
H A D | Voicemail.java | 41 private Voicemail(Long timestamp, String number, PhoneAccountHandle phoneAccountHandle, Long id, argument 47 mId = id; 69 * The id and source data fields are mandatory for update - id is necessary for updating the 72 public static Builder createForUpdate(long id, String sourceData) { argument 73 return new Builder().setId(id).setSourceData(sourceData); 114 public Builder setId(long id) { argument 115 mBuilderId = id; 169 * content provider, since until it has been inserted we don't know what id it should have. If
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
H A D | FrameworkPerfActivity.java | 165 mFgSpinner = (Spinner) findViewById(R.id.fgspinner); 171 mBgSpinner = (Spinner) findViewById(R.id.bgspinner); 177 mLimitSpinner = (Spinner) findViewById(R.id.limitspinner); 184 mTestTime = (TextView)findViewById(R.id.testtime); 185 mLimitLabel = (TextView)findViewById(R.id.limitlabel); 187 mStartButton = (Button)findViewById(R.id.start); 193 mStopButton = (Button)findViewById(R.id.stop); 200 mLocalCheckBox = (CheckBox)findViewById(R.id.local); 202 mLog = (TextView)findViewById(R.id.log); 211 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/base/tools/aapt2/ |
H A D | ResourceValues.h | 117 * numeric (the id is set to a valid resource ID). 126 ResourceId id; member in struct:aapt::Reference 324 virtual void visit(Id& id, ValueVisitorArgs& args) { argument 325 visitItem(id, args); 365 virtual void visit(const Id& id, ValueVisitorArgs& args) { argument 366 visitItem(id, args);
|
/frameworks/base/tools/aidl/ |
H A D | aidl_language.h | 62 buffer_type id; member in struct:method_type
|
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
H A D | BridgeResources.java | 133 private Pair<String, ResourceValue> getResourceValue(int id, boolean[] platformResFlag_out) { argument 134 // first get the String related to this id in the framework 135 Pair<ResourceType, String> resourceInfo = Bridge.resolveResourceId(id); 147 resourceInfo = mLayoutlibCallback.resolveResourceId(id); 162 public Drawable getDrawable(int id, Theme theme) { argument 163 Pair<String, ResourceValue> value = getResourceValue(id, mPlatformResourceFlag); 169 // id was not found or not resolved. Throw a NotFoundException. 170 throwException(id); 177 public int getColor(int id, Theme theme) throws NotFoundException { argument 178 Pair<String, ResourceValue> value = getResourceValue(id, mPlatformResourceFla 207 getColorStateList(int id, Theme theme) argument 226 getText(int id) argument 249 getTextArray(int id) argument 263 getStringArray(int id) argument 292 getIntArray(int id) argument 336 getArrayResourceValue(int id) argument 388 getLayout(int id) argument 432 getAnimation(int id) argument 471 obtainTypedArray(int id) argument 477 getDimension(int id) argument 511 getDimensionPixelOffset(int id) argument 539 getDimensionPixelSize(int id) argument 567 getInteger(int id) argument 594 getBoolean(int id) argument 632 getString(int id, Object... formatArgs) argument 647 getString(int id) argument 662 getValue(int id, TypedValue outValue, boolean resolveRefs) argument 693 getXml(int id) argument 728 loadXmlResourceParser(String file, int id, int assetCookie, String type) argument 752 openRawResource(int id) argument 787 openRawResource(int id, TypedValue value) argument 813 openRawResourceFd(int id) argument 822 throwException(int id) argument [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | ScanResult.java | 312 public int id; field in class:ScanResult.InformationElement 319 this.id = rhs.id; 505 dest.writeInt(informationElements[i].id); 553 sr.informationElements[i].id = in.readInt();
|
/frameworks/native/include/input/ |
H A D | InputTransport.h | 107 return pointers[index].properties.id; 374 uint32_t id = msg->body.motion.pointers[i].properties.id; local 375 idBits.markBit(id); 376 idToIndex[id] = i; 381 const PointerCoords& getPointerById(uint32_t id) const { 382 return pointers[idToIndex[id]];
|