/packages/apps/Browser/src/com/android/browser/ |
D | TabControl.java | 76 Tab t = getTab(mCurrentTab); in getCurrentWebView() local 77 if (t == null) { in getCurrentWebView() 80 return t.getWebView(); in getCurrentWebView() 89 Tab t = getTab(mCurrentTab); in getCurrentTopWebView() local 90 if (t == null) { in getCurrentTopWebView() 93 return t.getTopWindow(); in getCurrentTopWebView() 101 Tab t = getTab(mCurrentTab); in getCurrentSubWindow() local 102 if (t == null) { in getCurrentSubWindow() 105 return t.getSubWebView(); in getCurrentSubWindow() 166 Tab t = new Tab(mActivity, w, closeOnExit, appId, url); in createNewTab() local [all …]
|
/packages/apps/Gallery/tests/src/com/android/camera/ |
D | BitmapManagerUnitTests.java | 72 Thread t = new DecodeThread(); in testCanThreadDecoding() local 75 assertTrue(mBitmapManager.canThreadDecoding(t)); in testCanThreadDecoding() 78 mBitmapManager.cancelThreadDecoding(t, mContext.getContentResolver()); in testCanThreadDecoding() 79 assertFalse(mBitmapManager.canThreadDecoding(t)); in testCanThreadDecoding() 82 mBitmapManager.allowThreadDecoding(t); in testCanThreadDecoding() 83 assertTrue(mBitmapManager.canThreadDecoding(t)); in testCanThreadDecoding() 87 DecodeThread t = new DecodeThread(); in testDefaultAllowDecoding() local 89 t.start(); in testDefaultAllowDecoding() 90 t.join(); in testDefaultAllowDecoding() 93 assertNotNull(t.getBitmap()); in testDefaultAllowDecoding() [all …]
|
/packages/apps/Gallery3D/src/com/cooliris/media/ |
D | BitmapManager.java | 70 public void add(Thread t) { in add() argument 71 mWeakCollection.put(t, null); in add() 74 public void remove(Thread t) { in remove() argument 75 mWeakCollection.remove(t); in remove() 93 private synchronized ThreadStatus getOrCreateThreadStatus(Thread t) { in getOrCreateThreadStatus() argument 94 ThreadStatus status = mThreadStatus.get(t); in getOrCreateThreadStatus() 97 mThreadStatus.put(t, status); in getOrCreateThreadStatus() 106 private synchronized void setDecodingOptions(Thread t, BitmapFactory.Options options) { in setDecodingOptions() argument 107 getOrCreateThreadStatus(t).mOptions = options; in setDecodingOptions() 110 synchronized void removeDecodingOptions(Thread t) { in removeDecodingOptions() argument [all …]
|
/packages/apps/Gallery/src/com/android/camera/ |
D | BitmapManager.java | 71 private synchronized ThreadStatus getOrCreateThreadStatus(Thread t) { in getOrCreateThreadStatus() argument 72 ThreadStatus status = mThreadStatus.get(t); in getOrCreateThreadStatus() 75 mThreadStatus.put(t, status); in getOrCreateThreadStatus() 84 private synchronized void setDecodingOptions(Thread t, in setDecodingOptions() argument 86 getOrCreateThreadStatus(t).mOptions = options; in setDecodingOptions() 89 synchronized void removeDecodingOptions(Thread t) { in removeDecodingOptions() argument 90 ThreadStatus status = mThreadStatus.get(t); in removeDecodingOptions() 98 public synchronized boolean canThreadDecoding(Thread t) { in canThreadDecoding() argument 99 ThreadStatus status = mThreadStatus.get(t); in canThreadDecoding() 109 public synchronized void allowThreadDecoding(Thread t) { in allowThreadDecoding() argument [all …]
|
D | ImageLoader.java | 152 Thread t = new Thread(new WorkerThread()); in start() local 153 t.setName("image-loader"); in start() 154 mDecodeThread = t; in start() 155 t.start(); in start() 165 Thread t = mDecodeThread; in stop() local 166 BitmapManager.instance().cancelThreadDecoding(t, mCr); in stop() 167 t.join(); in stop()
|
D | EvenlySpacedLayout.java | 69 private void layoutHorizontal(boolean changed, int l, int t, int r, int b) { in layoutHorizontal() argument 96 private void layoutVertical(boolean changed, int l, int t, int r, int b) { in layoutVertical() argument 108 int spacing = (b - t - usedHeight) / in layoutVertical() 124 protected void onLayout(boolean changed, int l, int t, int r, int b) { in onLayout() argument 126 layoutHorizontal(changed, l, t, r, b); in onLayout() 128 layoutVertical(changed, l, t, r, b); in onLayout()
|
/packages/apps/Email/src/org/apache/james/mime4j/ |
D | Log.java | 57 public void trace(Object message, Throwable t) { in trace() argument 59 android.util.Log.v(Email.LOG_TAG, toString(message, t)); in trace() 67 public void debug(Object message, Throwable t) { in debug() argument 69 android.util.Log.d(Email.LOG_TAG, toString(message, t)); in debug() 77 public void info(Object message, Throwable t) { in info() argument 79 android.util.Log.i(Email.LOG_TAG, toString(message, t)); in info() 86 public void warn(Object message, Throwable t) { in warn() argument 87 android.util.Log.w(Email.LOG_TAG, toString(message, t)); in warn() 94 public void error(Object message, Throwable t) { in error() argument 95 android.util.Log.e(Email.LOG_TAG, toString(message, t)); in error() [all …]
|
/packages/apps/Email/src/org/apache/james/mime4j/field/datetime/parser/ |
D | DateTimeParser.java | 140 Date d; Time t; in date_time() local 157 t = time(); in date_time() 162 t.getHour(), in date_time() 163 t.getMinute(), in date_time() 164 t.getSecond(), in date_time() 165 t.getZone());} // time zone offset in date_time() 212 Token t; in day() local 213 t = jj_consume_token(DIGITS); in day() 214 {if (true) return parseDigits(t);} in day() 277 Token t; in year() local [all …]
|
/packages/apps/Camera/src/com/android/camera/ |
D | BitmapManager.java | 74 private synchronized ThreadStatus getOrCreateThreadStatus(Thread t) { in getOrCreateThreadStatus() argument 75 ThreadStatus status = mThreadStatus.get(t); in getOrCreateThreadStatus() 78 mThreadStatus.put(t, status); in getOrCreateThreadStatus() 83 public synchronized boolean canThreadDecoding(Thread t) { in canThreadDecoding() argument 84 ThreadStatus status = mThreadStatus.get(t); in canThreadDecoding() 102 Thread t = Thread.currentThread(); in getThumbnail() local 103 ThreadStatus status = getOrCreateThreadStatus(t); in getThumbnail() 105 if (!canThreadDecoding(t)) { in getThumbnail() 106 Log.d(TAG, "Thread " + t + " is not allowed to decode."); in getThumbnail() 112 return Video.Thumbnails.getThumbnail(cr, origId, t.getId(), in getThumbnail() [all …]
|
D | CameraHardwareException.java | 25 public CameraHardwareException(Throwable t) { in CameraHardwareException() argument 26 super(t); in CameraHardwareException()
|
D | PreviewFrameLayout.java | 72 protected void onLayout(boolean changed, int l, int t, int r, int b) { in onLayout() argument 93 int vSpace = ((b - t) - frameHeight) / 2; in onLayout() 97 mFrame.layout(l + hSpace, t + vSpace, r - hSpace, b - vSpace); in onLayout()
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
D | SkbPool.java | 46 SkbTemplate t = mSkbTemplates.elementAt(i); in getSkbTemplate() local 47 if (t.getSkbTemplateId() == skbTemplateId) { in getSkbTemplate() 48 return t; in getSkbTemplate() 54 SkbTemplate t = xkbl.loadSkbTemplate(skbTemplateId); in getSkbTemplate() local 55 if (null != t) { in getSkbTemplate() 56 mSkbTemplates.add(t); in getSkbTemplate() 57 return t; in getSkbTemplate()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
D | LevenshteinDistance.java | 73 for (int t = 1; t <= targetLen; ++t) { in calculate() 74 Token targetToken = trg[t-1]; in calculate() 77 int distance = distTab[s-1][t] + 1; in calculate() 80 int d = distTab[s][t - 1]; in calculate() 86 d = distTab[s - 1][t - 1]; in calculate() 91 distTab[s][t] = distance; in calculate() 92 editTab[s][t] = type; in calculate()
|
/packages/apps/Email/src/org/apache/james/mime4j/field/contenttype/parser/ |
D | ContentTypeParser.java | 97 Token t; in value() local 100 t = jj_consume_token(ATOKEN); in value() 103 t = jj_consume_token(QUOTEDSTRING); in value() 110 {if (true) return t.image;} in value() 209 Token t = token; in getToken() local 211 if (t.next != null) t = t.next; in getToken() 212 else t = t.next = token_source.getNextToken(); in getToken() 214 return t; in getToken()
|
/packages/apps/Email/src/org/apache/james/mime4j/field/address/parser/ |
D | AddressListParser.java | 506 jjtreeOpenNodeScope(jjtn000);Token t; in local_part() local 510 t = jj_consume_token(DOTATOM); in local_part() 513 t = jj_consume_token(QUOTEDSTRING); in local_part() 534 t = jj_consume_token(9); in local_part() 540 …if (t.image.charAt(t.image.length() - 1) != '.' || t.kind == AddressListParserConstants.QUOTEDSTRI… in local_part() 544 t = jj_consume_token(DOTATOM); in local_part() 547 t = jj_consume_token(QUOTEDSTRING); in local_part() 568 jjtreeOpenNodeScope(jjtn000);Token t; in domain() local 572 t = jj_consume_token(DOTATOM); in domain() 586 t = jj_consume_token(9); in domain() [all …]
|
D | AddressListParser.jj | 424 /*@egen*/ Token t; } 428 ( t=<DOTATOM> | t=<QUOTEDSTRING> ) 429 ( [t="."] 431 …if (t.image.charAt(t.image.length() - 1) != '.' || t.kind == AddressListParserConstants.QUOTEDSTRI… 434 ( t=<DOTATOM> | t=<QUOTEDSTRING> ) 451 /*@egen*/ Token t; } 455 ( t=<DOTATOM> 456 ( [t="."] 458 if (t.image.charAt(t.image.length() - 1) != '.') 461 t=<DOTATOM> [all …]
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | RecurrenceProcessor.java | 317 Time t = null; in get() local 327 t = mTime; in get() 328 t.set(day, realMonth, realYear); in get() 329 unsafeNormalize(t); in get() 330 realYear = t.year; in get() 331 realMonth = t.month; in get() 332 day = t.monthDay; in get() 334 Log.i(TAG, "normalized t=" + t + " " + t.month in get() 335 + "/" + t.monthDay in get() 336 + "/" + t.year); in get() [all …]
|
/packages/apps/Settings/src/com/android/settings/vpn/ |
D | VpnTypeSelection.java | 55 for (VpnType t : VpnManager.getSupportedVpnTypes()) { in initTypeList() 56 String displayName = t.getDisplayName(); in initTypeList() 59 mTypeMap.put(message, t); in initTypeList() 63 pref.setSummary(t.getDescriptionId()); in initTypeList()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | LevenshteinSuggestionFormatter.java | 55 final Token t = suggestionTokens[i]; in formatSuggestion() local 61 applySuggestedTextStyle(str, t.mStart + sourceLen, t.mEnd); in formatSuggestion() 62 applyQueryTextStyle(str, t.mStart, t.mStart + sourceLen); in formatSuggestion()
|
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/ |
D | MiscService.java | 48 Thread t = new Thread() { in onCreate() local 67 t.start(); in onCreate() 71 Thread t = new Thread() { in startEchoThread() local 88 t.start(); in startEchoThread()
|
/packages/apps/Mms/src/com/android/mms/util/ |
D | RateController.java | 148 for (int t = 0; (mAnswer == NO_ANSWER) && (t < ANSWER_TIMEOUT); t += 1000) { in waitForAnswer() 151 Log.v(TAG, "Waiting for answer..." + t / 1000); in waitForAnswer()
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
D | RetryScheduler.java | 76 Transaction t = (Transaction) observable; in update() local 84 if ((t instanceof NotificationTransaction) in update() 85 || (t instanceof RetrieveTransaction) in update() 86 || (t instanceof ReadRecTransaction) in update() 87 || (t instanceof SendTransaction)) { in update() 89 TransactionState state = t.getState(); in update() 97 t.detach(this); in update()
|
/packages/apps/Email/src/org/apache/james/mime4j/util/ |
D | TempStorage.java | 44 } catch (Throwable t) { 46 + clazz + "' using SimpleTempStorage instead", t);
|
/packages/apps/Camera/src/com/android/camera/ui/ |
D | ZoomController.java | 110 protected void onLayout(boolean changed, int l, int t, int r, int b) { in onLayout() argument 113 int height = b - t - p.top - p.bottom; in onLayout() 224 BitmapTexture t = mTickLabels[i]; in renderTicks() local 225 t.draw(root, xoffset - t.getWidth(), in renderTicks() 226 (int) (yoffset - t.getHeight() / 2)); in renderTicks()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | Collapser.java | 41 public boolean collapseWith(T t); in collapseWith() argument 42 public boolean shouldCollapseWith(T t); in shouldCollapseWith() argument
|