/packages/apps/Camera2/src/com/android/camera/ui/ |
ModeListView.java | 5 * you may not use this file except in compliance with the License. 61 * of a list. A swipe to the right will bring up this list. Then tapping on 63 * with an animation. To dismiss this list, simply swipe left or select a mode. 89 // If the fling velocity exceeds this threshold, snap to full screen at a constant 126 // Width and height of this view. They get updated in onLayout() 165 * Called by the state manager when this state instance becomes the current 174 * If supported, this should show the mode switcher and starts the accordion 202 * Handles touch event. This will be called if 256 * If supported, this should start blurring the camera preview and 266 * This gets called when mode switch has finished and UI needs t [all...] |
/art/tools/dexfuzz/src/dexfuzz/program/mutators/ |
ArithOpChanger.java | 5 * you may not use this file except in compliance with the License. 35 * mutation that this CodeMutator can perform, to allow separate 120 mutation.setup(this.getClass(), mutatableCode);
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
CameraGLTest.java | 5 * you may not use this file except in compliance with the License. 60 * This test case must run with hardware. It can't be tested in emulator 99 mRenderer = this.new Renderer(); 134 // Save the looper so that we can terminate this thread 307 /* Currently OpenGL ES 2.0 is supported for this test, so just skip it 497 * TODO: This should be made stricter once SurfaceTexture timestamps are generated by the drivers. 509 // Number of frames that can be out of bounds before calling this a failure 511 // Ignore timestamp issues before this frame 668 if (CameraGLTest.this.mSurfaceTexture != null) { 669 CameraGLTest.this.mSurfaceTexture.updateTexImage() [all...] |
/development/samples/ControllerSample/src/com/example/controllersample/ |
GameView.java | 5 * you may not use this file except in compliance with the License. 107 mInputManager = InputManagerCompat.Factory.getInputManager(this.getContext()); 108 mInputManager.registerInputDeviceListener(this, null); 254 // do we know something about this ship already? 270 // do we already have a ship with this color? 274 // we won't store this value either --- if the first 372 // Check for collisions between the ship and obstacles --- this could 584 final int width = GameView.this.getWidth(); 585 final int height = GameView.this.getHeight(); 591 final int width = GameView.this.getWidth() [all...] |
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
Transliterator.java | 39 * input text is replaced by new text. The particulars of this conversion are determined entirely by subclasses of 47 * <code>transliterate()</code>. As a result, threads may share transliterators without synchronizing them. This might 57 * The simplest way to perform transliteration is all at once, on a string of existing text. This is referred to as 72 * Somewhat more involved is <em>keyboard</em>, or incremental transliteration. This is the transliteration of text that 78 * possible is transliterated on the fly. This means a GUI that displays the contents of the buffer may show text being 90 * 'h'. To remedy this, we introduce the notion of a cursor, marked by a '|' in the output string: 97 * Now when the user types 't', tau appears, and if the next character is 'h', the tau changes to a theta. This is 111 * transliteration calls within this input sequence will not change them. New text is inserted at the <code>limit</code> 133 * mathematical inverse. This is because true inverse transliterators are difficult to formulate. For example, consider 146 * <b>AB</b>'s inverse, and it is on this basis that <b>AB</b><code>.getInverse()</code> could legitimately retur [all...] |
/external/jetty/src/java/org/eclipse/jetty/webapp/ |
StandardDescriptorProcessor.java | 5 // All rights reserved. This program and the accompanying materials 7 // and Apache License v2.0 which accompanies this distribution. 15 // You may elect to redistribute this code under either of these licenses. 86 registerVisitor("context-param", this.getClass().getDeclaredMethod("visitContextParam", __signature)); 87 registerVisitor("display-name", this.getClass().getDeclaredMethod("visitDisplayName", __signature)); 88 registerVisitor("servlet", this.getClass().getDeclaredMethod("visitServlet", __signature)); 89 registerVisitor("servlet-mapping", this.getClass().getDeclaredMethod("visitServletMapping", __signature)); 90 registerVisitor("session-config", this.getClass().getDeclaredMethod("visitSessionConfig", __signature)); 91 registerVisitor("mime-mapping", this.getClass().getDeclaredMethod("visitMimeMapping", __signature)); 92 registerVisitor("welcome-file-list", this.getClass().getDeclaredMethod("visitWelcomeFileList", __signature)) [all...] |
/external/jetty/src/java/org/eclipse/jetty/websocket/ |
WebSocketConnectionRFC6455.java | 5 // All rights reserved. This program and the accompanying materials 7 // and Apache License v2.0 which accompanies this distribution. 15 // You may elect to redistribute this code under either of these licenses. 99 // Per RFC 6455, section 1.3 - Opening Handshake - this version is "13" 151 this(websocket,endpoint,buffers,timestamp,maxIdleTime,protocol,extensions,draft,null); 262 return this; 295 synchronized (this) 308 LOG.debug("ClosedIn {} {} {}",this,code,message); 312 synchronized (this) 339 LOG.debug("ClosedOut {} {} {}",this,code,message) [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/scene/ |
Spatial.java | 10 * notice, this list of conditions and the following disclaimer. 13 * notice, this list of conditions and the following disclaimer in the 17 * may be used to endorse or promote products derived from this software 20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 29 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 72 * this spatial. 82 * of the camera. This is determined via the defined 83 * Camera planes whether or not this Spatial should be culled. 87 * Always cull this from the view, throwing away this objec [all...] |
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/audio/lwjgl/ |
LwjglAudioRenderer.java | 10 * notice, this list of conditions and the following disclaimer.
13 * notice, this list of conditions and the following disclaimer in the
17 * may be used to endorse or promote products derived from this software
20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
29 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
84 private final Thread audioThread = new Thread(this, "jME3 Audio Thread");
170 // Find maximum # of sources supported by this implementation
243 objManager.deleteAllObjects(this);
250 // If this is not allocated, why is it deleted?
304 // cause this to be called for a node that has been [all...] |
/external/linux-tools-perf/src/tools/perf/ |
builtin-sched.c | 271 * optimize an existing RUN event by merging this one 342 * every task starts in sleeping state - this gets ignored 343 * if there's no wakeup pointing to this sleep state: 805 struct work_atoms *this; local 808 this = container_of(*new, struct work_atoms, node); 811 cmp = thread_lat_cmp(sort_list, data, this); [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/ |
H264TrackImpl.java | 59 this.lang = lang; 71 this.lang = lang; 80 this.reader = new ReaderWrapper(inputStream); 406 timescale = seqParameterSet.vuiParams.time_scale >> 1; // Not sure why, but I found this in several places, and it works... 521 this.inputStream = inputStream; 588 this.sps = sps; 703 LOG.fine(this.toString());
|
/external/svox/pico/lib/ |
picocep.c | 5 * you may not use this file except in compliance with the License. 209 /* this is used for input and output */ 230 * @remarks this may be implemented by comparing x to powers of 2 231 * or instead of calling this function perform multiplication 272 static picodata_step_result_t cepStep(register picodata_ProcessingUnit this, 282 * @param this : handle to a cep PU struct 288 static pico_status_t cepInitialize(register picodata_ProcessingUnit this, picoos_int32 resetMode) 292 if (NULL == this || NULL == this->subObj) { 295 cep = (cep_subobj_t *) this->subObj 424 picodata_ProcessingUnit this = picodata_newProcessingUnit(mm, common, cbIn, local [all...] |
picotok.c | 5 * you may not use this file except in compliance with the License. 270 static void tok_treatMarkupAsSimpleToken (picodata_ProcessingUnit this, tok_subobj_t * tok); 271 static void tok_treatChar (picodata_ProcessingUnit this, tok_subobj_t * tok, picoos_uchar ch, picoos_bool markupHandling); 272 static void tok_treatMarkup (picodata_ProcessingUnit this, tok_subobj_t * tok); 273 static void tok_putToMarkup (picodata_ProcessingUnit this, tok_subobj_t * tok, picoos_uchar str[]); 274 static void tok_treatSimpleToken (picodata_ProcessingUnit this, tok_subobj_t * tok); 482 static void tok_putItem (picodata_ProcessingUnit this, tok_subobj_t * tok, 577 static void tok_putItem2 (picodata_ProcessingUnit this, tok_subobj_t * tok, 642 static void tok_checkLimits (picodata_ProcessingUnit this, picoos_uint32 * value, picoos_uint32 min, picoos_uint32 max, picoos_uchar valueType[]) 645 picoos_emRaiseWarning(this->common->em, PICO_ERR_MARKUP_VALUE_OUT_OF_RANGE, (picoos_char*)"", (picoos_char*)"attempt to set i (…) 1504 picodata_ProcessingUnit this = picodata_newProcessingUnit(mm, common, cbIn, cbOut, voice); local [all...] |
/external/v8/tools/ |
tickprocessor.js | 7 // notice, this list of conditions and the following disclaimer. 9 // copyright notice, this list of conditions and the following 14 // from this software without specific prior written permission. 16 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 35 Profile.call(this); 37 this.skipThisFunction = function(name) { return V8Profile.IC_RE.test(name); }; 74 LogReader.call(this, { 77 processor: this.processCodeCreation }, 79 processor: this.processCodeMove } [all...] |
/frameworks/base/core/java/android/service/voice/ |
VoiceInteractionSession.java | 5 * you may not use this file except in compliance with the License. 130 = new WeakReference<VoiceInteractionSession>(this); 137 Binder.getCallingUid(), callback, VoiceInteractionSession.this, 150 Binder.getCallingUid(), callback, VoiceInteractionSession.this, 162 Binder.getCallingUid(), callback, VoiceInteractionSession.this, 174 Binder.getCallingUid(), callback, VoiceInteractionSession.this, 186 Binder.getCallingUid(), callback, VoiceInteractionSession.this, 225 // thread. We also want to do this on a separate thread, so that if the app 294 session.mHandlerCaller.obtainMessageO(MSG_CANCEL, Request.this)); 335 * Check whether this request is currently active. A request becomes inactive afte [all...] |
/frameworks/base/core/java/android/widget/ |
Spinner.java | 5 * you may not use this file except in compliance with the License. 53 * this view. 70 // Only measure this many items to get a decent max width. 112 this(context, null); 128 this(context, null, com.android.internal.R.attr.spinnerStyle, mode); 139 this(context, attrs, com.android.internal.R.attr.spinnerStyle); 154 this(context, attrs, defStyleAttr, 0, MODE_THEME); 174 this(context, attrs, defStyleAttr, 0, mode); 199 this(context, attrs, defStyleAttr, defStyleRes, mode, null); 223 * view theme. If set, this will override any valu [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
LockPatternUtils.java | 5 * you may not use this file except in compliance with the License. 75 * This dictates when we start telling the user that continued failed attempts will wipe 345 * Note that this also clears vold's copy of the password. 409 * Return true if the user has ever chosen a pattern. This is true even if the pattern is 466 * This is only meaningful if pattern, pin or password are not set. 469 * @param userId User ID of the user this has effect on 476 * Determine if LockScreen is disabled for the current user. This is used to decide whether 492 this.saveLockPattern(pattern, null, userId); 802 * Determine if the device supports encryption, even if it's set to default. This [all...] |
/frameworks/base/core/tests/coretests/src/android/app/ |
DownloadManagerBaseTest.java | 5 * you may not use this file except in compliance with the License. 113 this(SystemClock.uptimeMillis()); 139 synchronized(this) { 186 synchronized(this) { 215 synchronized (this) { 216 this.notify(); 245 // Note: callers overriding this should call mServer.play() with the desired port # 251 * @param status The HTTP status code to return for this response 263 * @param status The HTTP status code to return for this response 264 * @param body The body to return in this respons [all...] |
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
StateMachineTest.java | 5 * you may not use this file except in compliance with the License. 89 mThisSm = this; 190 mThisSm = this; 291 mThisSm = this; 478 mThisSm = this; 557 * This tests enter/exit and transitions to the same state. 565 mThisSm = this; 665 mThisSm = this; 772 mThisSm = this; 858 mThisSm = this; [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
RenderSessionImpl.java | 5 * you may not use this file except in compliance with the License. 141 * This <b>must</b> be followed by a call to {@link RenderSessionImpl#init(long)}, 197 * {@link #acquire(long)} must have been called before this. 234 // post-inflate process. For now this supports TabHost/TabWidget 257 * {@link #acquire(long)} must have been called before this. 260 * the case where bitmaps are reused). This is typically needed when not playing 291 MeasureSpec.UNSPECIFIED // this lets us know the actual needed size 294 MeasureSpec.UNSPECIFIED // this lets us know the actual needed size 298 // this does not work anymore due to the 2 following issues: 308 // and apply this to the screen size [all...] |
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
SipSessionGroup.java | 5 * you may not use this file except in compliance with the License. 140 // TODO: remove this method once SipWakeupTimer can better handle variety 194 provider.addSipListener(this); 508 if (isLoggable(this, evt)) log("process: " + this + ": " 574 this.notify(); 578 synchronized (SipSessionGroup.this) { 585 this.wait(timeout * 1000); 602 removeSipSession(this); 706 synchronized (SipSessionGroup.this) { [all...] |
/libcore/dex/src/main/java/com/android/dex/ |
Dex.java | 5 * you may not use this file except in compliance with the License. 57 // Note: libcore.util.EmptyArray cannot be accessed when this code isn't run on Dalvik. 75 this(ByteBuffer.wrap(data)); 79 this.data = data; 80 this.data.order(ByteOrder.LITTLE_ENDIAN); 81 this.tableOfContents.readFrom(this); 88 this.data = ByteBuffer.wrap(new byte[byteCount]); 89 this.data.order(ByteOrder.LITTLE_ENDIAN); 120 * Creates a new dex from the contents of {@code bytes}. This API support [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
ObjectOutputStreamTest.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 915 "serialPersistentFields do not work properly in this implementation", 1002 mockObjectOutputStream.annotateProxyClass(this.getClass()); 1023 * Sets up the fixture, for example, open a network connection. This method 1032 * Tears down the fixture, for example, close a network connection. This [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
ThreadTest.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 30 synchronized (this) { 31 this.notify(); 32 this.wait(delay); 69 synchronized (this) { 70 this.notify(); 91 // This is what we've been waiting for...don't throw it 476 this.sync = sync [all...] |
/ndk/sources/host-tools/make-3.81/ |
read.c | 5 This file is part of GNU Make. 55 FILE *fp; /* File, or NULL if this is an internal buffer. */ 95 * This completely up to the user when they install MSVC or other packages. 96 * This is defined as a placeholder. 255 /* Tell update_goal_chain to bail out as soon as this file is 256 made, and main not to die if we can't make this file. */ 347 search the included makefile search path for this makefile. */ 395 /* Add this makefile to the list. */ 526 /* If this line is empty, skip it. */ 541 /* If there is no preceding rule line, don't treat this lin 1903 struct dep *this = 0; local [all...] |