/packages/apps/Browser/src/com/android/browser/ |
D | TabControl.java | 39 void onThumbnailUpdated(Tab t); in onThumbnailUpdated() argument 75 Tab t = getTab(mCurrentTab); in getCurrentWebView() local 76 if (t == null) { in getCurrentWebView() 79 return t.getWebView(); in getCurrentWebView() 88 Tab t = getTab(mCurrentTab); in getCurrentTopWebView() local 89 if (t == null) { in getCurrentTopWebView() 92 return t.getTopWindow(); in getCurrentTopWebView() 100 Tab t = getTab(mCurrentTab); in getCurrentSubWindow() local 101 if (t == null) { in getCurrentSubWindow() 104 return t.getSubWebView(); in getCurrentSubWindow() [all …]
|
D | BrowserWebView.java | 33 void onScrollChanged(int l, int t, int oldl, int oldt); in onScrollChanged() argument 113 protected void onScrollChanged(int l, int t, int oldl, int oldt) { in onScrollChanged() argument 114 super.onScrollChanged(l, t, oldl, oldt); in onScrollChanged() 116 mOnScrollChangedListener.onScrollChanged(l, t, oldl, oldt); in onScrollChanged()
|
/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/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/Camera/jni/feature_stab/db_vlvm/ |
D | db_utilities_indexing.h | 193 double t,best; in db_MaxAbsIndex3() local 197 t=fabs(s[1]);if(t>best){best=t;pos=1;} in db_MaxAbsIndex3() 198 t=fabs(s[2]);if(t>best){pos=2;} in db_MaxAbsIndex3() 204 double t,best; in db_MaxAbsIndex9() local 208 t=fabs(s[1]);if(t>best){best=t;pos=1;} in db_MaxAbsIndex9() 209 t=fabs(s[2]);if(t>best){best=t;pos=2;} in db_MaxAbsIndex9() 210 t=fabs(s[3]);if(t>best){best=t;pos=3;} in db_MaxAbsIndex9() 211 t=fabs(s[4]);if(t>best){best=t;pos=4;} in db_MaxAbsIndex9() 212 t=fabs(s[5]);if(t>best){best=t;pos=5;} in db_MaxAbsIndex9() 213 t=fabs(s[6]);if(t>best){best=t;pos=6;} in db_MaxAbsIndex9() [all …]
|
D | db_image_homography.h | 82 double scale,t[3]; in db_StitchCameraRotation_2Points() local 88 db_StitchSimilarity3DRaw(&scale,R,t,xp,x,2,1,0,1,0); in db_StitchCameraRotation_2Points() 155 DB_API void db_StitchSimilarity2DRaw(double *scale,double R[4],double t[2], 172 double s,R[4],t[2]; variable 174 db_StitchSimilarity2DRaw(&s,R,t,Xp,X,nr_points,orientation_preserving, 177 H[0]=s*R[0]; H[1]=s*R[1]; H[2]=t[0]; 178 H[3]=s*R[2]; H[4]=s*R[3]; H[5]=t[1];
|
/packages/apps/Email/emailcommon/src/org/apache/james/mime4j/ |
D | Log.java | 57 public void trace(Object message, Throwable t) { in trace() argument 59 android.util.Log.v(Logging.LOG_TAG, toString(message, t)); in trace() 67 public void debug(Object message, Throwable t) { in debug() argument 69 android.util.Log.d(Logging.LOG_TAG, toString(message, t)); in debug() 77 public void info(Object message, Throwable t) { in info() argument 79 android.util.Log.i(Logging.LOG_TAG, toString(message, t)); in info() 86 public void warn(Object message, Throwable t) { in warn() argument 87 android.util.Log.w(Logging.LOG_TAG, toString(message, t)); in warn() 94 public void error(Object message, Throwable t) { in error() argument 95 android.util.Log.e(Logging.LOG_TAG, toString(message, t)); in error() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | PointerTrackerQueue.java | 36 for (PointerTracker t = queue.get(oldestPos); t != tracker; t = queue.get(oldestPos)) { in releaseAllPointersOlderThan() 37 if (t.isModifier()) { in releaseAllPointersOlderThan() 40 t.onPhantomUpEvent(t.getLastX(), t.getLastY(), eventTime); in releaseAllPointersOlderThan() 51 for (PointerTracker t : mQueue) { in releaseAllPointersExcept() 52 if (t == tracker) in releaseAllPointersExcept() 54 t.onPhantomUpEvent(t.getLastX(), t.getLastY(), eventTime); in releaseAllPointersExcept()
|
/packages/apps/Email/emailcommon/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/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/Email/emailcommon/src/com/android/emailcommon/utility/ |
D | TextUtilities.java | 644 for (SearchTerm t: terms) { in highlightTerms() 645 if (chrLowerCase == t.mTermLowerCase.charAt(t.mMatchLength)) { in highlightTerms() 646 if (t.mMatchLength++ == 0) { in highlightTerms() 648 t.mMatchStart = i; in highlightTerms() 650 if (t.mMatchLength == t.mLength) { in highlightTerms() 651 String matchText = text.substring(t.mMatchStart, t.mMatchStart + t.mLength); in highlightTerms() 653 if (t.mMatchStart <= lastOut) { in highlightTerms() 669 lastOut = t.mMatchStart + t.mLength - 1; in highlightTerms() 670 t.mMatchLength = 0; in highlightTerms() 671 t.mMatchStart = -1; in highlightTerms() [all …]
|
/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/wallpapers/Basic/src/com/android/wallpaper/grass/ |
D | grass.rs | 86 static float noise_sCurve(float t) 88 return t * t * (3.0f - 2.0f * t); 143 float rx0, rx1, sx, t, u, v; 145 t = x + N; 146 bx0 = ((int)t) & BM; 148 rx0 = t - (int)t; 161 float rx0, rx1, ry0, ry1, sx, sy, a, b, t, u, v; 165 t = x + N; 166 bx0 = ((int)t) & BM; 168 rx0 = t - (int)t; [all …]
|
/packages/apps/Email/emailcommon/src/org/apache/james/mime4j/field/contenttype/parser/ |
D | ContentTypeParser.java | 98 Token t; in value() local 101 t = jj_consume_token(ATOKEN); in value() 104 t = jj_consume_token(QUOTEDSTRING); in value() 111 {if (true) return t.image;} in value() 210 Token t = token; in getToken() local 212 if (t.next != null) t = t.next; in getToken() 213 else t = t.next = token_source.getNextToken(); in getToken() 215 return t; in getToken()
|
/packages/wallpapers/NoiseField/src/com/android/noisefield/ |
D | noisefield.rs | 63 static float noise_sCurve(float t) 65 return t * t * (3.0f - 2.0f * t); 120 float rx0, rx1, ry0, ry1, sx, sy, a, b, t, u, v; 124 t = x + N; 125 bx0 = ((int)t) & BM; 127 rx0 = t - (int)t; 130 t = y + N; 131 by0 = ((int)t) & BM; 133 ry0 = t - (int)t;
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | DecodeUtils.java | 169 } catch (Throwable t) { in requestCreateBitmapRegionDecoder() 170 Log.w(TAG, t); in requestCreateBitmapRegionDecoder() 179 } catch (Throwable t) { in requestCreateBitmapRegionDecoder() 180 Log.w(TAG, t); in requestCreateBitmapRegionDecoder() 189 } catch (Throwable t) { in requestCreateBitmapRegionDecoder() 190 Log.w(TAG, t); in requestCreateBitmapRegionDecoder() 199 } catch (Throwable t) { in requestCreateBitmapRegionDecoder() 202 Log.w(TAG, "requestCreateBitmapRegionDecoder: " + t); in requestCreateBitmapRegionDecoder() 215 } catch (Throwable t) { in requestCreateBitmapRegionDecoder() 216 Log.w(TAG, t); in requestCreateBitmapRegionDecoder()
|
D | DownloadUtils.java | 40 } catch (Throwable t) { in requestDownload() 55 } catch (Throwable t) { in requestDownload() 56 Log.w(TAG, t); in requestDownload() 88 } catch (Throwable t) { in download() 89 Log.w(TAG, "fail to download", t); in download()
|
/packages/apps/Email/emailcommon/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 …]
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | CalendarViewAdapter.java | 271 Time t = new Time(mTimeZone); in buildDayOfWeek() local 272 t.set(mMilliTime); in buildDayOfWeek() 273 long julianDay = Time.getJulianDay(mMilliTime,t.gmtoff); in buildDayOfWeek() 345 Time t = new Time(mTimeZone); in buildWeekDate() local 346 t.set(mMilliTime); in buildWeekDate() 348 int dayOfWeek = t.weekDay; in buildWeekDate() 354 t.monthDay -= diff; in buildWeekDate() 355 t.normalize(true /* ignore isDst */); in buildWeekDate() 358 long weekStartTime = t.toMillis(true); in buildWeekDate() 364 t.set(weekEndTime); in buildWeekDate() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | Paper.java | 83 float t = ((range - x) * left - x * right) / range; in getTransform() local 88 (1 / (1 + (float) Math.exp(-t * ROTATE_FACTOR)) - 0.5f) * 2 * -45; in getTransform() 162 float t = Utils.clamp((float)(now() - mStartTime) / mDuration, 0.0f, 1.0f); in update() local 165 ? t : mInterpolator.getInterpolation(t); in update() 169 if (t >= 1.0f) { in update()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | SmoothPagedView.java | 54 public float getInterpolation(float t) { in getInterpolation() argument 57 t -= 1.0f; in getInterpolation() 58 return t * t * ((mTension + 1) * t + mTension) + 1.0f; in getInterpolation()
|
/packages/wallpapers/Galaxy4/res/raw/ |
D | bgstar_vs.glsl | 11 float t = sin(p); 13 pos.x = t*x + s*y; 14 pos.y = s*x - t*y;
|
/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()
|