Home
last modified time | relevance | path

Searched refs:t (Results 1 – 25 of 87) sorted by relevance

1234

/packages/apps/Browser/src/com/android/browser/
DTabControl.java127 SubWindowChromeClient(Tab t, WebChromeClient client) { in SubWindowChromeClient() argument
128 mTab = t; in SubWindowChromeClient()
152 Tab t = getTabFromView(view); in onRequestFocus() local
153 if (t != getCurrentTab()) { in onRequestFocus()
154 mActivity.switchToTab(getTabIndex(t)); in onRequestFocus()
410 for(Tab t : mChildTabs) { in removeFromTree()
411 t.setParentTab(null); in removeFromTree()
487 Tab t = getTab(mCurrentTab); in getCurrentWebView() local
488 if (t == null) { in getCurrentWebView()
491 return t.mMainView; in getCurrentWebView()
[all …]
/packages/apps/Camera/tests/src/com/android/camera/
DBitmapManagerUnitTests.java72 Thread t = new DecodeThread(); in testCanThreadDecoding() local
75 assertTrue(mBitmapManager.canThreadDecoding(t)); in testCanThreadDecoding()
78 mBitmapManager.cancelThreadDecoding(t); 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/tests/src/com/android/camera/
DBitmapManagerUnitTests.java72 Thread t = new DecodeThread(); in testCanThreadDecoding() local
75 assertTrue(mBitmapManager.canThreadDecoding(t)); in testCanThreadDecoding()
78 mBitmapManager.cancelThreadDecoding(t); 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/Email/src/org/apache/james/mime4j/field/datetime/parser/
DDateTimeParser.java140 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/Gallery/src/com/android/camera/
DBitmapManager.java68 private synchronized ThreadStatus getOrCreateThreadStatus(Thread t) { in getOrCreateThreadStatus() argument
69 ThreadStatus status = mThreadStatus.get(t); in getOrCreateThreadStatus()
72 mThreadStatus.put(t, status); in getOrCreateThreadStatus()
81 private synchronized void setDecodingOptions(Thread t, in setDecodingOptions() argument
83 getOrCreateThreadStatus(t).mOptions = options; in setDecodingOptions()
86 synchronized void removeDecodingOptions(Thread t) { in removeDecodingOptions() argument
87 ThreadStatus status = mThreadStatus.get(t); in removeDecodingOptions()
95 public synchronized boolean canThreadDecoding(Thread t) { in canThreadDecoding() argument
96 ThreadStatus status = mThreadStatus.get(t); in canThreadDecoding()
106 public synchronized void allowThreadDecoding(Thread t) { in allowThreadDecoding() argument
[all …]
DPreviewFrameLayout.java112 protected void onLayout(boolean changed, int l, int t, int r, int b) { in onLayout() argument
122 int topSpace = ((b - t) - frameHeight) / 2; in onLayout()
131 t + ((b - t) - gripperHeight) / 2, in onLayout()
135 t + topSpace, frameWidth, frameHeight); in onLayout()
141 private static void myLayoutChild(View child, int l, int t, int w, int h) { in myLayoutChild() argument
142 child.layout(l, t, l + w, t + h); in myLayoutChild()
DImageLoader.java152 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); in stop()
168 t.join(); in stop()
DEvenlySpacedLayout.java69 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()
DCameraHardwareException.java25 public CameraHardwareException(Throwable t) { in CameraHardwareException() argument
26 super(t); in CameraHardwareException()
/packages/apps/Camera/src/com/android/camera/
DBitmapManager.java68 private synchronized ThreadStatus getOrCreateThreadStatus(Thread t) { in getOrCreateThreadStatus() argument
69 ThreadStatus status = mThreadStatus.get(t); in getOrCreateThreadStatus()
72 mThreadStatus.put(t, status); in getOrCreateThreadStatus()
81 private synchronized void setDecodingOptions(Thread t, in setDecodingOptions() argument
83 getOrCreateThreadStatus(t).mOptions = options; in setDecodingOptions()
86 synchronized void removeDecodingOptions(Thread t) { in removeDecodingOptions() argument
87 ThreadStatus status = mThreadStatus.get(t); in removeDecodingOptions()
95 public synchronized boolean canThreadDecoding(Thread t) { in canThreadDecoding() argument
96 ThreadStatus status = mThreadStatus.get(t); in canThreadDecoding()
106 public synchronized void allowThreadDecoding(Thread t) { in allowThreadDecoding() argument
[all …]
DPreviewFrameLayout.java110 protected void onLayout(boolean changed, int l, int t, int r, int b) { in onLayout() argument
120 int topSpace = ((b - t) - frameHeight) / 2; in onLayout()
129 t + ((b - t) - gripperHeight) / 2, in onLayout()
133 t + topSpace, frameWidth, frameHeight); in onLayout()
139 private static void myLayoutChild(View child, int l, int t, int w, int h) { in myLayoutChild() argument
140 child.layout(l, t, l + w, t + h); in myLayoutChild()
DImageLoader.java152 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); in stop()
168 t.join(); in stop()
DEvenlySpacedLayout.java67 private void layoutHorizontal(boolean changed, int l, int t, int r, int b) { in layoutHorizontal() argument
94 private void layoutVertical(boolean changed, int l, int t, int r, int b) { in layoutVertical() argument
106 int spacing = (b - t - usedHeight) / in layoutVertical()
122 protected void onLayout(boolean changed, int l, int t, int r, int b) { in onLayout() argument
124 layoutHorizontal(changed, l, t, r, b); in onLayout()
126 layoutVertical(changed, l, t, r, b); in onLayout()
DCameraHardwareException.java25 public CameraHardwareException(Throwable t) { in CameraHardwareException() argument
26 super(t); in CameraHardwareException()
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
DSkbPool.java46 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/src/org/apache/james/mime4j/field/contenttype/parser/
DContentTypeParser.java97 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/
DAddressListParser.java506 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 …]
DAddressListParser.jj424 /*@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/
DRecurrenceProcessor.java318 Time t = null; in get() local
328 t = mTime; in get()
329 t.set(day, realMonth, realYear); in get()
330 unsafeNormalize(t); in get()
331 realYear = t.year; in get()
332 realMonth = t.month; in get()
333 day = t.monthDay; in get()
335 Log.i(TAG, "normalized t=" + t + " " + t.month in get()
336 + "/" + t.monthDay in get()
337 + "/" + t.year); in get()
[all …]
/packages/apps/Settings/src/com/android/settings/vpn/
DVpnTypeSelection.java55 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/IM/src/com/android/im/imps/
DImpsLog.java80 public static void logError(Throwable t) { in logError() argument
81 Log.e(TAG, /* DateFormat.format("kk:mm:ss", new Date()).toString() */ "", t); in logError()
84 public static void logError(String info, Throwable t) { in logError() argument
85 Log.e(TAG, /* DateFormat.format("kk:mm:ss ", new Date()) + */ info, t); in logError()
DParserException.java32 public ParserException(Throwable t){ in ParserException() argument
33 super(t); in ParserException()
DSerializerException.java32 public SerializerException(Throwable t){ in SerializerException() argument
33 super(t); in SerializerException()
/packages/apps/IM/libwbxml/test/
Dsyncml_parser_test.cpp172 static TestCaller t = SyncmlParserTest; in SyncmlParserTest_tests() local
173 t.isa = (TestImplement *) & TestCallerImplement; in SyncmlParserTest_tests()
174 return (TestRef) & t; in SyncmlParserTest_tests()
/packages/apps/Mms/src/com/android/mms/util/
DRateController.java148 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()

1234