/external/fonttools/Lib/fontTools/misc/ |
xmlReader.py | 16 def __init__(self, fileName, ttFont, progress=None, quiet=False): 19 self.progress = progress 26 if self.progress: 28 self.progress.set(0, os.stat(self.fileName)[stat.ST_SIZE] // 100 or 1) 47 if self.progress: 48 self.progress.set(pos // 100) 67 subReader = XMLReader(subFile, self.ttFont, self.progress, self.quiet) 73 if self.progress: 74 self.progress.setlabel(msg [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_nir_opt_peephole_ffma.c | 167 bool progress = false; local 261 progress = true; 264 return progress; 270 bool progress = false; local 276 progress |= brw_nir_opt_peephole_ffma_block(&builder, block); 279 if (progress) 283 return progress; 289 bool progress = false; local 293 progress |= brw_nir_opt_peephole_ffma_impl(function->impl); 296 return progress; [all...] |
brw_cubemap_normalize.cpp | 41 progress = false; 46 bool progress; member in class:brw_cubemap_normalize_visitor 105 progress = true; 118 return v.progress;
|
brw_predicated_break.cpp | 59 bool progress = false; local 141 progress = true; 144 if (progress) 147 return progress;
|
/external/e2fsprogs/lib/ext2fs/ |
ext2fsP.h | 97 /* Generic numeric progress meter */ 106 * progress callback functions 110 struct ext2fs_numeric_progress_struct * progress, 113 struct ext2fs_numeric_progress_struct * progress, 116 struct ext2fs_numeric_progress_struct * progress, 123 struct ext2fs_numeric_progress_struct * progress, 126 struct ext2fs_numeric_progress_struct * progress, 129 struct ext2fs_numeric_progress_struct * progress,
|
/external/mesa3d/src/compiler/glsl/ |
opt_constant_variable.cpp | 186 bool progress = false; local 199 progress = true; 206 return progress; 212 bool progress = false; local 219 progress = true; 224 return progress;
|
lower_vertex_id.cpp | 47 : progress(false), VertexID(NULL), gl_VertexID(NULL), 63 bool progress; member in class:__anon29227::lower_vertex_id_visitor 119 progress = true; 143 return v.progress;
|
/external/mesa3d/src/compiler/nir/ |
nir_lower_idiv.c | 126 bool progress = false; local 131 progress |= convert_instr(&b, nir_instr_as_alu(instr)); 138 return progress; 144 bool progress = false; local 148 progress |= convert_impl(function->impl); 151 return progress;
|
nir_opt_conditional_discard.c | 111 bool progress = false; local 119 progress |= nir_opt_conditional_discard_block(&builder, block); 123 return progress;
|
/frameworks/base/core/java/com/android/internal/util/ |
ProgressReporter.java | 30 * Tracks and reports progress of a single task to a {@link IProgressListener}. 31 * The reported progress of a task ranges from 0-100, but the task can be 35 * Here's an example in action; when finished the overall task progress will be 70 * Current segment range: first element is starting progress of this 77 * Create a new task with the given identifier whose progress will be 85 * Add given listener to watch for progress events. The current state will 114 * Set the progress of the currently active segment. 116 * @param progress Segment progress between 0-100. 118 public void setProgress(int progress) { [all...] |
/packages/apps/Camera2/src/com/android/camera/ |
PanoProgressBar.java | 108 public void setMaxProgress(int progress) { 109 mMaxProgress = progress; 132 public void setProgress(int progress) { 136 if (progress > 10) { 138 } else if (progress < -10) { 144 mProgress = progress * mWidth / mMaxProgress + mProgressOffset; 148 // The right most progress is adjusted. 152 // The left most progress is adjusted. 171 // the progress area
|
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
PanoProgressBar.java | 103 public void setMaxProgress(int progress) { 104 mMaxProgress = progress; 127 public void setProgress(int progress) { 131 if (progress > 10) { 133 } else if (progress < -10) { 139 mProgress = progress * mWidth / mMaxProgress + mProgressOffset; 143 // The right most progress is adjusted. 147 // The left most progress is adjusted. 166 // the progress area
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
StorageVolumePreference.java | 136 final ProgressBar progress = (ProgressBar) view.findViewById(android.R.id.progress); local 138 progress.setVisibility(View.VISIBLE); 139 progress.setProgress(mUsedPercent); 140 progress.setProgressTintList(ColorStateList.valueOf(mColor)); 142 progress.setVisibility(View.GONE);
|
/packages/apps/TV/src/com/android/tv/menu/ |
PlaybackProgressBar.java | 29 /** A progress bar control which has two progresses which start in the middle of the control. */ 59 mPrimaryDrawable = mProgressDrawable.findDrawableByLayerId(android.R.id.progress); 99 /** Sets the start and end position of the progress. */ 111 /** Sets the progress position. */ 112 public void setProgress(long progress) { 113 progress = constrain(progress, mProgressStart, mProgressEnd); 114 if (progress != mProgress) { 115 mProgress = progress;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
SeekBarDialogPreference.java | 82 private int getValueFromProgress(final int progress) { 83 return progress + mMinValue; 94 private int getClippedValueFromProgress(final int progress) { 95 return clipValue(getValueFromProgress(progress)); 131 public void onProgressChanged(final SeekBar seekBar, final int progress, 133 final int value = getClippedValueFromProgress(progress);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
SeekBar1.java | 47 mProgressText = (TextView) findViewById(R.id.progress); 61 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromTouch) { 62 mProgressText.setText(progress + " " +
|
/external/lzma/CPP/7zip/Compress/ |
LzmaDecoder.h | 43 HRESULT CodeSpec(ISequentialInStream *inStream, ISequentialOutStream *outStream, ICompressProgressInfo *progress);
60 const UInt64 *inSize, const UInt64 *outSize, ICompressProgressInfo *progress);
73 HRESULT CodeResume(ISequentialOutStream *outStream, const UInt64 *outSize, ICompressProgressInfo *progress);
|
LzmaEncoder.h | 27 const UInt64 *inSize, const UInt64 *outSize, ICompressProgressInfo *progress);
|
/external/mesa3d/src/gallium/drivers/vc4/ |
vc4_opt_vpm.c | 44 bool progress = false; 112 progress = true; 118 return progress;
|
vc4_opt_dead_code.c | 87 bool progress = false; local 127 progress = true; 145 progress = true; 152 return progress;
|
/packages/apps/Launcher3/src/com/android/launcher3/anim/ |
RevealOutlineAnimation.java | 28 /** Sets the progress, from 0 to 1, of the reveal animation. */ 29 abstract void setProgress(float progress); 64 float progress = (Float) arg0.getAnimatedValue(); 65 setProgress(progress);
|
/external/curl/tests/unit/ |
unit1303.c | 136 data->progress.t_startsingle.tv_sec = BASE; 137 data->progress.t_startsingle.tv_usec = 0; 138 data->progress.t_startop.tv_sec = BASE; 139 data->progress.t_startop.tv_usec = 0;
|
/external/lzma/C/ |
Lzma2Enc.h | 30 SZ_ERROR_PROGRESS - some break from progress callback
41 ISeqOutStream *outStream, ISeqInStream *inStream, ICompressProgress *progress);
57 ICompressProgress *progress, ISzAlloc *alloc, ISzAlloc *allocBig);
|
/external/mockito/src/test/java/org/mockito/internal/progress/ |
AtLeastTest.java | 5 package org.mockito.internal.progress;
|
/external/python/cpython2/Lib/sqlite3/test/ |
hooks.py | 152 Test that the progress handler is invoked once it is set. 156 def progress(): function in function:ProgressTests.CheckProgressHandlerUsed 159 con.set_progress_handler(progress, 1) 172 def progress(): function in function:ProgressTests.CheckOpcodeCount 175 con.set_progress_handler(progress, 1) 182 con.set_progress_handler(progress, 2) 191 Test that returning a non-zero value stops the operation in progress. 195 def progress(): function in function:ProgressTests.CheckCancelOperation 198 con.set_progress_handler(progress, 1) 207 Test that setting the progress handler to None clears the previously set handler 211 def progress(): function in function:ProgressTests.CheckClearHandler [all...] |