/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/ |
StatePanelTrack.java | 5 * you may not use this file except in compliance with the License. 49 private DragListener mDragListener = new DragListener(this); 155 this.setLayoutTransition(null); 169 View view = mAdapter.getView(i, null, this); 189 this.setLayoutTransition(new LayoutTransition());
|
/packages/apps/Settings/src/com/android/settings/location/ |
LocationSettings.java | 5 * you may not use this file except in compliance with the License. 67 * add their own settings to this page, rather than directly modifying the framework code. Among 68 * other things, this simplifies integration with future changes to the default (AOSP) 84 * demote this to a simple preference was made. TODO: Candidate for refactoring. 136 mSwitchBar.addOnSwitchChangeListener(this); 152 mSwitchBar.removeOnSwitchChangeListener(this); 188 R.string.location_mode_screen_title, null, LocationSettings.this, 298 R.string.location_scanning_screen_title, null, LocationSettings.this, 343 mSwitchBar.removeOnSwitchChangeListener(this); 347 mSwitchBar.addOnSwitchChangeListener(this); [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
GroupsTest.java | 5 * you may not use this file except in compliance with the License. 44 * Run the test like this: 232 final long contactId = this.queryContactId(rawContactId); 255 final long groupId = this.createGroup(sTestAccount, GROUP_ID, GROUP_ID, 1); 259 final long rawContactId = RawContactUtil.createRawContact(this.mResolver, sTestAccount); 260 final long contactId = this.queryContactId(rawContactId); 263 this.insertGroupMembership(rawContactId, groupId); 282 final long rawContactId = RawContactUtil.createRawContact(this.mResolver); 290 final long rawContactId1 = RawContactUtil.createRawContact(this.mResolver); 291 final long rawContactId2 = RawContactUtil.createRawContact(this.mResolver, sTestAccount) [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/processor/ |
StylesheetHandler.java | 4 * distributed with this work for additional information 5 * regarding copyright ownership. The ASF licenses this file 7 * you may not use this file except in compliance with the License. 61 * This class acts as essentially a state machine, maintaining 95 * @param processor non-null reference to the transformer factory that owns this handler. 126 * @param processor non-null reference to the transformer factory that owns this handler. 134 this.pushNewNamespaceSupport(); 136 // m_includeStack.push(SystemIDResolver.getAbsoluteURI(this.getBaseIdentifier(), null)); 155 XPath xpath = new XPath(str, owningTemplate, this, XPath.SELECT, handler, 176 XPath xpath = new XPath(str, owningTemplate, this, XPath.MATCH, handler, [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/ |
DOM3TreeWalker.java | 4 * distributed with this work for additional information
5 * regarding copyright ownership. The ASF licenses this file
7 * you may not use this file except in compliance with the License.
72 * this class is instantiated via the constructor provided, a
79 /** Locator object for this TreeWalker */
187 // Not sure how this will be used in level 2 Documents
245 this.fSerializer.startDocument();
263 fLexicalHandler = ((LexicalHandler) this.fSerializer);
302 this.fSerializer.endDocument();
320 this.fSerializer.startDocument(); [all...] |
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
ImageProcessingActivity2.java | 5 * you may not use this file except in compliance with the License. 83 // This is used to count updates in the pipeline. It's 168 // We don't want to call the "changed" methods excessively as this 290 synchronized(this) { 292 // We throttle it to 2. This provide some buffering to allow a kernel to be started 298 this.wait(); 333 // Send our RS message handler a message so we know when this work has completed 366 // this is to let any power management do its job and respond 396 synchronized(this) { 413 synchronized(this) { [all...] |
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
ImageProcessingActivityJB.java | 5 * you may not use this file except in compliance with the License. 84 // In benchmark this is incremented each time a kernel is launched and 91 // In demo mode this is used to count updates in the pipeline. It's 164 // We don't want to call the "changed" methods excessively as this 225 // bits with a TextureView. This is more efficient than using a bitmap. 256 synchronized(this) { 258 // We throttle it to 2. This provide some buffering to allow a kernel to be started 264 this.wait(); 290 // Send our RS message handler a message so we know when this work has completed 323 // this is to let any power management do its job and respon [all...] |
/frameworks/support/v4/java/android/support/v4/media/session/ |
MediaControllerCompat.java | 5 * you may not use this file except in compliance with the License. 52 * This is a helper for accessing features in {@link android.media.session.MediaSession} 103 * Get a {@link TransportControls} instance for this session. 113 * be sent by this method, other keys will be ignored. 126 * Get the current playback state for this session. 135 * Get the current metadata for this session. 144 * Get the current play queue for this session if one is set. If you only 154 * Get the queue title for this session. 161 * Get the extras for this session. 186 * Get the flags for this session. Flags are defined i [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
SocketTest.java | 4 * this work for additional information regarding copyright ownership. 5 * The ASF licenses this file to You under the Apache License, Version 2.0 6 * (the "License"); you may not use this file except in compliance with 90 synchronized (this) { 92 this.notifyAll(); 108 this.wait(); 145 this.t = null; 146 this.interrupted = false; [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
CustomContactListFilterActivity.java | 5 * you may not use this file except in compliance with the License. 95 mList.setOnChildClickListener(this); 97 mPrefs = PreferenceManager.getDefaultSharedPreferences(this); 98 mAdapter = new DisplayAdapter(this); 102 findViewById(R.id.btn_done).setOnClickListener(this); 103 findViewById(R.id.btn_discard).setOnClickListener(this); 105 mList.setOnCreateContextMenuListener(this); 216 getLoaderManager().initLoader(ACCOUNT_SET_LOADER_ID, null, this); 222 return new CustomFilterConfigurationLoader(this); 306 return this; [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/ |
BaseSensorTestActivity.java | 6 * you may not use this file except in compliance with the License. 56 * This class provides access to the following flow: 105 this(testClass, R.layout.sensor_test); 119 mSensorFeaturesDeactivator = new SensorFeaturesDeactivator(this); 130 mNextButton.setOnClickListener(this); 136 mExecutorService.execute(this); 179 * This function executes in a background thread, allowing the test run freely behind the 199 // this is an invalid state at this point of the test setup 206 // we consider all remaining states at this point, because we could have been half wa [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
MessageQueueTest.java | 5 * you may not use this file except in compliance with the License. 155 // At this point the queue will not be idle because there is a pending message. 159 // At this point the queue will be idle because it is empty. 372 // At this point the reader's callback should be unregistered. 377 // Wait for this to happen. 399 * This test exercises special logic in Looper.cpp for EPOLL_CTL_DEL handling EBADF. 437 // At this point, the reader and writer are both closed. 478 * This test exercises special logic in Looper.cpp for EPOLL_CTL_DEL handling ENOENT. 565 * This test exercises special logic in Looper.cpp for EPOLL_CTL_MOD handling 652 * This test exercises special logic in Looper.cpp for rebuilding the epoll se [all...] |
/developers/build/prebuilts/gradle/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/ |
AnalogWatchFaceService.java | 5 * you may not use this file except in compliance with the License. 142 setWatchFaceStyle(new WatchFaceStyle.Builder(AnalogWatchFaceService.this) 367 * Draw ticks. Usually you will want to bake this directly into the photo, but in 368 * cases where you want to allow users to select their own photos, this dynamically 475 AnalogWatchFaceService.this.registerReceiver(mTimeZoneReceiver, filter); 483 AnalogWatchFaceService.this.unregisterReceiver(mTimeZoneReceiver);
|
SweepWatchFaceService.java | 5 * you may not use this file except in compliance with the License. 114 setWatchFaceStyle(new WatchFaceStyle.Builder(SweepWatchFaceService.this) 332 * Draw ticks. Usually you will want to bake this directly into the photo, but in 333 * cases where you want to allow users to select their own photos, this dynamically 442 SweepWatchFaceService.this.registerReceiver(mTimeZoneReceiver, filter); 450 SweepWatchFaceService.this.unregisterReceiver(mTimeZoneReceiver);
|
/developers/samples/android/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/ |
AnalogWatchFaceService.java | 5 * you may not use this file except in compliance with the License. 142 setWatchFaceStyle(new WatchFaceStyle.Builder(AnalogWatchFaceService.this) 367 * Draw ticks. Usually you will want to bake this directly into the photo, but in 368 * cases where you want to allow users to select their own photos, this dynamically 475 AnalogWatchFaceService.this.registerReceiver(mTimeZoneReceiver, filter); 483 AnalogWatchFaceService.this.unregisterReceiver(mTimeZoneReceiver);
|
SweepWatchFaceService.java | 5 * you may not use this file except in compliance with the License. 114 setWatchFaceStyle(new WatchFaceStyle.Builder(SweepWatchFaceService.this) 332 * Draw ticks. Usually you will want to bake this directly into the photo, but in 333 * cases where you want to allow users to select their own photos, this dynamically 442 SweepWatchFaceService.this.registerReceiver(mTimeZoneReceiver, filter); 450 SweepWatchFaceService.this.unregisterReceiver(mTimeZoneReceiver);
|
/development/apps/Development/src/com/android/development/ |
AccountsTester.java | 5 * you may not use this file except in compliance with the License. 79 mAccountManager = AccountManager.get(this); 183 new ArrayAdapter<String>(AccountsTester.this, 190 mAccountsListView.setAdapter(new AccountArrayAdapter(this, accounts)); 196 mAccountManager.addOnAccountsUpdatedListener(this, mainHandler, 202 mAccountManager.removeOnAccountsUpdatedListener(this); 224 AccountsTester.this, 225 new CallbackToDialog(AccountsTester.this, "add account"), 229 AccountsTester.this, 230 new CallbackToDialog(AccountsTester.this, "edit properties") [all...] |
/development/cmds/monkey/src/com/android/commands/monkey/ |
Monkey.java | 5 * you may not use this file except in compliance with the License. 105 /** This is set when we would like to abort the running of the monkey. */ 115 * This is set by the ActivityController thread to request collection of ANR 121 * This is set by the ActivityController thread to request a 127 * This is set by the ActivityController thread to request a 133 * This is set by the ActivityController thread to request a 145 * This is set by the ActivityController thread to request a 165 * This is set by the ActivityController thread to request a "procrank" 213 /** The delay between user actions. This is for the scripted monkey. **/ 216 /** Device idle time. This is for the scripted monkey. ** [all...] |
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
AnalogWatchFaceService.java | 5 * you may not use this file except in compliance with the License. 142 setWatchFaceStyle(new WatchFaceStyle.Builder(AnalogWatchFaceService.this) 367 * Draw ticks. Usually you will want to bake this directly into the photo, but in 368 * cases where you want to allow users to select their own photos, this dynamically 475 AnalogWatchFaceService.this.registerReceiver(mTimeZoneReceiver, filter); 483 AnalogWatchFaceService.this.unregisterReceiver(mTimeZoneReceiver);
|
SweepWatchFaceService.java | 5 * you may not use this file except in compliance with the License. 114 setWatchFaceStyle(new WatchFaceStyle.Builder(SweepWatchFaceService.this) 332 * Draw ticks. Usually you will want to bake this directly into the photo, but in 333 * cases where you want to allow users to select their own photos, this dynamically 442 SweepWatchFaceService.this.registerReceiver(mTimeZoneReceiver, filter); 450 SweepWatchFaceService.this.unregisterReceiver(mTimeZoneReceiver);
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/ |
Packet.java | 4 * this work for additional information regarding copyright ownership. 5 * The ASF licenses this file to You under the Apache License, Version 2.0 6 * (the "License"); you may not use this file except in compliance with 35 * This base class represents JDWP packet. 290 this.writeAtByteArray((long) val, data, new_data_size 321 this.writeAtByteArray((long) val, data, new_data_size 353 this.writeAtByteArray((long) val, data, new_data_size 387 this.writeAtByteArray((long) val, data, new_data_size 420 this.writeAtByteArray((long) val, data, new_data_size 451 this.writeAtByteArray(val, data, new_data_siz [all...] |
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/ |
LogRecordTest.java | 4 * this work for additional information regarding copyright ownership. 5 * The ASF licenses this file to You under the Apache License, Version 2.0 6 * (the "License"); you may not use this file except in compliance with 121 lr.setSourceClassName(this.getClass().getName()); 122 assertEquals(this.getClass().getName(), lr.getSourceClassName()); 130 lr.setSourceMethodName(this.getClass().getName()); 131 assertEquals(this.getClass().getName(), lr.getSourceMethodName()); 143 assertEquals(this.getClass().getName(), handler.getSourceClassName()); 171 assertEquals(this.getClass().getName(), handler.getSourceClassName()); 363 SerializationTest.verifyGolden(this, r, LOGRECORD_COMPARATOR) [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
ElemTemplateElement.java | 4 * distributed with this work for additional information 5 * regarding copyright ownership. The ASF licenses this file 7 * you may not use this file except in compliance with the License. 48 * An instance of this class represents an element inside 52 * This class acts like a Element node, and implements the 73 * Tell if this template is a compiled template. 75 * @return Boolean flag indicating whether this is a compiled template 118 * This function will be called on top-level elements 128 * Execute the element's primary function. Subclasses of this 140 * Get the owning "composed" stylesheet. This looks up th [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/compiler/ |
XPathParser.java | 4 * distributed with this work for additional information 5 * regarding copyright ownership. The ASF licenses this file 7 * you may not use this file except in compliance with the License. 35 * Tokenizes and parses XPath expressions. This should really be named 41 // %REVIEW% Is there a better way of doing this? 57 * The first char in m_token, the theory being that this 110 Lexer lexer = new Lexer(compiler, namespaceContext, this); 122 // %REVIEW% Is there a better way of doing this? 154 // What I _want_ to do is null out this XPath. 155 // I doubt this has the desired effect, but I'm not sure what else to do [all...] |
/external/blktrace/btt/ |
output.c | 6 * This program is free software; you can redistribute it and/or modify 11 * This program is distributed in the hope that it will be useful, 17 * along with this program; if not, write to the Free Software 331 struct seek_mode_info *p, *this, *new_list = NULL; local 333 while ((this = sip->head) != NULL) { 334 sip->head = this->next; 335 this->next = NULL; 337 if (new_list == NULL || this->nseeks > new_list->nseeks) 338 new_list = this; 339 else if (this->nseeks == new_list->nseeks) [all...] |